Summary of the invention
The main technical problem to be solved in the present invention is to provide a kind of mobile terminal and its upgrade method, solves existing shifting
Long, satisfaction of users difference problem the time required to dynamic terminal upgrade.
In order to solve the above technical problems, the present invention provides a kind of updating mobile terminal method, comprising:
Acquisition for mobile terminal upgraded version data packet;
The file information of each update version document in the upgraded version data packet of the acquisition for mobile terminal;
The file information for each current version file that itself current version of the acquisition for mobile terminal includes;
The file information and each upgrading for each current version file that the current version is included by the mobile terminal
The file information of version file compares, and generates upgrading configuration;
The mobile terminal is based on the upgrading configuration and is upgraded.
In an embodiment of the present invention, each upgrade version this paper in the upgraded version data packet of the acquisition for mobile terminal
The file information of part includes:
The mobile terminal carries out being calculated each liter to each update version document in the upgraded version data packet
The file information of grade version file.
In an embodiment of the present invention, each current version text that itself current version of the acquisition for mobile terminal includes
The file information of part includes:
The mobile terminal obtains each current version file that current version includes from the default memory module of itself
The file information;Or the file information for each current version file that its current version includes is downloaded from server.
In an embodiment of the present invention, the text for each version file that the current version is included by the mobile terminal
The file information of part information and each update version document compares, and generates upgrading configuration and includes:
The file information for each version file that the current version is included by the mobile terminal and each upgraded version
The file information of file is compared, identical with the file information of update version document for current version file, then is determined
It is different for the file information of current version file and update version document not upgrade, then the upgrading determined;According to most
Whole judgement result generates the upgrading configuration.
In an embodiment of the present invention, the mobile terminal, which upgrade based on the upgrading configuration, includes:
The mobile terminal configures the upgrade file according to preset condition;
The mobile terminal is upgraded according to the upgrading configuration postponed;And by the latest edition file after upgrading
The file information stored.
To solve the above-mentioned problems, the present invention also provides a kind of mobile terminal, the mobile terminal include communication module,
Upgrading processing module, configuration file generation module, upgrade execution module;
The communication module is used to communicate to connect with upgrade server, obtains upgraded version data packet;
The upgrading processing module is used to obtain the file information of each update version document in the upgraded version data packet;
And the file information for obtaining each current version file that the mobile terminal itself current version includes;
The configuration file generation module is used for the file information for each current version file for including by the current version
It is compared with the file information of each update version document, generates upgrading configuration;
The upgrade execution module is used to be upgraded based on the upgrading configuration.
In an embodiment of the present invention, the upgrading processing module obtains respectively upgrades in the upgraded version data packet
The file information of version file includes:
Each update version document in the upgraded version data packet is calculated in the upgrading processing module
The file information of each update version document.
In an embodiment of the present invention, the upgrading processing module obtains each current version that itself current version includes
The file information of this document includes:
The upgrading processing module obtain that current version includes from the default memory module of the mobile terminal respectively when
The file information of preceding version file;Or each current version that its current version includes is downloaded from server by the communication module
The file information of file.
In an embodiment of the present invention, each version that the current version is included by the configuration file generation module
The file information of the file information of file and each update version document compares, and generates upgrading configuration and includes:
The file information for each version file that the current version is included by the configuration file generation module and described each
The file information of update version document is compared, identical as the file information of update version document for current version file
, then it is judged to not upgrading, the then liter that determines different for the file information of current version file and update version document
Grade;The upgrading configuration is generated according to final judgement result.
In an embodiment of the present invention, the mobile terminal further includes upgrading configuration module, and the upgrading configures mould
Block is used for before the upgrade execution module is upgraded based on the upgrading configuration, according to preset condition to the liter
Grade file is configured.
The beneficial effects of the present invention are:
Mobile terminal provided by the invention and its upgrade method, acquisition for mobile terminal upgraded version data packet, and then obtain
Upgraded version data packet in each update version document the file information and itself current version each current version file for including
The file information;The file information for each current version file for including by current version and the file information of each update version document
It compares, generates upgrading configuration, finally upgraded based on the upgrading configuration.As it can be seen that the present invention and non-straight right
Full version is upgraded, but upgraded version is compared with existing version, and the upgrading of selection is carried out according to comparison result, because
Time needed for this upgrading is shorter than the time needed for existing upgrading, more conducively the efficiency of the utilization rate of raising resource and upgrading, mentions
The satisfaction of high user experience.
Further, the present invention can also further be configured, example after obtaining upgrading configuration according to preset condition
Such as the file to be upgraded is carried out according to the setting of user (for example be directed to some version file before user and be set as not upgrading)
Optimization more meets the actual demand of user, and setting is humanized, can further improve the satisfaction of user experience.
Specific embodiment
The present invention and it is non-straight full version is upgraded, but upgraded version is compared with existing version, according to than
Relatively result carries out the upgrading of selection, therefore the time needed for upgrading is shorter than the time needed for existing upgrading, more conducively raising resource
Utilization rate and upgrading efficiency, improve the satisfaction of user experience.And the present invention is after obtaining upgrading configuration, it can also root
It is further configured according to preset condition, the file to be upgraded is optimized, more meet the actual demand of user.Below by
Invention is further described in detail for specific embodiment combination attached drawing.
Shown in Figure 1, which show a kind of mobile terminal provided in this embodiment, including communication module, upgrading
Processing module, configuration file generation module, upgrade execution module, in which:
Communication module is used to communicate to connect with upgrade server, obtains upgraded version data packet, sends it at upgrading
Manage module;In addition, the communication module in the present embodiment can also be used to realize other communication functions such as call;Meanwhile the communication mould
Block can make 2G communication module, be also possible to 3G communication module, certainly, in the 4G epoch afterwards, be also possible to 4 communication modules
Deng no longer being repeated herein;
Upgrading processing module is used to obtain the file information of each update version document in the upgraded version data packet received;
And the file information for obtaining each current version file that mobile terminal itself current version includes;And it will acquire above-mentioned
The file information is sent to configuration file generation module;
Configuration file generation module is used for the file information for each current version file for including by the current version received
It is compared with the file information of each update version document, generates upgrading configuration;
Upgrade execution module is used to be upgraded based on the upgrading configuration.
As it can be seen that in the present embodiment and it is non-straight full version is upgraded, but upgraded version and existing version are compared
Compared with carrying out the upgrading of selection according to comparison result, therefore the time needed for upgrading is shorter than the time needed for existing upgrading, more conducively
Improve the utilization rate of resource and the efficiency of upgrading.
In the present embodiment, upgrading processing module obtains the file information tool of each update version document in upgraded version data packet
Body can be by being calculated each update version document in upgraded version data packet.Specific calculation method can be direct
Using existing technique algorithm, no longer it is repeated herein.In the present embodiment, upgrading processing module obtains itself current version
Originally following methods specifically can be used in the file information for each current version file for including:
Mode one is directly obtained from the default memory module of mobile terminal, which can be dedicated for depositing
Store up the file information of the version file of mobile terminal;
Mode two: first directly obtaining from the default memory module of mobile terminal, if failure is obtained, above and below server
Carry the file information for each current version file that mobile terminal current version includes;
Mode three: the file letter for each current version file for directly including from server downloading mobile terminal current version
Breath can then be saved certain resource is locally stored at this time.
In the present embodiment, the file for each version file that mobile terminal current version is included by configuration file generation module
The file information of information and each update version document compares, and generating upgrading configuration specifically may include following procedure:
The file information and each update version document for each version file that current version is included by configuration file generation module
The file information be compared, it is identical with the file information of update version document for current version file, then be determined as not
Upgrading, the then upgrading that determines different for the file information of current version file and update version document;Then according to most
Whole judgement result generates upgrading configuration;That is, only including the version text for needing to upgrade in the upgrading configuration generated
The file information of part then directly forecloses for the version file information for not needing to upgrade, rather than existing directly to all
Version file carry out rigid upgrading, therefore update time can be reduced, improve the efficiency of upgrading.
In the present embodiment, in order to avoid as directly directly carrying out hardware liter to all version files in existing upgrading scheme
Grade the case where can not be arranged accordingly, refers to Fig. 2 institute when causing user that wouldn't like to upgrade to some version files
Show, the mobile terminal in the present embodiment can also further comprise upgrading configuration module, and the upgrading configuration module in upgrading for holding
Before row module is upgraded based on upgrading configuration, according to preset condition, (preset condition can make system according to user
The condition that is arranged automatically of setting habit, be also possible to some promotion conditions, etc. that user is directly arranged) it is literary to the upgrading
Part carries out secondary configuration;Upgrade execution module is then directly upgraded according to the upgrade file postponed.Although secondary configuration
Process may occupy the time of some upgradings more, but this configuration more meets the demand of user, can be further improved user's body
The satisfaction tested.For example, when user in mobile terminal some function or some software it is very satisfied and be unwilling to upgrade
When, can the function or the corresponding version file of the software, which be arranged, in advance in user in systems does not allow to upgrade, and specifically uses
Special mark embodies;In escalation process, through it was found that the version file has new version, but in secondary configuration process
In, then it can be not allow to upgrade and delete it from upgrading configuration, and then avoid this because of the state of the version file
Version file upgrading, meets the needs of users, and also provides more upgrading selections for user.
It is worth noting that, the secondary configuration in the present embodiment can also be further according to the version of new, old two versions text
Time overview required for part generates the explanation for having version file function, the prompt for whether needing to upgrade and upgrades etc..
In addition, after the completion of the upgrade execution module in the present embodiment is upgraded based on upgrading configuration, it may also be used for
By in the default memory module of the file information storage of latest edition file to mobile terminal, and/or exist to corresponding service
It is backed up on device, for being used in next escalation process.
In the present embodiment, upgrading processing module, configuration file generation module, upgrading configuration module, upgrade execution module (this
Referred to as it is referred to as system upgrade tool in embodiment) all can be by software realization, and what can be used for mobile terminal is
System (such as Android system, Saipan system WIN8 system etc.) and the model of mobile terminal etc., develop corresponding system upgrade
Tool, and the system upgrade tool can be downloaded by communication module and server communication and is pre-installed in mobile terminal;When
So, it can also just download and be installed in mobile terminal in escalation process, resource is locally stored to save, improves resource utilization.
For a better understanding of the present invention, further detailed below with reference to being done for specific upgrading process to the present invention
Illustrate:
Referring to FIG. 3, the updating mobile terminal method in the present embodiment includes:
Step 301: acquisition for mobile terminal upgraded version data packet;The communication module and upgrading of mobile terminal can specifically be passed through
Corresponding upgrading data packet is downloaded in server connection, and details are not described herein again for specific communication downloading process;
Step 302: the file information of each update version document in the upgraded version data packet of acquisition for mobile terminal;Specifically
It has explained above acquisition modes, has also repeated no more herein;
Step 303: the file information for each current version file that acquisition for mobile terminal itself current version includes;Specifically obtain
The mode taken can be one of above-mentioned three kinds of modes;
Step 304: the file information for each current version file that current version is included by mobile terminal and each upgraded version
The file information of file compares, and generates upgrading configuration;Generate upgrading configuration detailed process above into
Row is described in detail, and is also no longer repeated herein.
Step 305: mobile terminal is based on the upgrading configuration and is upgraded;
Step 306: after the completion of upgrading, saving the file information of latest edition file, specifically can be reserved in mobile terminal sheet
On ground and/or corresponding server.
It in the present embodiment, can be in above-mentioned step when detecting that mobile terminal does not install corresponding upgrading tool when upgrading
Before rapid 302, by the communication module server communication of mobile terminal, upgrading work corresponding with the mobile terminal is found
Tool, and download and be installed in the mobile terminal.
In the present embodiment, the mode that above-mentioned secondary configuration also can be used carries out secondary match to the upgrading configuration of generation
It sets, detailed process is as follows:
After the above step 304, before step 305, further includes:
Mobile terminal configures the upgrade file according to preset condition, has also done above preset condition herein
It is explicitly stated, it also repeats no more herein.
At this point, the mobile terminal in step 305 is then to be upgraded according to secondary with the upgrading configuration postponed.
As it can be seen that mobile terminal provided by the invention and its upgrade method, version file in new and old software version is carried out pair
Than, and provide upgrading scheme, can also the secondary configuration of further progress, provide file function, the explanation such as update time, if need
Upgrade tip etc., only user does not provide right to choose, and saves the upgrading of unnecessary file, and upgrading is greatly saved
Time, to save the production and maintenance cost of intelligent terminal.
The above content is specific embodiment is combined, further detailed description of the invention, and it cannot be said that this hair
Bright specific implementation is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, it is not taking off
Under the premise of from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to protection of the invention
Range.