CN104021018A - Terminal, upgrade patch generation method and upgrade patch recognition method - Google Patents

Terminal, upgrade patch generation method and upgrade patch recognition method Download PDF

Info

Publication number
CN104021018A
CN104021018A CN201410272992.3A CN201410272992A CN104021018A CN 104021018 A CN104021018 A CN 104021018A CN 201410272992 A CN201410272992 A CN 201410272992A CN 104021018 A CN104021018 A CN 104021018A
Authority
CN
China
Prior art keywords
aku
system software
terminal
version number
upgraded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410272992.3A
Other languages
Chinese (zh)
Inventor
刘捷
黄祎平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhuo You Network Technology Co Ltd
Original Assignee
Shanghai Zhuo You Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhuo You Network Technology Co Ltd filed Critical Shanghai Zhuo You Network Technology Co Ltd
Priority to CN201410272992.3A priority Critical patent/CN104021018A/en
Publication of CN104021018A publication Critical patent/CN104021018A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to the field of communication and discloses a terminal, an upgrade patch generation method and an upgrade patch recognition method. A generated upgrade patch comprises encrypted upgrade system software, a version number of the upgraded system software and hardware information of an applicable system of the upgraded system software. The upgrade patch recognition method includes the first step of conducting decryption processing on the upgrade system software, the version number of the upgraded system software and the hardware information of the applicable system of the upgraded system software in the upgrade patch, the second step of comparing the upgraded system software with the version number of the system software applied by the terminal and the hardware information of the terminal correspondingly, the third step of judging that the upgrade patch is the upgrade patch corresponding to the system software of the terminal if comparison results are the same correspondingly, and the fourth step of upgrading the system software of the terminal according to the information in the upgrade patch. The terminal can actively recognize whether the upgrade patch is available, the process of recognition by a user is omitted, the upgrading operation by the user is facilitated, and the system upgrading process is freer.

Description

The method of terminal, the method that generates AKU and identification AKU
Technical field
The present invention relates to the communications field, particularly a kind of method of terminal, the method that generates AKU and identification AKU.
Background technology
At present, the system of terminal, by network and service end communication, issues the AKU corresponding with system by service end, and this AKU is for upgrading to system.A corresponding system software release of AKU, AKU comprises the relevant information of redaction and legacy version, that is to say, an AKU can only be upgraded to correspondence system software release.But whether current terminal does not have method to go to differentiate AKU corresponding with the system software release of terminal, whether this defect causes terminal before entering recovery (recovery) upgrade mode, to identify AKU available.User is only utilizing AKU to enter after recovery upgrade mode upgrades to system software, could judge that whether this AKU is corresponding with the system software release of terminal according to the relevant prompting of system, if not corresponding, user also needs again to download AKU and carries out retry.The method of such recognition system AKU makes troubles to user's updating operation, makes system upgrade process become loaded down with trivial details.
Summary of the invention
The object of the present invention is to provide a kind of terminal, generate the method for AKU and the method for identification AKU, whether terminal can come initiative recognition AKU available according to the information in AKU, save user oneself and gone the process of identifying, facilitated user's updating operation, and repeatedly attempt without user, and make the more liberalization of this process of system upgrade.
For solving the problems of the technologies described above, embodiments of the present invention provide a kind of method that generates AKU, comprising:
Obtain upgrade-system software and be upgraded the version number of system software and the hardware information of applicable system thereof;
To described upgrade-system software and described in be upgraded the version number of system software and the hardware information of applicable system is encrypted;
According to the described upgrade-system software after encryption and described in be upgraded the version number of system software and the hardware information of applicable system thereof and generate AKU.
Embodiments of the present invention also provide a kind of method of identifying AKU as above, are applied to terminal, comprise the following steps:
S1, to the described upgrade-system software in described AKU be upgraded the version number of system software and the hardware information of applicable system is decrypted processing;
S2, will after decryption processing, described in described AKU, be upgraded the version number of system software that the version number of system software and the hardware information of applicable system and described terminal self use and the hardware information of this terminal is corresponding compares;
If S3 is corresponding identical, judge that described AKU is as the corresponding AKU of the system software with described terminal;
S4, terminal enter recovery pattern and according to the information in described AKU, the system software of described terminal are upgraded.
Embodiments of the present invention also provide a kind of terminal, comprising:
Deciphering module, for to described upgrade-system software be upgraded the version number of system software and the hardware information of applicable system is decrypted processing;
Comparison module, for being upgraded the version number of system software that the version number of system software and the hardware information of applicable system and described terminal self thereof use described in after described decryption processing and the hardware information of this terminal is corresponding compares;
Identification module, for to be upgraded the version number of system software of the version number of system software and the hardware information of applicable system thereof and described terminal self use and the hardware information of this terminal described in described comparison module relatively obtains corresponding when identical, judge that described AKU is as the corresponding AKU of the system software with described terminal;
Upgrading module, upgrades to the system software of described terminal according to the information of described AKU for entering recovery pattern.
Embodiment of the present invention in terms of existing technologies, terminal can extract the information relevant to terminal by the information in AKU and compare, by judging the information information relevant to terminal in AKU, whether unanimously come initiative recognition AKU whether available, save user oneself and gone the process of identifying, facilitated user's updating operation, without user, repeatedly attempt, and make the more liberalization of this process of system upgrade.
Preferably, described in, obtain upgrade-system software and be upgraded the version number of system software and the hardware information of applicable system comprises the following steps:
Respectively to described upgrade-system software and described in be upgraded system software and compile, corresponding first resource bag and the Secondary resource bag of generating;
In described first resource bag, search the hardware information of the version number of described upgrade-system software and the compiling system at place thereof;
Described in searching, be upgraded the hardware information of the version number of system software and the compiling system at place thereof in described Secondary resource bag.
In this step, be mainly that the resource bag that utilizes compilation script when system software is compiled to generate generates AKU, specifically respectively from upgrade-system software be upgraded version number and other hardware informations that obtains upgrade-system software the resource bag of system software and be upgraded system software, these hardware informations are resource bags of upgrade-system software and are upgraded hardware information variant in the resource bag of system software, for the resource bag of unique sign correspondence.
Preferably, described according to the described upgrade-system software after encryption and described in be upgraded after the version number of system software and the hardware information of applicable system thereof generate AKU, described method also comprises:
Described AKU is carried out to verification, generate check information;
AKU after described verification and described check information are compressed, generated compression AKU.
AKU is carried out to verification, and the check information of generation can be for the protection of the integrality of AKU, and assurance terminal can know that this AKU does not have drop-out in transmitting procedure.
Accompanying drawing explanation
Fig. 1 is according to the method flow schematic diagram that generates AKU in first embodiment of the invention;
Fig. 2 is according to the method flow schematic diagram of the generation AKU of second embodiment of the invention;
Fig. 3 is according to the method flow schematic diagram of the identification AKU of third embodiment of the invention;
Fig. 4 is according to the method flow schematic diagram of the identification AKU of four embodiment of the invention;
Fig. 5 is according to the method flow schematic diagram of the identification AKU of fifth embodiment of the invention;
Fig. 6 is according to the structural representation of the terminal of sixth embodiment of the invention;
Fig. 7 is according to the structural representation of the terminal of seventh embodiment of the invention;
Fig. 8 is according to the structural representation of the terminal of eighth embodiment of the invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the embodiments of the present invention are explained in detail.Yet, persons of ordinary skill in the art may appreciate that in each embodiment of the present invention, in order to make reader understand the application better, many ins and outs have been proposed.But, even without these ins and outs and the many variations based on following embodiment and modification, also can realize each claim of the application technical scheme required for protection.
First embodiment of the invention provides a kind of method that generates AKU, as shown in Figure 1, comprises the following steps:
101, obtain upgrade-system software and be upgraded the version number of system software and the hardware information of applicable system.
This step 101 can realize by following sub-step:
1011, respectively to upgrade-system software be upgraded system software and compile, corresponding first resource bag and the Secondary resource bag of generating.
Upgrade-system software is the system software after the upgrading of redaction, and being upgraded system software is the current not yet system software of upgrading.Example, Android system version is upgraded to Android system edition 4 .1 by 4.0, upgrade-system software is 4.1, being upgraded system software is 4.0.
In the time of system software compiling, can automatically generate resource bag by compilation script, can utilize this resource bag finally to generate AKU.Example, upgrade-system software is compiled, can generate a resource bag by the compilation script of upgrade-system software, be referred to as first resource bag; To being upgraded system software, compile, can generate a resource bag by the compilation script that is upgraded system software, be referred to as Secondary resource bag.
1012, in first resource bag, search the hardware information of the version number of upgrade-system software and the compiling system at place thereof.
First resource bag and Secondary resource bag are compared to the information of the difference that obtains having any different in two resource bags.Example, in first resource bag, find the hardware information of the version number of upgrade-system software and the compiling system at place thereof.Hardware information comprises: the model of each hardware, such as the model of the CPU (CentralProcessing Unit, central processing unit) of this equipment, the item number of equipment, the model of storage unit flash, storage size etc., also have the host language classification information corresponding with software version in addition.
The hardware information of the compiling system at upgrade-system software place is the hardware information of upgrade-system software applicable system.
1013, in Secondary resource bag, search the hardware information that is upgraded the version number of system software and the compiling system at place thereof.
The hardware information that is upgraded the compiling system at system software place is the hardware information that is upgraded system software applicable system.
With 1012, in Secondary resource bag, find the hardware informations such as capacity of the version number of upgrade-system software, hard piece number and flash.
After the information encryption that step 1012 and step 1013 are obtained, write in AKU, increased the security of AKU.The cryptographic algorithm of using during encryption can, for any algorithm of the prior art, not repeat at this.So far, AKU generates.
The AKU generating in present embodiment comprises: the upgrade-system software after encryption and be upgraded the version number of system software and the hardware information of applicable system thereof.
It should be noted that, in actual applications, can also obtain by other means the hardware information of the version number of system software and the compiling system at place thereof, the present invention does not limit this.Example, upgrade-system software be can also manually write and the version number of system software and the hardware information of applicable system thereof are upgraded.
102, to upgrade-system software be upgraded the version number of system software and the hardware information of applicable system is encrypted.
Cryptographic algorithm can be used cryptographic algorithm of the prior art, and the present invention does not limit this.
103, according to the upgrade-system software after encryption be upgraded the version number of system software and the hardware information of applicable system generates AKU.
Present embodiment in terms of existing technologies, utilize the method and to be upgraded the version number of system software and applicable hardware information is put into AKU by the version number of upgrade-system software and applicable hardware information thereof, facilitate user that AKU is downloaded to after terminal, terminal compares the relevant information that is upgraded system software in the information of the system software at own place and AKU, judges that whether this AKU is available.
Second embodiment of the invention provides a kind of method that generates AKU, and the second embodiment has been done further improvement on the basis of the first embodiment, and the AKU security that the method after improving generates is higher, uses and feels to have more hommization.As shown in Figure 2, the method comprising the steps of 201 to step 205, and wherein, step 201 is corresponding identical to step 103 with the step 101 in the first embodiment to step 203, at this, does not repeat.
Step 204 is: AKU is carried out to verification, generate check information.
Method of calibration can, for any algorithm of the prior art, not repeat at this.Check information can be stored in verification file, with the form of verification file, exists.
Step 205 is: the AKU after verification and check information are compressed, generated compression AKU.
The compression method adopting can, for method of the prior art, not repeat at this.
Check information can be for knowing in transmitting procedure that upgrading is surrounded by and there is no drop-out.
The AKU security generating in present embodiment is higher, uses and feels to have more hommization, and this AKU is arranged in compression AKU, and compression AKU is that AKU and check information compression are generated, and check information is that AKU is carried out to verification generation.
Present embodiment is for the first embodiment, in AKU, increased check information, if terminal downloads there is the AKU of check information, terminal just can know in transmitting procedure, there is no drop-out according to the check information in the compression AKU of downloading.The AKU security that utilizes the method for this generation AKU to generate is higher, has more hommization.
It should be noted that, the AKU of utilizing the first embodiment and the second embodiment to generate can be for the upgrading of Android system.
Third embodiment of the invention provides a kind of method of identifying AKU, be applied to terminal, terminal can be mobile phone, the prerequisite of the present embodiment AKU that has been terminal downloads, in the present invention, the method for terminal downloads AKU has two kinds: a kind of is terminal active and service end communication, and terminal and service end communication are http (the Hypertext transfer protocol that downloads AKU in order to obtain from service end, HTTP) link, is linked and is downloaded AKU by http; Another kind is that http download is carried out in the AKU address that terminal is issued from network, and all downloads are standard http transmission.
Present embodiment is the embodiment corresponding with the first embodiment, and in the present embodiment, how the main terminal of describing identifies the AKU generating in the first embodiment.The AKU that terminal downloads is good can be stored in the SD (Secure Digital Memory Card, safe digital card) of terminal, after finding AKU, as shown in Figure 3, carries out following steps in SD card:
301, to the upgrade-system software in AKU be upgraded the version number of system software and the hardware information of applicable system is decrypted processing.
Decryption processing in this step can be decryption processing, corresponding with the encryption in the first embodiment, and the decipherment algorithm using during deciphering is the decryption method corresponding with cryptographic algorithm, is prior art, at this, does not repeat.
302, will in AKU after decryption processing, be upgraded the version number of system software that the version number of system software and the hardware information of applicable system and terminal self use and the hardware information of this terminal is corresponding compares.
This step is whether version number and the hardware information of the system software that uses of version number in order to confirm to be upgraded system software, hardware information and terminal self be corresponding.
If 303 is corresponding identical, judge that AKU is as the corresponding AKU of the system software with terminal.
If be upgraded the version number of system software, version number and the hardware information of the system software of hardware information and terminal self use are corresponding, prove that this AKU is suitable for the system software of the current use of terminal, namely to go out the AKU of current download be the upgrading that is applicable to terminal current system software to terminal recognition.Then perform step 304.
If be upgraded the version number of system software, version number and the hardware information of the system software of hardware information and terminal self use are not corresponding, prove that this AKU is not suitable for the system software of the current use of terminal, namely to go out the AKU of current download be the upgrading that is not suitable for terminal current system software to terminal recognition.
304, terminal enters recovery pattern and according to the information in AKU, the system software of terminal is upgraded.
Terminal is upgraded to the system software of terminal according to version information in AKU etc.
It should be noted that, present embodiment is applicable to only have the situation of an AKU.
Terminal compares the relevant information that is upgraded system software in the information of the system software at own place and AKU, judges that whether this AKU is available.If available, terminal just can be upgraded according to the information in AKU, if unavailable, terminal can continue to download AKU.The method has been saved the process that user oneself goes to identify AKU, has facilitated user's updating operation, and makes the more liberalization of this process of system upgrade.
Four embodiment of the invention provides a kind of method of identifying AKU, and the 4th embodiment has been done further improvement on the basis of the 3rd embodiment, the situation of the quantity of AKU that the method is suitable for terminal downloads at least two time.As shown in Figure 4, the method comprising the steps of 401 to step 406, and wherein step 401 is corresponding identical to step 303 with the step 301 in the 3rd embodiment to step 403, at this, does not repeat.
Step 404 is: the version number that extracts and show upgrade-system software in each AKU.
Step 405 is: AKU corresponding to version number that mark is selected.
Step 406 is: terminal enters recovery pattern and according to the information in AKU corresponding to selected version number, the system software of terminal upgraded.
If the AKU of downloading is a plurality of, can before upgrading, extract and show that the version number in each AKU identifying supplies user to select, the AKU of selecting can be carried out to mark simultaneously, then terminal is upgraded to terminal place system according to the information of the AKU of mark, can meet the needs of user to system software release, also make user very clearly know that this AKU is by the version information being upgraded to simultaneously.
Fifth embodiment of the invention provides a kind of method of identifying AKU, the 5th embodiment has been done further improvement on the basis of the 3rd embodiment, the 5th embodiment is the embodiment corresponding with the second embodiment, and in the present embodiment, how the main terminal of describing identifies the AKU generating in the second embodiment.As shown in Figure 5, the method comprising the steps of 501 to step 508, and wherein step 505 is corresponding identical to step 304 with the step 301 in the 3rd embodiment to step 508, at this, does not repeat.
Step 501 is: extract compression AKU, to compression AKU decompress(ion), obtain decompress(ion) AKU.
The decompressing method adopting can be corresponding for the compression method with adopting in the second embodiment decompressing method, for method of the prior art, at this, do not repeat.
Step 502 is: judge in the compression AKU after decompress(ion) whether comprise AKU and check information.
If it is normal to download the process of transmission, in the decompress(ion) AKU after decompress(ion), should comprise AKU and check information; If download the process exception of transmission, may cause loss of data, likely lose AKU, also likely lose check information.
While comprising AKU and check information in compression AKU, execution step 503; Otherwise, finish.
Step 503 is: AKU is carried out to verification, generate new check information;
Step 504 is: whether the check information relatively obtaining after decompress(ion) is consistent with new check information.
The usage of check information: after AKU download is complete, use specific checking algorithm to carry out verification to AKU, verification meeting generates a check code, and two check codes are compared, if consistent, thinks that this AKU is complete, then performs step 505; As inconsistent, be judged to be AKU and damage, finish.
Present embodiment is compared with the 3rd embodiment, terminal is before comparing the relevant information that is upgraded system software in the information of the system software at own place and AKU, utilize check information first to judge that whether the AKU of download is complete, can guarantee like this to identify again under the complete prerequisite of the AKU of downloading, improve the recognition efficiency of the method, avoid flogging a dead horse in the incomplete situation of AKU.
Those skilled in the art will appreciate that the 5th embodiment can also with the enforcement that cooperatively interacts of the 4th embodiment, at this, do not repeat.
The step of the whole bag of tricks is divided above, just in order being described clearly, can to merge into a step or some step is split while realizing, and is decomposed into a plurality of steps, as long as comprise identical logical relation, all in the protection domain of this patent; To adding inessential modification in algorithm or in flow process or introducing inessential design, but the core design that does not change its algorithm and flow process is all in the protection domain of this patent.
Sixth embodiment of the invention provides a kind of terminal, and this terminal is for identifying the AKU of the first embodiment, and the 6th embodiment is the system embodiment corresponding with the 3rd embodiment, as shown in Figure 6, comprising:
Deciphering module, for to upgrade-system software be upgraded the version number of system software and the hardware information of applicable system is decrypted processing.
Comparison module, for the version number of system software that the hardware information and terminal of the version number that is upgraded system software after decryption processing and applicable system thereof self used and the hardware information of this terminal is corresponding compares.
Identification module, corresponding when identical for relatively obtain being upgraded the version number of system software of the version number of system software and the hardware information of applicable system and terminal self use thereof and the hardware information of this terminal at comparison module, judge that AKU is as the corresponding AKU of the system software with terminal.
Upgrading module, upgrades to the system software of terminal according to the information of AKU for entering recovery pattern.
Comparison module compares the relevant information that is upgraded system software in the information of the system software at own place and AKU, identification module judges that AKU is as the corresponding AKU of the system software with terminal, upgrading module is upgraded according to the information in AKU, saved the process that user oneself goes to identify AKU, facilitated user's updating operation, and made the more liberalization of this process of system upgrade.
It should be noted that, the terminal in present embodiment is applicable to only have the situation of an AKU.
Because the 3rd embodiment is mutually corresponding with present embodiment, thus present embodiment can with the enforcement of working in coordination of the 3rd embodiment.The correlation technique details of mentioning in the 3rd embodiment is still effective in the present embodiment, and the technique effect that can reach in the 3rd embodiment can be realized in the present embodiment too, in order to reduce repetition, repeats no more here.Correspondingly, the correlation technique details of mentioning in present embodiment also can be applicable in the 3rd embodiment.
Seventh embodiment of the invention provides a kind of terminal, this terminal has been done further improvement on the basis of the 6th embodiment, as shown in Figure 7, this terminal comprises: the first processing module, mark module, deciphering module, comparison module, identification module and upgrading module, wherein, corresponding identical with the 8th embodiment of deciphering module, comparison module and identification module, does not repeat at this.
The first processing module, during at least two, extracts and shows the version number of upgrade-system software in each AKU for the quantity when AKU.
Mark module, for AKU corresponding to the selected version number of mark.
Upgrading module is also upgraded to the system software of terminal according to the information of AKU corresponding to the version of mark module mark for entering recovery pattern.
If the AKU of downloading is a plurality of, before upgrading, the first processing module is extracted and is shown that the version number in each AKU identifying supplies user to select, mark module can carry out mark by the AKU of selecting, then the module of upgrading is upgraded to terminal place system according to the information of the AKU of mark, can meet the needs of user to system software release, also make user very clearly know that this AKU is by the version information being upgraded to simultaneously.
It should be noted that, the terminal in present embodiment is applicable to the situation of at least two AKU.
Because the 4th embodiment is mutually corresponding with present embodiment, thus present embodiment can with the enforcement of working in coordination of the 4th embodiment.The correlation technique details of mentioning in the 4th embodiment is still effective in the present embodiment, and the technique effect that can reach in the 4th embodiment can be realized in the present embodiment too, in order to reduce repetition, repeats no more here.Correspondingly, the correlation technique details of mentioning in present embodiment also can be applicable in the 4th embodiment.
Eighth embodiment of the invention provides a kind of terminal, this terminal is for identifying the AKU of the second embodiment, the 8th embodiment is the system embodiment corresponding with the 5th embodiment, as shown in Figure 8, comprise the second processing module, judge module, deciphering module, comparison module, identification module and upgrading module.Wherein, deciphering module, comparison module, identification module and upgrading module are corresponding identical with deciphering module, comparison module, identification module and upgrading module in the 7th embodiment, at this, do not repeat.
The second processing module is used for extracting compression AKU, to compression AKU decompress(ion), obtains decompress(ion) AKU.
The first judge module is used for judging whether decompress(ion) AKU comprises AKU and check information.
Correction verification module, for when the first judge module judgement compression AKU comprises AKU and check information, carries out verification to AKU, generates new check information.
Comparison module, whether consistent with new check information for comparing the check information obtaining after decompress(ion).
Terminal in present embodiment first utilizes the second processing module to extract compression AKU, to compression AKU decompress(ion), obtains decompress(ion) AKU; Recycle the first judge module and judge in decompress(ion) AKU, whether to comprise AKU and check information.Whether the AKU of utilizing check information judgement to download is complete, can guarantee that like this terminal identifies under the complete prerequisite of the AKU of downloading again, and improves recognition efficiency, avoids allowing terminal flog a dead horse in the incomplete situation of AKU.
Those skilled in the art will appreciate that the 8th embodiment can with the enforcement that cooperatively interacts of the 7th embodiment, at this, do not repeat.
Because the 5th embodiment is mutually corresponding with present embodiment, thus present embodiment can with the enforcement of working in coordination of the 5th embodiment.The correlation technique details of mentioning in the 5th embodiment is still effective in the present embodiment, and the technique effect that can reach in the 5th embodiment can be realized in the present embodiment too, in order to reduce repetition, repeats no more here.Correspondingly, the correlation technique details of mentioning in present embodiment also can be applicable in the 5th embodiment.
It is worth mentioning that, about each involved module in the embodiment of device, be logic module, in actual applications, a logic module can be a physical module, also can be a part for a physical module, can also realize with the combination of at least two physical modules.The narration of the principle of work of each physical module in can reference method embodiment, the present invention does not repeat them here.In addition, for outstanding innovation part of the present invention, in present embodiment, the module not too close with solving technical matters relation proposed by the invention do not introduced, but this does not show not exist in present embodiment other module.
Persons of ordinary skill in the art may appreciate that the respective embodiments described above are to realize specific embodiments of the invention, and in actual applications, can to it, do various changes in the form and details, and without departing from the spirit and scope of the present invention.

Claims (10)

1. a method that generates AKU, is characterized in that, comprising:
Obtain upgrade-system software and be upgraded the version number of system software and the hardware information of applicable system thereof;
To described upgrade-system software and described in be upgraded the version number of system software and the hardware information of applicable system is encrypted;
According to the described upgrade-system software after encryption and described in be upgraded the version number of system software and the hardware information of applicable system thereof and generate AKU.
2. the method for generation AKU according to claim 1, is characterized in that, described in obtain upgrade-system software and be upgraded the version number of system software and the hardware information of applicable system comprises the following steps:
Respectively to described upgrade-system software and described in be upgraded system software and compile, corresponding first resource bag and the Secondary resource bag of generating;
In described first resource bag, search the hardware information of the version number of described upgrade-system software and the compiling system at place thereof;
Described in searching, be upgraded the hardware information of the version number of system software and the compiling system at place thereof in described Secondary resource bag.
3. the method for generation AKU according to claim 1, is characterized in that, described hardware information comprises: model and the memory capacity of the model of central processor CPU, the item number of equipment, storage unit flash.
4. the method for generation AKU according to claim 1, it is characterized in that, described according to the described upgrade-system software after encryption and described in be upgraded after the version number of system software and the hardware information of applicable system thereof generate AKU, described method also comprises:
Described AKU is carried out to verification, generate check information;
AKU after described verification and described check information are compressed, generated compression AKU.
5. a method of identifying AKU, is applied to terminal, it is characterized in that, comprises the following steps:
S1, to the described upgrade-system software in described AKU be upgraded the version number of system software and the hardware information of applicable system is decrypted processing;
S2, will after decryption processing, described in described AKU, be upgraded the version number of system software that the version number of system software and the hardware information of applicable system and described terminal self use and the hardware information of this terminal is corresponding compares;
If S3 is corresponding identical, judge that described AKU is as the corresponding AKU of the system software with described terminal;
S4, terminal enter recovery pattern and according to the information in described AKU, the system software of described terminal are upgraded.
6. the method for identification AKU according to claim 5, is characterized in that, when the quantity of described AKU is during at least two, after described S3, before described S4, described method also comprises:
Extract and show the version number of upgrade-system software described in each AKU;
Described AKU corresponding to version number that mark is selected;
Execute described extraction and show the version number that is upgraded system software described in described AKU; After the step of the described AKU that the selected version number of mark is corresponding, described S4 is:
Terminal enters recovery pattern and according to the information in described AKU corresponding to described selected version number, the system software of described terminal is upgraded.
7. the method for identification AKU according to claim 5, is characterized in that, before described S1, further comprising the steps of:
Extract described compression AKU, to described compression AKU decompress(ion);
Judge in the described compression AKU after described decompress(ion) and whether comprise described AKU and described check information;
If comprise described AKU and described check information in described compression AKU, described AKU is carried out to verification, generate new check information;
Whether the check information relatively obtaining after decompress(ion) is consistent with new check information;
If the check information obtaining after decompress(ion) is consistent with new check information, carry out described S1.
8. a terminal, is characterized in that, comprising:
Deciphering module, for to described upgrade-system software be upgraded the version number of system software and the hardware information of applicable system is decrypted processing;
Comparison module, for being upgraded the version number of system software that the version number of system software and the hardware information of applicable system and described terminal self thereof use described in after described decryption processing and the hardware information of this terminal is corresponding compares;
Identification module, for to be upgraded the version number of system software of the version number of system software and the hardware information of applicable system thereof and described terminal self use and the hardware information of this terminal described in described comparison module relatively obtains corresponding when identical, judge that described AKU is as the corresponding AKU of the system software with described terminal;
Upgrading module, upgrades to the system software of described terminal according to the information of described AKU for entering recovery pattern.
9. terminal according to claim 8, is characterized in that, described terminal also comprises:
The first processing module, during at least two, extracts and shows the version number of upgrade-system software described in each AKU for the quantity when described AKU;
Mark module, for described AKU corresponding to the selected version number of mark;
Described upgrading module is also upgraded to the system software of described terminal according to the information of AKU corresponding to the version of described mark module mark for entering recovery pattern.
10. terminal according to claim 8, is characterized in that, described terminal also comprises:
The second processing module, for extracting described compression AKU, to described compression AKU decompress(ion), obtains decompress(ion) AKU;
The first judge module, for judging whether described decompress(ion) AKU comprises described AKU and described check information;
Correction verification module, for when described the first judge module judges that described compression AKU comprises described AKU and described check information, carries out verification to described AKU, generates new check information;
Comparison module, whether consistent with new check information for comparing the check information obtaining after decompress(ion).
CN201410272992.3A 2014-06-06 2014-06-18 Terminal, upgrade patch generation method and upgrade patch recognition method Pending CN104021018A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410272992.3A CN104021018A (en) 2014-06-06 2014-06-18 Terminal, upgrade patch generation method and upgrade patch recognition method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201410250609.4 2014-06-06
CN201410250609 2014-06-06
CN201410272992.3A CN104021018A (en) 2014-06-06 2014-06-18 Terminal, upgrade patch generation method and upgrade patch recognition method

Publications (1)

Publication Number Publication Date
CN104021018A true CN104021018A (en) 2014-09-03

Family

ID=51437790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410272992.3A Pending CN104021018A (en) 2014-06-06 2014-06-18 Terminal, upgrade patch generation method and upgrade patch recognition method

Country Status (1)

Country Link
CN (1) CN104021018A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991796A (en) * 2015-06-19 2015-10-21 青岛海信移动通信技术股份有限公司 Method and apparatus for continuous upgrade
CN105045671A (en) * 2015-08-17 2015-11-11 广东欧珀移动通信有限公司 Method and device for upgrading systems of intelligent terminals
CN105045633A (en) * 2015-08-10 2015-11-11 广东欧珀移动通信有限公司 Method and apparatus for scanning upgrade package
CN105068851A (en) * 2015-09-11 2015-11-18 上海斐讯数据通信技术有限公司 Secure packaging method and system for mobile terminal ROM packets and mobile terminal
CN105867922A (en) * 2016-03-29 2016-08-17 乐视控股(北京)有限公司 Differential upgrade method and system
CN106325934A (en) * 2016-08-24 2017-01-11 北京小米移动软件有限公司 System upgrading method and device
CN106899437A (en) * 2017-02-23 2017-06-27 百富计算机技术(深圳)有限公司 A kind of method and apparatus of POS module firmware of upgrading
CN107479929A (en) * 2017-08-15 2017-12-15 青岛海信移动通信技术股份有限公司 Method for upgrading software, device and equipment
CN107562434A (en) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 Preparation method, upgrade method, device and the equipment of upgrade file
WO2018036166A1 (en) * 2016-08-25 2018-03-01 中兴通讯股份有限公司 Upgrade package reading method and device
CN108337565A (en) * 2018-01-19 2018-07-27 康佳集团股份有限公司 A kind of method, smart television and the storage medium of smart television upgrade checkout
CN108874414A (en) * 2018-04-02 2018-11-23 广州视源电子科技股份有限公司 Method for upgrading software, device, readable storage medium storing program for executing and television equipment
CN110597536A (en) * 2019-08-28 2019-12-20 深圳市优必选科技股份有限公司 Software upgrading method, system and terminal equipment
CN112492337A (en) * 2020-11-26 2021-03-12 北京达佳互联信息技术有限公司 Communication method, communication device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006066446A1 (en) * 2004-12-21 2006-06-29 Zte Corporation A method and device for compatible loading of equipments software in distributed control system
CN101867694A (en) * 2010-05-21 2010-10-20 中兴通讯股份有限公司 Method and system for upgrading interactive internet protocol television (IPTV) set top box (STB)
CN101901160A (en) * 2010-08-11 2010-12-01 中兴通讯股份有限公司 Packing method and device of version upgrading software package
US20110208975A1 (en) * 2008-06-23 2011-08-25 Sibert Herve Electronic device and method of software or firmware updating of an electronic device
CN103685471A (en) * 2013-11-21 2014-03-26 珠海金山网络游戏科技有限公司 Method and system for updating software client sides in monopoly mode

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006066446A1 (en) * 2004-12-21 2006-06-29 Zte Corporation A method and device for compatible loading of equipments software in distributed control system
US20110208975A1 (en) * 2008-06-23 2011-08-25 Sibert Herve Electronic device and method of software or firmware updating of an electronic device
CN101867694A (en) * 2010-05-21 2010-10-20 中兴通讯股份有限公司 Method and system for upgrading interactive internet protocol television (IPTV) set top box (STB)
CN101901160A (en) * 2010-08-11 2010-12-01 中兴通讯股份有限公司 Packing method and device of version upgrading software package
CN103685471A (en) * 2013-11-21 2014-03-26 珠海金山网络游戏科技有限公司 Method and system for updating software client sides in monopoly mode

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991796A (en) * 2015-06-19 2015-10-21 青岛海信移动通信技术股份有限公司 Method and apparatus for continuous upgrade
CN104991796B (en) * 2015-06-19 2018-05-25 青岛海信移动通信技术股份有限公司 A kind of method and device continuously upgraded
CN105045633A (en) * 2015-08-10 2015-11-11 广东欧珀移动通信有限公司 Method and apparatus for scanning upgrade package
CN105045671A (en) * 2015-08-17 2015-11-11 广东欧珀移动通信有限公司 Method and device for upgrading systems of intelligent terminals
CN105045671B (en) * 2015-08-17 2018-04-03 广东欧珀移动通信有限公司 The method for upgrading system and device of a kind of intelligent terminal
CN105068851A (en) * 2015-09-11 2015-11-18 上海斐讯数据通信技术有限公司 Secure packaging method and system for mobile terminal ROM packets and mobile terminal
CN105867922A (en) * 2016-03-29 2016-08-17 乐视控股(北京)有限公司 Differential upgrade method and system
CN107562434A (en) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 Preparation method, upgrade method, device and the equipment of upgrade file
CN106325934A (en) * 2016-08-24 2017-01-11 北京小米移动软件有限公司 System upgrading method and device
CN107784233A (en) * 2016-08-25 2018-03-09 中兴通讯股份有限公司 The method and device of AKU is read in a kind of user data subregion from encryption
WO2018036166A1 (en) * 2016-08-25 2018-03-01 中兴通讯股份有限公司 Upgrade package reading method and device
CN107784233B (en) * 2016-08-25 2021-09-03 中兴通讯股份有限公司 Method and device for reading upgrade package from encrypted user data partition
CN106899437A (en) * 2017-02-23 2017-06-27 百富计算机技术(深圳)有限公司 A kind of method and apparatus of POS module firmware of upgrading
CN106899437B (en) * 2017-02-23 2020-05-01 百富计算机技术(深圳)有限公司 Method and device for upgrading POS machine module firmware
CN107479929A (en) * 2017-08-15 2017-12-15 青岛海信移动通信技术股份有限公司 Method for upgrading software, device and equipment
CN108337565A (en) * 2018-01-19 2018-07-27 康佳集团股份有限公司 A kind of method, smart television and the storage medium of smart television upgrade checkout
CN108874414A (en) * 2018-04-02 2018-11-23 广州视源电子科技股份有限公司 Method for upgrading software, device, readable storage medium storing program for executing and television equipment
CN110597536A (en) * 2019-08-28 2019-12-20 深圳市优必选科技股份有限公司 Software upgrading method, system and terminal equipment
CN112492337A (en) * 2020-11-26 2021-03-12 北京达佳互联信息技术有限公司 Communication method, communication device, server and storage medium
CN112492337B (en) * 2020-11-26 2023-05-23 北京达佳互联信息技术有限公司 Communication method, communication device, server and storage medium

Similar Documents

Publication Publication Date Title
CN104021018A (en) Terminal, upgrade patch generation method and upgrade patch recognition method
CN106569869B (en) Plug-in unit packaging method and device
CN101924607B (en) Firmware processing method based on firmware air transmission technology, device and system thereof
CN106899437B (en) Method and device for upgrading POS machine module firmware
US8555060B2 (en) Managing method, device and terminal for application program
CN106484453B (en) Method and device for realizing system upgrading
CN102711108B (en) Method and system for managing the authentication information of mobile terminal
CN106991326A (en) The upgrade method and its equipment of a kind of equipment firmware
US11050726B2 (en) Update-driven migration of data
CN111831563A (en) Automatic interface test method and device and storage medium
KR20170068814A (en) Apparatus and Method for Recognizing Vicious Mobile App
CN102340398A (en) Security policy setting and determining method, and method and device for executing operation by application program
CN107832065A (en) Firmware upgrade method, water purifier, upgrade-system and readable storage medium storing program for executing
CN107797818A (en) Application program updating method and device
CN108460875A (en) A kind of entrance guard authentication method and device based on dynamic two-dimension code
CN101896916A (en) Interaction between secured and unsecured environments
CN110191176B (en) Rapid electronic evidence obtaining method and system
WO2012042999A1 (en) Terminal application search system
CN106709281A (en) Patch releasing and obtaining method and device
CN107145342B (en) Method and device for processing channel information of application
CN111417927A (en) Resource authority processing method and device, storage medium and chip
CN102118737A (en) Method for remotely acquiring network locking information and terminal
CN107315610B (en) Method, device and computer readable storage medium for realizing password function
CN103309758B (en) A kind of mthods, systems and devices blocking application and download
CN112732676B (en) Block chain-based data migration method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140903