CN102722380A - Upgrading method for mobile communication terminal - Google Patents
Upgrading method for mobile communication terminal Download PDFInfo
- Publication number
- CN102722380A CN102722380A CN201110079396XA CN201110079396A CN102722380A CN 102722380 A CN102722380 A CN 102722380A CN 201110079396X A CN201110079396X A CN 201110079396XA CN 201110079396 A CN201110079396 A CN 201110079396A CN 102722380 A CN102722380 A CN 102722380A
- Authority
- CN
- China
- Prior art keywords
- communication terminal
- mobile communication
- upgrade
- expansion card
- verification
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an upgrading method for a mobile communication terminal, which comprises the following steps: S1, generating an upgrading file; S2, obtaining the check sum of the upgrading file according to a check and algorithm; S3, storing the upgrading file and the check sum obtained in the step S2 into an expansion card; S4, inserting the expansion card into the mobile communication terminal so as to allow the mobile communication terminal to enter an upgrading mode; S5, reading the upgrading file in the expansion card by the mobile communication terminal, and utilizing the checksum obtained in the step S2; and S6; reading the checksum stored in the expansion card by the mobile communication terminal so as to compare checksum with the checksum obtained in the step S5, if equal, completing the upgrading of the mobile communication terminal through the upgrading file read form the expansion card in the step S5, and if not equal, exiting the upgrading mode. According to the method provided by the invention, the correctness of the version of the upgrading file is ensured before the upgrading is started.
Description
Technical field
The present invention relates to a kind of upgrade method of communication terminal, particularly relate to a kind of upgrade method of mobile communication terminal.
Background technology
Present mobile communication terminal has multiple different upgrade method, and wherein a kind of upgrade method need use an expansion card.In this upgrade method; The upgrade file that compiling is accomplished can preserve this expansion card earlier; When the user need upgrade to mobile communication terminal, just this expansion card is inserted, this mobile communication terminal can be directly with being kept among the Flash (flash memory) that upgrade file in this expansion card is burned onto self to accomplish upgrading.
But exist some defectives in this upgrade method: when utilizing expansion card to upgrade; The required upgrade file of upgrading all need be positioned under the upgrading associative directory of expansion card with the filename of regulation usually; Therefore this whether will cause can't be directly judging this upgrade file from the filename of upgrade file be this time required right version of upgrading; Have only this mobile communication terminal of wait to accomplish upgrading and get into system once more to obtain afterwards affirmation, this way is not only dangerous but also lose time.
Summary of the invention
Whether correct the technical matters that the present invention will solve be version the defective that can't before beginning to upgrade, confirm employed upgrade file in time in order to overcome in the prior art when utilizing expansion card to upgrade, provide a kind of can utilize verification and judgement before beginning to upgrade, confirm the upgrade method of the mobile communication terminal that the version of employed upgrade file is correct in time.
The present invention solves above-mentioned technical matters through following technical proposals: a kind of upgrade method of mobile communication terminal, its characteristics are that this upgrade method comprises: S1, generation one upgrade file; S2, utilize a checksum algorithm calculate this upgrade file verification and; S3, with calculate among this upgrade file and the step S2 this verification and preserve in the expansion card; S4, this expansion card is inserted this mobile communication terminal, this mobile communication terminal gets into upgrade mode; S5, this mobile communication terminal read this upgrade file of preserving in this expansion card, and utilize this checksum algorithm calculate this upgrade file of reading verification with; S6, this mobile communication terminal read this verification of preserving in this expansion card and; And with step S5 in calculate this verification and compare; If the two identical then this mobile communication terminal utilizes among the step S5 this upgrade file that reads from this expansion card to accomplish upgrading, if the two difference then this mobile communication terminal withdraw from upgrade mode.
Preferably, this mobile communication terminal is a mobile phone.
Preferably, this expansion card is a T card (T-Flash card, a kind of storage card).
Preferably, step S1-S2 carries out in a PC.
Preferably, this checksum algorithm is CRC (a kind of existing checksum algorithm), MD5 (a kind of existing checksum algorithm), SHA1 (a kind of existing checksum algorithm) or a User Defined algorithm.
Preferably; In step S5; This mobile communication terminal reads to this upgrade file of preserving in this expansion card SDRAM (the Synchronous Dynamic Random Access Memory of this mobile communication terminal; Synchronous DRAM) in, and utilize this checksum algorithm in the SDRAM of this mobile communication terminal, calculate this upgrade file of reading verification with; In step S6; This mobile communication terminal read this verification of preserving in this expansion card with; And with step S5 in calculate this verification and compare; If the two identical then this mobile communication terminal is with reading among the Flash that this upgrade file the SDRAM of this mobile communication terminal writes this mobile communication terminal accomplishing upgrading from this expansion card among the step S5, if the two difference then this mobile communication terminal withdraw from upgrade mode.
Preferably, in step S6, this mobile communication terminal can point out this mobile communication terminal wrong from this upgrade file version that this expansion card reads in step S5 when withdrawing from upgrade mode.
Positive progressive effect of the present invention is: but the present invention utilizes verification with coming all identical upgrade file of each different editions filename to be distinguished; The upgrade file of holding first correct version at PC for the first time calculation check with; Then at the mobile communication terminal place again to the upgrade file that from expansion card, reads for the second time calculation check with; When calculate for twice verification when identical; The version that this upgrade file that mobile communication terminal reads from expansion card just is described is correct, just allows this moment this mobile communication terminal to utilize the correct upgrade file of this version to accomplish escalation process.Therefore; The present invention can utilize verification and judgement confirm that the version of employed upgrade file is correct at mobile communication terminal in time before beginning to upgrade; Thereby avoided unsafe file write activity, and avoided time of wasting because of the upgrade file of setup error version.
Description of drawings
Fig. 1 is the process flow diagram of the upgrade method of this mobile communication terminal of the present invention.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to specify technical scheme of the present invention.
This upgrade method of the present invention is applicable to various mobile communication terminals, for example a mobile phone.In addition, the present invention does not limit mentioned expansion card yet, and it can be various types of expansion cards, for example a T card.
As shown in Figure 1, this upgrade method of the present invention mainly may further comprise the steps:
Each software function that relates among the present invention all can combine the existing software program means to realize under existing hardware condition, does not give unnecessary details so its concrete implementation procedure is not all done at this.
In sum; The present invention utilizes verification with coming but all identical upgrade file of each different editions filename to be distinguished; The upgrade file of holding first correct version at PC for the first time calculation check with; Then at the mobile communication terminal place again to the upgrade file that from expansion card, reads for the second time calculation check with; When calculate for twice verification when identical, explain that just the version of this upgrade file that mobile communication terminal reads is correct from expansion card, just allow this moment this mobile communication terminal to utilize the correct upgrade file of this version to accomplish escalation process.Therefore; The present invention can utilize verification and judgement confirm that the version of employed upgrade file is correct at mobile communication terminal in time before beginning to upgrade; Thereby avoided unsafe file write activity, and avoided time of wasting because of the upgrade file of setup error version.
Though more than described embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited appended claims.Those skilled in the art can make numerous variations or modification to these embodiments under the prerequisite that does not deviate from principle of the present invention and essence, but these changes and modification all fall into protection scope of the present invention.
Claims (7)
1. the upgrade method of a mobile communication terminal is characterized in that, this upgrade method comprises:
S1, generation one upgrade file;
S2, utilize a checksum algorithm calculate this upgrade file verification and;
S3, with calculate among this upgrade file and the step S2 this verification and preserve in the expansion card;
S4, this expansion card is inserted this mobile communication terminal, this mobile communication terminal gets into upgrade mode;
S5, this mobile communication terminal read this upgrade file of preserving in this expansion card, and utilize this checksum algorithm calculate this upgrade file of reading verification with;
S6, this mobile communication terminal read this verification of preserving in this expansion card and; And with step S5 in calculate this verification and compare; If the two identical then this mobile communication terminal utilizes among the step S5 this upgrade file that reads from this expansion card to accomplish upgrading, if the two difference then this mobile communication terminal withdraw from upgrade mode.
2. the upgrade method of mobile communication terminal as claimed in claim 1 is characterized in that, this mobile communication terminal is a mobile phone.
3. the upgrade method of mobile communication terminal as claimed in claim 1 is characterized in that, this expansion card is a T card.
4. the upgrade method of mobile communication terminal as claimed in claim 1 is characterized in that, step S1-S2 carries out in a PC.
5. the upgrade method of mobile communication terminal as claimed in claim 1 is characterized in that, this checksum algorithm is CRC, MD5, SHA1 or a User Defined algorithm.
6. the upgrade method of mobile communication terminal as claimed in claim 1 is characterized in that,
In step S5, this mobile communication terminal reads to this upgrade file of preserving in this expansion card among the SDRAM of this mobile communication terminal, and utilize this checksum algorithm in the SDRAM of this mobile communication terminal, calculate this upgrade file of reading verification with;
In step S6; This mobile communication terminal read this verification of preserving in this expansion card with; And with step S5 in calculate this verification and compare; If the two identical then this mobile communication terminal is with reading among the Flash that this upgrade file the SDRAM of this mobile communication terminal writes this mobile communication terminal accomplishing upgrading from this expansion card among the step S5, if the two difference then this mobile communication terminal withdraw from upgrade mode.
7. the upgrade method of mobile communication terminal as claimed in claim 1; It is characterized in that; In step S6, this mobile communication terminal can point out this mobile communication terminal wrong from this upgrade file version that this expansion card reads in step S5 when withdrawing from upgrade mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110079396XA CN102722380A (en) | 2011-03-30 | 2011-03-30 | Upgrading method for mobile communication terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110079396XA CN102722380A (en) | 2011-03-30 | 2011-03-30 | Upgrading method for mobile communication terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102722380A true CN102722380A (en) | 2012-10-10 |
Family
ID=46948160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110079396XA Pending CN102722380A (en) | 2011-03-30 | 2011-03-30 | Upgrading method for mobile communication terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102722380A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580484A (en) * | 2015-01-19 | 2015-04-29 | 云顶科技(江苏)有限公司 | GPRS terminal remote upgrade method |
CN104765816A (en) * | 2015-04-03 | 2015-07-08 | 北京金山安全软件有限公司 | Browser upgrading method and device and electronic equipment |
CN106055349A (en) * | 2016-05-20 | 2016-10-26 | 乐视控股(北京)有限公司 | Method and device for online upgrading |
WO2018001082A1 (en) * | 2016-06-30 | 2018-01-04 | 中兴通讯股份有限公司 | Upgrade file manufacturing method, upgrade method and device, and apparatus |
-
2011
- 2011-03-30 CN CN201110079396XA patent/CN102722380A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580484A (en) * | 2015-01-19 | 2015-04-29 | 云顶科技(江苏)有限公司 | GPRS terminal remote upgrade method |
CN104765816A (en) * | 2015-04-03 | 2015-07-08 | 北京金山安全软件有限公司 | Browser upgrading method and device and electronic equipment |
CN104765816B (en) * | 2015-04-03 | 2018-09-11 | 北京金山安全软件有限公司 | Browser upgrading method and device and electronic equipment |
CN106055349A (en) * | 2016-05-20 | 2016-10-26 | 乐视控股(北京)有限公司 | Method and device for online upgrading |
WO2018001082A1 (en) * | 2016-06-30 | 2018-01-04 | 中兴通讯股份有限公司 | Upgrade file manufacturing method, upgrade method and device, and apparatus |
CN107562434A (en) * | 2016-06-30 | 2018-01-09 | 中兴通讯股份有限公司 | Preparation method, upgrade method, device and the equipment of upgrade file |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110058873B (en) | Application page updating method, device, equipment and storage medium | |
CN110389778A (en) | A kind of isomery accelerates the MCU firmware upgrade method and relevant apparatus of platform | |
CN108021410A (en) | A kind of firmware upgrade method and system of intelligent appliance equipment | |
CN102467401A (en) | Firmware update method and system for micro-controller unit in power supply unit | |
CN104636171A (en) | Upgrading method and device and mobile device | |
US20160170735A1 (en) | Operating system updating method by using a checklist | |
CN106776122A (en) | A kind of method of main-apparatus protection in start-up course based on Flash | |
CN102750191A (en) | Method for initiating a refresh operation in a solid-state nonvolatile memory device | |
CN111309354A (en) | OTA (over the air) upgrading method and device of networking equipment | |
CN102722380A (en) | Upgrading method for mobile communication terminal | |
CN102662715B (en) | A kind of starting of embedded operation system method | |
CN102163155A (en) | Upgrade controlling device and method for upgrading memory device | |
CN104427119A (en) | Communication terminal and nonvolatile data processing method of communication terminal | |
CN113767365A (en) | Communication module software upgrading method and system and communication module | |
CN102736932B (en) | The method for making of image file, image file and the starting factor method of multisystem | |
CN102981872A (en) | Start-up and upgrade method of terminal equipment and terminal equipment | |
CN108322540A (en) | Customized data lead-in method, terminal and computer readable storage medium | |
CN102740279A (en) | Wireless network access terminal and run method thereof | |
CN108647119A (en) | The startup method, apparatus and equipment of linux system | |
CN104427120A (en) | Communication terminal and nonvolatile data processing method of communication terminal | |
CN103530142A (en) | Android system upgrading method and system based on storage device | |
CN107479924A (en) | Software upgrading method of calibration based on android system | |
CN109857708A (en) | A kind of data access method and computer readable storage medium of embedded system | |
CN116755735A (en) | Online upgrading method and device for embedded software, peritoneal dialysis instrument and storage medium | |
CN110956284A (en) | Method, system, equipment and storage medium for maintaining reliability of product information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20121010 |