CN102508734A - Operating system recovery method and intelligent equipment - Google Patents

Operating system recovery method and intelligent equipment Download PDF

Info

Publication number
CN102508734A
CN102508734A CN2011102971618A CN201110297161A CN102508734A CN 102508734 A CN102508734 A CN 102508734A CN 2011102971618 A CN2011102971618 A CN 2011102971618A CN 201110297161 A CN201110297161 A CN 201110297161A CN 102508734 A CN102508734 A CN 102508734A
Authority
CN
China
Prior art keywords
field value
attribute field
operating system
preset attribute
preset
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.)
Granted
Application number
CN2011102971618A
Other languages
Chinese (zh)
Other versions
CN102508734B (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201110297161.8A priority Critical patent/CN102508734B/en
Publication of CN102508734A publication Critical patent/CN102508734A/en
Application granted granted Critical
Publication of CN102508734B publication Critical patent/CN102508734B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is applicable to the technical field of computers, and provides an operating system recovery method and intelligent equipment. The method includes steps: detecting a preset attribute field value; judging whether the current operating system is abnormal or not according to the preset attribute field value; restarting the current system to enter a recovery mode when the current operating system is abnormal; and sending system recovery requests to a server in the recovery mode to enable the server to return corresponding operating system recovery files according to the system recovery requests, and recovering the operating system according to the returned operating system recovery files. The intelligent equipment can automatically detect abnormal conditions during starting and operation and recover the system according to the operating system recovery files acquired from the server, no standby system is needed and a user does not need to involve in the recovery process, cost of door-to-door service is reduced for maintenance personnel, and intelligent abnormal detection and recovery of the system are realized.

Description

Operating system recovery method and smart machine
Technical field
The invention belongs to communication technical field, relate in particular to a kind of operating system recovery method and smart machine.
Background technology
The continuous development of Along with computer technology, various operating systems continue to bring out, and tall and erect (Android) operating system of peace is because its intercommunity and open characteristics; Brought the service of a lot of high-qualitys experience to the user; Such as, under the Android operating system platform, can develop and use the application program of various characteristics; Therefore, adopt the smart machine (smart mobile phone, TV) of Android system more and more at present.
The Android smart machine allows the user that the Android application is installed voluntarily; And the application and the system of the intelligent terminal of can upgrading; But along with the increase of installation application, cause the unusual possibility of operating system also to improve, like the phenomenon that start can't start or run-time exception is restarted;, operating system need the user to have standby system just possibly recover after occurring unusually; Often the user does not have the custom of standby system, even perhaps backed up operating system, the operation of user in making rejuvenation be more complicated also.
Therefore, prior art is carried out in the processing procedure the operating system of Android smart machine unusually, if the user selects self backup operation system, then because the complicacy of rejuvenation can make that user experience is relatively poor.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of operating system recovery method; Being intended to solve prior art carries out in the processing procedure to the operating system of Android smart machine unusually; If the user selects self backup operation system; Then because the complicacy of rejuvenation, can make the technical matters that user experience is relatively poor.
The embodiment of the invention is achieved in that a kind of operating system recovery method, and said method comprises the steps:
Detect preset attribute field value, judge according to said preset attribute field value whether current operation system occurs unusually;
When judging that then restarting current system and getting into the recovery pattern when unusual appears in said current operation system;
Under said recovery pattern,,, and operating system is recovered to handle according to the said operating system recovery file that returns so that server returns the relative operation system recovery file according to said system recovery request to server transmitting system recovery request.
Further, the attribute field value is preset in said detection, judges according to said preset attribute field value whether current operation system unusual step occurs and specifically comprise:
When preset timing time arrived, whether the decision operation system starts finished;
If judging that said operating system is not activated finishes, then detect preset attribute field value, judge that further said preset attribute field value is whether in specialized range;
When judging that said preset attribute field value in specialized range, then adds a processing to said preset attribute field value, it is said when preset timing time arrives to return execution, and whether the decision operation system starts the step that finishes;
When judging said preset attribute field value not in specialized range, it is unusual to judge that then said operating system occurs.
Further, the attribute field value is preset in said detection, judges according to said preset attribute field value whether current operation system unusual step occurs and be specially:
Release time under the monitoring current operation system after the system service unusually;
When release time during greater than preset reboot time, then detect preset attribute field value, judge that further said preset attribute field value is whether in specialized range;
When judging that said preset attribute field value in specialized range, then adds a processing to said preset attribute field value, return the step of carrying out the release time after the system service unusually under the monitoring current operation system;
When judging said preset attribute field value not in specialized range, it is unusual to judge that then said operating system occurs.
Further; Said to server transmitting system recovery request; So that server returns the relative operation system recovery file according to said system recovery request, and according to the said operating system recovery file that returns operating system is recovered processed steps and is specially:
To the information of server transmitting system recovery request and current smart machine, so that said server end returns the download address of relative operation system recovery file;
Receive the download address of the said operating system recovery file of said server feedback;
According to the download address of said operating system recovery file, from the corresponding operating system recovery file of said downloaded;
According to the operating system recovery file of said download, operating system is recovered to handle.
Further, the file of said operating system recovery file for the wrong file in the operating system is recovered, the file that perhaps the whole operation system is recovered.
Further, the information of said current smart machine comprises the unit type information of the operating system version information and the smart machine of smart machine.
The embodiment of the invention also provides another kind of smart machine, and said smart machine comprises:
Abnormal deciding means is used to detect preset attribute field value, judges according to said preset attribute field value whether current operation system occurs unusually;
Restart the unit, be used for when judging that then restarting current system and getting into the recovery pattern when unusual appears in said current operation system;
Recovery unit; Be used under said recovery pattern; To server transmitting system recovery request,, and operating system is recovered to handle according to the said operating system recovery file that returns so that server returns the relative operation system recovery file according to said system recovery request.
Further, said abnormal deciding means comprises:
First judge module is used for when preset timing time arrives, and whether the decision operation system starts finishes;
Second judge module is used for then detecting preset attribute field value if first judge module is judged that said operating system is not activated and finished; Further judge that said preset attribute field value is whether in specialized range; When judging that said preset attribute field value in specialized range, then adds a processing to said preset attribute field value, and starts first judge module; When judging said preset attribute field value not in specialized range, it is unusual to judge that then said operating system occurs.
Further, said abnormal deciding means also comprises:
First monitoring modular is used for if first judge module judges that said os starting finishes, and then monitors the release time after the system service unusually under the current operation system;
The 3rd judge module; Be used for when first monitoring module monitors release time greater than preset reboot time; Then detect preset attribute field value, judge that further said preset attribute field value is whether in specialized range, when judging that said preset attribute field value is in specialized range; Then said preset attribute field value is added a processing; Trigger first monitoring modular and carry out the step of the release time after the system service unusually under the monitoring current operation system, when judging said preset attribute field value not in specialized range, it is unusual to judge that then said operating system occurs.
Further, said abnormal deciding means comprises:
Second monitoring modular is used to monitor the release time after the system service unusually under the current operation system;
The 4th judge module; Be used for when second monitoring module monitors release time during greater than preset reboot time; Then detect preset attribute field value, judge that further said preset attribute field value is whether in specialized range, when judging that said preset attribute field value is in specialized range; Then said preset attribute field value is added a processing; Trigger second monitoring modular and carry out the step of the release time after the system service unusually under the monitoring current operation system, when judging said preset attribute field value not in specialized range, it is unusual to judge that then said operating system occurs.
Further, said recovery unit comprises:
Sending module is used for the information to server transmitting system recovery request and current smart machine, so that said server end returns the download address of relative operation system recovery file;
Receiver module is used to receive the download address of the said operating system recovery file of said server feedback;
Download module is used for the download address according to said operating system recovery file, from the corresponding operating system recovery file of said downloaded;
Recover module, be used for operating system recovery file, operating system is recovered to handle according to said download.
In embodiments of the present invention, smart machine can judge whether current operation system occurs unusually according to preset attribute field value, for example; Abnormal conditions when start and operation; When detect unusual after, then to server transmitting system recovery request so that server according to system recovery request return the relative operation system recovery file; And operating system is recovered to handle according to the operating system recovery file that returns; Thereby need not the user ID system and also need not the user and participate in rejuvenation, reduced maintenance personal's cost of making house calls, realized the intellectuality that system exception detects and recovers.
Description of drawings
Fig. 1 is the realization flow figure of the operating system recovery method that provides of the embodiment of the invention one;
Fig. 2 is the realization flow figure of the operating system recovery method that provides of the embodiment of the invention two;
Fig. 3 is the realization flow figure of the operating system recovery method that provides of the embodiment of the invention three;
Fig. 4 is the realization flow figure of the operating system recovery method that provides of the embodiment of the invention four;
Fig. 5 is the structural drawing of the smart machine that provides of the embodiment of the invention five;
Fig. 6 is the structural drawing of the smart machine that provides of the embodiment of the invention six;
Fig. 7 is the structural drawing of the smart machine that provides of the embodiment of the invention seven.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Below in conjunction with specific embodiment realization of the present invention is described in detail:
Embodiment one
The application scenarios of the embodiment of the invention can be that (wherein, client can be based on the smart machine of Android operating system, for example smart mobile phone, intelligent television etc. for C/S, the network system that Client/Server) constitutes by client end/server end.Below describe through the rejuvenation of specific embodiment recovery system, Fig. 1 shows the realization flow figure of the operating system recovery method that the embodiment of the invention one provides, details are as follows:
In step S101, smart machine detects preset attribute field value, judges according to preset attribute field value whether current operation system occurs unusually.
When the android system initialization, Android will distribute a shared drive district to come memory attribute, and attribute is that the overall situation is visible in total system, and each attribute all has a title and value, be used for the information of the message exchange between register system setting or the process.
In the Android property system, increase an attribute field property.BootComplete in the embodiment of the invention; This attribute field value has reflected whether operating system is unusual; The embodiment of the invention detects the attribute field value of this property.BootComplete, judges according to this attribute field value whether current operating system occurs unusually.If, execution in step S102 then, otherwise Preset Time detects preset attribute field value once more or withdraws from the operating system recovery process at the interval.
In step S102, when judging that then restarting current system and getting into the recovery pattern when unusual appears in current operation system.
In embodiments of the present invention; The recovery pattern that current operation system occurs getting into when unusual can be and the parallel mini system that exists of main system; Be stored in different partition holdings; Recovery pattern and normal boot-strap pattern can be by same boot guiding, and the guiding main system starts entering normal boot-strap pattern when needs normally start the operating system, and guiding gets into the recovery pattern when the needs recovery system.
In step S103; Under the recovery pattern; Smart machine is to server transmitting system recovery request so that server according to system recovery request return the relative operation system recovery file, and operating system is recovered to handle according to the operating system recovery file that returns.
In the present embodiment, the operating system recovery file that the server in the communication network returns can be the file that the wrong file in the operating system is recovered, the file that perhaps the whole operation system is recovered, and rejuvenation specifically can be replaced for file.
In the embodiment of the invention, smart machine can judge whether current operation system occurs unusually according to preset attribute field value, for example; Abnormal conditions when start and operation are after detecting unusually, then to server transmitting system recovery request; So that server according to system recovery request return the relative operation system recovery file; And according to the operating system recovery file that returns operating system is recovered to handle, thereby, need not the user ID system and also need not the user and participate in rejuvenation; Reduce maintenance personal's cost of making house calls, realized the intellectuality that system exception detects and recovers.
Further, in the operating system recovery method that the embodiment of the invention provides, the process of execution in step S103 specifically comprises:
1, smart machine is to server transmitting system recovery request, so that server end returns the download address of relative operation system recovery file.
In the present embodiment, in the transmitting system recovery request, the information that can also send smart machine is to server, and the information of smart machine comprises the information such as unit type of the operating system version information and the smart machine of smart machine.In the present embodiment, smart machine can report recovery request to server through the http agreement, and with information reporting servers such as current operating system version and hardware versions.
2, server is according to the system recovery request, and the download address of sending corresponding operating system recovery file is to smart machine.
Concrete, server can be according to the system recovery request that receives and the information of smart machine, searches the download address with the operating system recovery file of smart machine system matches, and concurrent serving stated the download address of searching to smart machine.
3, the download address of the operating system recovery file of smart machine reception server transmission.
4, smart machine is according to the download address of operating system recovery file, from the corresponding operating system recovery file of downloaded.
In the present embodiment; Server can be according to the download request of smart machine; Send corresponding operating system recovery file to smart machine; For example, if smart machine information shows that the version of operating system of the use of this smart machine is 1.0 versions, then to the system recovery file of 1.0 versions of this smart machine send server storage.
5, smart machine recovers to handle to operating system according to the operating system recovery file of downloading.
Need to prove; Server end backup intelligence operation of equipment system; Can obtain operating system with the operating system of convenient smart machine from server when unusual recovers; But because the operating system version that different intelligent equipment uses maybe be different, be the existing whole operating system versions of client, also can distinguish simultaneously information such as the unit type of custom end intelligent equipment, ardware model numbers so server should back up.
Embodiment two
Below through occurring the processing procedure of system exception in the specific embodiment description operation system boot process, referring to Fig. 2, Fig. 2 shows the realization flow figure of the operating system recovery method that the embodiment of the invention two provides, details are as follows:
In step S201, when preset timing time arrived, whether the decision operation system starts finished.
In embodiments of the present invention, above-mentioned preset timing time can be the average start-up period time of system, perhaps also can be the time of setting according to actual needs, this not in order to the restriction the present invention.
In step S202, if when the preset time arrives, the decision operation system is not activated to finish and then detects preset attribute field value, judges that further preset attribute field value is whether in specialized range.
In the present embodiment, execution in step S202 first, preset attribute field value will can not surpass the scope of regulation, then execution in step S203.If during the follow-up S202 of execution in step once more, preset attribute field value possibly surpass the scope of regulation, surpass under the situation of preset range volume, and the decision operation system occurs unusual, execution in step S204.Wherein, the specialized range of preset attribute field value can be provided with as required, and for example specialized range can be 0-2.
In step S203, preset attribute field value is added a processing, and return execution in step S201.
Concrete, after returning execution in step S201, continue when preset timing time arrives; Whether the decision operation system starts finishes, if through behind two or more preset timing times, operating system still is not activated and finishes; It is unusual to explain that then current operation system occurs, and preset simultaneously attribute field value will surpass specialized range through repeatedly adding after 1; And then triggering system rejuvenation, restart system and get into the recovery pattern.
In step S204, the decision system occurs unusual.
In step S205, when judging that then restarting current system and getting into the recovery pattern when unusual appears in current operation system.
In step S206, under the recovery pattern, to server transmitting system recovery request so that server according to system recovery request return the relative operation system recovery file, and operating system is recovered to handle according to the operating system recovery file that returns.
In the present embodiment, the implementation of the step S102-S103 in the execution of step S205-S206 and the foregoing description one is similar, and details are referring to the description of the foregoing description one.
In embodiments of the present invention; The monitoring system on time; If when the preset time arrived, operating system was not activated and finishes, then judge through monitoring preset attribute field value whether system occurs unusually; When judging that current operation system occurs when unusual, then restart the back and get into the recovery pattern and recover.The embodiment of the invention can be implemented under the situation of system start-up time anomaly carries out system recovery, and need not the user and participate in rejuvenation, has reduced maintenance personal's cost of making house calls.Simultaneously; Present embodiment through repeatedly judge and to the judgement of preset attribute field value accurately decision operation system boot process occur unusually; Avoid judging that it is triggering system rejuvenation that the on time surpasses preset timing time for the first time; Reduce unnecessary system recovery, better adaptability.
Embodiment three
Fig. 3 shows the realization flow figure of the operating system recovery method that the embodiment of the invention three provides, and details are as follows:
In step S301, when preset timing time arrived, whether the decision operation system starts finished.
In the present embodiment, when preset timing time arrives, if the decision operation system is not activated and finishes, execution in step S302 then, further whether the decision operation system occurs unusually; If decision operation system start-up finishes, then execution in step S305 monitors the release time after the system service unusually under the current operation system.
In step S302, detect preset attribute field value, judge that further preset attribute field value is whether in specialized range.
In step S303, preset attribute field value is added a processing, and return execution in step S301.
In step S304, the decision system occurs unusual, then execution in step S309.
In the present embodiment, the implementation of the step S202-S204 in the implementation of step S302-S304 and the foregoing description two is similar, and details are referring to the description of the foregoing description two.
In step S305, the release time under the monitoring current operation system after the system service unusually.
In the present embodiment, after system start-up finished, smart machine was monitored the service of current system start-up time after unusual.Wherein, the service of current system can comprise servicemanager service, zygote service (the servicemanager service is to be mutually related with the zygote service) etc.
If current operation system less than preset reboot time, then is described the release time under the monitoring current operation system after the system service unusually normally restarts.
In step S306, when release time greater than preset reboot time, then detect preset attribute field value, judge that further preset attribute field value is whether in specialized range.
In the present embodiment, if system service then detects preset attribute field greater than preset reboot time the release time after unusual under the monitoring current operation system, further judge and preset the attribute field value whether in specialized range.
If the preset attribute field value of judgement in specialized range, is then explained current operation system and still can normally be moved, do not need to carry out immediately rejuvenation, then execution in step S307; If judge that preset attribute field value is the overshoot scope, execution in step S308 then, the decision operation system occurs unusual, and gets into the recovery pattern.Wherein, preset reboot time can be confirmed according to system service the normal averaging time that starts.
In step S307, then preset attribute field value is added a processing.
In the present embodiment, to preset attribute field value add one handle after, return execution in step S305, wait for that the system service that monitors other next time is unusual after, judge preset attribute field value again.
In step S308, the decision system occurs unusual, then execution in step S309.
In step S309, when judging that then restarting current system and getting into the recovery pattern when unusual appears in current operation system.
In step S310, under the recovery pattern, to server transmitting system recovery request so that server according to system recovery request return the relative operation system recovery file, and operating system is recovered to handle according to the operating system recovery file that returns.
In the present embodiment, the implementation of the step S102-S103 in the execution of step S309-S310 and the foregoing description one is similar, and details are referring to the description of the foregoing description one.
In embodiments of the present invention; When preset timing time arrives; If os starting finishes, the service of then further monitoring in the judgement system operational process is unusual, and the release time of the service in current system is during greater than preset reboot time; Further judge preset attribute field value whether in specialized range, so in preset attribute field value above triggering system rejuvenation under the situation of specialized range.The embodiment of the invention can realize carrying out timely unusually, recovering automatically in starting operating system and the operational process considered the situation that operating system possibly occur, better adaptability comprehensively.
Embodiment four
Below unusual rejuvenation occurs through service in the specific embodiment description operation system operational process, as shown in Figure 4, Fig. 4 shows the realization flow figure of the operating system recovery method that the embodiment of the invention four provides, and details are as follows:
In step S401, the release time under the monitoring current operation system after the system service unusually.
In the present embodiment, after system start-up finished, smart machine was monitored the service of current system start-up time after unusual.Wherein, the service of current system can comprise servicemanager service, zygote service (the servicemanager service is to be mutually related with the zygote service) etc.
If current operation system less than preset reboot time, then is described the release time under the monitoring current operation system after the system service unusually normally restarts.
In step S402, when monitoring release time greater than preset reboot time, then detect preset attribute field value, further judge and preset the attribute field value whether in specialized range.
In the present embodiment, if system service then detects preset attribute field greater than preset reboot time the release time after unusual under the monitoring current operation system, further judge and preset the attribute field value whether in specialized range.
If the preset attribute field value of judgement in specialized range, is then explained current operation system and can be recovered normal operation, do not need to carry out immediately rejuvenation, then execution in step S403;
If judge that preset attribute field value is the overshoot scope, execution in step S404 then, the decision operation system occurs unusual.Wherein, preset reboot time can be confirmed according to system service the normal averaging time that starts.
In step S403, then preset attribute field value is added a processing.
In the present embodiment, to preset attribute field value add one handle after, return execution in step S401, treat to monitor next time another system service unusual after, judge preset attribute field value again.
In step S404, the decision system occurs unusual.
In step S405, when judging that then restarting current system and getting into the recovery pattern when unusual appears in current operation system.
In step S406, under the recovery pattern, to server transmitting system recovery request so that server according to system recovery request return the relative operation system recovery file, and operating system is recovered to handle according to the operating system recovery file that returns.
In the present embodiment, the implementation of the step S102-S103 in the execution of step S405-S406 and the foregoing description one is similar, and details are referring to the description of the foregoing description one.
In embodiments of the present invention; Release time under the monitoring current operation system after the system service unusually; When monitoring release time greater than preset reboot time; Then, when judging that current operation system operation appearance is unusual, get into the recovery pattern after then restarting and recover through judging whether preset attribute field value decision operation system operational process occurs unusually.The system recovery method that the embodiment of the invention provides can be realized need not the user ID system and also, also need not the rejuvenation that the user participates in; Reduced maintenance personal's cost of making house calls; Simultaneously, through repeatedly judge and to the judgement of preset attribute field value accurately occur in the decision operation system operational process unusual, to avoid judging that for the first time monitoring release time is triggering system rejuvenation greater than preset reboot time; Reduce unnecessary system recovery, better adaptability.
Embodiment five
Fig. 5 shows the structural drawing of the smart machine that the embodiment of the invention five provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention, and this smart machine can be intelligent television, smart mobile phone etc.
The intelligent apparatus of the embodiment of the invention comprises abnormal deciding means 51, restarts unit 52 and recovery unit 53.
Abnormal deciding means 51 is used to detect preset attribute field value, judges according to said preset attribute field value whether current operation system occurs unusually.
Restarting unit 52 is used for judging that when abnormal deciding means 51 then restarting current system and getting into the recovery pattern when unusual appears in said current operation system.
Recovery unit 53 is under said recovery pattern; To server transmitting system recovery request; So that server returns the relative operation system recovery file according to said system recovery request, and operating system is recovered to handle according to the said operating system recovery file that returns.
Further, the recovery unit in the present embodiment 53 comprises: sending module 531, receiver module 532, download module 533 and recovery module 534.
Sending module 531 is used for the information to server transmitting system recovery request and current smart machine, so that said server end returns the download address of relative operation system recovery file.
Receiver module 532 is used to receive the download address of the said operating system recovery file of said server feedback.
Download module 533 is used for the download address according to said operating system recovery file, from the corresponding operating system recovery file of said downloaded.
Recover module 534 and be used for operating system recovery file, operating system is recovered to handle according to said download.
Among the method embodiment one that the smart machine that the embodiment of the invention provides can use in aforementioned correspondence, details repeat no more at this referring to the description of the foregoing description one.In the present embodiment, the smart machine of client can judge whether current operation system occurs unusually according to preset attribute field value, for example; Abnormal conditions when start and operation; When detect unusual after, then to server transmitting system recovery request so that server according to system recovery request return the relative operation system recovery file; And operating system is recovered to handle according to the operating system recovery file that returns; Need not the user ID system and also need not the user and participate in rejuvenation, reduced maintenance personal's cost of making house calls, realized the intellectuality that system exception detects and recovers.
Embodiment six
Fig. 6 shows the structural drawing of the smart machine that the embodiment of the invention six provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention, and this smart machine can be intelligent television, smart mobile phone etc.
The intelligent apparatus of the embodiment of the invention comprises abnormal deciding means 61, restarts unit 62 and recovery unit 63.
Abnormal deciding means 61 in the present embodiment comprises: first judge module 611 and second judge module 612.
First judge module 611 is used for when preset timing time arrives, and whether the decision operation system starts finishes;
Second judge module 612 is used for if the said operating system of first judge module 611 judgements is not activated to finish; Then detect preset attribute field value; Further judge that said preset attribute field value is whether in specialized range; When judging that said preset attribute field value in specialized range, then adds a processing to said preset attribute field value, trigger first judge module 611 decision operation system when preset timing time arrives then and whether start and finish.
Further, the abnormal deciding means in the present embodiment 61 can also comprise: first monitoring modular 613 and the 3rd judge module 614.
First monitoring modular 613 is used for then monitoring the release time after the system service unusually under the current operation system if first judge module 611 judges that said os starting finishes.
The 3rd judge module 614 is used for monitoring release time greater than preset reboot time when first monitoring modular 613; Then detect preset attribute field value; Further judge that said preset attribute field value is whether in specialized range; When judging that said preset attribute field value in specialized range, then adds a processing to said preset attribute field value, trigger first monitoring modular 613 and carry out the step of the release time after the system service unusually under the monitoring current operation system; When judging said preset attribute field value not in specialized range, it is unusual to judge that then said operating system occurs.
Among the method embodiment two, three that the smart machine that the embodiment of the invention provides can use in aforementioned correspondence, details repeat no more at this referring to the description of the foregoing description two, three.
Embodiment seven
Fig. 7 shows the structural drawing of the smart machine that the embodiment of the invention seven provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention, and this smart machine can be smart mobile phone, intelligent television etc.
The intelligent apparatus of the embodiment of the invention comprises abnormal deciding means 71, restarts unit 72 and recovery unit 73.
Abnormal deciding means 73 in the present embodiment comprises: second monitoring modular 731 and the 4th judge module 732.
Second monitoring modular 731 is used to monitor the release time after the system service unusually under the current operation system;
The 4th judge module 732 was used for when second monitoring modular 731 monitoring release time during greater than preset reboot time; Then detect preset attribute field value; Further judge that said preset attribute field value is whether in specialized range; When judging that said preset attribute field value in specialized range, then adds a processing to said preset attribute field value, trigger second monitoring modular 731 and carry out the step of the release time after the system service unusually under the monitoring current operation system; When judging said preset attribute field value not in specialized range, it is unusual to judge that then said operating system occurs.
Among the method embodiment four that the smart machine that the embodiment of the invention provides can use in aforementioned correspondence, details repeat no more at this referring to the description of the foregoing description four.
It should be noted that in said apparatus and the system embodiment that each included unit is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize function corresponding; In addition, the concrete title of each functional unit also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition; One of ordinary skill in the art will appreciate that all or part of step that realizes in above-mentioned each embodiment method is to instruct relevant hardware to accomplish through program; Corresponding program can be stored in the computer read/write memory medium; Described storage medium is like ROM/RAM, disk or CD etc.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. an operating system recovery method is characterized in that, said method comprises the steps:
Detect preset attribute field value, judge according to said preset attribute field value whether current operation system occurs unusually;
When judging that then restarting current system and getting into the recovery pattern when unusual appears in said current operation system;
Under said recovery pattern,,, and operating system is recovered to handle according to the said operating system recovery file that returns so that server returns the relative operation system recovery file according to said system recovery request to server transmitting system recovery request.
2. the method for claim 1 is characterized in that, the attribute field value is preset in said detection, judges according to said preset attribute field value whether current operation system unusual step occurs and specifically comprise:
When preset timing time arrived, whether the decision operation system starts finished;
If judging that said operating system is not activated finishes, then detect preset attribute field value, judge that further said preset attribute field value is whether in specialized range;
When judging that said preset attribute field value in specialized range, then adds a processing to said preset attribute field value, it is said when preset timing time arrives to return execution, and whether the decision operation system starts the step that finishes;
When judging said preset attribute field value not in specialized range, it is unusual to judge that then said operating system occurs.
3. method as claimed in claim 2 is characterized in that said method also comprises the steps:
If judge that said os starting finishes, then monitor the release time after the system service unusually under the current operation system;
When release time greater than preset reboot time, then detect preset attribute field value, judge that further said preset attribute field value is whether in specialized range;
When judging that said preset attribute field value in specialized range, then adds a processing to said preset attribute field value, return the step of carrying out the release time after the system service unusually under the monitoring current operation system;
When judging said preset attribute field value not in specialized range, it is unusual to judge that then said operating system occurs.
4. the method for claim 1 is characterized in that, the attribute field value is preset in said detection, judges according to said preset attribute field value whether current operation system unusual step occurs and be specially:
Release time under the monitoring current operation system after the system service unusually;
When release time during greater than preset reboot time, then detect preset attribute field value, judge that further said preset attribute field value is whether in specialized range;
When judging that said preset attribute field value in specialized range, then adds a processing to said preset attribute field value, return the step of carrying out the release time after the system service unusually under the monitoring current operation system;
When judging said preset attribute field value not in specialized range, it is unusual to judge that then said operating system occurs.
5. the method for claim 1; It is characterized in that; Said to server transmitting system recovery request; So that server returns the relative operation system recovery file according to said system recovery request, and according to the said operating system recovery file that returns operating system is recovered processed steps and is specially:
To the information of server transmitting system recovery request and current smart machine, so that said server end returns the download address of relative operation system recovery file;
Receive the download address of the said operating system recovery file of said server feedback;
According to the download address of said operating system recovery file, from the corresponding operating system recovery file of said downloaded;
According to the operating system recovery file of said download, operating system is recovered to handle.
6. method as claimed in claim 5 is characterized in that, the information of said current smart machine comprises the unit type information of the operating system version information and the smart machine of smart machine.
7. the method for claim 1 is characterized in that, the file of said operating system recovery file for the wrong file in the operating system is recovered, the file that perhaps the whole operation system is recovered.
8. a smart machine is characterized in that, said smart machine comprises:
Abnormal deciding means is used to detect preset attribute field value, judges according to said preset attribute field value whether current operation system occurs unusually;
Restart the unit, be used for when judging that then restarting current system and getting into the recovery pattern when unusual appears in said current operation system;
Recovery unit; Be used under said recovery pattern; To server transmitting system recovery request,, and operating system is recovered to handle according to the said operating system recovery file that returns so that server returns the relative operation system recovery file according to said system recovery request.
9. smart machine as claimed in claim 8 is characterized in that, said abnormal deciding means comprises:
First judge module is used for when preset timing time arrives, and whether the decision operation system starts finishes;
Second judge module; Be used for first judge module and judge that said operating system is not activated when finishing; Then detect preset attribute field value, judge that further said preset attribute field value is whether in specialized range, when judging that said preset attribute field value is in specialized range; Then said preset attribute field value is added a processing, trigger first judge module decision operation system when preset timing time arrives then and whether start and finish.
10. smart machine as claimed in claim 9 is characterized in that, said abnormal deciding means also comprises:
First monitoring modular is used for if first judge module judges that said os starting finishes, and then monitors the release time after the system service unusually under the current operation system;
The 3rd judge module; Be used for when first monitoring module monitors release time greater than preset reboot time; Then detect preset attribute field value, judge that further said preset attribute field value is whether in specialized range, when judging that said preset attribute field value is in specialized range; Then said preset attribute field value is added a processing; Trigger first monitoring modular and carry out the step of the release time after the system service unusually under the monitoring current operation system, when judging said preset attribute field value not in specialized range, it is unusual to judge that then said operating system occurs.
11. smart machine as claimed in claim 8 is characterized in that, said abnormal deciding means comprises:
Second monitoring modular is used to monitor the release time after the system service unusually under the current operation system;
The 4th judge module; Be used for when second monitoring module monitors release time during greater than preset reboot time; Then detect preset attribute field value, judge that further said preset attribute field value is whether in specialized range, when judging that said preset attribute field value is in specialized range; Then said preset attribute field value is added a processing; Trigger second monitoring modular and carry out the step of the release time after the system service unusually under the monitoring current operation system, when judging said preset attribute field value not in specialized range, it is unusual to judge that then said operating system occurs.
12. smart machine as claimed in claim 8 is characterized in that, said recovery unit comprises:
Sending module is used for the information to server transmitting system recovery request and current smart machine, so that said server end returns the download address of relative operation system recovery file;
Receiver module is used to receive the download address of the said operating system recovery file of said server feedback;
Download module is used for the download address according to said operating system recovery file, from the corresponding operating system recovery file of said downloaded;
Recover module, be used for operating system recovery file, operating system is recovered to handle according to said download.
CN201110297161.8A 2011-09-30 2011-09-30 Operating system recovery method and intelligent equipment Expired - Fee Related CN102508734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110297161.8A CN102508734B (en) 2011-09-30 2011-09-30 Operating system recovery method and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110297161.8A CN102508734B (en) 2011-09-30 2011-09-30 Operating system recovery method and intelligent equipment

Publications (2)

Publication Number Publication Date
CN102508734A true CN102508734A (en) 2012-06-20
CN102508734B CN102508734B (en) 2015-06-03

Family

ID=46220826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110297161.8A Expired - Fee Related CN102508734B (en) 2011-09-30 2011-09-30 Operating system recovery method and intelligent equipment

Country Status (1)

Country Link
CN (1) CN102508734B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513996A (en) * 2012-06-21 2014-01-15 Tcl集团股份有限公司 Android system recovery method of terminal equipment and terminal equipment
CN103970564A (en) * 2014-04-23 2014-08-06 京信通信系统(中国)有限公司 Automatic repairing and upgrading method of embedded operating system and embedded operating system with automatic repairing and upgrading functions
CN105099765A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Data updating method and device
CN105373440A (en) * 2015-11-02 2016-03-02 努比亚技术有限公司 Fault detection and recovery apparatus and method
CN105607972A (en) * 2015-12-28 2016-05-25 Tcl集团股份有限公司 Abnormity remedying method and device
CN105634806A (en) * 2015-12-29 2016-06-01 深圳市瑞铭无限科技有限公司 Updating method and apparatus for intelligent terminal APP
CN106411583A (en) * 2016-09-21 2017-02-15 努比亚技术有限公司 Application server repairing device and method
CN108205480A (en) * 2017-12-28 2018-06-26 问众智能信息科技(北京)有限公司 Abnormality eliminating method, device, intelligent back vision mirror and storage medium
CN110825565A (en) * 2019-11-06 2020-02-21 珠海格力电器股份有限公司 Control method and system for restoring factory settings of electrical appliance
CN111078471A (en) * 2019-12-06 2020-04-28 深圳创维-Rgb电子有限公司 System fault recovery method and device for display device and computer storage medium
CN113806139A (en) * 2021-06-15 2021-12-17 荣耀终端有限公司 Operating system recovery method, operating system recovery device, storage medium and computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1299483A (en) * 1998-04-30 2001-06-13 英特尔公司 Initializing and restarting operating systems
CN1521630A (en) * 2003-02-12 2004-08-18 微星科技股份有限公司 Method and apparatus for restoring mapping files in system embedded electronic device
CN1881944A (en) * 2005-06-03 2006-12-20 Qnx软件操作系统德国有限公司 Improved distributed kernel operating system
US20090097400A1 (en) * 2004-12-22 2009-04-16 Nokia Siemens Networks Gmbh & Co. Kg Method of Restoring a Ring System

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1299483A (en) * 1998-04-30 2001-06-13 英特尔公司 Initializing and restarting operating systems
CN1521630A (en) * 2003-02-12 2004-08-18 微星科技股份有限公司 Method and apparatus for restoring mapping files in system embedded electronic device
US20090097400A1 (en) * 2004-12-22 2009-04-16 Nokia Siemens Networks Gmbh & Co. Kg Method of Restoring a Ring System
CN1881944A (en) * 2005-06-03 2006-12-20 Qnx软件操作系统德国有限公司 Improved distributed kernel operating system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513996A (en) * 2012-06-21 2014-01-15 Tcl集团股份有限公司 Android system recovery method of terminal equipment and terminal equipment
CN103970564A (en) * 2014-04-23 2014-08-06 京信通信系统(中国)有限公司 Automatic repairing and upgrading method of embedded operating system and embedded operating system with automatic repairing and upgrading functions
CN105099765B (en) * 2015-06-29 2018-07-24 小米科技有限责任公司 Data-updating method and device
CN105099765A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Data updating method and device
CN105373440A (en) * 2015-11-02 2016-03-02 努比亚技术有限公司 Fault detection and recovery apparatus and method
CN105607972B (en) * 2015-12-28 2019-06-18 Tcl集团股份有限公司 A kind of method and device repaired extremely
CN105607972A (en) * 2015-12-28 2016-05-25 Tcl集团股份有限公司 Abnormity remedying method and device
CN105634806A (en) * 2015-12-29 2016-06-01 深圳市瑞铭无限科技有限公司 Updating method and apparatus for intelligent terminal APP
CN106411583A (en) * 2016-09-21 2017-02-15 努比亚技术有限公司 Application server repairing device and method
CN108205480A (en) * 2017-12-28 2018-06-26 问众智能信息科技(北京)有限公司 Abnormality eliminating method, device, intelligent back vision mirror and storage medium
CN110825565A (en) * 2019-11-06 2020-02-21 珠海格力电器股份有限公司 Control method and system for restoring factory settings of electrical appliance
CN110825565B (en) * 2019-11-06 2022-02-25 珠海格力电器股份有限公司 Control method and system for restoring factory settings of electrical appliance
CN111078471A (en) * 2019-12-06 2020-04-28 深圳创维-Rgb电子有限公司 System fault recovery method and device for display device and computer storage medium
CN111078471B (en) * 2019-12-06 2023-09-05 深圳创维-Rgb电子有限公司 System fault recovery method and device for display device and computer storage medium
CN113806139A (en) * 2021-06-15 2021-12-17 荣耀终端有限公司 Operating system recovery method, operating system recovery device, storage medium and computer program product

Also Published As

Publication number Publication date
CN102508734B (en) 2015-06-03

Similar Documents

Publication Publication Date Title
CN102508734A (en) Operating system recovery method and intelligent equipment
US20220179682A1 (en) Task processing method, apparatus, and system based on distributed system
CN102360324B (en) Failure recovery method and equipment for failure recovery
CN100492305C (en) Fast restoration method of computer system and apparatus
US9189348B2 (en) High availability database management system and database management method using same
CN103428333B (en) Mobile terminal, server and errors repair method
CN101594613A (en) The method of terminal equipment and upgrading thereof, system
CN102244669B (en) Software upgrading method in stacking equipment and stacking equipment
CN102355682A (en) Sensor adapting method, sensor adapting device and IOT (Internet Of Things) system
CN103152419A (en) High availability cluster management method for cloud computing platform
CN101980171B (en) Failure self-recovery method for software system and software watchdog system used by same
CN102394914A (en) Cluster brain-split processing method and device
CN109361542A (en) The fault handling method of client, device, system, terminal and server
CN105009554A (en) Method for detecting whether hardware of intelligent terminal is running abnormally and intelligent terminal
CN105573777B (en) Method and device for controlling service in application
CN102073508A (en) Method and apparatus for upgrading terminals and software thereof
CN102891762A (en) System and method for continuously processing network data
CN103532870A (en) Method and device for updating Web application cluster
CN113434340A (en) Server and cache cluster fault rapid recovery method
CN102073523A (en) Method and device for implementing software version synchronization
CN102546250B (en) File publishing method and system based on main/standby mechanism
CN110162389B (en) Application program starting method and device and intelligent interaction equipment
CN201047943Y (en) Fast recovery equipment of computer system
CN105808288A (en) Message push control method and device of operating system
CN111918236B (en) Internet of things security sensor network searching method, device, equipment and storage medium

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150603