CN103019892A - NV data backup and recovery method based on high-pass platform - Google Patents

NV data backup and recovery method based on high-pass platform Download PDF

Info

Publication number
CN103019892A
CN103019892A CN201210591320XA CN201210591320A CN103019892A CN 103019892 A CN103019892 A CN 103019892A CN 201210591320X A CN201210591320X A CN 201210591320XA CN 201210591320 A CN201210591320 A CN 201210591320A CN 103019892 A CN103019892 A CN 103019892A
Authority
CN
China
Prior art keywords
backup
data
mobile phone
hidden partition
method based
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
CN201210591320XA
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.)
Sheng Yao Wireless Communication Technology (beijing) Co Ltd
Original Assignee
Sheng Yao Wireless Communication Technology (beijing) 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 Sheng Yao Wireless Communication Technology (beijing) Co Ltd filed Critical Sheng Yao Wireless Communication Technology (beijing) Co Ltd
Priority to CN201210591320XA priority Critical patent/CN103019892A/en
Publication of CN103019892A publication Critical patent/CN103019892A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention relates to a NV data backup and recovery method based on a high-pass platform. The method comprises the following steps: (1) using a DIAG instruction to back up NV parameters so as to cause the NV parameters to be stored to a hidden backup subarea and generate a mark of successful backup; (2) after software is upgraded, detecting whether the NV backup in a system exists; if not, recovering NV data, and reducing the backup data of the hidden subarea to a user data subarea in a mobile phone system; and after recovery, establishing a mark of successful data recovery, and a mobile phone can be normally used. The method has the beneficial effects that the method can be suitable for any high-pass platform, has the advantages of simplicity in processing, fewer interfaces, high safety and convenience in follow-up maintenance of mobile phone terminal manufacturers, avoids error operation of users to damage the mobile phone parameters at the same time, and can retain updated NV configuration data of new software.

Description

A kind of NV backup and recovery method based on high-pass platform
Technical field
The present invention relates to the wireless communication technique field, be specifically related to a kind of NV backup and recovery method based on high-pass platform.
Background technology
NV is the abbreviation of NVRAM, and English name Nonvolatile random access memory is nonvolatile random access memory.It is the exclusive file system that mobile phone is preserved basic configuration and radio frequency parameter, and when mobile phone shutdown, the data that are kept in the NV can not lost.All high-pass platforms all adopt NV to preserve the important parameter of mobile phone, the data such as employing NV preservation parameter are not only convenient and swift, and be convenient to upgrade or revise, because the product of high-pass platform is widely used in market, various instruments for high-pass platform also have a lot, because there is not parameter backup, in case the improper upgrading of user or the special-purpose instrument of employing crack, will cause to the significant data in the mobile phone loss that can't recover, serious even cause mobile phone to use, the present invention is directed to this shortcoming, the mode that adopts hidden partition is kept at the important parameter among the NV in the subregion that the user can't access, in case original NV data change, the data that software will be kept at hidden partition automatically recover, and have guaranteed the security of mobile phone.
Summary of the invention
The purpose of this invention is to provide a kind of NV backup and recovery method based on high-pass platform, to overcome above shortcomings in the at present existing method.
The objective of the invention is to be achieved through the following technical solutions:
A kind of NV backup and recovery method based on high-pass platform is used for data in the NV system of mobile phone are backed up, and said method comprising the steps of:
(1) starting hand-set is installed mobile phone terminal system initial software in mobile phone, this software creates independently NV hidden partition in mobile phone, and the NV hidden partition only is the system partitioning of NV backup, and described NV hidden partition can not be by user and common system program access;
(2) take the NV parameter as benchmark, be every mobile phone debugging calibration to factory, generate the NV parameter configuration corresponding to concrete each production line mobile phone terminal, and with its input handset terminal;
(3) use the DIAG instruction, send the signal that begins to back up;
(4) after NV backup TASK receives the signal of DIAG instruction, all NV data are backuped to the NV hidden partition;
(5) after the backup, in the mobile phone file system, set up the successful mark of backup, finish backup;
Whether (6) utilize the testing mechanism of NV restore task, will lose the NV data in the mobile phone and detect, mobile phone normally uses if do not lose then; If after losing, then begin to carry out mobile phone NV data and recover, data recover to comprise manual reset mode and automatic reset mode;
(7) Backup Data with hidden partition reverts to user data subregion in the cell phone system; And
(8) recover the rear mark that data are successfully recovered that creates, just can normally use mobile phone.
Further, described manual reset mode may further comprise the steps:
1) user triggers the NV parameter recovery tasks of mobile phone terminal by carrying out the DIAG instruction of customization;
2) Backup Data with hidden partition reverts to user data subregion in the cell phone system.
Further, described automatic reset mode may further comprise the steps:
1) the NV restore task detects NV reduction marker bit, determines whether to carry out NV and recovers, if need to recover, then carries out recovery tasks;
2) in rejuvenation, handling procedure will check the NV data in the filtered set, filters collection if exist, and after then filtering, carries out data and recovers, and described filtration collection will be used for adding some NV data item; And
3) Backup Data with hidden partition reverts to user data subregion in the cell phone system.
Beneficial effect of the present invention is: the present invention goes for any high-pass platform, processes simply, and interface is few, safe, be convenient to mobile phone terminal manufacturer follow-up maintenance, avoided simultaneously user's operation error to cause mobile phone parameters to be damaged, and can keep the NV configuration data of latest software update.
Description of drawings
The below is described in further detail the present invention with reference to the accompanying drawings.
Fig. 1 is the process flow diagram of the described a kind of NV data backup based on high-pass platform of the embodiment of the invention;
Fig. 2 is the described a kind of process flow diagram that recovers based on the NV data of high-pass platform of the embodiment of the invention.
Embodiment
As shown in Figure 1, the described a kind of NV data back up method based on high-pass platform of the embodiment of the invention is used for data in the NV system of mobile phone are backed up, and said method comprising the steps of:
(1) starting hand-set is installed mobile phone terminal system initial software in mobile phone, this software creates independently NV hidden partition in mobile phone, and the NV hidden partition only is the system partitioning of NV backup, and described NV hidden partition can not be by user and common system program access;
(2) take the NV parameter as benchmark, be every mobile phone debugging calibration to factory, generate the NV parameter configuration corresponding to concrete each production line mobile phone terminal, and with its input handset terminal;
(3) use the DIAG instruction, send the signal that begins to back up;
(4) after NV backup TASK receives the signal of DIAG instruction, all NV data are backuped to the NV hidden partition; And
(5) after the backup, in the mobile phone file system, set up the successful mark of backup, finish backup.
As shown in Figure 2, the described a kind of NV data reconstruction method based on high-pass platform of the embodiment of the invention is used for data in the NV system of mobile phone are recovered, and is further comprising the steps:
Whether (1) utilize the testing mechanism of NV restore task, will lose the NV data in the mobile phone and detect, mobile phone if do not lose then, if after losing, then begin to carry out mobile phone NV data and recover if normally using;
(2) data recover to comprise manual reset mode and automatic reset mode, and described manual reset mode is further comprising the steps: 1) user triggers the NV parameter recovery tasks of mobile phone terminal by carrying out the DIAG instruction of customization; 2) Backup Data with hidden partition reverts to user data subregion in the cell phone system.Described automatic reset mode is further comprising the steps: 1) the NV restore task detects NV reduction marker bit, determines whether to carry out NV and recovers, if need to recover, then carries out recovery tasks; 2) in rejuvenation, handling procedure will check the NV data in the filtered set, if there is filtered set, after then filtering, carries out data and recovers, and described filtration collection will be used for adding some NV data item; 3) Backup Data with hidden partition reverts to user data subregion in the cell phone system;
(3) Backup Data with hidden partition reverts to user data subregion in the cell phone system; And
(4) recover the rear mark that data are successfully recovered that creates, just can normally use mobile phone.
During concrete the use, the present invention is in the finishing operation that mobile phone is produced, carry out the DIAG instruction, the NV data of mobile phone alignment are backuped in the hidden partition, and in the mobile phone file system, set up the successful mark of NV backup, when the terminal user of mobile phone upgraded handset program by modes such as SD cards after, mobile phone can automatically detect NV and back up mark and change, begin the NV data of backup are returned in the mobile phone, guarantee that the NV parameter of mobile phone can not lost owing to upgrading causes.
In the operation of the present invention, directly realize independently NV backup Recovery processing task (TASK) by the DIAG instruction, be the normal operation of other TASK of not affecting high-pass platform, this TASK independently bears the work of NV data backup restoration, carries out by the acknowledge(ment) signal amount.No matter being backup or recovery, all is to operate for single NV item, makes things convenient for customization need to back up and need the NV configuration item that recovers, and except the NV item of the primary definition of platform, for the NV item number certificate of User Defined and expansion, can realize that equally backup recovers.Consider subsequent software during upgrading may because of revise, the settlement procedure problem, need to upgrade some specific NV item, and can not use the NV item number certificate of production phase backup fully.The present invention comprises a NV and filters collection, and this filtration collection will be used for adding some NV items, and new version software comprises this filtration collection, after software upgrading enters NV rejuvenation, will skip the NV item configuration data of definition in this set.NV data in the new version software will be kept.
The present invention is not limited to above-mentioned preferred forms; anyone can draw other various forms of products under enlightenment of the present invention; no matter but do any variation in its shape or structure; every have identical with a application or akin technical scheme, all drops within protection scope of the present invention.

Claims (5)

1. the NV backup and recovery method based on high-pass platform is characterized in that, said method comprising the steps of:
(1) starting hand-set is installed mobile phone terminal system initial software in mobile phone, this software creates independently NV hidden partition in mobile phone;
(2) take the NV parameter as benchmark, for every mobile phone debugging calibration, generate the NV parameter configuration corresponding to concrete each production line mobile phone terminal, and with its input handset terminal;
(3) use the DIAG instruction, send the signal that begins to back up;
(4) after NV backup TASK receives the signal of DIAG instruction, all NV data are backuped to the NV hidden partition;
(5) after the backup, in the mobile phone file system, set up the successful mark of backup, finish backup;
Whether (6) utilize the testing mechanism of NV restore task, will lose the NV data in the mobile phone and detect, mobile phone normally uses if do not lose then; If after losing, then begin to carry out mobile phone NV data and recover, described data recover to comprise manual reset mode and automatic reset mode;
(7) Backup Data of hidden partition is reverted to the user data subregion of cell phone system; And
(8) recover the rear mark that data are successfully recovered that creates, just can normally use mobile phone.
2. the NV backup and recovery method based on high-pass platform according to claim 1, it is characterized in that: in the described step (1), described NV hidden partition only is the system partitioning of NV backup, and described NV hidden partition can not be by user and common system program access.
3. the NV backup and recovery method based on high-pass platform according to claim 2, it is characterized in that: it is characterized in that: in the described step (6), described manual reset mode is further comprising the steps:
1) user triggers the NV parameter recovery tasks of mobile phone terminal by carrying out the DIAG instruction of customization; And
2) Backup Data with hidden partition reverts to user data subregion in the cell phone system.
4. the NV backup and recovery method based on high-pass platform according to claim 3, it is characterized in that: in the described step (6), described automatic reset mode is further comprising the steps:
1) the NV restore task detects NV reduction marker bit, determines whether to carry out NV and recovers, if need to recover, then carries out recovery tasks;
2) in rejuvenation, handling procedure will check the NV data in the filtered set, filters collection if exist, and after then filtering, carries out data again and recovers; And
3) Backup Data with hidden partition reverts to user data subregion in the cell phone system.
5. the NV backup and recovery method based on high-pass platform according to claim 4 is characterized in that: described step 2), filter collection and will be used for adding some NV data item.
CN201210591320XA 2012-12-29 2012-12-29 NV data backup and recovery method based on high-pass platform Pending CN103019892A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210591320XA CN103019892A (en) 2012-12-29 2012-12-29 NV data backup and recovery method based on high-pass platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210591320XA CN103019892A (en) 2012-12-29 2012-12-29 NV data backup and recovery method based on high-pass platform

Publications (1)

Publication Number Publication Date
CN103019892A true CN103019892A (en) 2013-04-03

Family

ID=47968522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210591320XA Pending CN103019892A (en) 2012-12-29 2012-12-29 NV data backup and recovery method based on high-pass platform

Country Status (1)

Country Link
CN (1) CN103019892A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778385A (en) * 2014-02-24 2014-05-07 联想(北京)有限公司 Data protection method and device as well as electronic device
WO2014161339A1 (en) * 2013-08-12 2014-10-09 中兴通讯股份有限公司 Firmware upgrade method and device
CN104182299A (en) * 2014-07-29 2014-12-03 捷开通讯科技(上海)有限公司 Software rejuvenation system and method for electronic equipment
CN104281502A (en) * 2014-09-22 2015-01-14 宇龙计算机通信科技(深圳)有限公司 Nonvolatile-parameter recovery and/or update method and system based on communication terminal
CN104598335A (en) * 2015-01-16 2015-05-06 深圳市中兴物联科技有限公司 Method and device for restoring backup of NV parameters
CN105550066A (en) * 2015-12-10 2016-05-04 希姆通信息技术(上海)有限公司 File system breakdown solution method and system
CN105743698A (en) * 2016-01-27 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Parameter processing method and terminal
CN105898772A (en) * 2015-12-14 2016-08-24 乐视移动智能信息技术(北京)有限公司 Air-upgrade method for communication configuration of mobile terminal and mobile terminal
CN106028382A (en) * 2016-05-27 2016-10-12 努比亚技术有限公司 NV (Nonvolatile Random Access Memory) parameter reading-writing device and method
CN107222341A (en) * 2017-05-27 2017-09-29 上海创功通讯技术有限公司 The method and electronic equipment updated for radio frequency protocol parameter
WO2018205519A1 (en) * 2017-05-11 2018-11-15 中兴通讯股份有限公司 Efs recovery and backup method, system and terminal
CN109460317A (en) * 2018-10-25 2019-03-12 众格智能科技(上海)有限公司 A kind of backup and reduction method of pair of equipment configuration parameter
CN109739542A (en) * 2018-12-11 2019-05-10 成都智慧海派科技有限公司 A kind of method of high-pass platform nv parameter upgrading
CN109819018A (en) * 2018-12-29 2019-05-28 飞天诚信科技股份有限公司 A kind of hot update method that realizing smart card executable file and device
CN110913417A (en) * 2019-11-22 2020-03-24 东莞市小精灵教育软件有限公司 Method, system, equipment and storage medium for protecting radio frequency parameters
CN112540777A (en) * 2020-10-29 2021-03-23 福建联迪商用设备有限公司 Method and terminal for supporting dynamic read-write of NV (network video) parameters
CN112835742A (en) * 2021-01-14 2021-05-25 上海汉枫电子科技有限公司 Data parameter backup recovery method
CN113157309A (en) * 2021-01-26 2021-07-23 上海商米科技集团股份有限公司 Software design method for saving active file by NVRAM

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417689A (en) * 2001-11-08 2003-05-14 联想(北京)有限公司 Fixed disk data enciphering back-up and restoring method
US20030229768A1 (en) * 2002-06-07 2003-12-11 Seiichi Kawano Process, apparatus, and system for passing data between partitions in a storage device
CN1746841A (en) * 2004-09-11 2006-03-15 鸿富锦精密工业(深圳)有限公司 The user sets up the system and method that computer recovers CD
CN1877539A (en) * 2005-06-07 2006-12-13 英业达股份有限公司 Data backup/recovery system under cold start mode and implementing method therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417689A (en) * 2001-11-08 2003-05-14 联想(北京)有限公司 Fixed disk data enciphering back-up and restoring method
US20030229768A1 (en) * 2002-06-07 2003-12-11 Seiichi Kawano Process, apparatus, and system for passing data between partitions in a storage device
CN1746841A (en) * 2004-09-11 2006-03-15 鸿富锦精密工业(深圳)有限公司 The user sets up the system and method that computer recovers CD
CN1877539A (en) * 2005-06-07 2006-12-13 英业达股份有限公司 Data backup/recovery system under cold start mode and implementing method therefor

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014161339A1 (en) * 2013-08-12 2014-10-09 中兴通讯股份有限公司 Firmware upgrade method and device
CN104375844A (en) * 2013-08-12 2015-02-25 中兴通讯股份有限公司 Firmware upgrading method and device
CN103778385A (en) * 2014-02-24 2014-05-07 联想(北京)有限公司 Data protection method and device as well as electronic device
CN104182299A (en) * 2014-07-29 2014-12-03 捷开通讯科技(上海)有限公司 Software rejuvenation system and method for electronic equipment
CN104281502A (en) * 2014-09-22 2015-01-14 宇龙计算机通信科技(深圳)有限公司 Nonvolatile-parameter recovery and/or update method and system based on communication terminal
CN104598335A (en) * 2015-01-16 2015-05-06 深圳市中兴物联科技有限公司 Method and device for restoring backup of NV parameters
CN105550066A (en) * 2015-12-10 2016-05-04 希姆通信息技术(上海)有限公司 File system breakdown solution method and system
CN105898772A (en) * 2015-12-14 2016-08-24 乐视移动智能信息技术(北京)有限公司 Air-upgrade method for communication configuration of mobile terminal and mobile terminal
CN105743698A (en) * 2016-01-27 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Parameter processing method and terminal
CN106028382A (en) * 2016-05-27 2016-10-12 努比亚技术有限公司 NV (Nonvolatile Random Access Memory) parameter reading-writing device and method
WO2018205519A1 (en) * 2017-05-11 2018-11-15 中兴通讯股份有限公司 Efs recovery and backup method, system and terminal
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
CN109460317A (en) * 2018-10-25 2019-03-12 众格智能科技(上海)有限公司 A kind of backup and reduction method of pair of equipment configuration parameter
CN109739542A (en) * 2018-12-11 2019-05-10 成都智慧海派科技有限公司 A kind of method of high-pass platform nv parameter upgrading
CN109819018A (en) * 2018-12-29 2019-05-28 飞天诚信科技股份有限公司 A kind of hot update method that realizing smart card executable file and device
CN109819018B (en) * 2018-12-29 2021-06-08 飞天诚信科技股份有限公司 Method and device for realizing hot updating of executable file of smart card
CN110913417A (en) * 2019-11-22 2020-03-24 东莞市小精灵教育软件有限公司 Method, system, equipment and storage medium for protecting radio frequency parameters
CN112540777A (en) * 2020-10-29 2021-03-23 福建联迪商用设备有限公司 Method and terminal for supporting dynamic read-write of NV (network video) parameters
CN112835742A (en) * 2021-01-14 2021-05-25 上海汉枫电子科技有限公司 Data parameter backup recovery method
CN112835742B (en) * 2021-01-14 2024-02-20 上海汉枫电子科技有限公司 Data parameter backup and recovery method
CN113157309A (en) * 2021-01-26 2021-07-23 上海商米科技集团股份有限公司 Software design method for saving active file by NVRAM
CN113157309B (en) * 2021-01-26 2024-02-13 上海商米科技集团股份有限公司 Software design method for storing activation files by utilizing NVRAM

Similar Documents

Publication Publication Date Title
CN103019892A (en) NV data backup and recovery method based on high-pass platform
US10423585B2 (en) Method and device for making differential upgrade package, and method and device for system differential upgrading
CN102945192B (en) A kind of method of data backup and resume and mobile intelligent terminal
CN110333891A (en) The method of enhanced OTA upgrading based on Internet of Things
CN104427119B (en) Communication terminal and its processing method of Nonvolatile data
CN108958767B (en) Safety mode automatic upgrading method based on minimum system backup implementation
CN102163167A (en) Method and device for rescuing system
CN109032838B (en) Automatic verification method for consistency of backup and recovery data of virtual machine
CN103514013A (en) Gateway product FLASH configuration loss processing method
CN104598335A (en) Method and device for restoring backup of NV parameters
CN103077100A (en) Nonvolatile data backup and recovery method
CN104166577A (en) Method and device for upgrading system of mobile terminal
CN108345464A (en) A kind of the startup method and Android vehicle device of Android system
CN102346673A (en) Method and device for upgrading mobile phone system
CN101907996A (en) Remote update method of fiscal cash register
CN103049343B (en) Operating system blue screen restoration methods and device
CN105740025A (en) Bluetooth based firmware program upgrading method and apparatus
CN106547667B (en) Fault prompting method and system for mobile terminal
CN105868047A (en) Repairing method and device of data partition, and terminal
CN102929676B (en) Based on the quick adaptation method of Android operating system terminal device
CN104427120B (en) Communication terminal and its processing method of Nonvolatile data
CN102768561A (en) Design method for twinbridge piece mainboard redundancy
CN104750537A (en) Test case execution method and device
CN105095812A (en) Self-adaptive resonant frequency method and self-adaptive resonant frequency device
CN103793292A (en) Disaster recovery method for disk array

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: 20130403