CN104346206A - Method and system for recovering installation of unloaded software - Google Patents

Method and system for recovering installation of unloaded software Download PDF

Info

Publication number
CN104346206A
CN104346206A CN201410601956.7A CN201410601956A CN104346206A CN 104346206 A CN104346206 A CN 104346206A CN 201410601956 A CN201410601956 A CN 201410601956A CN 104346206 A CN104346206 A CN 104346206A
Authority
CN
China
Prior art keywords
software
restored
information
unloaded
user data
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
CN201410601956.7A
Other languages
Chinese (zh)
Other versions
CN104346206B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410601956.7A priority Critical patent/CN104346206B/en
Publication of CN104346206A publication Critical patent/CN104346206A/en
Application granted granted Critical
Publication of CN104346206B publication Critical patent/CN104346206B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for recovering installation of unloaded software. The method is characterized by comprising the following steps: confirming to-be-recovered software and acquiring the software information of the to-be-recovered software, wherein the software information comprises the original installation path of the to-be-recovered software; acquiring the ROOT authority of a terminal system; determining that whether the property of a mounting point corresponding to the original installation path is read-write property or not; copying the program file of backup to-be-recovered software and user data information of the to-be-recovered software under the original installation path; after performing copying successfully, loading prompt information in a terminal interface to prompt a user that installation recovery of the to-be-recovered software is successful. Through the method provided by the invention, installation recovery of unloaded pre-installed software can be realized.

Description

The method and system that a kind of unloaded software rejuvenation is installed
Technical field
The present invention relates to application software technology field, be specifically related to the method and system that a kind of unloaded software rejuvenation is installed.
Background technology
Pre-installed software generally refers to that terminal is dispatched from the factory and carries or be preloaded onto the software in the middle of terminal by third party's channel.Pre-installed applications, owing to installing can directly use without the need to user oneself, thus brings many facilities to user.
At present, the part pre-installed software that end side is installed, in order to save the EMS memory occupation amount of end side, often uninstalls by some user.Because terminal is to the Preservation tactics of pre-installed applications; pre-installed software is made cannot again to recover to be installed to end side after unloaded; also namely, pre-installed software cannot realize reverse recovery installation process after by mistake unloading (deletion), affects the various functions that user normally uses terminal.
Visible, the problem that those skilled in the art need solution badly is: how to realize the recovery installation process to unloaded pre-installed software.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of method and system overcoming the problems referred to above or a kind of unloaded software rejuvenation that solves the problem at least in part and install.
According to one aspect of the present invention, provide a kind of method that unloaded software rejuvenation is installed, comprising:
Determine software to be restored, and obtain the software information of described software to be restored; Wherein, described software information comprises: the original installation path of software to be restored;
Obtain the ROOT authority of terminal system;
The attribute determining the mount point that described original installation path is corresponding is read-write properties;
Under the program file of software to be restored of backup and the user data information of described mounting software to be restored are copied to described original installation path;
After replicate run success, load information, to point out software rejuvenation successful installation to be restored described in user at terminal interface.
According to a further aspect in the invention, provide the system that a kind of unloaded software rejuvenation is installed, comprising:
First determination module, for determining software to be restored;
Software information acquisition module, for obtaining the software information of described software to be restored; Wherein, described software information comprises: the original installation path of software to be restored;
Authority acquiring module, for obtaining the ROOT authority of terminal system;
Second determination module, for determining that the attribute of the mount point that described original installation path is corresponding is read-write properties;
Replication module, under copying to described original installation path by the program file of software to be restored of backup and the user data information of described mounting software to be restored;
Signal load unit, for after replicate run success, loads information, to point out software rejuvenation successful installation to be restored described in user at terminal interface.
The scheme that disclosed in the embodiment of the present invention, a kind of unloaded software rejuvenation is installed, obtaining the ROOT authority of terminal system and after determining that mount point attribute is read-write properties, under directly the program file of the software to be restored of backup and user data information directly being copied to original installation path, achieve the recovery installation process of unloaded software.Meanwhile, under unloaded software is resumed and is mounted to original path, also, under unloaded pre-installed software can being recovered to be mounted to the system partitioning of end side (protected partition), ensure that the security recovering the pre-installed software installed.
Further, under user data information also being returned to original path in recovery installation process, the pre-installed applications of recovering to install can upgrade internal data according to the user data information recovered, and keeps the synchronous of data message.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is the flow chart of steps of a kind of method that in the embodiment of the present invention one, unloaded software rejuvenation is installed;
Fig. 2 is the flow chart of steps of a kind of method that in the embodiment of the present invention two, unloaded software rejuvenation is installed;
Fig. 3 is the flow chart of steps of a kind of method that in the embodiment of the present invention three, unloaded software rejuvenation is installed;
Fig. 4 is the structural representation of the system that in the embodiment of the present invention four, a kind of unloaded software rejuvenation is installed;
Fig. 5 is the structural representation of the system that in the embodiment of the present invention five, a kind of unloaded software rejuvenation is installed.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiment one
With reference to Fig. 1, show the flow chart of steps of a kind of method that unloaded software rejuvenation is installed in the embodiment of the present invention one.In the present embodiment, the method that described unloaded software rejuvenation is installed, comprising:
Step 102, determines software to be restored, and obtains the software information of described software to be restored.
In the present embodiment, described software to be restored includes but are not limited to is the unloaded pre-installed software of end side.Wherein, described software information comprises: the original installation path of software to be restored.
Step 104, obtains the ROOT authority of terminal system.
Described in front, described software to be restored is unloaded pre-installed software, due to the protected property (writing in the firmware of terminal) of pre-installed software, therefore before recovery is installed, needs the ROOT authority obtaining terminal system.
Step 106, determines that the attribute of the mount point that described original installation path is corresponding is read-write properties.
Step 108, under copying to described original installation path by the program file of software to be restored of backup and the user data information of described mounting software to be restored.
Here it should be noted that, described software to be restored, except being unloaded pre-installed software, can also be unloaded conventional software, and wherein, described conventional software refers to the software that user installs voluntarily when using terminal.If described software to be restored is unloaded conventional software, under then directly the program file of described software to be restored and user data information can being copied to corresponding original installation path, or, by the installation procedure that the software to be restored running backup is corresponding, under described software to be restored is reinstalled to original path.Preferably, no matter described software to be restored is unloaded pre-installed software or unloaded conventional software, and after recovery is installed, described software to be restored is all re-write under original path.
Step 110, after replicate run success, loads information, to point out software rejuvenation successful installation to be restored described in user at terminal interface.
In sum, the method that unloaded software rejuvenation described in the present embodiment is installed, obtaining the ROOT authority of terminal system and after determining that mount point attribute is read-write properties, under directly the program file of the software to be restored of backup and user data information directly being copied to original installation path, achieve the recovery installation process of unloaded software.Meanwhile, under unloaded software is resumed and is mounted to original path, also, under unloaded pre-installed software can being recovered to be mounted to the system partitioning of end side (protected partition), ensure that the security recovering the pre-installed software installed.
Further, under user data information also being returned to original path in recovery installation process, the pre-installed applications of recovering to install can upgrade internal data according to the user data information recovered, and keeps the synchronous of data message.
Embodiment two
With reference to Fig. 2, show the flow chart of steps of a kind of method that unloaded software rejuvenation is installed in the embodiment of the present invention two.In the present embodiment, the software recovering to install mainly refers to unloaded from end side pre-installed software, in order to ensure that pre-installed software can be successfully completed recovery installation process after the unloading, third-party application processes the pre-installed software of unloading in advance in pre-installed software uninstall process.Can be understood as, in the present embodiment, the method that described unloaded software rejuvenation is installed specifically can be divided into two stages to perform:
The method that described unloaded software rejuvenation is installed specifically comprises in pre-installed software unloading (being also the software to be restored in follow-up recovery installation process) process:
Step 202, the software information of software to be restored of third-party application backup unloading, program file and user data information.
In the present embodiment, any one suitable mode can be adopted to back up described software information, program file and user data information.As:
One preferably, under the software information of described software to be restored, program file and user data information are backed up to the setting subregion of present terminal side and/or the other-end side except described present terminal by third-party application.Wherein, in order to ensure the successful recovery of software to be restored, need the highest weight limit ensureing backup subregion, also, the System Privileges of described setting subregion is higher than the System Privileges of other subregion of terminal (comprising present terminal and other terminal) side corresponding to described setting subregion.
Another preferably, the software information of described software to be restored, program file and user data information are backed up to cloud server by third-party application.
Step 204, third-party application sets up unloaded software matrix, is kept in described unloaded software matrix by the indication information of unloaded software to be restored.
In the present embodiment, the indication information of unloaded software to be restored can be preserved by setting up a unloaded software matrix.Wherein, described indication information comprises: at least one in the title of unloaded software to be restored, profile information, comment information, label information and download time information; So that user, when needing to recover to install described unloaded software to be restored, can understand the various information of software to be restored, and determine which pre-installed software is unloaded according to above-mentioned indication information.
Step 206, third-party application, according to the trigger action request to software in described unloaded software matrix, determines described software to be restored.
In the present embodiment, preferably, be loaded with a key in described unloaded software matrix and recover Installation Options, also be, the each unloaded pre-installed software correspondence recorded in described unloaded software matrix is loaded with a key and recovers Installation Options, when a described key recovery Installation Options is triggered, can determine that user determines the software to be restored needing to recover.
The method that described unloaded software rejuvenation is installed is recovered specifically to comprise in installation process at pre-installed software:
Step 208, third-party application obtains software information corresponding to the software to be restored determined.
In the present embodiment, software to be restored can be determined according to above-mentioned steps 206.Third-party application, after determining software to be restored, obtains the software information of described software to be restored further.Wherein, described software information specifically can comprise: the original installation path of software to be restored.Preferably, described original installation path refers to described software to be restored before unloaded in the installation site of end side.
Step 210, third-party application obtains the ROOT authority of terminal system.
Step 212, third-party application calls carry order, by terminal carry under the path that described and described original installation path matches.
Step 214, third-party application judges whether the attribute of the mount point that described original installation path is corresponding is read-write properties.
In the present embodiment, if the attribute of mount point corresponding to described original installation path is read-write properties, then following step 216 is performed.If the attribute of the mount point that described original installation path is corresponding is not read-write properties, be then read-write properties by the attribute modification of described mount point, and continue to perform step 216 after attribute modification success.
Step 216, third-party application determines that the attribute of the mount point that described original installation path is corresponding is read-write properties.
Step 218, under the program file of software to be restored of backup and the user data information of described mounting software to be restored are copied to described original installation path by third-party application.
Third-party application is from the software information backed up pre-installed software uninstall process, program file and user data information in the present embodiment, obtains program file corresponding to current software to be restored and user data information.Then, under program file corresponding for the software current to be restored obtained and user data information directly being copied to original installation path corresponding to current software to be restored.
Step 220, third-party application, after replicate run success, loads information, to point out software rejuvenation successful installation to be restored described in user at terminal interface.
Step 222, indication information corresponding for the software to be restored successfully recovering to install is deleted by third-party application from described unloaded software matrix.
In the present embodiment, after described software to be restored successfully recovers to install, indication information corresponding for described software to be restored can be deleted from above-mentioned unloaded software matrix, avoid miscue information.
In sum, the method that unloaded software rejuvenation described in the present embodiment is installed, obtaining the ROOT authority of terminal system and after determining that mount point attribute is read-write properties, under directly the program file of the software to be restored of backup and user data information directly being copied to original installation path, achieve the recovery installation process of unloaded software.Meanwhile, under unloaded software is resumed and is mounted to original path, also, under unloaded pre-installed software can being recovered to be mounted to the system partitioning of end side (protected partition), ensure that the security recovering the pre-installed software installed.
Further, under user data information also being returned to original path in recovery installation process, the pre-installed applications of recovering to install can upgrade internal data according to the user data information recovered, and keeps the synchronous of data message.
Embodiment three
In conjunction with above-described embodiment, the present embodiment is described in detail to the method that pre-installed software recovers to install to recover the unloaded pre-installed software A in installing terminal side.
With reference to Fig. 3, show the flow chart of steps of a kind of method that unloaded software rejuvenation is installed in the embodiment of the present invention three.In the present embodiment, the method that described unloaded software rejuvenation is installed, comprising:
Step 302, third-party application, according to the path of unloaded software, determines whether unloaded software is unloaded pre-installed software.
Usually, under pre-installed software is mounted in the path of the shielded system partitioning of end side, e.g., pre-installed software be usually installed in/this path of system/app under.And other softwares except pre-installed software be usually installed in the path of other subregions except described system partitioning under (e.g. ,/data/app ,/sdcard/Android/data), these other subregions are generally not shielded.
In the present embodiment, third-party application can determine the original installation path of unloaded software by scanning, and whether the software according to scanning the original installation path determination end side that obtains unloaded is unloaded pre-installed software.Such as, the unloaded software corresponding with the original installation path that/system/app path matches can be defined as unloaded pre-installed software.
Step 304, third-party application sets up unloaded software matrix, is kept in described unloaded software matrix by the indication information of the unloaded pre-installed software determined.
Wherein, described indication information comprises: at least one in the title of unloaded software to be restored, profile information, comment information, label information and download time information.Preferably, each software in described unloaded software matrix recovers Installation Options to there being a key.In the present embodiment, described unloaded software matrix comprises: pre-installed software A, and namely described pre-installed software A is unloaded.
Step 306, third-party application, according to the trigger action request to pre-installed software A in described unloaded software matrix, determines that described software to be restored is described pre-installed software A.
In the present embodiment, when user trigger pre-installed software A corresponding one key recover Installation Options time, third-party application determines that software to be restored is described pre-installed software A.
Step 308, third-party application obtains the ROOT authority of terminal system.
Step 310, third-party application determines that the attribute of the mount point that described original installation path is corresponding is read-write properties.
Step 312, under the program file of the pre-installed software A backed up in uninstall process and user data information are copied to original installation path corresponding to pre-installed software A by third-party application.
Step 314, third-party application loads information at terminal interface: pre-installed software A recovers successful installation.
In sum, the method that unloaded software rejuvenation described in the present embodiment is installed, obtaining the ROOT authority of terminal system and after determining that mount point attribute is read-write properties, under directly the program file of the software to be restored of backup and user data information directly being copied to original installation path, achieve the recovery installation process of unloaded software.Meanwhile, under unloaded software is resumed and is mounted to original path, also, under unloaded pre-installed software can being recovered to be mounted to the system partitioning of end side (protected partition), ensure that the security recovering the pre-installed software installed.
Further, under user data information also being returned to original path in recovery installation process, the pre-installed applications of recovering to install can upgrade internal data according to the user data information recovered, and keeps the synchronous of data message.
It should be noted that, for aforesaid embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be essential to the invention.
Embodiment four
Based on inventive concept same as said method embodiment.With reference to Fig. 4, show the structural representation of the system that a kind of unloaded software rejuvenation is installed in the embodiment of the present invention four.In the present embodiment, the system that described unloaded software rejuvenation is installed, comprising:
First determination module 402, for determining software to be restored.
Software information acquisition module 404, for obtaining the software information of described software to be restored.Wherein, described software information comprises: the original installation path of software to be restored.
Authority acquiring module 406, for obtaining the ROOT authority of terminal system.
Second determination module 408, for determining that the attribute of the mount point that described original installation path is corresponding is read-write properties.
Replication module 410, under copying to described original installation path by the program file of software to be restored of backup and the user data information of described mounting software to be restored.
Signal load unit 412, for after replicate run success, loads information, to point out software rejuvenation successful installation to be restored described in user at terminal interface.
In sum, the system that unloaded software rejuvenation described in the present embodiment is installed, obtaining the ROOT authority of terminal system and after determining that mount point attribute is read-write properties, under directly the program file of the software to be restored of backup and user data information directly being copied to original installation path, achieve the recovery installation process of unloaded software.Meanwhile, under unloaded software is resumed and is mounted to original path, also, under unloaded pre-installed software can being recovered to be mounted to the system partitioning of end side (protected partition), ensure that the security recovering the pre-installed software installed.
Further, under user data information also being returned to original path in recovery installation process, the pre-installed applications of recovering to install can upgrade internal data according to the user data information recovered, and keeps the synchronous of data message.
Embodiment five
With reference to Fig. 5, show the structural representation of the system that a kind of unloaded software rejuvenation is installed in the embodiment of the present invention five.In the present embodiment, the system that described unloaded software rejuvenation is installed, comprising:
Backup module 502, for when described software to be restored unloads, backs up the software information of described software to be restored, program file and user data information.
In the present embodiment, the software information of software to be restored, program file and user data information can back up in position suitable arbitrarily according to actual conditions by described backup module 502.
One preferably, described backup module 502, for when described software to be restored unloads, under the software information of described software to be restored, program file and user data information being backed up to the setting subregion of present terminal side and/or the other-end side except described present terminal.
Wherein, if under the software information of described software to be restored, program file and user data information are backed up to the setting subregion of present terminal side by described backup module 502, then the System Privileges of described setting subregion is higher than the System Privileges of other subregion of described present terminal side.If under the software information of described software to be restored, program file and user data information are backed up to the setting subregion of other end side by described backup module 502, then the System Privileges of described setting subregion is higher than the System Privileges of other subregion of other end side described.
Preferably another, described backup module 502, for when described software to be restored unloads, backs up to cloud server by the software information of described software to be restored, program file and user data information.
Module 504 is set up in list, for setting up unloaded software matrix, is kept in described unloaded software matrix by the indication information of unloaded software to be restored.Wherein, described indication information comprises: at least one in the title of unloaded software to be restored, profile information, comment information, label information and download time information.
First determination module 506, for determining software to be restored.
In the present embodiment, described first determination module 506, specifically for according to the trigger action request to software in described unloaded software matrix, determines described software to be restored.Preferably, be loaded with a key and recover Installation Options in described unloaded software matrix, when triggering a described key and recovering Installation Options, a software described key being recovered the instruction of Installation Options correspondence is defined as described software to be restored.
Software information acquisition module 508, for obtaining the software information of described software to be restored.Wherein, described software information comprises: the original installation path of software to be restored.
Authority acquiring module 510, for obtaining the ROOT authority of terminal system.
Carry module 512, for calling carry order, by terminal carry under the path that described and described original installation path matches.
Judge module 514, for judging whether the attribute of the mount point that described original installation path is corresponding is read-write properties; If the attribute of the mount point that described original installation path is corresponding is read-write properties, then perform following second determination module 516; If not, be then read-write properties by the attribute modification of described mount point, and after the attribute of described mount point is successfully revised as read-write properties, perform following second determination module 516.
Second determination module 516, for determining that the attribute of the mount point that described original installation path is corresponding is read-write properties.
Replication module 518, under copying to described original installation path by the program file of software to be restored of backup and the user data information of described mounting software to be restored.
Signal load unit 520, for after replicate run success, loads information, to point out software rejuvenation successful installation to be restored described in user at terminal interface.
Removing module 522, for when described replication module copies successfully, deletes indication information corresponding for the software to be restored successfully recovering to install from described unloaded software matrix.
In sum, the system that unloaded software rejuvenation described in the present embodiment is installed, obtaining the ROOT authority of terminal system and after determining that mount point attribute is read-write properties, under directly the program file of the software to be restored of backup and user data information directly being copied to original installation path, achieve the recovery installation process of unloaded software.Meanwhile, under unloaded software is resumed and is mounted to original path, also, under unloaded pre-installed software can being recovered to be mounted to the system partitioning of end side (protected partition), ensure that the security recovering the pre-installed software installed.
Further, under user data information also being returned to original path in recovery installation process, the pre-installed applications of recovering to install can upgrade internal data according to the user data information recovered, and keeps the synchronous of data message.
For said apparatus embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in the equipment installed according to the unloaded software rejuvenation of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses a kind of method of A1, unloaded software rejuvenation installation, comprising:
Determine software to be restored, and obtain the software information of described software to be restored; Wherein, described software information comprises: the original installation path of software to be restored;
Obtain the ROOT authority of terminal system;
The attribute determining the mount point that described original installation path is corresponding is read-write properties;
Under the program file of software to be restored of backup and the user data information of described mounting software to be restored are copied to described original installation path;
After replicate run success, load information, to point out software rejuvenation successful installation to be restored described in user at terminal interface.
A2, method as described in A1, described determine that the attribute of the mount point that described original installation path is corresponding is the step of read-write properties before, described method also comprises:
Whether the attribute judging the mount point that described original installation path is corresponding is read-write properties; If the attribute of the mount point that described original installation path is corresponding is read-write properties, then performs and describedly determine that the attribute of the mount point that described original installation path is corresponding is the step of read-write properties; If not, be then read-write properties by the attribute modification of described mount point.
A3, method as described in A1, after the step of the ROOT authority of described acquisition terminal system, described method also comprises:
Call carry order, by terminal carry under the path that described and described original installation path matches.
A4, method as described in A1, also comprise:
When described software unloading to be restored, back up the software information of described software to be restored, program file and user data information.
A5, method as described in A4, the software information of the described software to be restored of described backup, program file and user data information, comprising:
Under the software information of described software to be restored, program file and user data information being backed up to the setting subregion of present terminal side and/or the other-end side except described present terminal; Wherein, the System Privileges of described setting subregion is higher than the System Privileges of other subregion of end side corresponding to described setting subregion.
A6, method as described in A4, the software information of the described software to be restored of described backup, program file and user data information, comprising:
The software information of described software to be restored, program file and user data information are backed up to cloud server.
A7, method as described in A1, also comprise:
Set up unloaded software matrix, the indication information of unloaded software to be restored is kept in described unloaded software matrix; Wherein, described indication information comprises: at least one in the title of unloaded software to be restored, profile information, comment information, label information and download time information.
A8, method as described in A7, describedly determine software to be restored, comprising: according to the trigger action request to software in described unloaded software matrix, determine described software to be restored.
A9, method as described in A7, be loaded with a key and recover Installation Options in described unloaded software matrix, to recover to determine described software to be restored when Installation Options is triggered at a described key, and perform and install the recovery of the software to be restored determined.
A10, method as described in A7, after replicate run success, described method also comprises:
Indication information corresponding for the software to be restored successfully recovering to install is deleted from described unloaded software matrix.
The invention also discloses the system of B11, a kind of unloaded software rejuvenation installation, comprising:
First determination module, for determining software to be restored;
Software information acquisition module, for obtaining the software information of described software to be restored; Wherein, described software information comprises: the original installation path of software to be restored;
Authority acquiring module, for obtaining the ROOT authority of terminal system;
Second determination module, for determining that the attribute of the mount point that described original installation path is corresponding is read-write properties;
Replication module, under copying to described original installation path by the program file of software to be restored of backup and the user data information of described mounting software to be restored;
Signal load unit, for after replicate run success, loads information, to point out software rejuvenation successful installation to be restored described in user at terminal interface.
B12, system as described in B11, also comprise:
Judge module, before determining that at described second determination module the attribute of the mount point that described original installation path is corresponding is read-write properties, judges whether the attribute of the mount point that described original installation path is corresponding is read-write properties; If the attribute of the mount point that described original installation path is corresponding is read-write properties, then perform described second determination module; If not, be then read-write properties by the attribute modification of described mount point.
B13, system as described in B11, also comprise:
Carry module, after obtaining the ROOT authority of terminal system in described authority acquiring module, calls carry order, by terminal carry under the path that described and described original installation path matches.
B14, system as described in B11, also comprise:
Backup module, for when described software to be restored unloads, backs up the software information of described software to be restored, program file and user data information.
B15, system as described in B14, described backup module, specifically for when described software to be restored unloads, under the software information of described software to be restored, program file and user data information being backed up to the setting subregion of present terminal side and/or the other-end side except described present terminal; Wherein, the System Privileges of described setting subregion is higher than the System Privileges of other subregion of end side corresponding to described setting subregion.
B16, system as described in B14, described backup module, specifically for when described software unloading to be restored, backs up to cloud server by the software information of described software to be restored, program file and user data information.
B17, system as described in B11, also comprise:
Module is set up in list, for setting up unloaded software matrix, is kept at by the indication information of unloaded software to be restored in described unloaded software matrix; Wherein, described indication information comprises: at least one in the title of unloaded software to be restored, profile information, comment information, label information and download time information.
B18, system as described in B17, described first determination module, specifically for according to the trigger action request to software in described unloaded software matrix, determines described software to be restored.
B19, system as described in B17, be loaded with a key and recover Installation Options in described unloaded software matrix, to recover to determine described software to be restored when Installation Options is triggered at a described key, and perform and install the recovery of the software to be restored determined.
B20, system as described in B17, also comprise:
Removing module, for when described replication module copies successfully, deletes indication information corresponding for the software to be restored successfully recovering to install from described unloaded software matrix.

Claims (10)

1. a method for unloaded software rejuvenation installation, is characterized in that, comprising:
Determine software to be restored, and obtain the software information of described software to be restored; Wherein, described software information comprises: the original installation path of software to be restored;
Obtain the ROOT authority of terminal system;
The attribute determining the mount point that described original installation path is corresponding is read-write properties;
Under the program file of software to be restored of backup and the user data information of described mounting software to be restored are copied to described original installation path;
After replicate run success, load information, to point out software rejuvenation successful installation to be restored described in user at terminal interface.
2. the method for claim 1, is characterized in that, described determine that the attribute of the mount point that described original installation path is corresponding is the step of read-write properties before, described method also comprises:
Whether the attribute judging the mount point that described original installation path is corresponding is read-write properties; If the attribute of the mount point that described original installation path is corresponding is read-write properties, then performs and describedly determine that the attribute of the mount point that described original installation path is corresponding is the step of read-write properties; If not, be then read-write properties by the attribute modification of described mount point.
3. the method for claim 1, is characterized in that, after the step of the ROOT authority of described acquisition terminal system, described method also comprises:
Call carry order, by terminal carry under the path that described and described original installation path matches.
4. the method for claim 1, is characterized in that, also comprises:
When described software unloading to be restored, back up the software information of described software to be restored, program file and user data information.
5. method as claimed in claim 4, is characterized in that, the software information of the described software to be restored of described backup, program file and user data information, comprising:
Under the software information of described software to be restored, program file and user data information being backed up to the setting subregion of present terminal side and/or the other-end side except described present terminal; Wherein, the System Privileges of described setting subregion is higher than the System Privileges of other subregion of end side corresponding to described setting subregion.
6. method as claimed in claim 4, is characterized in that, the software information of the described software to be restored of described backup, program file and user data information, comprising:
The software information of described software to be restored, program file and user data information are backed up to cloud server.
7. the method for claim 1, is characterized in that, also comprises:
Set up unloaded software matrix, the indication information of unloaded software to be restored is kept in described unloaded software matrix; Wherein, described indication information comprises: at least one in the title of unloaded software to be restored, profile information, comment information, label information and download time information.
8. method as claimed in claim 7, is characterized in that, describedly determines software to be restored, comprising: according to the trigger action request to software in described unloaded software matrix, determine described software to be restored.
9. method as claimed in claim 7, it is characterized in that, be loaded with a key in described unloaded software matrix and recover Installation Options, to recover to determine described software to be restored when Installation Options is triggered at a described key, and execution is installed the recovery of the software to be restored determined.
10. a system for unloaded software rejuvenation installation, is characterized in that, comprising:
First determination module, for determining software to be restored;
Software information acquisition module, for obtaining the software information of described software to be restored; Wherein, described software information comprises: the original installation path of software to be restored;
Authority acquiring module, for obtaining the ROOT authority of terminal system;
Second determination module, for determining that the attribute of the mount point that described original installation path is corresponding is read-write properties;
Replication module, under copying to described original installation path by the program file of software to be restored of backup and the user data information of described mounting software to be restored;
Signal load unit, for after replicate run success, loads information, to point out software rejuvenation successful installation to be restored described in user at terminal interface.
CN201410601956.7A 2014-10-30 2014-10-30 A kind of method and system of unloaded software rejuvenation installation Active CN104346206B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410601956.7A CN104346206B (en) 2014-10-30 2014-10-30 A kind of method and system of unloaded software rejuvenation installation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410601956.7A CN104346206B (en) 2014-10-30 2014-10-30 A kind of method and system of unloaded software rejuvenation installation

Publications (2)

Publication Number Publication Date
CN104346206A true CN104346206A (en) 2015-02-11
CN104346206B CN104346206B (en) 2018-06-01

Family

ID=52501892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410601956.7A Active CN104346206B (en) 2014-10-30 2014-10-30 A kind of method and system of unloaded software rejuvenation installation

Country Status (1)

Country Link
CN (1) CN104346206B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159564A (en) * 2015-10-23 2015-12-16 上海斐讯数据通信技术有限公司 Electronic device provided with touch display screen and application program deletion management method thereof
CN105468422A (en) * 2015-12-31 2016-04-06 深圳Tcl数字技术有限公司 Method and system for optimizing operation system
CN105630554A (en) * 2015-12-22 2016-06-01 广东欧珀移动通信有限公司 Reinstallation method for third-party application and user terminal
CN108038369A (en) * 2017-12-26 2018-05-15 上海展扬通信技术有限公司 A kind of application permission control method and terminal
CN109189406A (en) * 2018-07-27 2019-01-11 努比亚技术有限公司 A kind of application management method, terminal and computer readable storage medium
CN110543312A (en) * 2018-05-29 2019-12-06 华为技术有限公司 Application software installation method and device and server
CN111857531A (en) * 2020-07-24 2020-10-30 青岛海信移动通信技术股份有限公司 Mobile terminal and file display method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736978A (en) * 2012-06-26 2012-10-17 奇智软件(北京)有限公司 Method and device for detecting installation status of application program
CN103281350A (en) * 2013-04-18 2013-09-04 百度在线网络技术(北京)有限公司 Mobile terminal and method, system and cloud server for managing application programs of mobile terminal
CN103309729A (en) * 2012-03-15 2013-09-18 宇龙计算机通信科技(深圳)有限公司 Terminal and application program management method
CN103617057A (en) * 2013-11-27 2014-03-05 北京奇虎科技有限公司 Application program installation method and device
CN103838589A (en) * 2012-11-20 2014-06-04 腾讯科技(深圳)有限公司 Plug-in unit deleting and recovering method and client side
CN103914317A (en) * 2012-12-31 2014-07-09 上海晨兴希姆通电子科技有限公司 Rapid application recovery method
CN104035842A (en) * 2014-06-30 2014-09-10 上海斐讯数据通信技术有限公司 Method for deleting and recovering built-in application program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309729A (en) * 2012-03-15 2013-09-18 宇龙计算机通信科技(深圳)有限公司 Terminal and application program management method
CN102736978A (en) * 2012-06-26 2012-10-17 奇智软件(北京)有限公司 Method and device for detecting installation status of application program
CN103838589A (en) * 2012-11-20 2014-06-04 腾讯科技(深圳)有限公司 Plug-in unit deleting and recovering method and client side
CN103914317A (en) * 2012-12-31 2014-07-09 上海晨兴希姆通电子科技有限公司 Rapid application recovery method
CN103281350A (en) * 2013-04-18 2013-09-04 百度在线网络技术(北京)有限公司 Mobile terminal and method, system and cloud server for managing application programs of mobile terminal
CN103617057A (en) * 2013-11-27 2014-03-05 北京奇虎科技有限公司 Application program installation method and device
CN104035842A (en) * 2014-06-30 2014-09-10 上海斐讯数据通信技术有限公司 Method for deleting and recovering built-in application program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159564A (en) * 2015-10-23 2015-12-16 上海斐讯数据通信技术有限公司 Electronic device provided with touch display screen and application program deletion management method thereof
CN105630554A (en) * 2015-12-22 2016-06-01 广东欧珀移动通信有限公司 Reinstallation method for third-party application and user terminal
CN105630554B (en) * 2015-12-22 2019-03-15 Oppo广东移动通信有限公司 A kind of reloading method and user terminal of third-party application
CN105468422A (en) * 2015-12-31 2016-04-06 深圳Tcl数字技术有限公司 Method and system for optimizing operation system
CN108038369A (en) * 2017-12-26 2018-05-15 上海展扬通信技术有限公司 A kind of application permission control method and terminal
CN110543312A (en) * 2018-05-29 2019-12-06 华为技术有限公司 Application software installation method and device and server
US11775274B2 (en) 2018-05-29 2023-10-03 Huawei Technologies Co., Ltd. Application software installation method, device, and server
CN109189406A (en) * 2018-07-27 2019-01-11 努比亚技术有限公司 A kind of application management method, terminal and computer readable storage medium
CN111857531A (en) * 2020-07-24 2020-10-30 青岛海信移动通信技术股份有限公司 Mobile terminal and file display method thereof

Also Published As

Publication number Publication date
CN104346206B (en) 2018-06-01

Similar Documents

Publication Publication Date Title
CN104346206A (en) Method and system for recovering installation of unloaded software
US8806476B2 (en) Implementing a software installation process
CN102736978B (en) A kind of method and device detecting the installment state of application program
CN104008340B (en) Virus scanning and killing method and device
KR101781447B1 (en) System reset
US20110041124A1 (en) Version Management System
US20080104441A1 (en) Data processing system and method
CN103345411A (en) Method and device for uninstalling application program
US9542173B2 (en) Dependency handling for software extensions
CN104156215A (en) Method and device for obtaining application program information on basis of mobile operating system
US8893116B2 (en) Installation engine and package format for parallelizable, reliable installations
WO2016111673A1 (en) Multi-tenant upgrading
CN110765394A (en) So file loading method and device, storage medium and terminal equipment
US20220326927A1 (en) Abort installation of firmware bundles
CN103605538A (en) Method and device for installing software
US10747514B2 (en) Reduced save and restore instructions for call-clobbered registers
CN112416379B (en) Application program installation method and device, computing equipment and readable storage medium
CN111813379A (en) Application deployment method and device, electronic equipment and computer readable storage medium
US20160335068A1 (en) Checks for software extensions
US9983866B1 (en) Upgrade compatibility checks in a client-server environment
US9733929B1 (en) Systems and methods for restoring applications
US10671397B2 (en) Reduced save and restore instructions for call-clobbered registers
CN112579113A (en) Application program upgrading method and device, storage medium and terminal
CN104331307A (en) Method and system for uninstalling preloaded application
CN104572199A (en) Method and device for inhibiting starting items from starting

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
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right