CN102591745A - Method and device for system recovery based on android system and intelligent equipment - Google Patents

Method and device for system recovery based on android system and intelligent equipment Download PDF

Info

Publication number
CN102591745A
CN102591745A CN2011104447307A CN201110444730A CN102591745A CN 102591745 A CN102591745 A CN 102591745A CN 2011104447307 A CN2011104447307 A CN 2011104447307A CN 201110444730 A CN201110444730 A CN 201110444730A CN 102591745 A CN102591745 A CN 102591745A
Authority
CN
China
Prior art keywords
application
references table
mount attribute
zhuo
application references
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
CN2011104447307A
Other languages
Chinese (zh)
Other versions
CN102591745B (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 CN201110444730.7A priority Critical patent/CN102591745B/en
Publication of CN102591745A publication Critical patent/CN102591745A/en
Application granted granted Critical
Publication of CN102591745B publication Critical patent/CN102591745B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention is applicable to the technical field of computers, and provides a method and a device for system recovery based on the android system and intelligent equipment. The method includes: traversing installation attributes of applications recorded in a first application index table in a data partition of the android system, and unloading the application with the attribute being a user added application; deleting corresponding installation attribute of the unloaded application in the first application index table; and comparing a second application index table in a system partition of the android system with the first application index table with the corresponding installation attribute of the unloaded application deleted, and loading and installing the applications corresponding to unrecorded installation attributes in the first application index table according to the installation attributes recorded in the second application index table. The method has the advantages of reduction of repair rate.

Description

System recovery method, device and smart machine based on the An Zhuo system
Technical field
The invention belongs to field of computer technology, relate in particular to a kind of system recovery method, device and smart machine based on the An Zhuo system.
Background technology
Along with development of Communication Technique and progress, smart machine is increasing to be dissolved in people's the life, for example intelligent television; Smart mobile phone etc.; The An Zhuo system is the application system of a kind of smart machine of GOOGLE exploitation, because its open and advanced liking of users that receive, tall and erect (android) system of existing peace is when dispatching from the factory; Can the system application (also be called and carry application) of An Zhuo system be stored in system (system) subregion; If the system partition space is limited, (Application app) is stored in data (Data) subregion then part to be carried application.
In realizing process of the present invention, find that there is following problem in the technical scheme of prior art:
The technical scheme that prior art provides can carry app with part and be stored in the Data subregion; The user can delete the application that carries of data subregion; And at the data subregion third party is installed and uses; And the third party through checking does not use travelling speed and the stability may influence whole An Zhuo system, causes the smart machine repair rate of current An Zhuo system high, the content that the factory reset function that existing android system carries has been deleted the Data subregion fully; Also deleted the personal settings of user to operating system, dirigibility is relatively poor.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of system recovery method based on the An Zhuo system, is intended to solve the high problem of smart machine repair rate of the An Zhuo system of prior art.
The embodiment of the invention is achieved in that a kind of system recovery method based on the An Zhuo system, and said method comprises:
The mount attribute of the application of the first application references table record in the data partition of traversal An Zhuo system; The unloading mount attribute is the newly-increased application of using of user; Carry the mount attribute of current mounted all application of system in the said first application references table, said mount attribute be used to identify the said user of being applied as newly-increased use or dispatch from the factory preset application;
Delete the unloaded mount attribute of using correspondence in the said first application references table;
The first application references table behind the mount attribute that relatively the second application references table is corresponding with deleting unloaded application in the system partitioning of An Zhuo system; Download and install the corresponding application of the unwritten mount attribute of the said first application references table according to the mount attribute of the said second application references table record, the mount attribute of the application that the said second application references table was installed when being used to write down the An Zhuo system and dispatching from the factory.
The present invention also provides: a kind of system recovery device based on the An Zhuo system, and said device comprises:
Use unloading unit; Be used for traveling through the mount attribute of application of the data partition first application references table record of An Zhuo system; The unloading mount attribute is the newly-increased application of using of user; Carry the mount attribute of current mounted all application of system in the said first application references table, said mount attribute be used to identify the said user of being applied as newly-increased use or dispatch from the factory preset application;
The mount attribute delete cells is used for deleting the unloaded mount attribute of using correspondence of the said first application references table;
The application download unit; The first application references table after being used for the system partitioning second application references table of comparison An Zhuo system and deleting the corresponding mount attribute of unloaded application; Download and install the corresponding application of the unwritten mount attribute of the said first application references table according to the mount attribute of the said second application references table record, the mount attribute of the application that the said second application references table was installed when being used to write down the An Zhuo system and dispatching from the factory.
The present invention also provides a kind of smart machine, and this smart machine comprises above-mentioned system recovery device based on the An Zhuo system.
In embodiments of the present invention, carrying in the divided data subregion of recovery system time zone used and newly-increased the application, and reservation carries application and deletes all newly-increased application to recover plant, has eliminated newly-increased application to carrying the influence of application.With respect to factory reset method of the prior art; Present embodiment can keep under the prerequisite of user to the personal settings of operating system; Automatically eliminate newly-increased influence of using, keep the relevant application of dispatching from the factory, so it has the advantage that reduces the smart machine repair rate to operating system.
Description of drawings
Fig. 1 is the process flow diagram based on the system recovery method of An Zhuo system that the embodiment of the invention one provides;
Fig. 2 is the process flow diagram based on the system recovery method of An Zhuo system that the embodiment of the invention two provides;
Fig. 3 is the process flow diagram based on the system recovery method of An Zhuo system that the embodiment of the invention three provides;
Fig. 4 is the process flow diagram based on the system recovery method of An Zhuo system that the embodiment of the invention four provides;
Fig. 5 is the process flow diagram based on the system recovery method of An Zhuo system that the embodiment of the invention five provides;
Fig. 6 is the structural drawing based on the system recovery device of An Zhuo system that the embodiment of the invention six provides;
Fig. 7 is the structural drawing based on the system recovery device of An Zhuo system that the embodiment of the invention seven provides;
Fig. 8 is the structural drawing based on the system recovery device of An Zhuo system that the embodiment of the invention eight provides;
Fig. 9 is the structural drawing based on the system recovery device of An Zhuo system that the embodiment of the invention nine provides.
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.
Embodiment one:
A kind of system recovery method provided by the invention based on the An Zhuo system, this method is accomplished by smart machine (for example intelligent television, Web TV or smart mobile phone etc.), and this method is as shown in Figure 1, comprising:
The mount attribute of the application of the first application references table record in the data partition of step S11, traversal An Zhuo system; The unloading mount attribute is the newly-increased application of using of user; Carry the mount attribute of current mounted all application of system in this first application references table, this mount attribute be used to identify this be applied as the user newly-increased use or dispatch from the factory preset application.
In the present embodiment, to the executive system recovery operation of An Zhuo system the time, the mount attribute of the first application references table record of ergodic data subregion is searched mount attribute and is the newly-increased application of using of user.Wherein, The mount attribute of the first application references table record comprises that (android package, apk) the upgrading sign of title, the picture name of using demonstration, application and application are that newly-increased sign or the application of using of user is to dispatch from the factory to preset the sign of application for the title of application, the android installation kit of application.Finding after mount attribute uses for the user is newly-increased the application that unloading finds.
Step S12, delete and unloadedly in this first application references table use corresponding mount attribute.
In the present embodiment; When user unloading after certain mounted application; Pacify the mount attribute of this unloading application of writing down in the first application references table of tall and erect system-kill data partition, so that the mount attribute of the first application references table record all is the corresponding mount attribute of application of current installation in the An Zhuo system.
The second application references table and delete the unloaded first application references table of using behind the corresponding mount attribute in the system partitioning of step S13, comparison An Zhuo system; Download and install the corresponding application of the unwritten mount attribute of this first application references table according to the mount attribute of this second application references table record, the mount attribute of the application that this second application references table was installed when being used to write down the An Zhuo system and dispatching from the factory.
In the present embodiment; Before the An Zhuo system dispatches from the factory; In the system partitioning of this An Zhuo system, set up the second application references table in advance; The mount attribute of the application that this second application references table was installed when being used to write down the An Zhuo system and dispatching from the factory, the mount attribute of this application comprise the title of application, application android installation kit title, to use the upgrading sign of the picture name that shows, application and use be that newly-increased sign or the application of using of user is to dispatch from the factory to preset the sign of application.For example; Suppose that it is that the An Zhuo system dispatches from the factory and carries that A uses, it is that the user increases newly that B uses, and in the mount attribute that this A uses, is Ori with this A application identities then; In the mount attribute that B uses, be New with this B application identities; Certainly, the concrete sign of mount attribute can be confirmed according to actual conditions, does not limit here.
In the present embodiment; Because the mount attribute of the second application references table record of system partitioning is to dispatch from the factory to preset the mount attribute of application; Therefore and the second application references table of system partitioning can't be revised after dispatching from the factory, and when recovery system, is main with the mount attribute of the second application references table record.The corresponding application of unwritten mount attribute in the first application references table is downloaded and installed to second application references table of comparison system subregion and the first application references table of data partition according to the mount attribute of the second application references table record.
In the first embodiment of the invention; The first application references table of data partition is used to store mount attribute and the newly-increased mount attribute of using of user that presets application when the An Zhuo system dispatches from the factory; The second application references table of system partitioning only is used to store and presets the mount attribute of application when the An Zhuo system dispatches from the factory; Through using two application references table storages to be installed in the mount attribute of the application of An Zhuo system, can the effectively user-isolated application that the third party uses and the An Zhuo system dispatches from the factory and presets from installation.When the needs recovery system,, use the system's shakiness that causes thereby effectively isolate the third party, the repair rate of the smart machine of reduction An Zhuo system through download again and the installation that the mount attribute that compares two application references table records is used unloading or used.
Embodiment two:
The present invention also provides a kind of system recovery method based on the An Zhuo system, and this method is accomplished by smart machine (for example intelligent television, Web TV or smart mobile phone etc.), and this method is as shown in Figure 2.
In the system recovery method that present embodiment two provides, before recovery system, set up the first application references table of data partition earlier.Wherein, The mount attribute of the first application references table record mainly comprises 2 parts; A part is to dispatch from the factory to preset the mount attribute of application; Another part is the newly-increased mount attribute of using of user, and therefore, the mount attribute (the foregoing description step S11) of present embodiment application of the first application references table record in the data partition of carrying out traversal An Zhuo system also comprises step S21 and step S22 before.
Step S21, when moving starter launcher first in the An Zhuo system; Whether the judgment data subregion exists the first application references table; If do not exist; The second application references table of dubbing system subregion is to data partition, with the second application references table of the system partitioning that duplicates, the first application references table as data partition.
In the present embodiment; When the An Zhuo system starts shooting first, detect data partition and whether have the first application references table; If can't detect the first application references table, the second application references table of dubbing system subregion then, and the second application references table that will duplicate is as the first application references table of data partition; Like this; Just there is the first application references table in data partition, in this first application references table, has write down the corresponding mount attribute of application that the An Zhuo system dispatches from the factory and presets, and moves the starter launcher (this launcher is an android characteristic user entry device) of An Zhuo system then according to the first application references table of data partition; If detect the first application references table, then directly move the starter launcher of An Zhuo system according to the detected first application references table.
Step S22, reception third party use the instruction of installation, and the mount attribute that this third party of record uses in the first application references table of data partition.
In the present embodiment; The user is when using the terminal of An Zhuo system correspondence; If need on this terminal, increase other application newly; Then the An Zhuo system will broadcast the instruction of installation after using installation, and then present embodiment deposits the newly-increased mount attribute of using correspondence in the first application references table of data partition in receiving after newly-increased third party uses the instruction of installation.
Wherein, the implementation procedure of the step S23 of present embodiment~step S25 is identical with step S11~step S13 of embodiment one, repeats no more here.
In second embodiment of the invention; When the An Zhuo system need use the first application references table of data partition during at the main interface starter launcher of operation; If in data partition, can't detect the first application references table; Then duplicate the second application references table to data partition from system partitioning, the concordance list that is in data partition is called the first application references table, and the first application references table is used to write down the dispatch from the factory mount attribute and the newly-increased mount attribute of using of subsequent user of installation application.Since two application references tables mechanism of use, the therefore effectively user-isolated preparatory installation application that the third party uses and the An Zhuo system dispatches from the factory from installation.
Embodiment three:
Fig. 3 shows another kind that the embodiment of the invention the provides system recovery method flow process based on the An Zhuo system, and details are as follows:
In the present embodiment, before the executive system recovery operation, can judge whether the operation of An Zhuo system is unusual, and then when judgement is unusual, trigger rejuvenation automatically.With respect to the system recovery method that first embodiment provides, present embodiment further comprises step at the mount attribute (the step S11 among the embodiment one) of carrying out the application that travels through the first application references table record before:
Step S31, detect the running status of An Zhuo system through monitoring process, the priority of this monitoring process is higher than the priority of these other processes of An Zhuo system.
In the present embodiment, the running status of installation system comprises response time, process response speed of process etc., process error probability etc.
Step S32, detect this An Zhuo system getting into arbitrary process exception when stopping, judge this An Zhuo system operation exception at this monitoring process.
Wherein, the An Zhuo system stops in a certain process exception and is also referred to as this An Zhuo system entering unrecoverable state.Unusual stop specifically can Preset Time can't respond or response results is made mistakes in order to surpass.In the present embodiment, after the user normally starts the An Zhuo system, stop in a certain process exception, then judge this An Zhuo system operation exception if the monitoring process on backstage detects this An Zhuo system.The Ruo Anzhuo system is not resident unusually in the process of entering process, judges that then this An Zhuo system operation is normal.
Step S33, after judging this An Zhuo system operation exception, the executive system recovery operation.
In the present embodiment, the priority of monitoring process is higher than the priority of other processes of this An Zhuo system, therefore after this An Zhuo system gets into unrecoverable state, also can start the brand-name computer system that recovers automatically.
Alternatively, the recovery system inlet is provided in the setting option of An Zhuo system, for initiatively recovery system use of user.
Wherein, the implementation procedure of the step S34 of present embodiment~step S36 is identical with step S11~step S13 of embodiment one, repeats no more here.
Embodiment four:
Fig. 4 shows another kind that the embodiment of the invention the provides system recovery method flow process based on the An Zhuo system, and present embodiment mainly details the step S11 of embodiment one, and is specific as follows:
Step S41, between the host process of An Zhuo system and starter launcher, insert the recovery system sign.
In the present embodiment; No matter be active recovery system or passive recovery system; After start-up system is recovered, all between the host process of An Zhuo system and starter launcher, insert the recovery system sign, so that the host process of An Zhuo system judges whether to need to carry out restore system operation.Wherein, this recovery system sign can be the symbol of appointment.
The host process of step S42, An Zhuo system detects this recovery system sign, and after detecting this recovery system sign, travels through the mount attribute of this first application references table record, and the unloading mount attribute is designated the newly-increased application of using of user.
In the present embodiment; After the host process of Ruo Anzhuo system detects the recovery system sign of insertion; Travel through the mount attribute of this first application references table record; The attribute-bit that dispatches from the factory of searching the first application references table record is the newly-increased mount attribute of using of user, and the unloading mount attribute is designated the corresponding application of the newly-increased mount attribute of using of user.Further, the recovery system sign that deletion is inserted after the tall and erect system recovery of peace is accomplished.
Wherein, the implementation procedure of the step S43 of present embodiment~step S44 is identical with step S12~step S13 of embodiment one, repeats no more here.
Embodiment five:
Fig. 5 shows another kind that the embodiment of the invention the provides system recovery method flow process based on the An Zhuo system, and present embodiment mainly details the step S13 of embodiment one, and is specific as follows:
Wherein, the step S51 of present embodiment, step S52 step S11, the step S12 with embodiment one respectively are identical, repeat no more here.
Step S53, the comparison second application references table and delete the unloaded first application references table of using behind the corresponding mount attribute.
In the present embodiment, because the part system carries to be applied in and be installed in data partition when dispatching from the factory, thereby the user can freely unload, thereby the mount attribute that subsystem carries application in the middle part of the first application references table possibly deleted.
Step S54, when there is the unwritten mount attribute of this first application references table in this second application references table, the unwritten mount attribute of this first application references table is write the record sheet in the application program shop of local An Zhuo system.
In the present embodiment; If the user has deleted the certain applications that system dispatches from the factory and carries; Then will be write in the record sheet in application program shop of local An Zhuo system by the corresponding mount attribute of the certain applications of user deletion; So that follow-up mount attribute according to record is downloaded application corresponding, reporting system has default application to need manually to upgrade simultaneously.Concrete Notification Method can for: the upgrading sign of the first application references table default application is changed to " Yes ", certainly, also can the upgrading sign of default application be changed to " being " etc., do not limit here.
Step S55, use according to the mount attribute prompting user manual installation of the record sheet in application program shop.
In the present embodiment; After the user starts shooting once more; Launcher calls the first application references table of data partition, detects each mount attribute that writes down in this first application references table, whether needs upgrading to judge the corresponding application of this mount attribute; Upgrading if desired then need be carried out manual installation according to the information in application program shop through toast mechanism prompting user and use.
It is pointed out that present embodiment also can also be provided with the application program shop and carry out the default application autoinstall procedure.
The download instruction that step S56, reception user trigger, and according to the download instruction download and the installation application that receive.
In the present embodiment, the download instruction that triggers according to the user who receives is downloaded the application of appointment from the application program shop, and the application that will download is installed in the An Zhuo system.Owing to download and installed at the second application references table and have record and there is not the corresponding application of mount attribute of record in the first application references table; And the mount attribute of this second application references table record all dispatches from the factory to carry for the An Zhuo system and uses corresponding mount attribute; Therefore after application corresponding is installed, can recover the An Zhuo system.
In fifth embodiment of the invention; When all are designated the corresponding application of the newly-increased mount attribute of using of user all after the completion of discharge; Second application references table of comparison system subregion and the first application references table record of data partition; And the record that the first application references table lacks write in the record sheet in application program shop of local An Zhuo system, notify this An Zhuo system to have default application to need manually to upgrade simultaneously.There is record and after there is not the application of record in the first application references table, pacifies tall and erect System Cleaning recovery system sign when the user has added at the second application references table.Further, initiatively association needs the manually application of renewal in the application program shop, operates so that the user accomplishes manually to upgrade fast.
Embodiment six:
Sixth embodiment of the invention provides a kind of system recovery device based on the An Zhuo system, and this device is as shown in Figure 6, specifically comprises:
Use unloading unit 61; Be used for traveling through the mount attribute of application of the data partition first application references table record of An Zhuo system; The unloading mount attribute is the newly-increased application of using of user; Carry the mount attribute of current mounted all application of system in this first application references table, this mount attribute be used to identify this be applied as the user newly-increased use or dispatch from the factory preset application.
In the present embodiment, the mount attribute of the first application references table record comprises the upgrading sign of the apk title of the title of application, application, the picture name of using demonstration, application and uses to be that newly-increased sign or the application of using of user is to dispatch from the factory to preset the sign of application.
Mount attribute delete cells 62 is used for deleting the unloaded mount attribute of using correspondence of this first application references table.
In the present embodiment, unloaded part after the installation application when using unloading unit 61, this of the mount attribute delete cells 62 deletions first application references table record used corresponding mount attribute.
Application download unit 63; The first application references table after being used for the system partitioning second application references table of comparison An Zhuo system and deleting the corresponding mount attribute of unloaded application; Download and install the corresponding application of the unwritten mount attribute of this first application references table according to the mount attribute of this second application references table record, the mount attribute of the application that this second application references table was installed when being used to write down the An Zhuo system and dispatching from the factory.
In the present embodiment, set up when the second application references table of system partitioning dispatches from the factory for the An Zhuo system, be used to write down the mount attribute that carries application when this An Zhuo system dispatches from the factory.Because the second application references table of system partitioning can't be revised after dispatching from the factory, therefore when recovery system, be main with the mount attribute of the second application references table record.
The system recovery device that sixth embodiment of the invention provides can use in system recovery method first embodiment of aforementioned correspondence, and details are referring to the description of the foregoing description one.The system recovery device is used to store mount attribute and the newly-increased mount attribute of using of user that presets application when the An Zhuo system dispatches from the factory at the first application references table of data partition; The second application references table of system partitioning only is used to store and presets the mount attribute of application when the An Zhuo system dispatches from the factory; Through using two application references table storages to be installed in the mount attribute of the application of An Zhuo system, the application that the effectively user-isolated third party who installs certainly uses and the An Zhuo system dispatches from the factory and presets.When the needs recovery system,, use the system's shakiness that causes thereby effectively isolate the third party, the repair rate of the smart machine of reduction An Zhuo system through download again and the installation that the mount attribute that compares two application references table records is used unloading or used.
Embodiment seven:
Seventh embodiment of the invention provides a kind of system recovery device based on the An Zhuo system, and this device is as shown in Figure 7, specifically comprises:
First judging unit 71, when being used for moving starter launcher first in the An Zhuo system, whether the judgment data subregion exists the first application references table.
In the present embodiment, when starting shooting first, whether first judging unit, 71 judgment data subregions exist the first identical application references table of mount attribute with the second application references table record of system partitioning.
The mount attribute adding device 72 that dispatches from the factory is used for when the first application references table does not exist, and the second application references table of dubbing system subregion is to data partition, with the second application references table of the system partitioning that duplicates, the first application references table as data partition.
In the present embodiment, when first judging unit 71 is judged data partition and is not had the first application references table, the second application references table of dubbing system subregion, and the second application references table that will duplicate is as the first application references table of data partition.
Newly-increased mount attribute adding device 73 is used to receive the instruction that the third party uses installation, and the mount attribute that this third party of record uses in the first application references table of data partition.
In the present embodiment, after the new application of user installation, the first application references table will write down the mount attribute of this new installation application.
Wherein, the application unloading unit 74 of present embodiment, mount attribute delete cells 75, application download unit 76 application unloading unit 61, mount attribute delete cells 62, the application download unit 63 with embodiment six respectively are identical, repeat no more here.
The system recovery device that seventh embodiment of the invention provides can use in system recovery method second embodiment of aforementioned correspondence, and details are referring to the description of the foregoing description two.In seventh embodiment of the invention; The system recovery device has been set up the first application references table at data partition; These two application references tables mechanism of second application references table through the using system subregion and the first application references table of data partition, thus effectively user-isolated from the third party who installs uses and the An Zhuo system dispatches from the factory preparatory installation application.
Embodiment eight:
Eighth embodiment of the invention provides a kind of system recovery device based on the An Zhuo system, and this device is as shown in Figure 8, specifically comprises:
Condition monitoring unit 81 is used for the running status through monitoring process detection An Zhuo system, and the priority of this monitoring process is higher than the priority of these other processes of An Zhuo system.
In the present embodiment, the running status of installation system comprises response time, process response speed of process etc., process error probability etc.
Abnormal state judging unit 82 is used for detecting this An Zhuo system when the arbitrary process exception of entering stops at this monitoring process, judges this An Zhuo system operation exception.
In the present embodiment, after the user normally starts the An Zhuo system, stop in a certain process exception, then judge this An Zhuo system operation exception if the monitoring process on backstage detects this An Zhuo system.The Ruo Anzhuo system is not resident unusually in the process of entering process, judges that then this An Zhuo system operation is normal.
System recovery trigger element 83 is used for after judging this An Zhuo system operation exception, triggers and uses unloading unit 84 executive system recovery operations.
In the present embodiment, the priority of monitoring process is higher than the priority of other processes of this An Zhuo system, therefore after a certain process exception stops, also can start the brand-name computer system that recovers automatically in the An Zhuo system.Further, the recovery system inlet can be provided in the setting option of An Zhuo system also, for initiatively recovery system use of user.
Wherein, the application unloading unit 84 of present embodiment, mount attribute delete cells 85, application download unit 86 application unloading unit 61, mount attribute delete cells 62, the application download unit 63 with embodiment six respectively are identical, repeat no more here.
The system recovery device that eighth embodiment of the invention provides can use in system recovery method the 3rd embodiment of aforementioned correspondence, and details are referring to the description of the foregoing description three.In eighth embodiment of the invention, the status information that abnormal state judging unit 82 obtains according to condition monitoring unit 81 judges whether the operation of An Zhuo system is unusual, and when operation exception, starts restore system operation.Because the priority of monitoring process is higher than the priority of other processes of An Zhuo system, therefore, a certain process exception also can start the brand-name computer system that recovers automatically after stopping in the An Zhuo system, and the assurance system recovery is carried out smoothly.
Embodiment nine:
Nineth embodiment of the invention provides a kind of system recovery device based on the An Zhuo system, and this device is as shown in Figure 9, specifically comprises:
Use unloading unit 91, mount attribute delete cells 92, application download unit 93.
Wherein, this application unloading unit 91 comprises: recovery system sign insert module 911 and the newly-increased Unload module 912 of using.
Recovery system sign insert module 911 is used between the host process of An Zhuo system and starter launcher, inserting the recovery system sign.
In the present embodiment; No matter be active recovery system or passive recovery system; After start-up system is recovered, all between the host process of An Zhuo system and starter launcher, insert the recovery system sign, so that the host process of An Zhuo system judges whether to need to carry out restore system operation.Wherein, this recovery system sign can be the symbol of appointment.
The newly-increased Unload module 912 of using, the host process of An Zhuo system detect this recovery system sign, and after detecting this recovery system sign, travel through the mount attribute of this first application references table record, and the unloading mount attribute is the newly-increased application of using of user.
In the present embodiment, if detect the recovery system sign, then begin to carry out concrete restore system operation: the first application references table of ergodic data subregion is to search the new application of installing of user.
Alternatively, this application download unit 93 comprises:
Mount attribute comparison module 931 is used for the unloaded first application references table of using behind the corresponding mount attribute of this second application references table relatively and deletion.
In the present embodiment, because the part system carries to be applied in and be installed in data partition when dispatching from the factory, thereby the user can freely unload, thereby the mount attribute that subsystem carries application in the middle part of the first application references table possibly deleted.
Different mount attribute writing modules 932; Be used for when there is the unwritten mount attribute of this first application references table in this second application references table, the unwritten mount attribute of this first application references table write the record sheet in the application program shop of local An Zhuo system.
In the present embodiment; If the user has deleted the certain applications that system dispatches from the factory and carries; Then will be write in the record sheet in application program shop of local An Zhuo system by the corresponding mount attribute of the certain applications of user deletion; So that follow-up mount attribute according to record is downloaded application corresponding, reporting system has default application to need manually to upgrade simultaneously.
Use installation suggestion module 933, be used for mount attribute prompting user manual installation application according to the record sheet in application program shop.
In the present embodiment; After the user starts shooting once more; Launcher calls the first application references table of data partition, detects each mount attribute that writes down in this first application references table, whether needs upgrading to judge the corresponding application of this mount attribute; Upgrading if desired then need be carried out manual installation according to the information in application program shop through toast mechanism prompting user and use.
Use installed module 934, be used to receive the download instruction that the user triggers, and download and installation application according to the download instruction that receives.
In the present embodiment, the download instruction that triggers according to the user who receives is downloaded the application of appointment from the application program shop, and the application that will download is installed in the An Zhuo system.
The system recovery device that nineth embodiment of the invention provides can use in system recovery method fourth, fifth embodiment of aforementioned correspondence, and details are referring to the foregoing description four and five description.In embodiments of the present invention; The first application references table of data partition is used to store mount attribute and the newly-increased mount attribute of using of user that presets application when the An Zhuo system dispatches from the factory; The second application references table of system partitioning only is used to store and presets the mount attribute of application when the An Zhuo system dispatches from the factory; Through using two application references table storages to be installed in the mount attribute of the application of An Zhuo system, the application that the effectively user-isolated third party who installs certainly uses and the An Zhuo system dispatches from the factory and presets.When the needs recovery system,, use the system's shakiness that causes thereby effectively isolate the third party, the repair rate of the smart machine of reduction An Zhuo system through download again and the installation that the mount attribute that compares two application references table records is used unloading or used.
The embodiment of the invention also provides a kind of smart machine, and this smart machine comprises the system recovery device based on the An Zhuo system.Wherein, based on the detailed structure of the system recovery device of An Zhuo system associated description, no longer repeat at this referring to the foregoing description six to nine.
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 (11)

1. the system recovery method based on the An Zhuo system is characterized in that, said method comprises:
The mount attribute of the application of the first application references table record in the data partition of traversal An Zhuo system; The unloading mount attribute is the newly-increased application of using of user; Carry the mount attribute of current mounted all application of system in the said first application references table, said mount attribute be used to identify the said user of being applied as newly-increased use or dispatch from the factory preset application;
Delete the unloaded mount attribute of using correspondence in the said first application references table;
The first application references table behind the mount attribute that relatively the second application references table is corresponding with deleting unloaded application in the system partitioning of An Zhuo system; Download and install the corresponding application of the unwritten mount attribute of the said first application references table according to the mount attribute of the said second application references table record, the mount attribute of the application that the said second application references table was installed when being used to write down the An Zhuo system and dispatching from the factory.
2. the method for claim 1 is characterized in that, in the data partition of said traversal An Zhuo system, before the step of the mount attribute of the application of the first application references table record, further comprises the steps:
When the An Zhuo system moved starter launcher first, whether the judgment data subregion existed the first application references table;
If do not exist, the second application references table of dubbing system subregion is to data partition, with the second application references table of the system partitioning that duplicates, the first application references table as data partition.
3. method as claimed in claim 2 is characterized in that, said method, also comprises the steps: after data partition at the second application references table of carrying out the dubbing system subregion
Receive the instruction that the third party uses installation, and the mount attribute that the said third party of record uses in the first application references table of data partition.
4. the method for claim 1; It is characterized in that; The mount attribute of the application of the first application references table record in the data partition of said traversal An Zhuo system before the applying step of unloading mount attribute for the newly-increased application of user, further comprises the steps:
Detect the running status of An Zhuo system through monitoring process, the priority of said monitoring process is higher than the priority of other processes of said An Zhuo system;
Detect said An Zhuo system at said monitoring process and getting into arbitrary process exception when stopping, judge said An Zhuo system operation exception;
Behind the said An Zhuo of judgement system operation exception, the executive system recovery operation.
5. the method for claim 1 is characterized in that, the mount attribute of the application of the first application references table record in the data partition of said traversal An Zhuo system, and the unloading mount attribute specifically comprises for the step of the application of the newly-increased application of user:
Between the host process of An Zhuo system and starter launcher, insert the recovery system sign;
The host process of An Zhuo system detects said recovery system sign, and after detecting said recovery system sign, travels through the mount attribute of the said first application references table record, and the unloading mount attribute is the newly-increased application of using of user.
6. the method for claim 1; It is characterized in that; The first application references table in the system partitioning of said relatively An Zhuo system behind the mount attribute of the second application references table and the unloaded application correspondence of deletion, the step of downloading and installing the corresponding application of the unwritten mount attribute of the said first application references table according to the mount attribute of the said second application references table record specifically comprises:
The first application references table behind the mount attribute of more said second application references table and the unloaded application correspondence of deletion;
When there is the unwritten mount attribute of the said first application references table in the said second application references table, the unwritten mount attribute of the said first application references table is write the record sheet in the application program shop of local An Zhuo system;
Mount attribute prompting user manual installation according to the record sheet in application program shop is used;
Receive the download instruction that the user triggers, and download and installation application according to the download instruction that receives.
7. system recovery device based on the An Zhuo system is characterized in that said device comprises:
Use unloading unit; Be used for traveling through the mount attribute of application of the data partition first application references table record of An Zhuo system; The unloading mount attribute is the newly-increased application of using of user; Carry the mount attribute of current mounted all application of system in the said first application references table, said mount attribute be used to identify the said user of being applied as newly-increased use or dispatch from the factory preset application;
The mount attribute delete cells is used for deleting the unloaded mount attribute of using correspondence of the said first application references table;
The application download unit; The first application references table after being used for the system partitioning second application references table of comparison An Zhuo system and deleting the corresponding mount attribute of unloaded application; Download and install the corresponding application of the unwritten mount attribute of the said first application references table according to the mount attribute of the said second application references table record, the mount attribute of the application that the said second application references table was installed when being used to write down the An Zhuo system and dispatching from the factory.
8. device as claimed in claim 7 is characterized in that, said device also comprises:
First judging unit, when being used for moving starter launcher first in the An Zhuo system, whether the judgment data subregion exists the first application references table;
The mount attribute adding device that dispatches from the factory is used for when the first application references table does not exist, and the second application references table of dubbing system subregion is to data partition, with the second application references table of the system partitioning that duplicates, the first application references table as data partition;
Newly-increased mount attribute adding device is used to receive the instruction that the third party uses installation, and the mount attribute that the said third party of record uses in the first application references table of data partition.
9. device as claimed in claim 7 is characterized in that, said device also comprises:
The condition monitoring unit is used for detecting through monitoring process the running status of An Zhuo system, and the priority of said monitoring process is higher than the priority of other processes of said An Zhuo system;
The abnormal state judging unit is used for detecting said An Zhuo system at said monitoring process and is getting into arbitrary process exception when stopping, and judges said An Zhuo system operation exception;
The system recovery trigger element is used for behind the said An Zhuo of judgement system operation exception, triggering the recovery operation of said application unloading unit executive system.
10. device as claimed in claim 7 is characterized in that,
Said application unloading unit comprises:
The sign insert module is used between the host process of An Zhuo system and starter launcher, inserting the recovery system sign;
The newly-increased Unload module of using, the host process of An Zhuo system detect said recovery system sign, and after detecting said recovery system sign, travel through the mount attribute of the said first application references table record, and the unloading mount attribute is the newly-increased application of using of user;
Said application download unit comprises:
The mount attribute comparison module, the first application references table after being used for the more said second application references table and deleting the corresponding mount attribute of unloaded application;
Different mount attribute writing modules; Be used for when there is the unwritten mount attribute of the said first application references table in the said second application references table, the unwritten mount attribute of the said first application references table write the record sheet in the application program shop of local An Zhuo system;
Use the installation suggestion module, be used for mount attribute prompting user manual installation application according to the record sheet in application program shop;
Use installed module, be used to receive the download instruction that the user triggers, and download and installation application according to the download instruction that receives.
11. a smart machine is characterized in that, said smart machine comprises like each described system recovery device based on the An Zhuo system of claim 7 to 10.
CN201110444730.7A 2011-12-26 2011-12-26 Method and device for system recovery based on android system and intelligent equipment Active CN102591745B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110444730.7A CN102591745B (en) 2011-12-26 2011-12-26 Method and device for system recovery based on android system and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110444730.7A CN102591745B (en) 2011-12-26 2011-12-26 Method and device for system recovery based on android system and intelligent equipment

Publications (2)

Publication Number Publication Date
CN102591745A true CN102591745A (en) 2012-07-18
CN102591745B CN102591745B (en) 2014-03-12

Family

ID=46480443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110444730.7A Active CN102591745B (en) 2011-12-26 2011-12-26 Method and device for system recovery based on android system and intelligent equipment

Country Status (1)

Country Link
CN (1) CN102591745B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235728A (en) * 2013-03-20 2013-08-07 青岛海信移动通信技术股份有限公司 Mounting method and device for presetting third party appliances in Android terminal
CN103699420A (en) * 2013-12-31 2014-04-02 海信集团有限公司 System recovery method and system recovery device
CN105204909A (en) * 2015-10-12 2015-12-30 Tcl集团股份有限公司 Method and system for upgrading strongly correlated apks based on mobile terminal
CN105718272A (en) * 2016-02-22 2016-06-29 青岛海信移动通信技术股份有限公司 Method for restoring factory settings of terminal and terminal
CN105740009A (en) * 2016-01-26 2016-07-06 青岛海信移动通信技术股份有限公司 Version upgrading method and terminal equipment
CN105824839A (en) * 2015-01-06 2016-08-03 中兴通讯股份有限公司 Method and apparatus for safe deletion of data in mobile terminal
CN107391181A (en) * 2017-06-29 2017-11-24 上海与德科技有限公司 A kind of method and device of system partitioning
CN107911741A (en) * 2017-12-14 2018-04-13 深圳Tcl新技术有限公司 Free memory method for improving, smart television and computer-readable recording medium
CN108566492A (en) * 2018-04-26 2018-09-21 三星电子(中国)研发中心 A kind of method and apparatus for the system level setting restoring APP
CN108804258A (en) * 2018-06-07 2018-11-13 Oppo(重庆)智能科技有限公司 Data reconstruction method, device, mobile terminal and storage medium
CN109460257A (en) * 2017-08-28 2019-03-12 中兴通讯股份有限公司 Setting method, terminal and the computer readable storage medium of application program
CN111324490A (en) * 2020-03-18 2020-06-23 深圳市亿晟科技有限公司 Android advertising machine system recovery method
CN112333544A (en) * 2020-11-09 2021-02-05 四川长虹电器股份有限公司 Method for partitioned protection of Android smart television data
CN112416379A (en) * 2021-01-21 2021-02-26 统信软件技术有限公司 Application program installation method and device, computing equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913699A (en) * 2005-08-12 2007-02-14 中国移动通信集团公司 Method of obtaining mobile terminal ability updating information
CN101251813A (en) * 2008-03-31 2008-08-27 宇龙计算机通信科技(深圳)有限公司 Device and method for mobile telephone system recovery
US7729690B1 (en) * 2006-02-15 2010-06-01 Trend Micro, Inc. Backup and restore of user data for mobile telephone
CN102222027A (en) * 2011-06-20 2011-10-19 中兴通讯股份有限公司 Method and device for restoring factory settings of terminal
CN102256275A (en) * 2010-05-18 2011-11-23 乐金电子(中国)研究开发中心有限公司 Method and mobile communication terminal for power failure protection in factory resetting process

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913699A (en) * 2005-08-12 2007-02-14 中国移动通信集团公司 Method of obtaining mobile terminal ability updating information
US7729690B1 (en) * 2006-02-15 2010-06-01 Trend Micro, Inc. Backup and restore of user data for mobile telephone
CN101251813A (en) * 2008-03-31 2008-08-27 宇龙计算机通信科技(深圳)有限公司 Device and method for mobile telephone system recovery
CN102256275A (en) * 2010-05-18 2011-11-23 乐金电子(中国)研究开发中心有限公司 Method and mobile communication terminal for power failure protection in factory resetting process
CN102222027A (en) * 2011-06-20 2011-10-19 中兴通讯股份有限公司 Method and device for restoring factory settings of terminal

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235728A (en) * 2013-03-20 2013-08-07 青岛海信移动通信技术股份有限公司 Mounting method and device for presetting third party appliances in Android terminal
CN103699420B (en) * 2013-12-31 2017-01-04 海信集团有限公司 System recovery method and system recovery device
CN103699420A (en) * 2013-12-31 2014-04-02 海信集团有限公司 System recovery method and system recovery device
CN105824839A (en) * 2015-01-06 2016-08-03 中兴通讯股份有限公司 Method and apparatus for safe deletion of data in mobile terminal
CN105204909A (en) * 2015-10-12 2015-12-30 Tcl集团股份有限公司 Method and system for upgrading strongly correlated apks based on mobile terminal
CN105740009A (en) * 2016-01-26 2016-07-06 青岛海信移动通信技术股份有限公司 Version upgrading method and terminal equipment
CN105718272B (en) * 2016-02-22 2019-08-27 青岛海信移动通信技术股份有限公司 A kind of method and terminal of terminal factory reset
CN105718272A (en) * 2016-02-22 2016-06-29 青岛海信移动通信技术股份有限公司 Method for restoring factory settings of terminal and terminal
CN107391181A (en) * 2017-06-29 2017-11-24 上海与德科技有限公司 A kind of method and device of system partitioning
CN109460257A (en) * 2017-08-28 2019-03-12 中兴通讯股份有限公司 Setting method, terminal and the computer readable storage medium of application program
CN107911741A (en) * 2017-12-14 2018-04-13 深圳Tcl新技术有限公司 Free memory method for improving, smart television and computer-readable recording medium
CN108566492A (en) * 2018-04-26 2018-09-21 三星电子(中国)研发中心 A kind of method and apparatus for the system level setting restoring APP
CN108804258A (en) * 2018-06-07 2018-11-13 Oppo(重庆)智能科技有限公司 Data reconstruction method, device, mobile terminal and storage medium
CN108804258B (en) * 2018-06-07 2021-02-02 Oppo(重庆)智能科技有限公司 Data recovery method and device, mobile terminal and storage medium
CN111324490A (en) * 2020-03-18 2020-06-23 深圳市亿晟科技有限公司 Android advertising machine system recovery method
CN111324490B (en) * 2020-03-18 2023-05-12 深圳市亿晟科技有限公司 Android advertisement machine system recovery method
CN112333544A (en) * 2020-11-09 2021-02-05 四川长虹电器股份有限公司 Method for partitioned protection of Android smart television data
CN112416379A (en) * 2021-01-21 2021-02-26 统信软件技术有限公司 Application program installation method and device, computing equipment and readable storage medium

Also Published As

Publication number Publication date
CN102591745B (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN102591745B (en) Method and device for system recovery based on android system and intelligent equipment
CN102736978B (en) A kind of method and device detecting the installment state of application program
CN104166561B (en) Electronic equipment system starting method and electronic equipment
CN100426298B9 (en) A kind of cleaning garbage files method and system
CN101641681B (en) Self-managed processing device
CN104040496B (en) Terminal and application recovery method
CN102831035A (en) Information backup method and device
CN103440079A (en) Restoration method for operation interface and communication terminal
CN106610840A (en) FOTA (Firmware Over-The-Air) upgrade method and system
CN102609304B (en) Management method for internal third-party applications of Android mobile phone
KR101513711B1 (en) Method and System for Repairing Damaged Hard Disk File Systems
CN101656627A (en) Method and device for restoring main program and network equipment
CN103064715A (en) Remote upgrade method and system for automatic drive test systems
CN105446768B (en) Method for upgrading system and device
CN103176864A (en) Backup method, backup device and mobile terminal based on Android system
CN104156298A (en) Application monitoring method and device
CN101163050A (en) Equipment near-end maintenance method, system and equipment
CN104049999A (en) Automatic storage device repair system based on network and method thereof
CN111474860A (en) Processing method and device based on failure intelligent scene and storage medium
CN105867962A (en) System upgrading method and device
CN103049343A (en) Method and device for restoring operating system blue screen
CN112506616A (en) System and method for achieving cross-cloud quick recovery of virtual machine based on cloud platform volume
CN103902336A (en) Method and device for controlling starting of operating system
CN104142838A (en) Method and equipment for starting up mobile communication terminal
CN104951348A (en) Interruptible recovery upgrading method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant