CN102346673A - Method and device for upgrading mobile phone system - Google Patents

Method and device for upgrading mobile phone system Download PDF

Info

Publication number
CN102346673A
CN102346673A CN2010102403884A CN201010240388A CN102346673A CN 102346673 A CN102346673 A CN 102346673A CN 2010102403884 A CN2010102403884 A CN 2010102403884A CN 201010240388 A CN201010240388 A CN 201010240388A CN 102346673 A CN102346673 A CN 102346673A
Authority
CN
China
Prior art keywords
upgrading
cell phone
difference bag
upgrade
mobile phone
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
CN2010102403884A
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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN2010102403884A priority Critical patent/CN102346673A/en
Publication of CN102346673A publication Critical patent/CN102346673A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to a method for upgrading a mobile phone system. The method comprises the following steps of: 1, detecting whether the mobile phone system is required to be upgraded or not, if so, executing step 2; 2, downloading a system difference packet of the latest version; 3, detecting whether the difference packet in a mobile phone is matched with the current mobile phone system or not, if so, executing step 4; 4, upgrading the system by using the system difference packet of the latest version; and 5, completing the upgrading of the system, and removing the system difference packet. The invention also relates to a corresponding device for upgrading the mobile phone system. The device is used for detecting whether the mobile phone system is required to be upgraded or not, downloading the system difference packet of the latest version, detecting whether the difference packet in the mobile phone is matched with the current mobile phone system or not and upgrading the system. Compared with a general computer refresh method, the downloaded difference packet has the advantages that: system upgrading time is reduced, the system can be rapidly, conveniently and efficiently upgraded, and the safety of user data and the system is ensured.

Description

A kind of method and device of cell phone system upgrading
Technical field
The present invention relates to the software upgrading field, relate in particular to a kind of method and apparatus of non intelligent cell phone system upgrading.
Background technology
Because development of electronic technology is very fast, the technical innovation cycle is quite short, causes the frequent update of electronic equipment, can also satisfy user's needs in order to make the electronic equipment of having eliminated, need upgrade to the equipment of eliminating.To the upgrading of electronic equipment generally is that operating system, daemon software, application software or database to electronic equipment upgraded.For example: the operating system of upgrading mobile phone etc.
Along with the software function of hand held system becomes increasingly complex, based on the defects count and the proportional principle of software function of software, this type systematic needs the probability of upgrade-system will be increasing when solving software defect or adding new function.In order to improve service quality and producer's prestige, also will be an important task for the reparation of the defective on the mobile phone of having sold.
Because the software upgrading of many non intelligent cell phone systems all need be downloaded the system software of whole version; Upgrade after downloading the full release system software; The redaction of Xia Zaiing can take in ample resources and the escalation process and can override by the original file that exist like this, also can increase the time of system upgrade.The method of general cell phone system upgrading is to adopt the method for brush machine, and the download system file uses a kind of client software to computer, through the usb data line system file is write mobile phone.The situation of user data loss may take place in general brush machine method; Also have a kind of serious situation to be; Possibly have the USB loose contact in the escalation process, unscheduled events such as mobile phone sudden power take place, and this incident of mobile phone upgrading interruption that causes may make mobile phone re-use.
Summary of the invention
The technical matters that the present invention solves is that the system software of downloading whole version in the prior art is upgraded, and can take the time of ample resources and increase system upgrade.
For solving the problems of the technologies described above, the present invention provides following technical scheme:
The method of a kind of cell phone system upgrading that the present invention relates to may further comprise the steps: step 1: whether the detection of handset system needs upgrading, like needs execution in step two then; Step 2: system's difference bag of downloading latest edition; Step 3: whether the difference bag in the detection of handset mates current cell phone system, and in this way, then execution in step four; Step 4: utilize system's difference bag of above-mentioned latest edition that system is upgraded; Step 5: system upgrade is accomplished, scavenge system difference bag.
The present invention also provides a kind of device of cell phone system upgrading, comprising: first detection module is used to detect the detection of handset system and whether needs upgrading; Download module is used to download system's difference bag of latest edition; Second detection module, whether the difference bag in the detection of handset mates current cell phone system; The system upgrade module is used for according to system's difference bag of detected latest edition system being carried out system upgrade; Remove module, be used for after system upgrade is accomplished scavenge system difference bag.
Compared with prior art the present invention has following beneficial effect: the method and apparatus of a kind of cell phone system upgrading that the embodiment of the invention provides; Whether the detection of handset system needs upgrading; Download system's difference bag of latest edition; Whether the difference bag in the detection of handset mates current cell phone system and carries out system upgrade; The difference bag of downloading is compared with general brush machine method; The system upgrade time decreased; Can be quick; Convenient; Carry out system upgrade efficiently, and the safety that guarantees user data and system.
Description of drawings
Fig. 1 is the process flow diagram of embodiment of the invention cell phone system upgrade method;
Fig. 2 is the structured flowchart of embodiment of the invention cell phone system update device.
Embodiment
Clearer for technical matters, technical scheme and beneficial effect that the present invention is solved, below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Fig. 1 is the process flow diagram of embodiment of the invention cell phone system upgrade method; The method of a kind of cell phone system upgrading may further comprise the steps: S101: whether the detection of handset system needs upgrading, like needs execution in step S102 then; S102: system's difference bag of downloading latest edition; Whether the difference bag in the S103 detection of handset mates current cell phone system, in this way, then carries out S104; S104: utilize system's difference bag of above-mentioned latest edition that system is upgraded; S105: system upgrade is accomplished, scavenge system difference bag.
Compared with prior art the present invention has following beneficial effect: the method for a kind of cell phone system upgrading that the embodiment of the invention provides; Whether the detection of handset system needs upgrading; Download system's difference bag of latest edition; Whether the difference bag in the detection of handset mates current cell phone system and carries out system upgrade, and the difference bag of download is compared the system upgrade time decreased with general brush machine method; Can be quick; Convenient, carry out system upgrade efficiently, and the safety that guarantees user data and system.
Whether cell phone system needs upgrading in step S101, and being judged as is execution in step S102 then; The version of supposing current system is version A; The system version that need be upgraded to is version B; Different version corresponding different binary files, relatively the binary file that obtains of the system image file of the system image file of latest edition and cell phone system current version is the difference bag; Earlier judge whether version B is higher than version A, as if being higher than the then difference bag of download version B and version A; After the difference bag downloads to mobile phone, generally be placed in the file system, program can be written into the respective partition of flash memory (flash) storer.Between step S102 and step S103, increase step: restart mobile phone; Mobile phone is in normal operation; Can use most memory headroom; During system upgrade; Also need use a large amount of memory headrooms; In order to prevent the situation that Insufficient memory is used; System upgrade is placed on the handset starting stage, and the most program of mobile phone this moment is off-duty still, has enough memory headrooms to use.After restarting mobile phone, execution in step S103, whether the difference bag in the detection of handset mates current cell phone system, then carries out system upgrade in this way; Not then not upgrade.Can carry out upgrade job by some preset functions of calling system during system upgrade.In step S104 system upgrade process, can note some signs, for the generation of some special circumstances such as system's power down,, after the system start-up, can continue upgrading according to these flag informations if the situation of system's power down has taken place, can not cause the collapse of system.In step S103, can judge what whether the difference bag generated based on version A; Suppose that the difference bag is used for being upgraded to version B from version C; The difference bag does not just match so; Then wipe the difference APMB package of flash storer respective partition; Do not exist perhaps and can not use with expression difference bag, the interrupt system upgrading.After the program run of step S106 system upgrade is accomplished, can wipe the difference APMB package of flash storer respective partition, when making next time handset starting, can not get into the state of system upgrade.
The size of the upgrading difference bag of user mobile phone system is generally relevant with the difference degree that need be upgraded to system version with current system version, and the difference bag can become big along with two systems there are differences to become greatly.When the user upgrades, need to understand the upper limit of the difference bag size of being supported, surpass last prescribing a time limit, system just can't successfully upgrade.Certainly,, also have other version to exist if between two system versions, the user can be at twice or repeatedly upgrade-system be upgraded to the version of wanting.
Fig. 2 is the structured flowchart of embodiment of the invention cell phone system update device; A kind of device of cell phone system upgrading comprises: first detection module 201 is used for the detection of handset system and whether needs upgrading; Download module 202 is used to download system's difference bag of latest edition; Second detection module 203, whether the difference bag in the detection of handset mates current cell phone system; System upgrade module 204 is used for according to system's difference bag of detected latest edition system being carried out system upgrade; Remove module 206, be used for after system upgrade is accomplished scavenge system difference bag.
Compared with prior art the present invention has following beneficial effect: the device of a kind of cell phone system upgrading that the embodiment of the invention provides; Whether first detection module detection of handset system is to need upgrading; The difference bag of detection of handset system latest edition and current version; Download module is downloaded the difference bag; The system upgrade module; Be used for system being carried out system upgrade according to system's difference bag of detected latest edition; The difference bag of downloading takies resource than the system software of whole version and lacks, and the system upgrade time decreased; Can be quick, convenient, carry out system upgrade efficiently, and the safety that guarantees user data and system.
Whether first detection module 201 detection of handset systems are latest editions, and judge whether system's difference bag of detected latest edition is higher than the system version of mobile phone self; Suppose that the current system version of mobile phone is version A, the system version that need be upgraded to is version B; Be higher than version A if judge version B, then download module 202 can be downloaded system's difference bag of latest edition; After system's difference bag of latest edition downloads to mobile phone, generally be placed in the file system, program can be written into the respective partition of flash storer.After downloading completion, restart module and can restart mobile phone; Because mobile phone is in normal operation; Can use most memory headroom; During system upgrade; Also need use a large amount of memory headrooms; In order to prevent the situation that Insufficient memory is used; System upgrade is placed on the handset starting stage, and the most program of mobile phone this moment is off-duty still, has enough memory headrooms to use.After restarting mobile phone, whether the difference bag in second detection module, the 203 meeting detection of handset mates current cell phone system, and then system upgrade module 204 is carried out system upgrade according to detected system difference bag in this way; Not then not upgrade.System upgrade module 204 also comprises storer, is used for the zone bit of storage system escalation process; For the generation of some special circumstances such as system's power down, if the situation of system's power down has taken place, after the system start-up, can continue upgrading according to these flag informations, can not cause the collapse of system.In second detection module 203, can judge what whether the difference bag generated based on current version A; Suppose that the difference bag is used for being upgraded to version B from version C; The difference bag does not just match so; Then wipe the difference APMB package of flash storer respective partition; Do not exist perhaps and can not use with expression difference bag, the interrupt system upgrading.After the system upgrade program run is accomplished, remove module 205 and can wipe the difference APMB package of flash respective partition, when making next time handset starting, can not get into the state of system upgrade.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. the method for a cell phone system upgrading is characterized in that, may further comprise the steps:
Step 1: whether the detection of handset system needs upgrading, like needs execution in step two then;
Step 2: system's difference bag of downloading latest edition;
Step 3: whether the difference bag in the detection of handset mates current cell phone system, and in this way, then execution in step four;
Step 4: utilize system's difference bag of above-mentioned latest edition that system is upgraded;
Step 5: system upgrade is accomplished, scavenge system difference bag.
2. the method for a kind of cell phone system upgrading according to claim 1 is characterized in that, between step 2 and step 3, also comprises the step that restarts mobile phone.
3. the method for a kind of cell phone system upgrading according to claim 1 is characterized in that, system's difference bag of said latest edition is the binary file that the system image file of system image file and the cell phone system current version of comparison latest edition obtains.
4. the method for a kind of cell phone system upgrading according to claim 1 is characterized in that, also comprises record mark position in the system upgrade process in the said step 4.
5. the method for a kind of cell phone system upgrading according to claim 1 is characterized in that said step 2 comprises the respective partition that system's difference bag of latest edition is written to flash memory.
6. the device of a cell phone system upgrading is characterized in that, comprising:
First detection module is used for the detection of handset system and whether needs upgrading;
Download module is used to download system's difference bag of latest edition;
Second detection module, whether the difference bag in the detection of handset mates current cell phone system;
The system upgrade module is carried out system upgrade according to system's difference bag of detected latest edition to system;
Remove module, be used for after system upgrade is accomplished scavenge system difference bag.
7. the device of a kind of cell phone system upgrading according to claim 6 is characterized in that, also comprises and restarts module, is used for after having downloaded system's difference bag of latest edition, restarting mobile phone.
8. the device of a kind of cell phone system upgrading according to claim 6 is characterized in that said system upgrade module also comprises storer, is used for the zone bit of storage system escalation process.
CN2010102403884A 2010-07-27 2010-07-27 Method and device for upgrading mobile phone system Pending CN102346673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102403884A CN102346673A (en) 2010-07-27 2010-07-27 Method and device for upgrading mobile phone system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102403884A CN102346673A (en) 2010-07-27 2010-07-27 Method and device for upgrading mobile phone system

Publications (1)

Publication Number Publication Date
CN102346673A true CN102346673A (en) 2012-02-08

Family

ID=45545377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102403884A Pending CN102346673A (en) 2010-07-27 2010-07-27 Method and device for upgrading mobile phone system

Country Status (1)

Country Link
CN (1) CN102346673A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841802A (en) * 2012-07-27 2012-12-26 锐迪科科技有限公司 Software upgrading method for mobile terminal
CN103309758A (en) * 2012-03-15 2013-09-18 ***通信集团公司 Card application downloading method, system and device
CN103310156A (en) * 2013-05-31 2013-09-18 东莞宇龙通信科技有限公司 Method and device for updating terminal system file
CN104166577A (en) * 2014-08-26 2014-11-26 深圳市中兴移动通信有限公司 Method and device for upgrading system of mobile terminal
CN104639581A (en) * 2013-11-08 2015-05-20 华为终端有限公司 Method and device for updating cordless telephone software
CN104754043A (en) * 2015-03-16 2015-07-01 西安酷派软件科技有限公司 Terminal upgrading method and device
WO2015139381A1 (en) * 2014-03-17 2015-09-24 中兴通讯股份有限公司 Terminal software upgrade method and device
WO2015154385A1 (en) * 2014-08-06 2015-10-15 中兴通讯股份有限公司 Method and terminal for ota updating
CN106535228A (en) * 2016-11-30 2017-03-22 努比亚技术有限公司 System upgrading device and method
CN107391216A (en) * 2017-09-26 2017-11-24 郑州云海信息技术有限公司 A kind of method for upgrading software and device
CN107749916A (en) * 2017-08-28 2018-03-02 深圳市掌星立意科技有限公司 The method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030097275A1 (en) * 2001-11-19 2003-05-22 Yumi Kato Product management system and method
KR20040079679A (en) * 2003-03-10 2004-09-16 삼성전자주식회사 Apparatus and method for differentiated packet data transmission in mobile communication system
CN101350990A (en) * 2008-08-20 2009-01-21 上海闻泰电子科技有限公司 Method for updating CP of intelligent mobile phone
CN101377744A (en) * 2008-09-24 2009-03-04 深圳华为通信技术有限公司 Method and apparatus for recovering terminal equipment software upgrade
CN101668081A (en) * 2009-09-24 2010-03-10 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and automatic upgrading method thereof
CN101778376A (en) * 2009-12-31 2010-07-14 中兴通讯股份有限公司 Method and device for realizing wireless firmware update

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030097275A1 (en) * 2001-11-19 2003-05-22 Yumi Kato Product management system and method
KR20040079679A (en) * 2003-03-10 2004-09-16 삼성전자주식회사 Apparatus and method for differentiated packet data transmission in mobile communication system
CN101350990A (en) * 2008-08-20 2009-01-21 上海闻泰电子科技有限公司 Method for updating CP of intelligent mobile phone
CN101377744A (en) * 2008-09-24 2009-03-04 深圳华为通信技术有限公司 Method and apparatus for recovering terminal equipment software upgrade
CN101668081A (en) * 2009-09-24 2010-03-10 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and automatic upgrading method thereof
CN101778376A (en) * 2009-12-31 2010-07-14 中兴通讯股份有限公司 Method and device for realizing wireless firmware update

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309758B (en) * 2012-03-15 2016-01-27 ***通信集团公司 A kind of mthods, systems and devices blocking application and download
CN103309758A (en) * 2012-03-15 2013-09-18 ***通信集团公司 Card application downloading method, system and device
CN102841802B (en) * 2012-07-27 2016-03-02 锐迪科科技有限公司 The method for upgrading software of mobile terminal
CN102841802A (en) * 2012-07-27 2012-12-26 锐迪科科技有限公司 Software upgrading method for mobile terminal
CN103310156A (en) * 2013-05-31 2013-09-18 东莞宇龙通信科技有限公司 Method and device for updating terminal system file
CN104639581A (en) * 2013-11-08 2015-05-20 华为终端有限公司 Method and device for updating cordless telephone software
WO2015139381A1 (en) * 2014-03-17 2015-09-24 中兴通讯股份有限公司 Terminal software upgrade method and device
WO2015154385A1 (en) * 2014-08-06 2015-10-15 中兴通讯股份有限公司 Method and terminal for ota updating
US10203951B2 (en) 2014-08-06 2019-02-12 Xi'an Zhongxing New Software Co., Ltd Method and terminal for OTA updating
CN104166577A (en) * 2014-08-26 2014-11-26 深圳市中兴移动通信有限公司 Method and device for upgrading system of mobile terminal
CN104166577B (en) * 2014-08-26 2019-04-05 努比亚技术有限公司 A kind of method and apparatus of mobile terminal system upgrading
CN104754043A (en) * 2015-03-16 2015-07-01 西安酷派软件科技有限公司 Terminal upgrading method and device
WO2016145679A1 (en) * 2015-03-16 2016-09-22 宇龙计算机通信科技(深圳)有限公司 Terminal upgrade method and device
CN104754043B (en) * 2015-03-16 2018-07-27 西安酷派软件科技有限公司 A kind of terminal staging method and device
CN106535228A (en) * 2016-11-30 2017-03-22 努比亚技术有限公司 System upgrading device and method
CN107749916A (en) * 2017-08-28 2018-03-02 深圳市掌星立意科技有限公司 The method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded
CN107391216A (en) * 2017-09-26 2017-11-24 郑州云海信息技术有限公司 A kind of method for upgrading software and device

Similar Documents

Publication Publication Date Title
CN102346673A (en) Method and device for upgrading mobile phone system
CN102289397B (en) Method and device for automatically restoring embedded system of set top box
CN102693139B (en) A kind of method and system of radio upgrade cell phone software
WO2017067448A1 (en) Firmware-over-the-air upgrade method, system and computer storage medium
CN111045714B (en) Firmware updating method and device, earphone and computer readable storage medium
CN102117234B (en) Method for recovering original software by mobile terminal in software upgrading failure
CN105988843A (en) Firmware upgrade method and firmware upgrade device for mobile terminal
CN107038085B (en) Method, device and system for repairing client application
CN105760200A (en) Terminal device and system updating method thereof
CN103473067A (en) Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method
CN101719072A (en) Embedded type terminal equipment software upgrading method and upgrading device
CN102830984A (en) Method for updating firmware, chip and communication terminal
CN110225078B (en) Application service updating method, system and terminal equipment
CN102646043A (en) Method and device for upgrading mobile terminal software and mobile terminal
CN105045617B (en) A kind of application recovery method and system of android system
CN104918114A (en) Method and device for upgrading operation system
CN102141921A (en) Method for upgrading system of terminal equipment and terminal equipment
CN103019764B (en) The detection method of Andriod resource bag installability and system
TW201621647A (en) Operating system updating method
CN106909480B (en) Cross debugging method and device for embedded system
CN101957766A (en) Method, device and system for weaving byte code
CN110597544A (en) Software system upgrading method and device
CN103442272A (en) System upgrading method
CN110990177B (en) Fault repairing method, device, system, storage medium and electronic equipment
CN104298618A (en) Instruction processing method and device for intelligent terminal

Legal Events

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

Application publication date: 20120208