CN101694623A - Method for updating handheld device software - Google Patents
Method for updating handheld device software Download PDFInfo
- Publication number
- CN101694623A CN101694623A CN200910196779A CN200910196779A CN101694623A CN 101694623 A CN101694623 A CN 101694623A CN 200910196779 A CN200910196779 A CN 200910196779A CN 200910196779 A CN200910196779 A CN 200910196779A CN 101694623 A CN101694623 A CN 101694623A
- Authority
- CN
- China
- Prior art keywords
- software
- version
- file
- handheld device
- data
- 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)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a method for updating handheld device software. A user can store the software with updated version into a file system of a memory which can be an auxiliary memory such as T card and the like, or a nonvolatile memory chip such as NOR FLASH, NAND FLASH and the like, and a handheld device can be used for opening and reading files with software version to be updated of the file system inside the memory to conduct update. When the software is updated, the method particularly comprises the following steps: 1) appointing the files with software version to be updated by the user, and rebooting the system; 2) updating program initialization handheld device hardware drive program; 3) updating an program initialization file system; 4) opening the software with the updated version, and judging whether the version is matched with the hardware system of the handheld device; if yes, executing update; and if not, finishing update program; and 5) reading version data from version files by updated program for update. The method simplifies the update and upgrade of system software of the handheld device and improves convenience.
Description
Technical field
The invention belongs to the communications field, relate to a kind of Oftware updating method of handheld device.
Background technology
The popularity rate of handheld device and personal computer is more and more higher at present, and the operation of file is the most normal use of domestic consumer, also is the simplest dissemination of information method; And the integrated level of chip is more and more higher, and the capacity of storage chip is increasing, is that the memory bank capacity and the storage speed of representative all obtains unprecedented development with NAND FLASH, Micro SD card (T card), and popularity rate is very high; The present invention realizes the software upgrading of handheld device by file system, for user and producer provide a kind of more convenient, the simple software update mode.
For now, the common software upgrading mode of two big classes is arranged:
One, handheld device is by USB, and serial equipment or wireless device are connected to PC, at PC end operation refresh routine, edition data are synchronized to handheld device, realize software version update, and this pattern is the most common mode.
They are two years old, use server to pass through air interface, the software version data sync to handheld device, realize software version update, owing to air interface bandwidth narrow be connected unsettled reason, usually using is that technology such as difference bag reduces bandwidth occupancy, or uses technology such as many bufferings to reduce the unsettled influence of connection.
More than two big class methods tangible advantage is all arranged, but in some aspects with under some occasion tangible deficiency arranged also:
In mode one, as shown in Figure 1, the user upgrades mobile phone operating system software if desired, and the application attendant of client service center that then will arrive mobile-phone manufacturers is the mobile phone update software.Generally, computer A 1 stores required version that is used for mobile phone A 3 of user and PC end ROMPaq.The above-mentioned attendant A1 that uses a computer by data line A2, is connected to mobile phone A 3.Operation PC end ROMPaq on computer A 1, to mobile phone A 3 transmission data and orders, mobile phone A 3 is accepted the data that data line A2 transmits to computer A 1, and is written in the non-volatile memory chip, carries out above-mentioned user's software version afterwards by data line A2.
In order to carry out above-mentioned general software upgrading action, need on computer A 1, move special-purpose PC end ROMPaq, and need with special-purpose data line A2, could set up communication with mobile phone A 3 and finish the software upgrading action.The PC end ROMPaq more complicated of in general above-mentioned special use, the easy maloperation of layman, and cause software upgrading to be failed, and need with special-purpose data line A2, so in general client's palpus personal visit client service center finishes the more new element of software, and is very inconvenient for the user.
In mode two, a lot of handset makers scales are smaller, not necessarily there are manpower and fund to safeguard that is used for the server that user version upgrades, and wireless bandwidth is narrower at present, traffic fee is with higher, cause customer upgrade consuming time very long, in fact the part mobile phone makes in this way the update software version even needs more than 30 minutes, if run into the situation of running down of battery or unstable networks, be easy to cause the user to upgrade failure, the user also may be unwilling to attempt the renewal version because of the reason of expense.
Summary of the invention
The object of the present invention is to provide a kind of method of upgrading hand held device software, the form of software version file with file is stored in the file system of storer, thereby software version obtain with the renewal of software version separately, make and need not use switches such as USB line, Serial Port Line, wireless network in the process of software upgrading, its can make things convenient for the user convenient, stable, fast, simply realize the program updates of handheld device.
For reaching above purpose, solution of the present invention is:
A kind of method of upgrading hand held device software, the user preserves version file to be updated to the file system of supplementary storage, and handheld device reads the renewal version software in this supplementary storage, upgrades.
Further, during software upgrading, specifically may further comprise the steps, as shown in Figure 2:
Step B1 user specifies software version file to be updated, and system restarts;
Step B2 refresh routine initialization handheld device hardware drive program;
Step B3 refresh routine initialization files system;
Step B4 opens the renewal version software, judges whether this version is complementary with this handheld device hardware system; Be then to carry out B5, otherwise finish refresh routine;
Step B5 such as needs are preserved important system data and user data to file system; Wherein system data such as radio-frequency (RF) calibration data, system's setting, user data such as telephone directory, note etc.;
Step B6 refresh routine reads edition data from version file, and writes code segment D1, resource section D2 or the NV section D3 of the nonvolatile memory of handheld device;
Step B7 such as needs, reading system data and user data from the file that has backed up, and return in the system;
File space section D4 in step B8 such as the needs, straightforward format nonvolatile memory C8; The perhaps file space section D4 in the erasable nonvolatile memory C8;
Upgrade and finish, can carry out system and restart.
Further, when handhold device system was restarted, whether its file space section D4 that will detect automatically in the C8 was wiped free of, if be wiped free of, then formats D4.
Described renewal version software document, can comprise configuration information in case of necessity, if lack essential configuration information, system can use the configuration information of acquiescence, configuration information comprises: module list to be updated, whether whether the destination address of module to be updated backs up, recovery system data and user data, formatted file system segment etc.
Owing to adopted such scheme, the present invention to have following characteristics:
(1) this programme is stored in the form of software version with file in the file system of storer, thus software version obtain with the renewal of software version separately, thereby obtain the simple to operate of software version file, flexibly:
User of the present invention can insert mobile phone to the T card again by downloading the software version file on the customer service website and being saved in the T card, carries out upgrading; Also can obtain the software version file that needs from other mobile phones, can also be connected to PC to mobile phone by USB, version is saved in mobile phone, carry out upgrading by wireless devices such as bluetooths;
(2) updating operation is simple:
This programme does not need PC end update software, does not need data lines such as USB line, Serial Port Line, does not need version server, does not need special training, and the user also can finish the renewal of software.
(3) escalation process is stable, fast:
Because this programme is to use the version file upgrading that is saved in the storer, escalation process does not relate to air interface, and the reading speed of storer is fast, so whole process stabilization is quick.
(4) system data user data automated back-up, recovery.
Handheld device during the user uses in addition generally can be preserved vital system data and user data, calibration data as the radio frequency in the mobile phone, can cause mobile phone to use if lose, this method is utilized the big characteristics of memory span such as T card, preserve these important data to file system, can recover automatically when version updating finishes.
Description of drawings
Fig. 1 is the synoptic diagram of the handheld device update software used always.
Fig. 2 is the process flow diagram of the present invention about the handheld device update software.
Fig. 3 is the inner structure synoptic diagram of handheld device.
Fig. 4 is the space structure figure in the non-volatile memories.
Fig. 5 is the pie graph of the present invention about refresh routine.
Embodiment
The present invention is further illustrated below in conjunction with the accompanying drawing illustrated embodiment.
Oftware updating method of the present invention is applicable to mobile phone, digital camera, polytype handheld device such as multimedia player.As shown in Figure 2, handheld device mobile phone of the present invention is an example, and it comprises microprocessor (MCU) C1, system data bus C2, wireless radio frequency modules (RF) C3, digital signal processor (DSP) C4, peripheral hardware C5, display module (LCD) C6, internal memory (RAM) C7, nonvolatile memory C8, supplementary storage C9, user's input-output device C10.
Nonvolatile memory C8 is generally NOR FLASH or NAND FLASH.Supplementary storage C9 is generally T card, SD card, CF card, NAND Flash etc.
In general the spatial division of nonvolatile memory such as Fig. 4 comprise 5 parts:
Code segment D1 is used for the binary machine code of storage running normal mode.
Resource section D2, the resource that need use when being used for the storage running normal mode, as picture, animation, the tinkle of bells and other resource files.
NV section D3, when being used for the storage running normal mode, memory system data and certain customers' data, not every handheld device all have this section, the platform that has system data and storage of subscriber data in file system.
File space section D4 is used for storage system file and user file.
Refresh routine section D5 when the user need use this programme more during the version of new cell-phone, can start this refresh routine after system restarts, and this refresh routine is finished version updating; In general this refresh routine comprises 4 parts: as shown in Figure 5, file system part E1 comprises the code of runs file system, and this document system may store based on supplementary storage, also might will describe in detail in an embodiment based on the file space section D4 storage of nonvolatile memory; Control/display part E2 is used for carrying out and reads file, write non-volatile memory, and to the running status of user's display update program; Drive part E3 comprises the driving as LCD, keyboard drive, and nonvolatile memory drives, supplementary storage driving etc.; Resource part E4, the character library of using when being used for storage running display part E2, resources such as picture.
Mobile phone has had complete edition data before generally dispatching from the factory, and comprises above 5 sections.
Version file is prepared: if desired, original version file needs additional configuration information, and prototype version file and configuration information as new version file.
Embodiment 1:
In the present embodiment, software version file to be updated is stored in the supplementary storage T card, and concrete steps are as follows:
Step B1 user specifies software version file to be updated, and this version file is stored in the T card, and system restarts;
Step B2 refresh routine initialization mobile phone hardware driver; Be the drive part E3 among Fig. 5.
Step B3 refresh routine initialization part system, in general this document system is the FAT file system, i.e. file system part E1 among Fig. 5, this document system moves based on the T card.
Step B4 opens the renewal version software, judges whether this version is complementary with this handheld device hardware system; Be then to carry out B5, otherwise finish refresh routine.
System data that step B5 preservation is important and user data are in the file of T card; Wherein system data such as radio-frequency (RF) calibration data, system's setting, user data such as telephone directory, note etc.
Step B6 refresh routine reads edition data from the version file that is stored in the T card, and writes code segment D1, resource section D2 or the NV section D3 of the nonvolatile memory of handheld device.
Step B7 is reading system data and user data from the file that backups to the T card, and returns in the system.
File space section D4 in the step B8 straightforward format erasable nonvolatile memory C8; Perhaps the file space section D4 in the erasable nonvolatile memory C8 upgrades and finishes.
Restart system, whether the file space section D4 that detects automatically in the C8 is wiped free of (i.e. whether inspection is formatted, and file space section D4 is wiped free of the back and is the unformatted state),, then format D4 if be wiped free of.
Embodiment 2:
Software version file to be updated also can be stored in nonvolatile memory, as NAND FLASH or NOR FLASH, is stored in the file space section D4 of nonvolatile memory in particular, and nonvolatile memory is NAND FLASH in this example; And overlay file space segment D4 not when edition data writes NAND FLASH in the present embodiment, concrete steps are as follows:
Step B1 user specifies software version file to be updated, and this version file is stored among the file space section D4 of NAND FLASH, and system restarts;
Step B2 refresh routine initialization handheld device hardware drive program; Be the drive part E3 among Fig. 5.
Step B3 refresh routine initialization files system, in general this document system is the FAT file system, i.e. file system part E1 in the service chart 5, this document system is based on the file space section D4 operation that is stored in NAND FLASH.
Step B4 opens the renewal version software, judges whether this version is complementary with this handheld device hardware system; Be then to carry out B5, otherwise finish refresh routine.
Step B5 preserves important system data and user data in the file of NAND FLASH file space section D4; Wherein system data such as radio-frequency (RF) calibration data, system's setting, user data such as telephone directory, note etc.
Step B6 refresh routine reads edition data from the version file that is stored in NAND FLASH file space section D4, and writes code segment D1, resource section D2 or the NV section D3 of the nonvolatile memory of handheld device.
Step B7 is reading system data and user data from the file that backups to NAND FLASH file space section D4, and returns in the system.
File space section D4 in the step B8 straightforward format erasable nonvolatile memory C8; Perhaps the file space section D4 in the erasable nonvolatile memory C8 upgrades and finishes.
Restart system, whether the file space section D4 that detects automatically in the C8 is wiped free of (i.e. whether inspection is formatted, and file space section D4 is wiped free of the back and is the unformatted state),, then format D4 if be wiped free of.
The above-mentioned description to embodiment is can understand and apply the invention for ease of those skilled in the art.The person skilled in the art obviously can easily make various modifications to these embodiment, and needn't pass through performing creative labour being applied in the General Principle of this explanation among other embodiment.Therefore, the invention is not restricted to the embodiment here, those skilled in the art should be within protection scope of the present invention for improvement and modification that the present invention makes according to announcement of the present invention.
Claims (7)
1. method of upgrading hand held device software is characterized in that: the user preserves and upgrades version software to supplementary storage, and supplementary storage is connected to handheld device; Handheld device identification is also read the interior renewal version software of this supplementary storage, upgrades.
2. the method from supplementary storage renewal hand held device software as claimed in claim 1 is characterized in that: during software upgrading, specifically may further comprise the steps:
1) user specifies software version file to be updated, and system restarts;
2) refresh routine initialization handheld device hardware drive program;
3) refresh routine initialization files system;
4) opening the renewal version software, judge whether this version is complementary with this handheld device hardware system, is execution in step 5 then), otherwise finish refresh routine;
5) refresh routine reads edition data from version file, and writes code segment D1, resource section D2 or the NV section D3 of the nonvolatile memory of handheld device; Upgrade and finish.
3. the method from supplementary storage renewal hand held device software as claimed in claim 2 is characterized in that: after step 4), preserve important system data and user data to file system as needs; After step 5), reading system data and user data from the file that has backed up, and return in the system.
4. as claim 2 or 3 described methods, it is characterized in that from supplementary storage renewal hand held device software: as needs, the file space section D4 in the straightforward format nonvolatile memory C8; The perhaps file space section D4 in the erasable nonvolatile memory C8, upgrade finish after, system restarts.
5. the method from supplementary storage renewal hand held device software as claimed in claim 3, it is characterized in that: described system data is radio-frequency (RF) calibration data, system's setting; User data is telephone directory, note.
6. the method for upgrading hand held device software from supplementary storage as claimed in claim 1 or 2, it is characterized in that: when described handhold device system is restarted, whether its file space section D4 that will detect automatically in the C8 is wiped free of, if be wiped free of, then formats D4.
7. the method for upgrading hand held device software from supplementary storage as claimed in claim 1 or 2, it is characterized in that: described renewal version software need comprise configuration information, if lack necessary configuration information, need that be earlier that this software arrangements is every upgrade necessary configuration information, configuration information comprises: the module list to be updated of renewal, be with update module destination address, whether preserve user profile.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910196779A CN101694623A (en) | 2009-09-29 | 2009-09-29 | Method for updating handheld device software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910196779A CN101694623A (en) | 2009-09-29 | 2009-09-29 | Method for updating handheld device software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101694623A true CN101694623A (en) | 2010-04-14 |
Family
ID=42093596
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910196779A Pending CN101694623A (en) | 2009-09-29 | 2009-09-29 | Method for updating handheld device software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101694623A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102214113A (en) * | 2011-06-08 | 2011-10-12 | Tcl集团股份有限公司 | Method, device and terminal for upgrading operating system |
CN102346675A (en) * | 2010-08-03 | 2012-02-08 | 环达电脑(上海)有限公司 | System and method for updating drive program of embedded system |
CN102436386A (en) * | 2011-11-21 | 2012-05-02 | 北京赛科世纪数码科技有限公司 | Software upgrading method |
CN102508680A (en) * | 2011-11-09 | 2012-06-20 | 惠州Tcl移动通信有限公司 | Mobile-terminal-based automatic audio parameter updating method and system |
CN102594974A (en) * | 2011-01-05 | 2012-07-18 | 中兴通讯股份有限公司 | Device and method for upgrading wireless communication terminal software |
CN104820611A (en) * | 2015-05-22 | 2015-08-05 | 中国科学院上海高等研究院 | Equipment software upgrade method based on Bluetooth and upgrade device |
CN105511928A (en) * | 2015-12-28 | 2016-04-20 | 努比亚技术有限公司 | System upgrading device and method |
CN105589702A (en) * | 2014-10-21 | 2016-05-18 | 中兴通讯股份有限公司 | Method and device for updating/backing up operating system through T card |
WO2017028375A1 (en) * | 2015-08-17 | 2017-02-23 | 中兴通讯股份有限公司 | Version upgrading method and system |
CN107222341A (en) * | 2017-05-27 | 2017-09-29 | 上海创功通讯技术有限公司 | The method and electronic equipment updated for radio frequency protocol parameter |
CN107301078A (en) * | 2017-07-25 | 2017-10-27 | 欣旺达电子股份有限公司 | The method and apparatus for automatically updating energy-storage system parameter |
CN107943500A (en) * | 2017-11-28 | 2018-04-20 | 大陆汽车车身电子系统(芜湖)有限公司 | A kind of combination instrument Oftware updating method |
CN111246480A (en) * | 2020-01-10 | 2020-06-05 | 中移(杭州)信息技术有限公司 | Application communication method, system, equipment and storage medium based on SIM card |
CN111970161A (en) * | 2020-09-21 | 2020-11-20 | 浙江大学 | Internet of things application differential upgrading method based on address prediction |
CN112905219A (en) * | 2021-02-07 | 2021-06-04 | 惠州Tcl移动通信有限公司 | Software updating method based on SD card, terminal and computer readable storage medium |
-
2009
- 2009-09-29 CN CN200910196779A patent/CN101694623A/en active Pending
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346675A (en) * | 2010-08-03 | 2012-02-08 | 环达电脑(上海)有限公司 | System and method for updating drive program of embedded system |
CN102594974A (en) * | 2011-01-05 | 2012-07-18 | 中兴通讯股份有限公司 | Device and method for upgrading wireless communication terminal software |
CN102214113B (en) * | 2011-06-08 | 2015-02-04 | Tcl集团股份有限公司 | Method, device and terminal for upgrading operating system |
CN102214113A (en) * | 2011-06-08 | 2011-10-12 | Tcl集团股份有限公司 | Method, device and terminal for upgrading operating system |
CN102508680A (en) * | 2011-11-09 | 2012-06-20 | 惠州Tcl移动通信有限公司 | Mobile-terminal-based automatic audio parameter updating method and system |
CN102508680B (en) * | 2011-11-09 | 2014-07-30 | 惠州Tcl移动通信有限公司 | Mobile-terminal-based automatic audio parameter updating method and system |
CN102436386A (en) * | 2011-11-21 | 2012-05-02 | 北京赛科世纪数码科技有限公司 | Software upgrading method |
CN105589702A (en) * | 2014-10-21 | 2016-05-18 | 中兴通讯股份有限公司 | Method and device for updating/backing up operating system through T card |
CN104820611A (en) * | 2015-05-22 | 2015-08-05 | 中国科学院上海高等研究院 | Equipment software upgrade method based on Bluetooth and upgrade device |
WO2017028375A1 (en) * | 2015-08-17 | 2017-02-23 | 中兴通讯股份有限公司 | Version upgrading method and system |
CN105511928A (en) * | 2015-12-28 | 2016-04-20 | 努比亚技术有限公司 | System upgrading device and method |
CN107222341A (en) * | 2017-05-27 | 2017-09-29 | 上海创功通讯技术有限公司 | The method and electronic equipment updated for radio frequency protocol parameter |
CN107222341B (en) * | 2017-05-27 | 2020-06-05 | 上海创功通讯技术有限公司 | Method for updating radio frequency protocol parameters and electronic equipment |
CN107301078A (en) * | 2017-07-25 | 2017-10-27 | 欣旺达电子股份有限公司 | The method and apparatus for automatically updating energy-storage system parameter |
CN107301078B (en) * | 2017-07-25 | 2023-08-01 | 欣旺达电动汽车电池有限公司 | Method and device for automatically updating parameters of energy storage system |
CN107943500A (en) * | 2017-11-28 | 2018-04-20 | 大陆汽车车身电子系统(芜湖)有限公司 | A kind of combination instrument Oftware updating method |
CN111246480A (en) * | 2020-01-10 | 2020-06-05 | 中移(杭州)信息技术有限公司 | Application communication method, system, equipment and storage medium based on SIM card |
CN111970161A (en) * | 2020-09-21 | 2020-11-20 | 浙江大学 | Internet of things application differential upgrading method based on address prediction |
CN111970161B (en) * | 2020-09-21 | 2021-07-13 | 浙江大学 | Internet of things application differential upgrading method based on address prediction |
CN112905219A (en) * | 2021-02-07 | 2021-06-04 | 惠州Tcl移动通信有限公司 | Software updating method based on SD card, terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101694623A (en) | Method for updating handheld device software | |
US9301164B2 (en) | Method, system, and terminal for performing system update between mobile communication terminals | |
CN101377744B (en) | Method and apparatus for recovering terminal equipment software upgrade | |
KR101426710B1 (en) | Device and method for upgrading version information of terminal | |
US20110302572A1 (en) | Embedded network device and firmware upgrading method | |
US8250567B2 (en) | Robust firmware upgrade in a network terminal | |
US20060075284A1 (en) | Method for over-the-air firmware update of NAND flash memory based mobile devices | |
CN110825563B (en) | System recovery method and device and electronic equipment | |
CN105808292A (en) | Firmware upgrade method of embedded terminal device | |
CN102017673B (en) | Interworking system between user terminal and smart card for executing widget, and method thereof | |
TW201415365A (en) | Method for updating operating system and handheld electronic apparatus | |
CN103365696A (en) | BIOS (Basic Input Output System) image file obtaining method and device | |
KR20120109800A (en) | Data update method based on a firmware on the air and portable device supporting the same | |
CN101866295A (en) | Network installation method of operating system | |
WO2023060893A1 (en) | Storage space management method and apparatus, and device and storage medium | |
WO2022199335A1 (en) | Method, apparatus and device for controlling firmware upgrade of server component, and storage medium | |
CN114780019A (en) | Electronic device management method and device, electronic device and storage medium | |
CN112486733B (en) | System restoration method, device, terminal and storage medium | |
CN103729261A (en) | Operating system updating method and handheld electronic device | |
EP2835737A1 (en) | Data terminal running mode switching method, device, and data terminal | |
CN103677941B (en) | A kind of method and device for realizing smart card operating system module upgrade | |
WO2004114129A2 (en) | Embedded device with software registry | |
CN114090028A (en) | System upgrading method, electronic device and storage medium | |
CN109254797B (en) | Mobile terminal, starting control method thereof and storage medium | |
CN102202129A (en) | Method for loading mobile phone operating system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20100414 |