CN105306731A - Mobile phone recovery method and system - Google Patents
Mobile phone recovery method and system Download PDFInfo
- Publication number
- CN105306731A CN105306731A CN201510778782.6A CN201510778782A CN105306731A CN 105306731 A CN105306731 A CN 105306731A CN 201510778782 A CN201510778782 A CN 201510778782A CN 105306731 A CN105306731 A CN 105306731A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- rom
- parameter
- module
- nvram
- 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
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a mobile phone recovery method and system. The method comprises the steps of initializing a non-volatile random access memory (NVRAM) of a mobile phone, so as to back up read only memory (ROM) parameters in the NVRAM; exporting the ROM parameters in the NVRAM; configuring one or a plurality of functions of the mobile phone; when the system of the mobile phone crashes, connecting the mobile phone with a computer, and starting a mobile phone recovery mode; exporting the ROM parameters backed up in the NVRAM, and forcing to rewrite the ROM parameters of the mobile phone; and reloading the system according to the rewritten ROM parameters so as to finish recovery of the mobile phone. According to the mobile phone recovery method and system, the functions are not checked one by one when in recovery, it is simply required to rewrite the backed up ROM configuration parameters to an ROM list and check with right ROM start values, so that the mobile phone restart recovery process is started. The comparison is carried out through text software and can be finished in a very short time, so that the recovery period is short. The reliability is high, extra time is not needed, the research and development time of the product is shortened, and the cost is lowered.
Description
Technical field
The present invention relates to the technical field of mobile phone, particularly relate to a kind of restoration methods and system of mobile phone.
Background technology
Along with the develop rapidly of mobile communication, mobile phone has become the necessity that people carry with, and is deep in the every aspect of daily life.Typically, the operation principle of domestic consumer to mobile phone is not understood.When cell phone system software crash causes starting, user often carries out the operation of brush machine.
Popular, brush machine is exactly to mobile phone refitting system.Brush machine can make the function of mobile phone more perfect, and mobile phone can be made to revert to reset condition.In prior art, when carrying out the operation of brush machine to mobile phone, need manual operation just can enter downloading mode.But such design inherently contradiction, namely can only carry out brush machine when cell phone system is normal; When cell phone system collapses, user just cannot carry out the operation of brush machine.
In prior art, processing method for the mobile phone of system crash is passed through as follows: mobile phone performs and enters nonvolatile random access memory (Non-VolatileRandomAccessMemory, whether NVRAM) wake-up states, determine to return to by each function items of write-back function of dispatching from the factory and come into force.But when after cell phone system collapse, a lot of option or prefabricated parameter have no idea to check or cannot check, as mobile phone partition list information, wireless parameter, customer parameter, operator's informaiton, SIM card information etc. at all.
Therefore, in prior art, the processing method for the mobile phone of system crash has following defect:
(1) operation of brush machine can only be carried out, the automatic recovery of system cannot be realized, also cannot carry out ROM detection or rewriting;
(2) because cell-phone function item is more, existing processing mode need check comparison to every, easily occurs carelessness, and inefficiency, practicality is not strong;
(3) in order to judge whether the function items after recovering returns to factory-said value, also needs the data such as rom image; If had a question, also need to install different drivings, complex operation, needs professional to implement.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of restoration methods and system of mobile phone, by backing up the ROM parameter of mobile phone, rewrite ROM parameter when cell phone system collapses and carry out recovery system damage value or cannot startup item, and without the need to the whether factory reset of look facility item by item, thus achieve the fast quick-recovery of mobile phone.
For achieving the above object and other relevant objects, the invention provides a kind of restoration methods of mobile phone, comprise the following steps: the NVRAM of step S1, initialization mobile phone, make ROM parameter backup in NVRAM; Step S2, by NVRAM ROM parameter derive; Step S3, a certain function of mobile phone or multiple function to be configured; Step S4, when cell phone system collapses, mobile phone to be connected with computer, to start mobile phone reforestation practices; Step S5, the ROM parameter derivation will backed up in NVRAM, and force to rewrite mobile phone ROM parameter; Step S6, basis ROM parameter again reload system, complete the recovery of mobile phone.
According to the restoration methods of above-mentioned mobile phone, wherein: described ROM parameter comprises partition list information, wireless parameter, customer parameter, operator's informaiton and SIM card information.
According to the restoration methods of above-mentioned mobile phone, wherein: also comprise in described step S2: the ROM parameter of derivation is encrypted as MD5 value.
According to the restoration methods of above-mentioned mobile phone, wherein: in described step S3, by one or more configuration management modes in web-based management, CLI, SNMP, telnet and tr069, a certain function of mobile phone or multiple function are configured.
According to the restoration methods of above-mentioned mobile phone, wherein: in described step S4, mobile phone is connected with computer by data wire, by clicking software push buttons or hardware button starts mobile phone reforestation practices.
Meanwhile, the present invention also provides a kind of recovery system of mobile phone, comprises backup module, derivation module, configuration module, startup module, rewrites module and load-on module;
Described backup module is used for the NVRAM of initialization mobile phone, makes ROM parameter backup in NVRAM;
Described derivation module is used for the ROM parameter in NVRAM to derive;
Described configuration module is used for being configured a certain function of mobile phone or multiple function;
Described startup module is used for when cell phone system collapses, and is connected by mobile phone with computer, starts mobile phone reforestation practices;
Described rewriting module is used for the ROM parameter backed up in NVRAM to derive, and forces to rewrite mobile phone ROM parameter;
Described load-on module is used for reloading system according to ROM parameter again, completes the recovery of mobile phone.
According to the recovery system of above-mentioned mobile phone, wherein: described ROM parameter comprises partition list information, wireless parameter, customer parameter, operator's informaiton and SIM card information.
According to the recovery system of above-mentioned mobile phone, wherein: described derivation module is also for being encrypted as MD5 value by the ROM parameter of derivation.
According to the recovery system of above-mentioned mobile phone, wherein: described configuration module is configured a certain function of mobile phone or multiple function by one or more configuration management modes in web-based management, CLI, SNMP, telnet and tr069.
According to the recovery system of above-mentioned mobile phone, wherein: described startup module after mobile phone is connected with computer by data wire, by clicking software push buttons or hardware button starts mobile phone reforestation practices.
As mentioned above, the restoration methods of mobile phone of the present invention and system, have following beneficial effect:
(1) whether recover without the need to look facility item by item, only the ROM configuration parameter of backup need be rewritten to ROM list, and verify with correct ROM initiation value, mobile phone can be started and restart repair process;
(2) use text software contrast, can complete in a short period of time, the restore cycle is short;
(3) reliability is high, without the need to increasing the extra time, shortening the research and development of products time, reducing costs.
Accompanying drawing explanation
Fig. 1 is shown as the flow chart of the restoration methods of mobile phone of the present invention;
Fig. 2 is shown as the structural representation of the recovery system of mobile phone of the present invention.
Element numbers explanation
1 backup module
2 derive module
3 configuration modules
4 start module
5 rewrite module
6 load-on modules
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
The restoration methods of a kind of mobile phone of the present invention, the first NVRAM of initialization mobile phone, make ROM parameter backup in NVRAM; Then the ROM parameter in NVRAM is derived; Again a certain function of mobile phone or multiple function are configured; Then, when cell phone system collapses, mobile phone is connected with computer, starts mobile phone reforestation practices; The ROM parameter backed up in NVRAM is derived, and forces to rewrite mobile phone ROM parameter; Last basis ROM parameter again reloads system, completes the recovery of mobile phone.
With reference to Fig. 1, the restoration methods of mobile phone of the present invention comprises the following steps:
The NVRAM of step S1, initialization mobile phone, makes ROM parameter backup in NVRAM.
Particularly, restarted by nvramcommit order, initialization is carried out to the NVRAM of mobile phone, make the ROM parameter backup of mobile phone on NVRAM.Wherein, ROM parameter comprises partition list information, wireless parameter, customer parameter, operator's informaiton and SIM card information.ROM parameter can directly obtain from the publisher of version.
Because NVRAM feature still can preserve data after power-off, therefore ROM parameter is stored in NVRAM safer.
Step S2, by NVRAM ROM parameter derive.
Particularly, the parameter value in NVRAM is derived by utility command nvramshow.
Preferably, also comprise in this step the ROM parameter of derivation is encrypted as MD5 value.
Step S3, a certain function of mobile phone or multiple function to be configured.
Particularly, by various configurations way to manage, as: web-based management, CLI, SNMP, telnet and tr069 etc., be configured a certain function of mobile phone or multiple function.Wherein, when being configured, by rewriteeing the parameter of some functional areas, make the system parameters indices of mobile phone all normal, and operational excellence state, keep identical running status, so that orientation problem when mobile phone recovery routine also can be made to start.
Step S4, when cell phone system collapses, mobile phone to be connected with computer, to start mobile phone reforestation practices.
Particularly, mobile phone being connected with computer by data wire, starting mobile phone reforestation practices by clicking software push buttons.Wherein, software push buttons is being the computer MMI interface of recovering order based on mobile phone, and text importing recovers mobile phone.
Step S5, the ROM parameter derivation will backed up in NVRAM, and force to rewrite mobile phone ROM parameter.
In the present invention, as long as after mobile phone and computer be connected entered mobile phone reforestation practices by data wire, mobile phone enters downloading mode automatically, and subregion drive installation is on computer, the ROM parameter backed up is derived in NVRAM, and forces the ROM parameter rewriteeing mobile phone.Wherein, it is the platform drive software providing computer and mobile phone inside mobile phone that subregion drives, and the subregion just as MTP, USB, ADB driving of our mobile phone drives file.
Step S6, basis ROM parameter again reload system, complete the recovery of mobile phone.
With reference to Fig. 2, the recovery system of mobile phone of the present invention comprises backup module 1, derivation module 2, configuration module 3, starts module 4, rewrites module 5 and load-on module 6.
Backup module 1, for the NVRAM of initialization mobile phone, makes ROM parameter backup in NVRAM.
Particularly, restarted by nvramcommit order, initialization is carried out to the NVRAM of mobile phone, make the ROM parameter backup of mobile phone on NVRAM.Wherein, ROM parameter comprises partition list information, wireless parameter, customer parameter, operator's informaiton and SIM card information.ROM parameter can directly obtain from the publisher of version.
Because NVRAM feature still can preserve data after power-off, therefore ROM parameter is stored in NVRAM safer.
Derive module 2 for the ROM parameter in NVRAM being derived.
Particularly, the parameter value in NVRAM is derived by utility command nvramshow.
Preferably, also comprise in this step the ROM parameter of derivation is encrypted as MD5 value.
Configuration module 3 is for being configured a certain function of mobile phone or multiple function.
Particularly, by various configurations way to manage, as: web-based management, CLI, SNMP, telnet and tr069 etc., be configured a certain function of mobile phone or multiple function.Wherein, when being configured, by rewriteeing the parameter of some functional areas, make the system parameters indices of mobile phone all normal, and operational excellence state, keep identical running status, so that orientation problem when mobile phone recovery routine also can be made to start.
Start module 4 for when cell phone system collapses, mobile phone is connected with computer, start mobile phone reforestation practices.
Particularly, mobile phone being connected with computer by data wire, starting mobile phone reforestation practices by clicking software push buttons.Wherein, software push buttons is being the computer MMI interface of recovering order based on mobile phone, and text importing recovers mobile phone.
Rewrite module 5 to derive for the ROM parameter will backed up in NVRAM, and force to rewrite mobile phone ROM parameter.
In the present invention, as long as after mobile phone and computer be connected entered mobile phone reforestation practices by data wire, mobile phone enters downloading mode automatically, and subregion drive installation is on computer, the ROM parameter backed up is derived in NVRAM, and forces the ROM parameter rewriteeing mobile phone.Wherein, it is the platform drive software providing computer and mobile phone inside mobile phone that subregion drives, and the subregion just as MTP, USB, ADB driving of our mobile phone drives file.
Load-on module 6, for reloading system according to ROM parameter again, completes the recovery of mobile phone.
In sum, whether the restoration methods of mobile phone of the present invention and system are recovered without the need to look facility item by item, only the ROM configuration parameter of backup need be rewritten to ROM list, and verify with correct ROM initiation value, can start mobile phone and restart repair process; Use text software contrasts, and can complete in a short period of time, the restore cycle is short; Reliability is high, without the need to increasing the extra time, shortening the research and development of products time, reducing costs.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.
Claims (10)
1. a restoration methods for mobile phone, is characterized in that: comprise the following steps:
The NVRAM of step S1, initialization mobile phone, makes ROM parameter backup in NVRAM;
Step S2, by NVRAM ROM parameter derive;
Step S3, a certain function of mobile phone or multiple function to be configured;
Step S4, when cell phone system collapses, mobile phone to be connected with computer, to start mobile phone reforestation practices;
Step S5, the ROM parameter derivation will backed up in NVRAM, and force to rewrite mobile phone ROM parameter;
Step S6, basis ROM parameter again reload system, complete the recovery of mobile phone.
2. the restoration methods of mobile phone according to claim 1, is characterized in that: described ROM parameter comprises partition list information, wireless parameter, customer parameter, operator's informaiton and SIM card information.
3. the restoration methods of mobile phone according to claim 1, is characterized in that: also comprise in described step S2: the ROM parameter of derivation is encrypted as MD5 value.
4. the restoration methods of mobile phone according to claim 1, is characterized in that: in described step S3, is configured a certain function of mobile phone or multiple function by one or more configuration management modes in web-based management, CLI, SNMP, telnet and tr069.
5. the restoration methods of mobile phone according to claim 1, is characterized in that: in described step S4, be connected by mobile phone by data wire with computer, by clicking software push buttons or hardware button starts mobile phone reforestation practices.
6. a recovery system for mobile phone, is characterized in that: comprise backup module, derivation module, configuration module, startup module, rewrite module and load-on module;
Described backup module is used for the NVRAM of initialization mobile phone, makes ROM parameter backup in NVRAM;
Described derivation module is used for the ROM parameter in NVRAM to derive;
Described configuration module is used for being configured a certain function of mobile phone or multiple function;
Described startup module is used for when cell phone system collapses, and is connected by mobile phone with computer, starts mobile phone reforestation practices;
Described rewriting module is used for the ROM parameter backed up in NVRAM to derive, and forces to rewrite mobile phone ROM parameter;
Described load-on module is used for reloading system according to ROM parameter again, completes the recovery of mobile phone.
7. the recovery system of mobile phone according to claim 6, is characterized in that: described ROM parameter comprises partition list information, wireless parameter, customer parameter, operator's informaiton and SIM card information.
8. the recovery system of mobile phone according to claim 6, is characterized in that: described derivation module is also for being encrypted as MD5 value by the ROM parameter of derivation.
9. the recovery system of mobile phone according to claim 6, is characterized in that: described configuration module is configured a certain function of mobile phone or multiple function by one or more configuration management modes in web-based management, CLI, SNMP, telnet and tr069.
10. the recovery system of mobile phone according to claim 6, is characterized in that: described startup module after mobile phone is connected with computer by data wire, by clicking software push buttons or hardware button starts mobile phone reforestation practices.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510778782.6A CN105306731A (en) | 2015-11-13 | 2015-11-13 | Mobile phone recovery method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510778782.6A CN105306731A (en) | 2015-11-13 | 2015-11-13 | Mobile phone recovery method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105306731A true CN105306731A (en) | 2016-02-03 |
Family
ID=55203460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510778782.6A Pending CN105306731A (en) | 2015-11-13 | 2015-11-13 | Mobile phone recovery method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105306731A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897169A (en) * | 2017-02-20 | 2017-06-27 | 北京奇虎科技有限公司 | A kind of data reconstruction method and device |
CN107357614A (en) * | 2017-06-30 | 2017-11-17 | 深圳前海弘稼科技有限公司 | Parameter updating method and device, planting box and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101077027A (en) * | 2004-11-17 | 2007-11-21 | Lm爱立信电话有限公司 | Equipped parameters for changing mobile terminal |
CN101111017A (en) * | 2006-07-19 | 2008-01-23 | 中兴通讯股份有限公司 | Mobile terminal for backup and recovery of software and data and method thereof |
CN101119550A (en) * | 2007-08-24 | 2008-02-06 | 深圳市融合视讯科技有限公司 | Control method of handset used for minors |
CN101309189A (en) * | 2008-06-26 | 2008-11-19 | 宇龙计算机通信科技(深圳)有限公司 | Data processing method, system for mobile terminal and computer, and mobile terminal thereof |
CN101719959A (en) * | 2009-12-14 | 2010-06-02 | 中兴通讯股份有限公司 | Method and device for automatically backing up and recovering key files of mobile terminal |
US20110317839A1 (en) * | 2010-06-24 | 2011-12-29 | Sony Corporation | Information processing device and method, program, and information processing system |
CN102938817A (en) * | 2012-11-14 | 2013-02-20 | 广东欧珀移动通信有限公司 | Storage mount achieving method and device under recovery mode of mobile phone |
-
2015
- 2015-11-13 CN CN201510778782.6A patent/CN105306731A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101077027A (en) * | 2004-11-17 | 2007-11-21 | Lm爱立信电话有限公司 | Equipped parameters for changing mobile terminal |
CN101111017A (en) * | 2006-07-19 | 2008-01-23 | 中兴通讯股份有限公司 | Mobile terminal for backup and recovery of software and data and method thereof |
CN101119550A (en) * | 2007-08-24 | 2008-02-06 | 深圳市融合视讯科技有限公司 | Control method of handset used for minors |
CN101309189A (en) * | 2008-06-26 | 2008-11-19 | 宇龙计算机通信科技(深圳)有限公司 | Data processing method, system for mobile terminal and computer, and mobile terminal thereof |
CN101719959A (en) * | 2009-12-14 | 2010-06-02 | 中兴通讯股份有限公司 | Method and device for automatically backing up and recovering key files of mobile terminal |
US20110317839A1 (en) * | 2010-06-24 | 2011-12-29 | Sony Corporation | Information processing device and method, program, and information processing system |
CN102938817A (en) * | 2012-11-14 | 2013-02-20 | 广东欧珀移动通信有限公司 | Storage mount achieving method and device under recovery mode of mobile phone |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897169A (en) * | 2017-02-20 | 2017-06-27 | 北京奇虎科技有限公司 | A kind of data reconstruction method and device |
CN106897169B (en) * | 2017-02-20 | 2020-03-10 | 北京安云世纪科技有限公司 | Data recovery method and device |
CN107357614A (en) * | 2017-06-30 | 2017-11-17 | 深圳前海弘稼科技有限公司 | Parameter updating method and device, planting box and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI581188B (en) | The way to load the driver and the embedded device | |
CN104185836A (en) | Method and system for verifying proper operation of computing device after system change | |
CN105607972B (en) | A kind of method and device repaired extremely | |
CN102946599A (en) | Method for downloading application programs of mobile terminal and mobile terminal | |
CN104794014A (en) | System operation method and intelligent terminal | |
CN102830999A (en) | Method and device for updating of Android system | |
CN105847088A (en) | Virtual machine performance test system based on cloud service | |
CN104765551A (en) | Method, device and system for lightening mobile terminal screen | |
CN104268033A (en) | Storage method of terminal data, and method and device for restoring default settings of terminal | |
CN102662708A (en) | Linux operating system and display card driving device thereof | |
CN106126424A (en) | A kind of visual automated testing method of script, device and mobile terminal | |
CN104424047A (en) | NVRAM data recovery method and NVRAM data recovery device | |
CN105893127A (en) | Method for starting application and terminal device | |
CN110008106A (en) | Code test method, device and computer readable storage medium | |
CN105306731A (en) | Mobile phone recovery method and system | |
CN103870319B (en) | Information processing method, device and electronic equipment | |
CN106155719A (en) | A kind of method and system utilizing USB device to realize openstack rapid deployment | |
CN109002331A (en) | Starting method and device of touch screen, computer equipment and storage medium | |
CN105138344A (en) | Method and system for randomly generating screensaver according to picture hotness | |
CN109408282B (en) | Application program backup recovery method and device and computer readable storage medium | |
CN108897646B (en) | Switching method of BIOS (basic input output System) chips and substrate management controller | |
CN104182348A (en) | Software test method and device | |
CN109164996A (en) | A kind of realization android is from principal point screen method and Related product | |
CN109710292B (en) | Mobile terminal machine brushing control processing method, mobile terminal and storage medium | |
JP6337956B2 (en) | Control device, control system, control device control method, and control system control 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160203 |