CN102611720A - Mobile phone firmware upgrade method - Google Patents
Mobile phone firmware upgrade method Download PDFInfo
- Publication number
- CN102611720A CN102611720A CN2011100245310A CN201110024531A CN102611720A CN 102611720 A CN102611720 A CN 102611720A CN 2011100245310 A CN2011100245310 A CN 2011100245310A CN 201110024531 A CN201110024531 A CN 201110024531A CN 102611720 A CN102611720 A CN 102611720A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- phone firmware
- application program
- firmware upgrade
- firmware
- 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
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a mobile phone firmware upgrade method, comprising the steps: S1, a mobile phone is connected with a computer and is communicated with a mobile phone firmware upgrade server by a PC application program; S2, the mobile phone firmware upgrade server sends encrypted mobile phone firmware to the PC application program; S3, the PC application program reads a secret key in the mobile phone to decrypt the encrypted mobile phone firmware; and S4, the PC application program upgrades the mobile phone firmware. The mobile phone firmware upgrade method enables the mobile phone firmware to be decrypted before upgrade because the mobile phone firmware is encrypted and the character sequence string generated by the unique IMEI number and upgrade requirement time is used as secret key. The mobile phone firmware can be upgraded safely and then the difficulty in cracking the mobile phone firmware is increased.
Description
Technical field
The present invention relates to a kind of firmware upgrade method, particularly relate to a kind of mobile phone firmware upgrade method, be applicable to communication terminals such as mobile phone.
Background technology
In recent years, mobile phone has developed into the complicated more multi-media communication equipment of mobile phone upgrading from simple relatively voice phone.Present mobile phone all has text message, camera, web browser, conferencing function and other complicated function usually.Mobile phone constantly increases function, and its firmware complexity also increases thereupon.
Firmware is a kind of software that is embedded in the hardware unit.Usually it is to be arranged in flash memory, and can let the user upgrade.Firmware updating generally can be made some enhancings to cell-phone function, revises some minor errors, makes the handset program operation more smooth, and speech quality improves or the like.
Firmware upgrade is meant and through special ROMPaq working procedure in the hardware or source code is improved, and makes it obtain the raising on compatibility, performance or the function.What it was different with upgrading driver etc. is to upgrade from the machine bottom, thus more directly, more effective, performance improves also more obvious.This upgrading can improve constantly the performance of machine, and the potentiality of main frame are constantly brought into play.
Along with the popularization of smart mobile phone, a lot of users like set up applications on the smart mobile phone of oneself, conveniently oneself work and amusement.Usually, the user need go up through the mode of paying at App Store (application software shop) and carry out the download and the installation of application program, can guarantee program development personnel's rights and interests like this.Yet the basis of doing like this is that the operating system of mobile phone does not crack.In the practical application, the operating system of mobile phone often is easy to be cracked, and the user just can install the application program of not paying, and makes the fail safe of mobile phone firmware upgrading be damaged.This situation has been damaged program development personnel's rights and interests greatly.
Therefore, need the higher mobile phone firmware upgrade method of a kind of fail safe at present, be cracked with the operating system that prevents mobile phone.
Summary of the invention
The technical problem that the present invention will solve is in order to overcome the mobile phone operating system easy crack of prior art, and making the defective that the fail safe of mobile phone firmware upgrading reduces provides a kind of safe mobile phone firmware upgrade method.
The present invention solves above-mentioned technical problem through following technical proposals: a kind of mobile phone firmware upgrade method, its characteristics are that this method may further comprise the steps: S
1, mobile phone is connected in computer, and connect the mobile phone firmware upgrade server through the PC application program; S
2, the mobile phone firmware of mobile phone firmware upgrade server after will encrypting send to the PC application program; S
3, the PC application program reads the key in the mobile phone, and the mobile phone firmware of encrypting is carried out decryption oprerations; S
4, mobile phone firmware carries out auto-update.
Preferably, said step S
2Further comprising the steps of before: S
21, the PC application program reads the unique number of mobile phone, and sends to the mobile phone firmware upgrade server; S
22, the mobile phone firmware upgrade server calculates the key of mobile phone firmware according to the unique number of mobile phone and request updating time, and writes the storage area in the mobile phone through the PC application program; S
23, the mobile phone firmware upgrade server encrypts mobile phone firmware according to key.
Preferably, said step S
22Also comprise: the mobile phone firmware upgrade server sends to the PC application program with key.
Preferably, said step S
3Also comprise afterwards: judge whether decryption oprerations is successful; If then get into step S
4If not, then the PC application program is refused the upgrading mobile phone firmware.
Preferably, said unique number is IMEI ((International Mobile Equipment Identity, International Mobile Equipment Identity sign indicating number) numbering.
Preferably, the character string sequence of said key for generating by IMEI numbering and request updating time through MD5 (Message Digest Algorithm, hash AES) AES.
Preferably, said encryption is encrypted mobile phone firmware through DRM (Digital Rights Management, digital publishing rights encipherment protection technology) encryption technology.
Positive progressive effect of the present invention is: the present invention is through to the mobile phone firmware encrypting, adopts character string sequence that unique IMEI numbering and request update time generate as key, makes must decode before the mobile phone firmware upgrading.Mobile phone firmware can reach the upgrading of greater security like this, has increased the difficulty that is cracked.
Description of drawings
Fig. 1 is the flow chart of mobile phone firmware upgrade method 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.
Step 100, mobile phone is connected in computer.
Usually, mobile phone is connected on the computer through data wire.
Step 101, mobile phone is connected the mobile phone firmware upgrade server through the PC application program.
Step 102, the PC application program reads the unique number of mobile phone.
Wherein, unique number is an IMEI numbering, i.e. International Mobile Equipment Identity sign indicating number is formed " electronics string number " by 15 bit digital.It is corresponding one by one with every mobile phone, and this yard is that the whole world is unique.
Step 103, the PC application program sends to the mobile phone firmware upgrade server with unique number.
Step 104, mobile phone firmware upgrade server calculate the key of mobile phone firmware according to the unique number of mobile phone and request updating time.
The mobile phone firmware upgrade server through the md5 encryption algorithm, generates a character string sequence according to the unique number and the request updating time of mobile phone.This character string sequence is the character of regular length.Then with this character string sequence as key.
Wherein, the md5 encryption algorithm is a kind of hash AES, is used for the encryption of computer realm, can be encrypted to the character of random length the character string of one regular length (16 bytes), and the character of encrypting the back generation is unique.
Step 105, the mobile phone firmware upgrade server sends to the PC application program with key.
The mobile phone firmware upgrade server sends to the PC application program through network with key.
Step 106, the PC application program writes the storage area in the mobile phone with key.
Wherein, said storage area is sightless to the user, thereby guarantees the confidentiality of key.
Step 107, the mobile phone firmware upgrade server is encrypted mobile phone firmware according to key.
The mobile phone firmware upgrade server is encrypted mobile phone firmware through the DRM encryption technology according to this key.
Wherein, DRM is a digital publishing rights encipherment protection technology, is generally used for file is encrypted, and has only through key and just can carry out the deciphering of file.
Step 108, the PC application program receives the mobile phone firmware after encrypting.
The mobile phone firmware upgrade server sends to the PC application program to the mobile phone firmware after encrypting.
Step 110 judges whether decryption oprerations is successful; If then get into step 111; If not, then get into step 112.
Step 111, the PC application program is upgraded to mobile phone firmware.
Step 112, PC application program refusal upgrading mobile phone firmware.
The PC application program is deciphered firmware through the key that had before sended over, if coupling, the mobile phone firmware successful decryption, mobile phone is by new firmware upgrade; If the unmatched words of key, mobile phone firmware can not be deciphered, this mobile phone firmware of PC application program refusal upgrading.
Below further specify technical scheme of the present invention through an embodiment:
For example:
At first, use data wire to be connected to mobile phone on the computer.
Then, be connected on the firmware upgrade server of mobile phone through the PC application program.
Suppose that the IMEI of mobile phone is numbered: 198322235456886
The request updating time is: 20101116231225
Random number is abcd
Then the mobile phone firmware upgrade server generates 19832223545688620101116231225abcd the character string sequence " xxxxyyyyzzzzbcdd " of 16 bytes through the md5 encryption algorithm.
Then, the mobile phone firmware upgrade server sends to the PC application program to this sequence number, and the PC application program is written to the sightless storage area of mobile phone internal user to this character string.
Then, the mobile phone firmware upgrade server uses this character string through the DRM encryption technology mobile phone firmware to be encrypted, and sends to the PC application program to the firmware file after encrypting then.
At last, receive the firmware of encryption when the PC application program after, read the key character string that had before write earlier, mobile phone firmware is deciphered.If key match, then successful decryption carries out the upgrading of mobile phone firmware; If key does not match, then mobile phone firmware can't be deciphered, and refusal upgrading mobile phone firmware.
In addition, when the firmware after the user copies encryption was upgraded other mobile phones, if do not read key, then upgrading can't be carried out; If the key that reads is " 1234657890369874 ", then key is incorrect, also can't carry out the upgrading of mobile phone firmware.Therefore, have only when key matees fully and could decipher, effectively improved the fail safe of mobile phone firmware upgrading.
In sum, through above-mentioned method, the mobile phone firmware of can upgrading more safely prevents that the operating system of mobile phone is cracked.
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 execution modes 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 (8)
1. a mobile phone firmware upgrade method is characterized in that, this method may further comprise the steps:
S
1, mobile phone is connected in computer, and connect the mobile phone firmware upgrade server through the PC application program;
S
2, the mobile phone firmware of mobile phone firmware upgrade server after will encrypting send to the PC application program;
S
3, the PC application program reads the key in the mobile phone, and the mobile phone firmware of encrypting is carried out decryption oprerations;
S
4, the PC application program upgrades to mobile phone firmware.
2. mobile phone firmware upgrade method as claimed in claim 1 is characterized in that, said step S
2Further comprising the steps of before:
S
21, the PC application program reads the unique number of mobile phone, and sends to the mobile phone firmware upgrade server;
S
22, the mobile phone firmware upgrade server calculates the key of mobile phone firmware according to the unique number of mobile phone and request updating time, and writes the storage area in the mobile phone through the PC application program;
S
23, the mobile phone firmware upgrade server encrypts mobile phone firmware according to key.
3. mobile phone firmware upgrade method as claimed in claim 2 is characterized in that, said step S
22Also comprise: the mobile phone firmware upgrade server sends to the PC application program with key.
4. mobile phone firmware upgrade method as claimed in claim 1 is characterized in that, said step S
3Also comprise: the PC application program receives the mobile phone firmware after encrypting before.
5. mobile phone firmware upgrade method as claimed in claim 1 is characterized in that, said step S
3Also comprise afterwards: judge whether decryption oprerations is successful; If then get into step S
4If not, then the PC application program is refused the upgrading mobile phone firmware.
6. mobile phone firmware upgrade method as claimed in claim 2 is characterized in that, said unique number is the IMEI numbering.
7. mobile phone firmware upgrade method as claimed in claim 1 is characterized in that, the character string sequence of said key for being generated by IMEI numbering and request updating time through the md5 encryption algorithm.
8. mobile phone firmware upgrade method as claimed in claim 2 is characterized in that said encryption is encrypted mobile phone firmware through the DRM encryption technology.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100245310A CN102611720A (en) | 2011-01-21 | 2011-01-21 | Mobile phone firmware upgrade method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100245310A CN102611720A (en) | 2011-01-21 | 2011-01-21 | Mobile phone firmware upgrade method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102611720A true CN102611720A (en) | 2012-07-25 |
Family
ID=46528873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100245310A Pending CN102611720A (en) | 2011-01-21 | 2011-01-21 | Mobile phone firmware upgrade method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102611720A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104239109A (en) * | 2014-09-30 | 2014-12-24 | 上海瑞猫自动化控制技术有限公司 | Method for on-line management of embedded system firmware |
CN106850311A (en) * | 2017-03-03 | 2017-06-13 | 上海蔚来汽车有限公司 | For the data safe transmission system and method for firmware upgrade |
CN108874432A (en) * | 2018-08-17 | 2018-11-23 | 深圳市优驰科技有限公司 | Radio firmware upgrade-system |
-
2011
- 2011-01-21 CN CN2011100245310A patent/CN102611720A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104239109A (en) * | 2014-09-30 | 2014-12-24 | 上海瑞猫自动化控制技术有限公司 | Method for on-line management of embedded system firmware |
CN106850311A (en) * | 2017-03-03 | 2017-06-13 | 上海蔚来汽车有限公司 | For the data safe transmission system and method for firmware upgrade |
CN106850311B (en) * | 2017-03-03 | 2019-12-13 | 上海蔚来汽车有限公司 | Data security transmission system and method for firmware upgrade |
CN108874432A (en) * | 2018-08-17 | 2018-11-23 | 深圳市优驰科技有限公司 | Radio firmware upgrade-system |
CN108874432B (en) * | 2018-08-17 | 2022-07-12 | 深圳市优驰科技有限公司 | Wireless firmware upgrade system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109583217B (en) | Internet e-commerce platform user privacy data encryption and decryption method | |
CN108241517B (en) | Software upgrading method, client and electronic equipment | |
JP4668619B2 (en) | Device key | |
US8712041B2 (en) | Content protection apparatus and content encryption and decryption apparatus using white-box encryption table | |
US10949537B2 (en) | Secure firmware provisioning and device binding mechanism | |
CN106227503A (en) | Safety chip COS firmware update, service end, terminal and system | |
CN104520805A (en) | Secure app ecosystem with key and data exchange according to enterprise information control policy | |
CN108595198B (en) | Safe firmware updating method | |
CN108418893A (en) | A kind of method of smart machine firmware safety upgrade | |
CN106096424A (en) | One is encrypted method and terminal to local data | |
CN103825724A (en) | Identification type password system and method for updating and recovering private key automatically | |
WO2013000144A1 (en) | Method for providing application service, wireless application protocol gateway and system | |
CN109510702B (en) | Key storage and use method based on computer feature codes | |
WO2015045172A1 (en) | Information processing device and information processing method | |
CN104135531B (en) | A kind of upgrade method and device of Web softwares | |
CN103853943A (en) | Program protection method and device | |
CN103971034A (en) | Method and device for protecting Java software | |
CN112507296A (en) | User login verification method and system based on block chain | |
CN103024734B (en) | The encryption preventing Apk from being installed by unauthorized mobile phone, decryption method and device | |
CN101174941A (en) | Off-line digital copyright protection method and device for mobile terminal document | |
CN102611720A (en) | Mobile phone firmware upgrade method | |
CN104426865A (en) | Method, device and system for controlling presentation of application | |
CN109784072B (en) | Security file management method and system | |
KR101329789B1 (en) | Encryption Method of Database of Mobile Communication Device | |
KR20040048161A (en) | DRM Method for PDA Terminal in Wireless Telephony Network |
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: 20120725 |