CN102591745B - 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
CN102591745B
CN102591745B CN201110444730.7A CN201110444730A CN102591745B CN 102591745 B CN102591745 B CN 102591745B CN 201110444730 A CN201110444730 A CN 201110444730A CN 102591745 B CN102591745 B CN 102591745B
Authority
CN
China
Prior art keywords
application
references table
mount attribute
android system
attribute
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.)
Active
Application number
CN201110444730.7A
Other languages
Chinese (zh)
Other versions
CN102591745A (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

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 based on Android system, device and smart machine
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 Android system.
Background technology
Development and progress along with the communication technology, smart machine is more and more dissolved in people's life, intelligent television for example, smart mobile phone etc., Android system is the application system of a kind of smart machine of GOOGLE exploitation, because its open and advanced liking of users that be subject to, existing Android (android) system is when dispatching from the factory, the system application of Android system (be also called and carry application) can be stored in to system (system) subregion, if system partition space is limited, part is carried to application (Application, app) be stored in data (Data) subregion.
In realizing process of the present invention, there are the following problems for the technical scheme of discovery prior art:
The technical scheme that prior art provides can carry app by part and be stored in Data subregion, user can delete the application that carries of data subregion, and at data subregion, third party's application is installed, and by the third party who verifies, do not apply travelling speed and the stability that may affect whole Android system, cause the smart machine repair rate of current Android system high, the factory reset function that existing Android system carries has been deleted the content of Data subregion completely, also deleted the personal settings of user to operating system, dirigibility is poor.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of system recovery method based on Android system, is intended to solve the high problem of smart machine repair rate of the Android system of prior art.
The embodiment of the present invention is achieved in that a kind of system recovery method based on Android system, and described method comprises:
The mount attribute of the application of the first application references table record in the data partition of traversal Android system, the application that unloading mount attribute is the newly-increased application of user, the mount attribute of the current mounted all application of carrying system in described the first application references table, is applied as the newly-increased application of user or the preset application of dispatching from the factory described in described mount attribute is used for identifying;
Delete mount attribute corresponding to unloaded application in described the first application references table;
The first application references table after the mount attribute that relatively in the system partitioning of Android system, the second application references table is corresponding with deleting unloaded application, according to the mount attribute of described the second application references table record, download and install application corresponding to the unwritten mount attribute of described the first application references table, the mount attribute of the application of installing when described the second application references table dispatches from the factory for recording Android system.
The present invention also provides: a kind of system recovery device based on Android system, and described device comprises:
Application unloading unit, for traveling through the mount attribute of application of the data partition first application references table record of Android system, the application that unloading mount attribute is the newly-increased application of user, the mount attribute of the current mounted all application of carrying system in described the first application references table, is applied as the newly-increased application of user or the preset application of dispatching from the factory described in described mount attribute is used for identifying;
Mount attribute delete cells, for deleting mount attribute corresponding to the unloaded application of described the first application references table;
Application download unit, for comparing the system partitioning second application references table of Android system and deleting the first application references table after mount attribute corresponding to unloaded application, according to the mount attribute of described the second application references table record, download and install application corresponding to the unwritten mount attribute of described the first application references table, the mount attribute of the application of installing when described the second application references table dispatches from the factory for recording Android system.
The present invention also provides a kind of smart machine, and this smart machine comprises the above-mentioned system recovery device based on Android system.
In embodiments of the present invention, carrying application and increasing application newly in the divided data subregion of recovery system time zone, reservation carries application and deletes all newly-increased application to recover plant, has eliminated newly-increased application to carrying the impact of application.With respect to factory reset method of the prior art, the present embodiment can retain user under the prerequisite of the personal settings of operating system, automatically eliminate the impact of newly-increased application on operating system, retain the relevant application of dispatching from the factory, so it has advantages of the smart machine of reduction repair rate.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the system recovery method based on Android system that provides of the embodiment of the present invention one;
Fig. 2 is the process flow diagram of the system recovery method based on Android system that provides of the embodiment of the present invention two;
Fig. 3 is the process flow diagram of the system recovery method based on Android system that provides of the embodiment of the present invention three;
Fig. 4 is the process flow diagram of the system recovery method based on Android system that provides of the embodiment of the present invention four;
Fig. 5 is the process flow diagram of the system recovery method based on Android system that provides of the embodiment of the present invention five;
Fig. 6 is the structural drawing of the system recovery device based on Android system that provides of the embodiment of the present invention six;
Fig. 7 is the structural drawing of the system recovery device based on Android system that provides of the embodiment of the present invention seven;
Fig. 8 is the structural drawing of the system recovery device based on Android system that provides of the embodiment of the present invention eight;
Fig. 9 is the structural drawing of the system recovery device based on Android system that provides of the embodiment of the present invention nine.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
embodiment mono-:
A kind of system recovery method based on Android system provided by the invention, the method is completed by smart machine (such as intelligent television, Web TV or smart mobile phone etc.), and the method 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 Android system, the application that unloading mount attribute is the newly-increased application of user, the mount attribute of the current mounted all application of carrying system in this first application references table, this mount attribute is used for identifying this and is applied as the newly-increased application of user or the preset application of dispatching from the factory.
In the present embodiment, when to the recovery operation of Android system executive system, the mount attribute of the first application references table record of ergodic data subregion, searches mount attribute for the application of the newly-increased application of user.Wherein, the mount attribute of the first application references table record comprises that the title of application, the android installation kit of application (android package, apk) title, the picture name that application shows, the upgrading sign of application and sign or the application that application is the newly-increased application of user are the signs of preset application of dispatching from the factory.Finding mount attribute for user after newly-increased application, the application that unloading finds.
Step S12, delete mount attribute corresponding to unloaded application in this first application references table.
In the present embodiment, after user has unloaded certain mounted application, Android system is deleted the mount attribute of this unloading application of recording in the first application references table of data partition, so that the mount attribute of the first application references table record is all the mount attribute of the application correspondence of current installation in Android system.
The second application references table and delete the first application references table after mount attribute corresponding to unloaded application in the system partitioning of step S13, comparison Android system, according to the mount attribute of this second application references table record, download and install application corresponding to this unwritten mount attribute of the first application references table, the mount attribute of the application of installing when this second application references table dispatches from the factory for recording Android system.
In the present embodiment, before Android system dispatches from the factory, in the system partitioning of this Android system, set up in advance the second application references table, the mount attribute of the application of installing when this second application references table dispatches from the factory for recording Android system, the mount attribute of this application comprises that the android installation kit title of the title of application, application, the picture name that application shows, the upgrading sign of application and sign or the application that application is the newly-increased application of user are the signs of preset application of dispatching from the factory.For example, suppose that A application is that Android system dispatches from the factory and carries, B application is that user increases newly, in the mount attribute of this A application, by this A application identities, be Ori, in the mount attribute of B application, by this B application identities, be New, certainly, the concrete sign of mount attribute can be determined according to actual conditions, is not construed as limiting herein.
In the present embodiment, because the mount attribute of the second application references table record of system partitioning is the mount attribute of preset application of dispatching from the factory, therefore and the second application references table of system partitioning cannot be revised after dispatching from the factory, when recovery system, take the mount attribute of the second application references table record as main.The second application references table of comparison system subregion and the first application references table of data partition, download and install application corresponding to unwritten mount attribute in the first application references table according to the mount attribute of the second application references table record.
In first embodiment of the invention, the mount attribute of the mount attribute of preset application and the newly-increased application of user when the first application references table of data partition dispatches from the factory for storing Android system, the second application references table of system partitioning is the mount attribute of preset application when storing Android system and dispatch from the factory only, by using the storage of two application references tables to be arranged on the mount attribute of the application of Android system, can the effectively user-isolated third party from installing apply and the Android system preset application of dispatching from the factory.When needs recovery system, by download again and installation that relatively the mount attribute of two application references table records is applied unloading or applied, thereby effectively isolate the system shakiness that third party's application causes, reduce the repair rate of the smart machine of Android system.
embodiment bis-:
The present invention also provides a kind of system recovery method based on Android system, and the method is completed by smart machine (such as intelligent television, Web TV or smart mobile phone etc.), and the method as shown in Figure 2.
In the system recovery method providing at the present embodiment two, before recovery system, first set up the first application references table of data partition.Wherein, the mount attribute of the first application references table record mainly comprises 2 parts, a part is the mount attribute of preset application of dispatching from the factory, another part is the mount attribute of the newly-increased application of user, therefore, the mount attribute (above-described embodiment step S11) of the present embodiment application of the first application references table record in the data partition of carrying out traversal Android system also comprises step S21 and step S22 before.
Step S21, when Android system moves starter launcher first, judge whether data partition exists the first application references table, if do not exist, the second application references table of dubbing system subregion arrives data partition, the first application references table using the second application references table of the system partitioning of copying as data partition.
In the present embodiment, when Android system is started shooting first, detect data partition and whether have the first application references table, if the first application references table cannot be detected, the second application references table of dubbing system subregion, and the first application references table using the second application references table copying as data partition, like this, just there is the first application references table in data partition, in this first application references table, recorded the mount attribute of the application correspondence that Android system dispatches from the factory preset, then according to the starter launcher (this launcher is android feature user entry device) of the first application references table operation Android system of data partition, if the first application references table detected, directly according to the starter launcher of the first application references table operation Android system detecting.
Step S22, reception third party apply the instruction of installation, and in the first application references table of data partition, record the mount attribute of this third party's application.
In the present embodiment, user is when using terminal corresponding to Android system, if desired newly-increased other application in this terminal, Android system will be broadcasted the instruction of installation after application installation, and then the present embodiment applies after the instruction of installation receiving newly-increased third party, mount attribute corresponding to newly-increased application deposited in the first application references table of data partition.
Wherein, the implementation procedure of the step S23 of the present embodiment~step S25 is identical with step S11~step S13 of embodiment mono-, repeats no more herein.
In second embodiment of the invention, when Android system needs the first application references table of usage data subregion when moving main interface starter launcher, if the first application references table cannot be detected in data partition, from system partitioning, copy the second application references table to data partition, concordance list in data partition is called the first application references table, and the first application references table is installed the mount attribute of application and the mount attribute of the newly-increased application of subsequent user for recording to dispatch from the factory.Owing to using two application references table mechanism, the pre-installation application that therefore effectively user-isolated third party's application of certainly installing and Android system dispatch from the factory.
embodiment tri-:
Fig. 3 shows another kind that the embodiment of the present invention the provides system recovery method flow process based on Android system, and details are as follows:
In the present embodiment, before executive system recovery operation, can judge whether Android system operation is abnormal, and then automatically trigger rejuvenation when judgement is abnormal.The system recovery method providing with respect to the first embodiment, the present embodiment carry out traversal the first application references table record application mount attribute (the step S11 in embodiment mono-) before, further comprise step:
Step S31, by monitoring process, detect the running status of Android system, the priority of this monitoring process is higher than the priority of these other processes of Android 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, at this monitoring process, this Android system detected entering arbitrary process exception while stopping, judge this Android system operation exception.
Wherein, Android system stops and enters unrecoverable state also referred to as this Android system in a certain process exception.Abnormal stop to be specifically as follows over Preset Time cannot respond or response results is made mistakes.In the present embodiment, when user normally starts after Android system, if the monitoring process on backstage detects this Android system, in a certain process exception, stop, judge this Android system operation exception.If Android system is extremely not resident in entering process process, judge this Android system normal operation.
Step S33, after judging this Android system operation exception, executive system recovery operation.
In the present embodiment, the priority of monitoring process, higher than the priority of other processes of this Android system, therefore also can start the brand-name computer system that automatically recovers after this Android system enters unrecoverable state.
Alternatively, in the setting option of Android system, provide recovery system entrance, for user's Active recovery system, use.
Wherein, the implementation procedure of the step S34 of the present embodiment~step S36 is identical with step S11~step S13 of embodiment mono-, repeats no more herein.
embodiment tetra-:
Fig. 4 shows another kind that the embodiment of the present invention the provides system recovery method flow process based on Android system, and the present embodiment mainly describes the step S11 of embodiment mono-in detail, specific as follows:
Step S41, between the host process of Android system and starter launcher, insert recovery system sign.
In the present embodiment, no matter be Active recovery system or passive recovery system, after startup system is recovered, all between the host process of Android system and starter launcher, insert recovery system sign, so that the host process of Android system judges whether to carry out restore system operation.Wherein, this recovery system sign can be the symbol of appointment.
The host process of step S42, Android system detects this recovery system sign, and after this recovery system sign being detected, travels through the mount attribute of this first application references table record, and unloads the application that mount attribute is designated the newly-increased application of user.
In the present embodiment, if the host process of Android system detects after the recovery system sign of insertion, travel through the mount attribute of this first application references table record, the mount attribute that the attribute-bit that dispatches from the factory of searching the first application references table record is the newly-increased application of user, and unload application corresponding to mount attribute that mount attribute is designated the newly-increased application of user.Further, after having recovered, deletes Android system the recovery system sign of inserting.
Wherein, the implementation procedure of the step S43 of the present embodiment~step S44 is identical with step S12~step S13 of embodiment mono-, repeats no more herein.
embodiment five:
Fig. 5 shows another kind that the embodiment of the present invention the provides system recovery method flow process based on Android system, and the present embodiment mainly describes the step S13 of embodiment mono-in detail, specific as follows:
Wherein, the step S51 of the present embodiment, step S52 are identical with step S11, the step S12 of embodiment mono-respectively, repeat no more herein.
Step S53, comparison the second application references table and delete the first application references table after mount attribute corresponding to unloaded application.
In the present embodiment, because part system carries to be applied in while dispatching from the factory, be arranged on data partition, thereby user can freely unload, thereby the mount attribute that the first application references table middle part subsystem carries application may be deleted falls.
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 to the record sheet in the application program shop of local Android system.
In the present embodiment, if user has deleted the certain applications that system is dispatched from the factory and carried, mount attribute corresponding to the certain applications of being deleted by user write in the record sheet in application program shop of local Android system, so that follow-up, according to the mount attribute of record, download corresponding application, reporting system has default application to need manually to upgrade simultaneously.Concrete Notification Method can be: the upgrading sign of the first application references table default application is set to " Yes ", certainly, also the upgrading sign of default application can be set to "Yes" etc., be not construed as limiting herein.
Step S55, according to the mount attribute prompting user manual installation application of the record sheet in application program shop.
In the present embodiment, after user starts shooting again, the first application references table of launcher calling data subregion, detect each mount attribute recording in this first application references table, to judge whether the application that this mount attribute is corresponding needs upgrading, if need upgrading, by toast mechanism prompting user, need to carry out manual installation application according to the information in application program shop.
It is pointed out that the present embodiment also can also arrange application program shop and carry out default application autoinstall procedure.
The download instruction that step S56, reception user trigger, and download and install application according to the download instruction receiving.
In the present embodiment, the download instruction triggering according to the user who receives is downloaded the application of appointment from application program shop, and the application of download is arranged in Android system.Owing to downloading and having installed at the second application references table existence record there is not the application corresponding to mount attribute of record in the first application references table, and the mount attribute of this second application references table record to be all Android system dispatch from the factory carries mount attribute corresponding to application, therefore after corresponding application is installed, can recover Android system.
In fifth embodiment of the invention, when application corresponding to all mount attributes that are designated the newly-increased application of user is all after completion of discharge, the 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 is lacked writes in the record sheet in application program shop of local Android system, notify this Android system to have default application to need manually to upgrade simultaneously.When user add at the second application references table, there is record and after the first application references table does not exist the application of record, Android system is removed recovery system sign.Further, in application program shop, active correlation needs the application of manually upgrading, so that user completes manual renewal operation fast.
embodiment six:
Sixth embodiment of the invention provides a kind of system recovery device based on Android system, and this installs as shown in Figure 6, specifically comprises:
Application unloading unit 61, for traveling through the mount attribute of application of the data partition first application references table record of Android system, the application that unloading mount attribute is the newly-increased application of user, the mount attribute of the current mounted all application of carrying system in this first application references table, this mount attribute is used for identifying this and is applied as the newly-increased application of user or the preset application of dispatching from the factory.
In the present embodiment, the mount attribute of the first application references table record comprises that the apk title of the title of application, application, the picture name that application shows, the upgrading sign of application and sign or the application that application is the newly-increased application of user are the signs of preset application of dispatching from the factory.
Mount attribute delete cells 62, for deleting mount attribute corresponding to this unloaded application of the first application references table.
In the present embodiment, when application unloading unit 61 has unloaded after part installed application, mount attribute delete cells 62 delete the first application references table records this apply corresponding mount attribute.
Application download unit 63, for comparing the system partitioning second application references table of Android system and deleting the first application references table after mount attribute corresponding to unloaded application, according to the mount attribute of this second application references table record, download and install application corresponding to this unwritten mount attribute of the first application references table, the mount attribute of the application of installing when this second application references table dispatches from the factory for recording Android system.
In the present embodiment, the second application references table of system partitioning is that Android system has been set up while dispatching from the factory, for recording the mount attribute that carries application when this Android system dispatches from the factory.Therefore because the second application references table of system partitioning cannot be revised after dispatching from the factory, when recovery system, take the mount attribute of the second application references table record as main.
The system recovery device that sixth embodiment of the invention provides can be used in system recovery method first embodiment of aforementioned correspondence, and details are referring to the description of above-described embodiment one.The mount attribute of preset application and the mount attribute of the newly-increased application of user when the first application references table of system recovery device in data partition dispatches from the factory for storing Android system, the second application references table of system partitioning is the mount attribute of preset application when storing Android system and dispatch from the factory only, by using two application references table storages to be arranged on the mount attribute of the application of Android system, preset application that the effectively user-isolated third party from installing applies and Android system dispatches from the factory.When needs recovery system, by download again and installation that relatively the mount attribute of two application references table records is applied unloading or applied, thereby effectively isolate the system shakiness that third party's application causes, reduce the repair rate of the smart machine of Android system.
embodiment seven:
Seventh embodiment of the invention provides a kind of system recovery device based on Android system, and this installs as shown in Figure 7, specifically comprises:
The first judging unit 71, for when Android system moves starter launcher first, judges whether data partition exists the first application references table.
In the present embodiment, when starting shooting first, the first judging unit 71 judges whether data partition exists the first application references table identical with the mount attribute of the second application references table record of system partitioning.
The mount attribute adding device 72 that dispatches from the factory, for when the first application references table does not exist, the second application references table of dubbing system subregion is to data partition, the first application references table using the second application references table of the system partitioning of copying as data partition.
In the present embodiment, when the 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 first application references table using the second application references table copying as data partition.
Newly-increased mount attribute adding device 73, applies the instruction of installation for receiving third party, and in the first application references table of data partition, records the mount attribute of this third party's application.
In the present embodiment, after the new application of user installation, the first application references table will record the mount attribute of this new installation application.
Wherein, the application unloading unit 74 of the present embodiment, mount attribute delete cells 75, application download unit 76 are identical with application unloading unit 61, mount attribute delete cells 62, the application download unit 63 of embodiment six respectively, repeat no more herein.
The system recovery device that seventh embodiment of the invention provides can be used in system recovery method second embodiment of aforementioned correspondence, and details are referring to the description of above-described embodiment two.In seventh embodiment of the invention, system recovery device has been set up the first application references table in data partition, by using these two application references table mechanism of the second application references table of system partitioning and the first application references table of data partition, thus the pre-installation application that the effectively user-isolated third party from installation application and Android system dispatch from the factory.
embodiment eight:
Eighth embodiment of the invention provides a kind of system recovery device based on Android system, and this installs as shown in Figure 8, specifically comprises:
Condition monitoring unit 81, for detect the running status of Android system by monitoring process, the priority of this monitoring process is higher than the priority of these other processes of Android 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, for this Android system being detected at this monitoring process when entering arbitrary process exception stop, judges this Android system operation exception.
In the present embodiment, when user normally starts after Android system, if the monitoring process on backstage detects this Android system, in a certain process exception, stop, judge this Android system operation exception.If Android system is extremely not resident in entering process process, judge this Android system normal operation.
System is recovered trigger element 83, for after judging this Android system operation exception, triggers the 84 executive system recovery operations of application unloading unit.
In the present embodiment, the priority of monitoring process, higher than the priority of other processes of this Android system, therefore also can start the brand-name computer system that automatically recovers at Android system after a certain process exception stops.Further, also can in the setting option of Android system, provide recovery system entrance, for user's Active recovery system, use.
Wherein, the application unloading unit 84 of the present embodiment, mount attribute delete cells 85, application download unit 86 are identical with application unloading unit 61, mount attribute delete cells 62, the application download unit 63 of embodiment six respectively, repeat no more herein.
The system recovery device that eighth embodiment of the invention provides can be used in system recovery method the 3rd embodiment of aforementioned correspondence, and details are referring to the description of above-described embodiment three.In eighth embodiment of the invention, the status information that abnormal state judging unit 82 obtains according to condition monitoring unit 81 judges that whether the operation of Android system is abnormal, and when operation exception, starts restore system operation.Due to the priority of the monitoring process priority higher than other processes of Android system, therefore at Android system, after stopping, a certain process exception also can start the brand-name computer system that automatically recovers, and assurance system is recovered execution smoothly.
embodiment nine:
Ninth embodiment of the invention provides a kind of system recovery device based on Android system, and this installs as shown in Figure 9, specifically comprises:
Application 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 newly-increased application Unload module 912.
Recovery system sign insert module 911, for inserting recovery system sign between the host process at Android system and starter launcher.
In the present embodiment, no matter be Active recovery system or passive recovery system, after startup system is recovered, all between the host process of Android system and starter launcher, insert recovery system sign, so that the host process of Android system judges whether to carry out restore system operation.Wherein, this recovery system sign can be the symbol of appointment.
Newly-increased application Unload module 912, the host process of Android system detects this recovery system sign, and after this recovery system sign being detected, travels through the mount attribute of this first application references table record, and unloads mount attribute for the application of the newly-increased application of user.
In the present embodiment, if recovery system sign detected, start 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, for the first application references table after the mount attribute that relatively this second application references table is corresponding with deleting unloaded application.
In the present embodiment, because part system carries to be applied in while dispatching from the factory, be arranged on data partition, thereby user can freely unload, thereby the mount attribute that the first application references table middle part subsystem carries application may be deleted.
Different mount attribute writing modules 932, for when this second application references table exists the unwritten mount attribute of this first application references table, the unwritten mount attribute of this first application references table is write to the record sheet in the application program shop of local Android system.
In the present embodiment, if user has deleted the certain applications that system is dispatched from the factory and carried, mount attribute corresponding to the certain applications of being deleted by user write in the record sheet in application program shop of local Android system, so that follow-up, according to the mount attribute of record, download corresponding application, reporting system has default application to need manually to upgrade simultaneously.
Application installation suggestion module 933, applies for the mount attribute prompting user manual installation according to the record sheet in application program shop.
In the present embodiment, after user starts shooting again, the first application references table of launcher calling data subregion, detect each mount attribute recording in this first application references table, to judge whether the application that this mount attribute is corresponding needs upgrading, if need upgrading, by toast mechanism prompting user, need to carry out manual installation application according to the information in application program shop.
Application installation module 934, the download instruction triggering for receiving user, and download and install application according to the download instruction receiving.
In the present embodiment, the download instruction triggering according to the user who receives is downloaded the application of appointment from application program shop, and the application of download is arranged in Android system.
The system recovery device that ninth embodiment of the invention provides can be used in system recovery method fourth, fifth embodiment of aforementioned correspondence, and details are referring to above-described embodiment four and five description.In embodiments of the present invention, the mount attribute of the mount attribute of preset application and the newly-increased application of user when the first application references table of data partition dispatches from the factory for storing Android system, the second application references table of system partitioning is the mount attribute of preset application when storing Android system and dispatch from the factory only, by using two application references table storages to be arranged on the mount attribute of the application of Android system, preset application that the effectively user-isolated third party from installing applies and Android system dispatches from the factory.When needs recovery system, by download again and installation that relatively the mount attribute of two application references table records is applied unloading or applied, thereby effectively isolate the system shakiness that third party's application causes, reduce the repair rate of the smart machine of Android system.
The embodiment of the present invention also provides a kind of smart machine, and this smart machine comprises the system recovery device based on Android system.Wherein, the detailed structure of the system recovery device based on Android system, referring to the associated description of above-described embodiment six to nine, no longer repeats at this.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (9)

1. the system recovery method based on Android system, is characterized in that, described method comprises:
When Android system moves starter launcher first, judge whether data partition exists the first application references table;
If do not exist, the second application references table of dubbing system subregion arrives data partition, the first application references table using the second application references table of the system partitioning of copying as data partition;
The mount attribute of the application of the first application references table record in the data partition of traversal Android system, the application that unloading mount attribute is the newly-increased application of user, the mount attribute of the current mounted all application of carrying system in described the first application references table, is applied as the newly-increased application of user or the preset application of dispatching from the factory described in described mount attribute is used for identifying;
Delete mount attribute corresponding to unloaded application in described the first application references table;
The first application references table after the mount attribute that relatively in the system partitioning of Android system, the second application references table is corresponding with deleting unloaded application, according to the mount attribute of described the second application references table record, download and install application corresponding to the unwritten mount attribute of described the first application references table, the mount attribute of the application of installing when described the second application references table dispatches from the factory for recording Android system.
2. the method for claim 1, is characterized in that, described method, also comprises the steps: at the second application references table of carrying out dubbing system subregion after data partition
Receive third party and apply the instruction of installation, and in the first application references table of data partition, record the mount attribute of described third party's application.
3. 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 described traversal Android system, before the applying step of unloading mount attribute for the newly-increased application of user, further comprises the steps:
By monitoring process, detect the running status of Android system, the priority of described monitoring process is higher than the priority of described other processes of Android system;
At described monitoring process, described Android system detected when entering arbitrary process exception stop, judge described Android system operation exception;
After judging described Android system operation exception, executive system recovery operation.
4. 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 described traversal Android system, and the step of the application that unloading mount attribute is applied for user is newly-increased specifically comprises:
Between the host process of Android system and starter launcher, insert recovery system sign;
The host process of Android system detects described recovery system sign, and after described recovery system sign being detected, travels through the mount attribute of described the first application references table record, and unloads mount attribute for the application of the newly-increased application of user.
5. the method for claim 1, it is characterized in that, the first application references table after the mount attribute that in the system partitioning of described relatively Android system, the second application references table is corresponding with deleting unloaded application, the step of downloading and installing the application that the unwritten mount attribute of described the first application references table is corresponding according to the mount attribute of described the second application references table record specifically comprises:
More described the second application references table and delete the first application references table after mount attribute corresponding to unloaded application;
When described the second application references table exists the unwritten mount attribute of described the first application references table, the unwritten mount attribute of described the first application references table is write to the record sheet in the application program shop of local Android system;
According to the mount attribute prompting user manual installation application of the record sheet in application program shop;
Receive the download instruction that user triggers, and download and install application according to the download instruction receiving.
6. the system recovery device based on Android system, is characterized in that, described device comprises:
The first judging unit, for when Android system moves starter launcher first, judges whether data partition exists the first application references table;
The mount attribute adding device that dispatches from the factory, for when the first application references table does not exist, the second application references table of dubbing system subregion is to data partition, the first application references table using the second application references table of the system partitioning of copying as data partition;
Newly-increased mount attribute adding device, applies the instruction of installation for receiving third party, and in the first application references table of data partition, records the mount attribute of described third party's application;
Application unloading unit, for traveling through the mount attribute of application of the data partition first application references table record of Android system, the application that unloading mount attribute is the newly-increased application of user, the mount attribute of the current mounted all application of carrying system in described the first application references table, is applied as the newly-increased application of user or the preset application of dispatching from the factory described in described mount attribute is used for identifying;
Mount attribute delete cells, for deleting mount attribute corresponding to the unloaded application of described the first application references table;
Application download unit, for comparing the system partitioning second application references table of Android system and deleting the first application references table after mount attribute corresponding to unloaded application, according to the mount attribute of described the second application references table record, download and install application corresponding to the unwritten mount attribute of described the first application references table, the mount attribute of the application of installing when described the second application references table dispatches from the factory for recording Android system.
7. device as claimed in claim 6, is characterized in that, described device also comprises:
Condition monitoring unit, for detect the running status of Android system by monitoring process, the priority of described monitoring process is higher than the priority of described other processes of Android system;
Abnormal state judging unit, for described Android system being detected at described monitoring process when entering arbitrary process exception stop, judges described Android system operation exception;
System is recovered trigger element, for after judging described Android system operation exception, triggers the recovery operation of described application unloading unit executive system.
8. device as claimed in claim 6, is characterized in that,
Described application unloading unit comprises:
Sign insert module, for inserting recovery system sign between the host process at Android system and starter launcher;
Newly-increased application Unload module, the host process of Android system detects described recovery system sign, and after described recovery system sign being detected, travels through the mount attribute of described the first application references table record, and unloads mount attribute for the application of the newly-increased application of user;
Described application download unit comprises:
Mount attribute comparison module, for the first application references table after more described the second application references table mount attribute corresponding with deleting unloaded application;
Different mount attribute writing modules, for when described the second application references table exists the unwritten mount attribute of described the first application references table, the unwritten mount attribute of described the first application references table is write to the record sheet in the application program shop of local Android system;
Application installation suggestion module, applies for the mount attribute prompting user manual installation according to the record sheet in application program shop;
Application installation module, the download instruction triggering for receiving user, and download and install application according to the download instruction receiving.
9. a smart machine, is characterized in that, described smart machine comprises the system recovery device based on Android system as described in claim 6 to 8 any one.
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 CN102591745A (en) 2012-07-18
CN102591745B true 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)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235728B (en) * 2013-03-20 2016-08-10 青岛海信移动通信技术股份有限公司 The installation method of preset third-party application and device in Android terminal
CN103699420B (en) * 2013-12-31 2017-01-04 海信集团有限公司 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
CN105740009B (en) * 2016-01-26 2019-09-17 青岛海信移动通信技术股份有限公司 Version upgrading method and terminal device
CN105718272B (en) * 2016-02-22 2019-08-27 青岛海信移动通信技术股份有限公司 A kind of method and terminal of terminal factory reset
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
CN108804258B (en) * 2018-06-07 2021-02-02 Oppo(重庆)智能科技有限公司 Data recovery method and device, mobile terminal and storage medium
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
CN112416379B (en) * 2021-01-21 2021-06-01 统信软件技术有限公司 Application program installation method and device, computing equipment and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100448322C (en) * 2005-08-12 2008-12-31 中国移动通信集团公司 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
CN102222027B (en) * 2011-06-20 2017-07-04 中兴通讯股份有限公司 Terminal factory reset method and device

Also Published As

Publication number Publication date
CN102591745A (en) 2012-07-18

Similar Documents

Publication Publication Date Title
CN102591745B (en) Method and device for system recovery based on android system and intelligent equipment
CN104166561B (en) Electronic apparatus system starts method and electronic equipment
CN102736978B (en) A kind of method and device detecting the installment state of application program
CN100426298B9 (en) A kind of cleaning garbage files method and system
CN102135992B (en) Terminal application program classifying method and terminal
CN100421071C (en) Updating method for distance equipment system software
CN106610840A (en) FOTA (Firmware Over-The-Air) upgrade method and system
CN103428333B (en) Mobile terminal, server and errors repair method
KR101513711B1 (en) Method and System for Repairing Damaged Hard Disk File Systems
CN102609304B (en) Management method for internal third-party applications of Android mobile phone
CN102662689A (en) Method and system for upgrading embedded software based on USB interface
CN102541595A (en) Method and device for upgrading intelligent device and intelligent device
CN102360298A (en) Software upgrading method of terminal equipment
CN101656627A (en) Method and device for restoring main program and network equipment
CN102591680A (en) Method for automatically deleting and unloading software related files
CN105867962A (en) System upgrading method and device
CN103442272A (en) System upgrading method
CN105446768B (en) Method for upgrading system and device
CN104461526A (en) Widget traversing method and device of terminal application program
CN112506616A (en) System and method for achieving cross-cloud quick recovery of virtual machine based on cloud platform volume
US20100017863A1 (en) Portable storage apparatus for providing working environment migration service and method thereof
CN106055372A (en) Method and device for uninstalling application
CN105700903A (en) User terminal upgrading method and user terminal
CN104142838A (en) Method and equipment for starting up mobile communication terminal
CN117056115B (en) Application program repairing method and device, storage medium and electronic equipment

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