CN100343815C - Method for restoring mobile terminal key parameter - Google Patents

Method for restoring mobile terminal key parameter Download PDF

Info

Publication number
CN100343815C
CN100343815C CNB2004100742915A CN200410074291A CN100343815C CN 100343815 C CN100343815 C CN 100343815C CN B2004100742915 A CNB2004100742915 A CN B2004100742915A CN 200410074291 A CN200410074291 A CN 200410074291A CN 100343815 C CN100343815 C CN 100343815C
Authority
CN
China
Prior art keywords
key parameter
mobile terminal
file system
memory block
retention 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.)
Active
Application number
CNB2004100742915A
Other languages
Chinese (zh)
Other versions
CN1746857A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100742915A priority Critical patent/CN100343815C/en
Publication of CN1746857A publication Critical patent/CN1746857A/en
Application granted granted Critical
Publication of CN100343815C publication Critical patent/CN100343815C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention discloses a method for restoring the key parameters of a mobile terminal. The key parameters are stored on a file system zone of a storage device of the mobile terminal. The method further backs up the key parameters into a reservation data storage zone of the mobile terminal in advance. The processing for restoring the key parameters comprises the steps that the processing judges whether the key parameters in the file system zone can be loaded or not; if the key parameters can be loaded, the key parameters are not damaged, and the processing is over; if the key parameters can not be loaded, the key parameters are damaged, and thus, the backup key parameters are loaded form the reservation data storage zone of the storage device of the mobile terminal storage; parameter files regenerated by the backup key parameters are stored in the file system zone. The present invention is used for restoring the key parameters of the mobile terminal and has the advantages of time saving, labour saving, low cost and simple and convenient operation processing.

Description

A kind of restoration methods of mobile terminal key parameter
Technical field
The present invention relates to the data maintenance technology of portable terminal, particularly a kind of restoration methods of mobile terminal key parameter.
Background technology
All data of portable terminal such as mobile phone, PDA are stored in the Flash storer usually, and referring to Fig. 1, Fig. 1 is the spatial division synoptic diagram of mobile phone memory.As shown in Figure 1, existing mobile phone memory space generally comprises: Boot memory block, App executable file district and file system area and retention data memory block.
Among Fig. 1, absolute memory space address 0x00000~0xxxxxx is (owing to each producer has nothing in common with each other to the division of mobile phone storage space, therefore 0xxxxxx, 0xyyyyy herein, 0xzzzzz only represent three uncertain sexadecimal numbers respectively) be the boot of handset starting for the Boot storage area stores, subregion is generally very little, and the space of several k is just enough.
Absolute memory space address 0xxxxxx~0xyyyyy be the storage of App executable file district be the binary code of cell phone software working procedure, the binary code of software such as mobile phone operating system, application program of mobile phone for example, this subregion generally will take bigger space.
Absolute memory space address 0xyyyyy~0xzzzzz is the file system area storage file, comprise mobile phone parameters file and the file that generates or receive by mobile phone from the outside, as the photo files of taking a picture, the mp3 file of network download etc., this subregion take maximum space.
Comprised the key parameter of mobile phone in the mobile phone parameters file, key parameter can be divided into two classes: the first kind is meant the key parameter that can be modified, such as the switch setting whether the LCD background light is opened, and the tinkle of bells that current phone is provided with etc.Second class is meant the key parameter that can not be modified, and generally is meant the characterisitic parameter of current phone, as some parameters of radio-frequency (RF) calibration, and the production equipment of mobile phone number, production information etc.Because the key parameter in the mobile phone need often be used, and generally all is the file system area that is stored in mobile phone with the form of file so the first kind still is the second class parameter.
The absolute later space of memory space address 0xzzzzz can be used as the retention data memory block, is the remaining space of mobile phone memory, can store data.
At present, software is all realized by calling file interface the read-write of file system area storage file, directly memory device is not directly carried out read-write operation.
Because software can carry out off-line operation to file system area, so file system has the possibility of being destroyed by software; And file system area frequently is operated, and from hardware point of view, also is might be impaired.In both cases, the key parameter that is stored in file system area with document form all can be lost, and can cause very big trouble, and particularly some above-mentioned second class key parameter will cause the mobile phone cisco unity malfunction if lose.After being damaged such as the radio-frequency (RF) calibration parameter, mobile phone just can't be realized normal wireless signal transmission-receiving function, must be keeped in repair by the professional, and the process of its maintenance may further comprise the steps:
If 1 judges that according to the phenomenon of the failure of mobile phone the radio-frequency (RF) calibration parameter may be damaged, then the instrument by special use detects the radio frequency calibration parameter and carries out radio-frequency (RF) calibration, the radio-frequency (RF) calibration parameter after the record calibration again.
2, mobile phone is carried out software and hardware and detect, be damaged then adorn execution in step 3 behind the App executable file again if detect the App executable file, if the App executable file is not damaged, direct execution in step 3 then.
3, cell phone rebuild file system stores new radio-frequency (RF) calibration parameter in the file system area into document form with other key parameters.
4, when needed, the radio-frequency (RF) calibration parameter is submitted to corresponding radio frequency processing module.
Like this, could recover the radio-frequency (RF) calibration parameter, thereby make mobile phone realize normal wireless signal transmission-receiving function.
As seen, prior art need could be realized that to the recovery of some mobile terminal key parameter waste time and energy, maintenance cost is high and operate pretty troublesome by the specialized maintenance personnel through the sequence of operations process with specialized equipment.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of restoration methods of mobile terminal key parameter, simplifies maintenance process.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of restoration methods of mobile terminal key parameter, described key parameter is stored in the file system area of mobile terminal memory, this method further in advance with the key parameter back-up storage in the retention data memory block of described mobile terminal memory, described method further may further comprise the steps:
A, judge whether to read the file system area key parameter, if then key parameter does not damage, process ends, otherwise key parameter damages execution in step B;
B, from the retention data memory block of mobile terminal memory, read the key parameter of backup, and regenerate Parameter File with the key parameter that this reads and store file system area into.
The restoration methods of described key parameter can realize in the running of mobile terminal process, then judges whether to read the file system area key parameter described in the steps A and comprises:
Portable terminal reads required key parameter after starting, if do not read desired data in the given time, then judges and can not read the file system area key parameter.
The restoration methods of described key parameter also can realize in the portable terminal maintenance process, and then steps A is described judges whether to read the file system area key parameter and comprise:
The portable terminal software and hardware is detected,, then judge and to read the file system area key parameter if the App executable file district of mobile terminal memory is damaged; If App executable file district is not damaged, and file system area is damaged, also judges and to read the file system area key parameter.
If the App executable file district of mobile terminal memory is damaged, then the described key parameter that reads backup from the retention data memory block of mobile terminal memory of step B takes a step forward and comprises:
B1, using a computer downloads to the App executable file in the App executable file district of mobile terminal memory;
B2, portable terminal reset file system;
File system area is damaged if the App executable file district of mobile terminal memory is not damaged, and then the described key parameter that reads backup from the retention data memory block of mobile terminal memory of step B takes a step forward and comprises:
B11, portable terminal reset file system.
The described key parameter that reads backup from the retention data memory block of mobile terminal memory of step B can comprise: the key parameter that is read backup by portable terminal from the retention data memory block of mobile terminal memory;
This key parameter of the described usefulness of step B regenerates Parameter File and stores file system area into and can comprise: by portable terminal the key parameter that reads is regenerated Parameter File and store file system area into.
Behind execution in step B, this method may further include: when software and hardware needed key parameter, the key parameter that will read from the retention data memory block of mobile terminal memory was submitted to this parameter corresponding software and hardware.
After the retention data memory block of described mobile terminal memory deposited the key parameter of backup in, this retention data memory block was set to readable can not writing.
Described method can also comprise in advance key parameter is recorded computing machine, among this method step B, read from the retention data memory block of mobile terminal memory before the key parameter of backup, also further can comprise the step of maintenance retention data storage area data, this step specifically comprises:
C, the retention data memory block of mobile terminal memory is detected, and judged whether to read the key parameter of retention data memory block, if can, described step then finished; Otherwise execution in step D;
After D, retention data memory block were set to readable writing, computing machine downloaded to the key parameter of record the retention data memory block of portable terminal;
E, retention data memory block are set to readable can not writing.
As seen from the above technical solutions, the restoration methods of this mobile terminal key parameter of the present invention, when portable terminal is produced, not only key parameter is stored in the file system area of mobile terminal memory, but also with the key parameter back-up storage in the retention data memory block of mobile terminal memory, like this, when key parameter is damaged, only need directly from the retention data memory block of mobile terminal memory, read the key parameter of backup, and regenerate Parameter File with this key parameter and store file system area into and get final product.
Therefore, adopt the recovery of the present invention, do not need with the specialized equipment that detects or be provided with certain parameter to any mobile terminal key parameter, only needing to read this key parameter from the retention data memory block just can realize, time saving and energy saving, maintenance cost is low, and operating process is simple, convenient.
Description of drawings
Fig. 1 is the spatial division synoptic diagram of mobile phone memory;
Fig. 2 recovers schematic flow sheet for the key parameter of the present invention's first preferred embodiment;
Fig. 3 recovers schematic flow sheet for the key parameter of the present invention's second preferred embodiment;
Fig. 4 is the schematic flow sheet of maintenance retention data storage area data of the present invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to accompanying drawing and for two example two, the present invention is described in more detail.
The restoration methods of this mobile terminal key parameter of the present invention, when portable terminal is produced, not only key parameter is stored in the file system area of mobile terminal memory, but also with the key parameter back-up storage in the retention data memory block of mobile terminal memory, when key parameter is damaged, only need directly from the retention data memory block of mobile terminal memory, read the key parameter of backup, and regenerate Parameter File with this key parameter and store file system area into and get final product.
The process of the recovery of the inventive method key parameter has two kinds of implementations: realize that the prerequisite of this embodiment is that App executable file district does not damage for first kind in the running of mobile terminal process.Another kind of in the portable terminal maintenance process, realize, below lift preferred embodiment respectively and describe.
First preferred embodiment:
Present embodiment is the recovery that realizes key parameter in the mobile phone operational process, in the present embodiment, when mobile phone is produced, not only key parameter is stored in the file system area of mobile phone memory, but also with the key parameter back-up storage in the retention data memory block of mobile phone memory, this retention data memory block is set to readable can not writing.
Suppose that App executable file district does not damage, then the process of the recovery of present embodiment key parameter as shown in Figure 2, Fig. 2 recovers schematic flow sheet for the key parameter of the present invention's first preferred embodiment.In the present embodiment, suppose the damage of radio-frequency (RF) calibration parameter, this flow process may further comprise the steps:
Step 201, mobile phone bring into operation, and initialization.
Step 202, mobile phone judge whether to read the file system area key parameter, read the radio-frequency (RF) calibration parameter in the present embodiment, if can read then execution in step 204, otherwise execution in step 203.
Judging whether to read the concrete method of file system area key parameter in this step is: read the file at required key parameter place, if do not read desired data in the given time, then judge and can not read the file system area key parameter.
Step 203, mobile phone read in the retention data memory block of mobile phone memory, are used to store the field of radio-frequency (RF) calibration parameter, and the key parameter that reads regenerates Parameter File and stores file system area into.
Step 204, execution mobile phone normal flow.At the mobile phone run duration, if the radio frequency processing module need be used the radio-frequency (RF) calibration parameter, then read this parameter from file system area, submit to the radio frequency processing module.
From the process of present embodiment as seen, under the unspoiled situation in App executable file district, mobile phone can recover key parameter automatically, need not look for the professional, does not more need the special-purpose detection and the equipment that is provided with to keep in repair, reduce the user maintenance cost.
Second preferred embodiment:
Present embodiment is the recovery that realizes key parameter in the Cellphone Repairs process, in the present embodiment, when mobile phone is produced, not only key parameter is stored in the file system area of mobile phone memory, but also with the key parameter back-up storage in the retention data memory block of mobile phone memory, this retention data memory block is set to readable can not writing.
The process of the recovery of present embodiment key parameter as shown in Figure 3, Fig. 3 recovers schematic flow sheet for the key parameter of the present invention's second preferred embodiment.This flow process may further comprise the steps:
Step 301 is carried out software and hardware to mobile phone and is detected.
Step 302 judges whether the App executable file district of mobile phone memory is damaged, and can not read the file system area key parameter if then judge mobile phone, execution in step 303; Otherwise App executable file district is not damaged, execution in step 305.In this step,, can think then whether App executable file district is damaged if handset starting has problem.
Step 303, with computing machine the App executable file of mobile phone is downloaded to the App executable file district of mobile phone memory after, execution in step 305.
Step 304 judges whether file system area is damaged, if execution in step 305 then, otherwise process ends.
Step 305, the cell phone rebuild file system.
Step 306 reads key parameter from the retention data memory block of mobile phone memory, and regenerates Parameter File with this key parameter and store file system area into.
Step 307 when the mobile phone software and hardware needs key parameter, resubmits key parameter to corresponding software and hardware.For example, when the radio frequency processing module needs, the radio-frequency (RF) calibration parameter is submitted to corresponding radio frequency processing module again.
Among above-mentioned two embodiment, all do not have to realize under the impaired situation in the retention data memory block of mobile phone memory.Generally speaking, the retention data memory block is seldom read, so the impaired possibility in retention data memory block is smaller, just in case the retention data memory block is damaged, the present invention also provides the method for maintenance.Referring to Fig. 4, Fig. 4 is the schematic flow sheet of maintenance retention data storage area data of the present invention.This flow process may further comprise the steps:
Step 401, computing machine read key parameter and record from the retention data memory block of mobile phone memory in advance.
Step 402 detects the retention data memory block of mobile phone memory.
Step 403 judges whether to read the key parameter of retention data memory block, if could process ends; Otherwise execution in step 404.
Step 404, the retention data memory block is set to readable writing.
Step 405, computing machine download to the key parameter of record the retention data memory block of mobile phone.
Step 406, retention data memory block are set to readable can not writing.
By two above-mentioned embodiment as seen, adopt of the recovery of the restoration methods of this mobile terminal key parameter of the present invention to any mobile phone key parameter, do not need with the specialized equipment that detects or be provided with certain parameter, only needing to read this key parameter from the retention data memory block just can realize, time saving and energy saving, maintenance cost is low, and operating process is simple, convenient.
More than all revert to embodiment with the key parameter of mobile phone, in fact for portable terminals such as PDA, handheld devices, as long as the present invention identically can be realized with shown in Figure 1 in its memory block.Therefore the above only is the present invention program's preferred embodiment, not in order to limit protection scope of the present invention.

Claims (8)

1, a kind of restoration methods of mobile terminal key parameter, described key parameter is stored in the file system area of mobile terminal memory, it is characterized in that, this method further in advance with the key parameter back-up storage in the retention data memory block of described mobile terminal memory; Described method further may further comprise the steps:
A, judge whether to read the file system area key parameter, if then key parameter does not damage, process ends, otherwise key parameter damages execution in step B;
B, from the retention data memory block of mobile terminal memory, read the key parameter of backup, and regenerate Parameter File with the key parameter that this reads and store file system area into.
2, restoration methods as claimed in claim 1 is characterized in that, the restoration methods of described key parameter realizes in the running of mobile terminal process, then judges whether to read the file system area key parameter described in the steps A and comprises:
Portable terminal reads required key parameter after starting, if do not read desired data in the given time, then judges and can not read the file system area key parameter.
3, restoration methods as claimed in claim 1 is characterized in that, the restoration methods of described key parameter realizes in the portable terminal maintenance process, then judges whether to read the file system area key parameter described in the steps A and comprises:
The portable terminal software and hardware is detected,, then judge and to read the file system area key parameter if the App executable file district of mobile terminal memory is damaged; If App executable file district is not damaged, and file system area is damaged, also judges and to read the file system area key parameter.
4, restoration methods as claimed in claim 3 is characterized in that, if the App executable file district of mobile terminal memory is damaged, then the described key parameter that reads backup from the retention data memory block of mobile terminal memory of step B takes a step forward and comprises:
B1, using a computer downloads to the App executable file in the App executable file district of mobile terminal memory;
B2, portable terminal reset file system;
File system area is damaged if the App executable file district of mobile terminal memory is not damaged, and then the described key parameter that reads backup from the retention data memory block of mobile terminal memory of step B takes a step forward and comprises:
B11, portable terminal reset file system.
5, as claim 2 or 3 described restoration methods, it is characterized in that the described key parameter that reads backup from the retention data memory block of mobile terminal memory of step B comprises: the key parameter that is read backup by portable terminal from the retention data memory block of mobile terminal memory;
This key parameter of the described usefulness of step B regenerates Parameter File and stores file system area into and comprise: by portable terminal the key parameter that reads is regenerated Parameter File, store file system area into.
6, as claim 1,2 or 3 described restoration methods, it is characterized in that, behind execution in step B, this method further comprises: when software and hardware needed key parameter, the key parameter that will read from the retention data memory block of mobile terminal memory was submitted to this parameter corresponding software and hardware.
7, restoration methods as claimed in claim 1 is characterized in that: after the retention data memory block of described mobile terminal memory deposited the key parameter of backup in, this retention data memory block was set to readable can not writing.
8, restoration methods as claimed in claim 1, it is characterized in that, described method also comprises in advance key parameter is recorded computing machine, among this method step B, from the retention data memory block of mobile terminal memory, read before the key parameter of backup, also further comprise the step of maintenance retention data storage area data, this step specifically comprises:
C, the retention data memory block of mobile terminal memory is detected, and judged whether to read the key parameter of retention data memory block, if can, described step then finished; Otherwise execution in step D;
After D, retention data memory block were set to readable writing, computing machine downloaded to the key parameter of record the retention data memory block of portable terminal;
E, retention data memory block are set to readable can not writing.
CNB2004100742915A 2004-09-08 2004-09-08 Method for restoring mobile terminal key parameter Active CN100343815C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100742915A CN100343815C (en) 2004-09-08 2004-09-08 Method for restoring mobile terminal key parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100742915A CN100343815C (en) 2004-09-08 2004-09-08 Method for restoring mobile terminal key parameter

Publications (2)

Publication Number Publication Date
CN1746857A CN1746857A (en) 2006-03-15
CN100343815C true CN100343815C (en) 2007-10-17

Family

ID=36166401

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100742915A Active CN100343815C (en) 2004-09-08 2004-09-08 Method for restoring mobile terminal key parameter

Country Status (1)

Country Link
CN (1) CN100343815C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100407835C (en) * 2006-06-29 2008-07-30 宇龙计算机通信科技(深圳)有限公司 Method for backing up and recovering data in mobile terminal
CN101719959B (en) * 2009-12-14 2013-03-20 中兴通讯股份有限公司 Method and device for automatically backing up and recovering key files of mobile terminal
CN101894137A (en) * 2010-06-23 2010-11-24 中兴通讯股份有限公司 Method and device for restoring data in embedded database
CN102156652A (en) * 2011-04-26 2011-08-17 中兴通讯股份有限公司 Mobile terminal and updating method for mobile terminal
CN102609336B (en) * 2012-01-19 2013-12-25 青岛海信传媒网络技术有限公司 Data administration method and data administration system
CN103077100B (en) * 2013-01-31 2016-03-02 广东欧珀移动通信有限公司 Fro backing-up non-volatile data and restoration methods
CN104750576A (en) * 2015-03-12 2015-07-01 广东欧珀移动通信有限公司 Method and terminals for restoring backup system parameters
US20190004903A1 (en) * 2015-04-29 2019-01-03 Huawei Technologies Co., Ltd. Data Restoration Method and Apparatus, and Terminal
CN105045677A (en) * 2015-06-30 2015-11-11 浪潮(北京)电子信息产业有限公司 Recovery method and device of parameter file
CN108874581A (en) * 2017-05-11 2018-11-23 中兴通讯股份有限公司 A kind of EFS restores and backup method, system and terminal
CN107231253B (en) * 2017-05-23 2021-06-15 捷开通讯(深圳)有限公司 Detection method and detection device for radio frequency parameters of terminal, and storage device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH113292A (en) * 1997-06-12 1999-01-06 Nec Shizuoka Ltd Data backup method and system
US5956749A (en) * 1996-05-30 1999-09-21 Nec Corporation Data back-up system using nonvolatile read/write memory
CN1414479A (en) * 2002-09-30 2003-04-30 深圳市朗科科技有限公司 Semiconductor storage method and device suitable for use on bandset and computer system
CN1445677A (en) * 2002-03-19 2003-10-01 三星电子株式会社 Device and method for controlling information processing system of mobile terminal device using flash memory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5956749A (en) * 1996-05-30 1999-09-21 Nec Corporation Data back-up system using nonvolatile read/write memory
JPH113292A (en) * 1997-06-12 1999-01-06 Nec Shizuoka Ltd Data backup method and system
CN1445677A (en) * 2002-03-19 2003-10-01 三星电子株式会社 Device and method for controlling information processing system of mobile terminal device using flash memory
CN1414479A (en) * 2002-09-30 2003-04-30 深圳市朗科科技有限公司 Semiconductor storage method and device suitable for use on bandset and computer system

Also Published As

Publication number Publication date
CN1746857A (en) 2006-03-15

Similar Documents

Publication Publication Date Title
CN100343815C (en) Method for restoring mobile terminal key parameter
CN100343807C (en) Upgrading method for Boot software and recovering method for Boot software
CN1834909A (en) Updating method for distance equipment system software
CN1303542C (en) Plug-and-play method for USB equipment under linux operation system
CN1815974A (en) Method and system for duplicating and recovering network element configuration data
CN1918932A (en) Updating of the preferred roaming list (prl) in a sim (subscriber identity module) / ruim (removable user identity module) card.
CN101051279A (en) Peripheral equipment operation method, peripheral equipment and host
CN1811725A (en) High-speed storage device and method for high-speed update data
CN1969575A (en) Centrally controlled backup functionality
CN1367628A (en) Program update method of portable terminal device, and portable terminal device thereof
CN1573694A (en) Apparatus and method for initializing coprocessor for use in system comprised of main processor and coprocessor
CN1908910A (en) Method for data backup and recovery
CN1859174A (en) Upgrading method and its system for remote equipment in communication network
CN1295903C (en) A safe system starting method
CN101056209A (en) A maintenance method and device for radio terminal image file
CN114090344B (en) Method, device, equipment and medium for deleting backup resources of container cluster
CN1991777A (en) Data prepackage system and method for mirror document
CN1251541C (en) Method for shortening booting time of digital equipment having flash memory
CN101340675A (en) Method and apparatus for implementing backup and recovery by mobile terminal
CN1447243A (en) Calculation method executed in quick flash memory fast and not caused abnormal power breakdown as well as its control system
CN1975701A (en) Master machine driving external equipment method and system
CN1960538A (en) Error correction apparatus for mobile communication terminal and method thereof
CN100343816C (en) Method of restoring single board software edition
CN1684043A (en) Real time monitoring system and method for computer files
CN1780450A (en) Mobile communication terminal with minimum power mode driving function and its running method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant