CN104133730A - Method and device for repairing system abnormality and mobile terminal - Google Patents

Method and device for repairing system abnormality and mobile terminal Download PDF

Info

Publication number
CN104133730A
CN104133730A CN201410371162.6A CN201410371162A CN104133730A CN 104133730 A CN104133730 A CN 104133730A CN 201410371162 A CN201410371162 A CN 201410371162A CN 104133730 A CN104133730 A CN 104133730A
Authority
CN
China
Prior art keywords
operating
exception
switched
file
current
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
CN201410371162.6A
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.)
Shenzhen ZTE Mobile Telecom Co Ltd
Original Assignee
Shenzhen ZTE Mobile Telecom 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 Shenzhen ZTE Mobile Telecom Co Ltd filed Critical Shenzhen ZTE Mobile Telecom Co Ltd
Priority to CN201410371162.6A priority Critical patent/CN104133730A/en
Publication of CN104133730A publication Critical patent/CN104133730A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method and device for repairing a system abnormality and a mobile terminal and belongs to the technical field of mobile terminals. The method includes the steps that when the system abnormality of a current operation system is detected, an abnormal running log is stored; the current operation system is switched into a second operation system; the abnormal running log of the operation system before the switch is obtained; according to the abnormal running log, whether a system file of the operation system before the switch is damaged or not is judged; if yes, the operation system before the switch is repaired. By the adoption of the method and device for repairing the system abnormality and the mobile terminal, when the current operation system is abnormal, the current operation system is switched into the second operation system, the abnormal running log of the operation system before the switch is obtained by the second operation system, and if the system file of the operation system before the switch is damaged, the operation system before the switch is repaired; the function that the two operation systems repair each other is achieved, operation is simple and safe, and the user experience degree is increased.

Description

A kind of restorative procedure, device and mobile terminal of system exception
Technical field
The present invention relates to technical field of mobile terminals, relate in particular to a kind of restorative procedure, device and mobile terminal of system exception.
Background technology
Along with the fast development of intelligent mobile terminal and development of Mobile Internet technology, mobile terminal is extensively universal, and function from strength to strength, becomes the indispensable communication of people and Internet access.
There is at present carrying the mobile terminal of dual system, dual system refers to a mobile terminal can install two independently operating systems, can be operating system of the same type, also can be dissimilar operating system, a mobile terminal just can allow user experience two kinds of operating systems, improves user's Experience Degree.Can also classify to two mobile terminals in addition, be for example simple operations system by one of them operating system, the simple functions such as can only make a phone call, send short messages, power consumption is low, and another operating system is multifunctional operating system, all kinds of third party softwares can be installed, experience diversified function, power consumption is larger.User can select operating system according to the dump energy of mobile terminal, realizes the reasonable use to battery, improves the flying power of mobile terminal.Moreover, can also an operating system be set to secure operating system, secrecy is high; Another operating system is set to normal operations system.A mobile terminal just can be realized user's multiple demand, exempts the trouble of carrying two mobile terminals, and great traversal is provided.
But the dual system technology of mobile terminal is ripe not enough at present, exists many problems urgently to be resolved hurrily.In the time that one of them operating system occurs that system exception causes normally starting or moving, how another operating system assists to repair.
Summary of the invention
In view of this, the technical problem to be solved in the present invention is to provide a kind of restorative procedure, device and mobile terminal of system exception, causes the normally technical matters of start-up and operation of system with the system file damage that solves one of them operating system of dual system mobile terminal.
It is as follows that the present invention solves the problems of the technologies described above adopted technical scheme:
According to an aspect of the present invention, the restorative procedure of a kind of system exception providing, is applied to the mobile terminal that comprises two operating systems, and the method comprises the steps:
Current operation system detects after system exception, preserves misoperation daily record;
Current operation system is switched to the second operating system;
Obtain the misoperation daily record of the operating system before switching;
Whether the system file that judges the operating system before switching according to misoperation daily record damages;
If so, repair the operating system before switching.
Preferably, current operation system detects that system exception further comprises:
Detect that system core process loads the frequency of failure and reaches default threshold value, the system that is defined as occurs abnormal.
Preferably, current operation system being switched to the second operating system further comprises:
In current operation system, start resident program, activate the second operating system in dormant state
The operating system of preferably, repairing before switching further comprises:
Obtain the system file title of damage, download corresponding updating file, upgrade the system file damaging.
The operating system of preferably, repairing before switching further comprises:
Data in operating system before backup is switched, the operating system before refitting is switched.
According to another aspect of the present invention, the prosthetic device of a kind of system exception providing, this device comprises:
Preserve module, detect after system exception for current operation system, preserve misoperation daily record;
Handover module, for being switched to current operation system the second operating system;
Acquisition module, for obtaining the misoperation daily record of the operating system before switching;
Whether judge module, damage for the system file that judges the operating system before switching according to misoperation daily record;
Repair module, for repairing the operating system before switching.
Preferably, handover module specifically for:
In current operation system, start resident program, activate the second operating system in dormant state.
Preferably, repair module specifically for:
Obtain the system file title of damage, download corresponding updating file, upgrade the system file damaging.
Preferably, repair module specifically for:
Data in operating system before backup is switched, the operating system before refitting is switched.
According to a further aspect of the invention, a kind of mobile terminal providing, this mobile terminal comprises two operating systems, also comprises the prosthetic device of above-mentioned system exception.
Compared with prior art, restorative procedure, device and the mobile terminal of the system exception of the embodiment of the present invention, comprise two operating systems, current operation system occurs when abnormal, being switched to the second operating system, the second operating system is obtained the misoperation daily record of the operating system before switching, if system exception is former, system file damages, and repairs the operating system before switching, and has realized two functions that operating system is repaired mutually, safety simple to operate, improves user's Experience Degree.
Brief description of the drawings
The process flow diagram of the restorative procedure of the system exception that Fig. 1 provides for the embodiment of the present invention.
The prosthetic device modular structure figure of the system exception that Fig. 2 provides for the embodiment of the present invention.
Embodiment
In order to make technical matters to be solved by this invention, technical scheme and beneficial effect clearer, clear, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Embodiment mono-
Refer to Fig. 1, the restorative procedure of the system exception that the embodiment of the present invention provides, is applied to the mobile terminal that comprises two operating systems, comprises the following steps:
S101, current operation system detect after system exception, preserve misoperation daily record.
Operating system, in startup, switching and operational process, can produce running log.Current operation system oneself detects, and in the time detecting that loading the kernel process frequency of failure reaches default value, determines that system occurs abnormal, preserves the running log under operating system abnormal conditions.This default value is the value of operating system default setting, can be also the value that user arranges.
S102, current operation system is switched to the second operating system.
Particularly, in two operating systems of mobile terminal, be equipped with resident program, this resident program is used for starting another operating system.When current operation system detects system exception, generate the activation instruction of resident program, carry out this instruction, start resident program, activate the second operating system in dormant state, the operating system before dormancy is switched, the switching of complete operation system.
S103, the misoperation daily record of obtaining the operating system before switching.
Particularly, first the second operating system obtain the store path of misoperation daily record, and this store path can obtain from resident program.The second operating system, according to the store path of misoperation daily record, reads the misoperation daily record of the operating system before switching.
S104, judge according to misoperation daily record whether the system file of operating system before switching damages.
In misoperation daily record, find and damage relevant key word with system file, judge whether the system file of the operating system before switching damages.
S105, if so, repair switch before operating system.
Particularly, damage if the abnormal reason of operating system before switching is system file, the second operating system is obtained the system file title of damage, downloads corresponding updating file, upgrades the system file damaging.
The restorative procedure of the system exception of the embodiment of the present invention, be applied to the mobile terminal that comprises two operating systems, current operation system occurs when abnormal, be switched to the second operating system, the second operating system is obtained the misoperation daily record of the operating system before switching, if system exception is former, system file damages, repair the operating system before switching, realized two functions that operating system is repaired mutually, safety simple to operate, improves user's Experience Degree.
Embodiment bis-
Consult equally Fig. 1, the present embodiment two is optimized on the basis of embodiment mono-: in step S105, the operating system of repairing before switching also comprises: the data in the operating system before backup is switched, the operating system before refitting is switched.Data in operating system before switching by the second operating system backup, download the system file needing, the operating system before refitting is switched.
Particularly, Backup Data and refitting operating system can be carried out after the system file reparation damaging is unsuccessful, also can not repair the system file of damage, directly carry out.It may be that renewal is unsuccessful that the system file damaging is repaired unsuccessful, and the operating system that also may upgrade before rear switching still cannot start or normally operation.
Embodiment tri-
Refer to Fig. 2, the prosthetic device of a kind of system exception that the embodiment of the present invention provides comprises with lower module:
Preserve module 10, detect after system exception for current operation system, preserve misoperation daily record.
Particularly, current operation system is in startup, switching and operational process, and oneself detects in real time, in the time system exception being detected, preserves the running log under abnormal conditions.
Handover module 20, for being switched to current operation system the second operating system.
Wherein, handover module 20 specifically for:
In current operation system, start resident program, activate the second operating system in dormant state.
Particularly, in current operation system, generate the activation instruction of resident program, carry out this instruction, activate resident program, start the second operating system in dormant state, dormancy current operation system.
Acquisition module 30, for obtaining the misoperation daily record of the operating system before switching.
Particularly, the second operating system, according to the store path of the misoperation daily record of the operating system before switching, reads misoperation daily record.
Whether judge module 40, damage for the system file that judges the operating system before switching according to misoperation daily record.
In misoperation daily record, find and damage relevant key word with system file, judge whether the system file of the operating system before switching damages.
Repair module 50, for repairing the operating system before switching.
Wherein, repair module 50 specifically for:
Damage if the abnormal reason of operating system before switching is system file, the second operating system is obtained the system file title of damage, downloads corresponding updating file, upgrades the system file damaging.
Wherein, repair module 50 specifically also for:
Data in operating system before backup is switched, the operating system before refitting is switched.
Particularly, when the system file damaging is repaired unsuccessful, upgrading operating system unsuccessful or that upgrade before rear switching still cannot start or normally operation, data in operating system before switching by the second operating system backup, download the system file needing, the operating system before refitting is switched.
Particularly, do not repair the system file of damage, the directly data in the operating system before backup switching, the operating system before refitting is switched.
Correspondingly, the present invention also provides a kind of mobile device, and this mobile terminal comprises two operating systems, and each operating system is equipped with and starts the mobile resident program of another operation, also comprises the prosthetic device of the system exception of above-described embodiment three.
Restorative procedure, device and the mobile terminal of the system exception of above-described embodiment, comprise two operating systems, current operation system occurs when abnormal, be switched to the second operating system, the second operating system is obtained the misoperation daily record of the operating system before switching, if system exception is former, system file damages, repair the operating system before switching, the function that has realized the data interaction of two operating systems and mutually repaired, safety simple to operate, improves user's Experience Degree.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is can control relevant hardware by program to complete, described program can be being stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
With reference to the accompanying drawings of the preferred embodiments of the present invention, not thereby limit to interest field of the present invention above.Those skilled in the art do not depart from the scope and spirit of the present invention, and can have multiple flexible program to realize the present invention, such as can be used for another embodiment and obtain another embodiment as the feature of an embodiment.Allly using any amendment of doing within technical conceive of the present invention, be equal to and replace and improve, all should be within interest field of the present invention.

Claims (10)

1. a restorative procedure for system exception, is applied to the mobile terminal that comprises two operating systems, it is characterized in that, described method comprises the steps:
Current operation system detects after system exception, preserves misoperation daily record;
Current operation system is switched to the second operating system;
Obtain the misoperation daily record of the operating system before switching;
Whether the system file that judges the operating system before switching according to described misoperation daily record damages;
If so, repair the operating system before switching.
2. the restorative procedure of system exception according to claim 1, is characterized in that, described current operation system detects that system exception further comprises:
Detect that system core process loads the frequency of failure and reaches default threshold value, the system that is defined as occurs abnormal.
3. the restorative procedure of system exception according to claim 1, is characterized in that, describedly current operation system is switched to the second operating system further comprises:
In current operation system, start resident program, activate the second operating system in dormant state.
4. the restorative procedure of system exception according to claim 1, is characterized in that, the operating system before described reparation is switched further comprises:
Obtain the system file title of damage, download corresponding updating file, upgrade the system file damaging.
5. the restorative procedure of system exception according to claim 1, is characterized in that, the operating system before described reparation is switched further comprises:
Data in operating system before backup is switched, the operating system before refitting is switched.
6. a prosthetic device for system exception, is characterized in that, described device comprises:
Preserve module, detect after system exception for current operation system, preserve misoperation daily record;
Handover module, for being switched to current operation system the second operating system;
Acquisition module, for obtaining the misoperation daily record of the operating system before switching;
Whether judge module, damage for the system file that judges the operating system before switching according to described misoperation daily record;
Repair module, for repairing the operating system before switching.
7. the prosthetic device of system exception according to claim 6, is characterized in that, described handover module specifically for:
In current operation system, start resident program, activate described the second operating system in dormant state.
8. the prosthetic device of system exception according to claim 6, is characterized in that, described reparation module specifically for:
Obtain the system file title of damage, download corresponding updating file, upgrade the system file damaging.
9. the prosthetic device of system exception according to claim 6, is characterized in that, described reparation module specifically for:
Data in operating system before backup is switched, the operating system before refitting is switched.
10. a mobile terminal, is characterized in that, this mobile terminal comprises two operating systems, also comprises the prosthetic device of the arbitrary described system exception of claim 6-9.
CN201410371162.6A 2014-07-30 2014-07-30 Method and device for repairing system abnormality and mobile terminal Pending CN104133730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410371162.6A CN104133730A (en) 2014-07-30 2014-07-30 Method and device for repairing system abnormality and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410371162.6A CN104133730A (en) 2014-07-30 2014-07-30 Method and device for repairing system abnormality and mobile terminal

Publications (1)

Publication Number Publication Date
CN104133730A true CN104133730A (en) 2014-11-05

Family

ID=51806415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410371162.6A Pending CN104133730A (en) 2014-07-30 2014-07-30 Method and device for repairing system abnormality and mobile terminal

Country Status (1)

Country Link
CN (1) CN104133730A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765655A (en) * 2015-04-17 2015-07-08 宇龙计算机通信科技(深圳)有限公司 System abnormality repair method and device and terminal
CN105025318A (en) * 2015-06-30 2015-11-04 北京奇艺世纪科技有限公司 Feedback method and device for abnormal log information of application program
CN105677409A (en) * 2015-12-31 2016-06-15 中科创达软件股份有限公司 System upgrading method and device
CN106776138A (en) * 2016-12-16 2017-05-31 广东美晨通讯有限公司 Data reconstruction method and Data Recapture Unit
CN107209701A (en) * 2015-01-20 2017-09-26 恩佐有限公司 Roll security platform
CN107423620A (en) * 2017-03-12 2017-12-01 郑州云海信息技术有限公司 The management method and device of storage server service processes
CN107766177A (en) * 2017-10-12 2018-03-06 广东欧珀移动通信有限公司 Start optimization method, device, storage medium and terminal device
CN110221756A (en) * 2019-06-18 2019-09-10 Oppo广东移动通信有限公司 Method, apparatus, terminal and the storage medium of data are applied in processing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314421A (en) * 2010-06-29 2012-01-11 中兴通讯股份有限公司 Self-rescuing method and self rescuing device for file system after being damaged
CN102810073A (en) * 2012-06-13 2012-12-05 天津大学 Background real-time monitoring processing method for data
CN103645972A (en) * 2013-12-17 2014-03-19 广州商科信息科技有限公司 Method and device for automatic recovery of system
CN103902316A (en) * 2012-12-27 2014-07-02 联想(北京)有限公司 Switching method and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314421A (en) * 2010-06-29 2012-01-11 中兴通讯股份有限公司 Self-rescuing method and self rescuing device for file system after being damaged
CN102810073A (en) * 2012-06-13 2012-12-05 天津大学 Background real-time monitoring processing method for data
CN103902316A (en) * 2012-12-27 2014-07-02 联想(北京)有限公司 Switching method and electronic device
CN103645972A (en) * 2013-12-17 2014-03-19 广州商科信息科技有限公司 Method and device for automatic recovery of system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107209701A (en) * 2015-01-20 2017-09-26 恩佐有限公司 Roll security platform
CN107209701B (en) * 2015-01-20 2020-12-15 赛姆普蒂夫技术公司 Rolling safety platform
US10616229B2 (en) 2015-01-20 2020-04-07 Cyemptive Technologies, Inc. Rolling security platform
US10965678B2 (en) 2015-01-20 2021-03-30 Cyemptive Technologies, Inc. Rolling security platform
CN104765655B (en) * 2015-04-17 2018-03-16 宇龙计算机通信科技(深圳)有限公司 System exception restorative procedure, system exception prosthetic device and terminal
CN104765655A (en) * 2015-04-17 2015-07-08 宇龙计算机通信科技(深圳)有限公司 System abnormality repair method and device and terminal
CN105025318A (en) * 2015-06-30 2015-11-04 北京奇艺世纪科技有限公司 Feedback method and device for abnormal log information of application program
CN105025318B (en) * 2015-06-30 2018-07-17 北京奇艺世纪科技有限公司 A kind of feedback method and device of the abnormal log information of application program
CN105677409A (en) * 2015-12-31 2016-06-15 中科创达软件股份有限公司 System upgrading method and device
CN105677409B (en) * 2015-12-31 2019-02-05 中科创达软件股份有限公司 A kind of method for upgrading system and device
CN106776138A (en) * 2016-12-16 2017-05-31 广东美晨通讯有限公司 Data reconstruction method and Data Recapture Unit
CN107423620A (en) * 2017-03-12 2017-12-01 郑州云海信息技术有限公司 The management method and device of storage server service processes
CN107766177A (en) * 2017-10-12 2018-03-06 广东欧珀移动通信有限公司 Start optimization method, device, storage medium and terminal device
CN110221756A (en) * 2019-06-18 2019-09-10 Oppo广东移动通信有限公司 Method, apparatus, terminal and the storage medium of data are applied in processing
CN110221756B (en) * 2019-06-18 2020-08-28 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for processing application data

Similar Documents

Publication Publication Date Title
CN104133730A (en) Method and device for repairing system abnormality and mobile terminal
CN104123208B (en) The restorative procedure of a kind of system exception, device and mobile terminal
CN104156273A (en) System exception repair method, system exception repair device and mobile terminal
CN104951034A (en) Mobile terminal and USB interface mode control method and device thereof
CN104142859A (en) Fast switching method and device for double systems and mobile terminal
CN101146286B (en) A data backup method for mobile terminal
CN103425506A (en) Powering off method, starting up method and communication terminal
CN103430151A (en) Method and apparatus for configuring resource
CN107247647B (en) BBU working state detection method and system in memory system
CN102567135B (en) Refreshing/recovering method and electronic equipment
CN102799481A (en) Method and device for switching modes on terminal
CN102236569A (en) Embedded system and starting method thereof
CN105573837A (en) Method and device for controlling multi-system mobile terminal
CN102722389A (en) Electronic device and starting system thereof
CN105487635A (en) Management method of applications running in background, and terminal
CN101894054A (en) Computer system with damaged BIOS data repairing function and repairing method thereof
CN103179551A (en) Over-the-air upgrading method and over-the-air upgrading system
CN104796967A (en) Wireless network data recovery method and device
CN104348140A (en) Low electric quantity prompting method and electronic equipment
CN105302607A (en) Remote upgrade system
CN100410893C (en) Method and apparatus for master-controlled applied programm of self-repairing built-in equipment
CN103399520B (en) For power failure data access method and the device of programmable logic controller system
CN102572110A (en) Smart phone power-down protection system and method
CN103890713A (en) Apparatus and method for managing register information in a processing system
CN103853981A (en) Method and device for finding out background networking and power consumption rogue software

Legal Events

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

Application publication date: 20141105

RJ01 Rejection of invention patent application after publication