CN105718278A - Method and device for unloading cracked-version application program - Google Patents

Method and device for unloading cracked-version application program Download PDF

Info

Publication number
CN105718278A
CN105718278A CN201410737945.1A CN201410737945A CN105718278A CN 105718278 A CN105718278 A CN 105718278A CN 201410737945 A CN201410737945 A CN 201410737945A CN 105718278 A CN105718278 A CN 105718278A
Authority
CN
China
Prior art keywords
application program
edition
unloading
layer
deleted
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
CN201410737945.1A
Other languages
Chinese (zh)
Other versions
CN105718278B (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 CN201811629914.9A priority Critical patent/CN109683922A/en
Priority to CN201410737945.1A priority patent/CN105718278B/en
Priority to PCT/CN2015/095575 priority patent/WO2016086782A1/en
Publication of CN105718278A publication Critical patent/CN105718278A/en
Application granted granted Critical
Publication of CN105718278B publication Critical patent/CN105718278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method and device for unloading a cracked-version application program. The method comprises that when a user clicks a deletion application program operation, a system framework layer invokes a cracked-version application program judging function preset by an application program layer; the cracked-version application program judging function judges whether a to-be-deleted application program is the cracked-version application program or not; if the to-be-deleted application program is the cracked-version application program, the to-be-deleted application program is fed back to the system framework layer, wherein the cracked-version application program is a third-party application program which cannot be installed in a native operating system and can be installed after a privilege elevation operation is carried out to the native operating system; the system framework layer invokes a cracked-version application program unloading function preset by the application program layer; and the cracked-version application program unloading function starts a process of deleting related files of the application program, thus unloading the cracked-version application program. Visibly, through setting the cracked-version application program judging function and the cracked-version application program unloading function, the cracked-version application program can be deleted fully and conveniently.

Description

Unloading cracks method and the device of edition application program
Technical field
The present invention relates to technical field of mobile terminals, be specifically related to a kind of unloading and crack method and the device of edition application program.
Background technology
Can downloading set up applications (software) from two kinds of approach on iPhone, one is Apple store AppStore, and one is the shop Cydia that escapes from prison;If the software after the former download needs to delete, it is possible to the long icons such as icon of pinning start shake, then click on the fork in the upper right corner, it is possible to unload;The latter then cannot be downloaded by this approach, after length starts shake by icon, the upper right corner will not show fork, this is because the software escaped from prison is greatly all without as the software in Apple store, it is arranged under the Applications catalogue of mobile user, they are arranged under Applications and other catalogues of root mostly, and primary Fructus Mali pumilae system does not support such deletion.Software of escaping from prison can only be deleted in Cydia, or directly runs delete command deletion under the shell environment on iPhone.
Prior art, it is possible to the Applications file of scanning root, then passes through the mode deleting file and the software escaped from prison is deleted.But this mode mainly has following shortcoming.First, user operation is not directly perceived, it is impossible to the program that direct image deletes AppStore is the same, long by deleting, and will be deleted by the mode of coupling Apply Names.It addition, delete not thorough, installing file under different Applications under the root directory of the program in Cydia, what have even can install file in systematic difference file.If after the mode not complete deletion of deletion, then also cannot complete with Cydia again to remove work.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide a kind of and overcome the problems referred to above or solve the unloading of the problems referred to above at least in part and crack method and the device of edition application program.
According to one aspect of the present invention, a kind of method that unloading cracks edition application program is provided, the operating system of terminal includes system framework layer and application layer, described method includes: after user clicks deletion application program operation, and what described system framework layer called that described application layer pre-sets cracks an edition application program discriminant function;The described edition application program discriminant function that cracks judges that whether application program to be deleted cracks version for cracking an edition application program, if, feed back to described system framework layer, wherein, crack an edition application program described in refer to and cannot install under primary operating system and perform to improve installable third party application after limiting operation to primary operating system;Described system framework layer calls the application program unloading function that described application layer pre-sets, described in crack an edition application program unloading function and start the process deleting described application program associated documents, it is achieved to the described unloading cracking edition application program.
Preferably, described method also includes: arrange application program identification set at application layer in advance;Described judge that whether application program to be deleted includes for cracking an edition application program: judge described application program identification to be deleted cracks in edition application program identification set described in whether being included in, if, it is determined that application program to be deleted is for cracking an edition application program.
Preferably, described method also includes: obtain the file installation addresses and/or the catalogue that crack edition application program in advance at application layer;Described judge whether application program to be deleted is crack edition application program to include: judge application program to be deleted cracks under file installation addresses and/or the catalogue of edition application program described in whether being arranged on, if it is, determine that application program to be deleted is for cracking an edition application program.
Preferably, described system framework layer calls the application program discriminant function that described application layer pre-sets and includes: described system framework layer adopts hook mechanism, call the canUninstallIcon method of the hookSBIconController class being set in advance in described application layer, it is achieved the function of described application program discriminant function.
Preferably, described system framework layer calls the application program unloading function that described application layer pre-sets and includes: described system framework layer adopts hook mechanism, call the iconCloseBoxTapped method of the hookSBIconController class being set in advance in described application layer, it is achieved the function of described application program unloading function.
Preferably, the described application program of described unloading includes: perform dpkg order or rm order, the described edition application program associated documents that crack are deleted.
Preferably, after unloading described application program, also include: perform killall order, by all buffer memory process-kills relevant to described application program so that unloading comes into force.
Preferably, described user click deletion application program operation include: user pins application program to be deleted for a long time;Described feed back to described system framework layer after, also include: described system framework layer performs to delete icon display command, application program to be deleted show confession user performs the icon of deletion action.
Preferably, described system framework layer call that described application layer pre-sets crack version unloading function before, also include: described system framework layer determines that user has clicked the described icon performing deletion action for user.
Preferably, described operating system refers to iOS operating system, and described execution improves limiting operation and refers to by the means acquisition read-write authority to file system of escaping from prison;Or, described operating system refers to Android system, and described execution improves limiting operation and refers to by the super administrator right that root means obtain.
According to another aspect of the present invention, a kind of unloading is provided to crack the device of edition application program, the operating system of terminal includes system framework layer and application layer, described device includes: crack an edition discriminant function call unit, for after user clicks deletion application program operation, what described system framework layer called that described application layer pre-sets cracks an edition application program discriminant function;Crack version application judging unit, for judging that whether application program to be deleted is for cracking an edition application program, if, feed back to described system framework layer, wherein, crack an edition application program described in refer to and cannot install under primary operating system and perform to improve installable third party application after limiting operation to primary operating system;Application unloading performance element, what for utilizing described system framework layer to call, described application layer pre-set cracks an edition application program unloading function, the described edition application program unloading function that cracks starts the process deleting described application program associated documents, it is achieved to the described unloading cracking edition application program.
Preferably, described device also includes: crack an edition application identities collecting unit, cracks an edition application program identification set for arranging at application layer in advance;Crack version application judging unit specifically for: described application layer judges described application program identification to be deleted cracks in edition application program identification set described in whether being included in, if, it is determined that application program to be deleted is for cracking an edition application program.
Preferably, described device also includes: cracks version application and installs acquiring unit, for obtaining file installation addresses and/or the catalogue cracking edition application program in advance at application layer;Described crack version application judging unit specifically for: judge application program to be deleted cracks under file installation addresses and/or the catalogue of edition application program described in whether being arranged on, if it is, determine that application program to be deleted is for cracking an edition application program.
Preferably, the described edition discriminant function call unit that cracks adopts hook mechanism specifically for: described system framework layer, call the canUninstallIcon method of the hookSBIconController class being set in advance in described application layer, it is achieved described in crack an edition function for application program discriminant function.
Preferably, described application unloading performance element adopts hook mechanism specifically for: described system framework layer, call the iconCloseBoxTapped method of the hookSBIconController class being set in advance in described application layer, it is achieved described in crack the function of edition application program unloading function.
Preferably, described application unloading performance element specifically for: perform dpkg order or rm order, the described edition application program associated documents that crack deleted.
Preferably, described unloading application unloading performance element specifically for: perform killall order, will crack, to described, all buffer memory process-kills that edition application program is relevant so that unload come into force.
Preferably, described user click deletion application program operation include: user pins application program to be deleted for a long time;The described version application judging unit that cracks is additionally operable to: described system framework layer performs to delete icon display command, shows the icon performing deletion action for user on application program to be deleted.
Preferably, application unloading performance element is additionally operable to: described system framework layer determines that user has clicked the described icon performing deletion action for user.
Preferably, described operating system refers to iOS operating system, and described execution improves limiting operation and refers to by the means acquisition read-write authority to file system of escaping from prison;Or, described operating system refers to Android system, and described execution improves limiting operation and refers to by the super administrator right that root means obtain.
Visible, the present invention cracks edition application program discriminant function and application program unloading function by setting, when passing through to crack an edition application program discriminant function and determining application program to be unloaded for cracking edition application program, in terminal, application program to be deleted can be demonstrated icon to be pitched, user is facilitated to perform deletion action, when user to crack an edition application program perform delete command time, the deletion of very aspect can crack an edition program by cracking edition application program unloading function complete deletion application program associated documents and process user.It addition, compared to deb unload script mode, the present invention is more flexible because function can custom code, such as perform networking operation or one, bullet unloading questionnaire frame, deb unload script can only perform shell-command, compare and limited to.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, and can be practiced according to the content of description, and in order to above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit those of ordinary skill in the art be will be clear from understanding.Accompanying drawing is only for illustrating the purpose of preferred implementation, and is not considered as limitation of the present invention.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 illustrates that unloading cracks the method flow diagram of edition application program according to an embodiment of the invention;And
Fig. 2 illustrates that unloading cracks the apparatus structure schematic diagram of edition application program according to an embodiment of the invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing showing the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should do not limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Foregoing, prior art is by scanning the Applications file of root and by deleting the mode of file, the software escaped from prison being deleted, and this mode exists user operation intuitively and delete halfway defect.
The technical problem to be solved in the present invention, it is simply that can so that can pass through long delete by the mode shaken from the Cydia software installed, with the software zero difference on AppStore on operating experience.
To this, the present inventor finds in research process, crack edition application program discriminant function by arranging and crack an edition application program unloading function, when passing through to crack an edition application program discriminant function and determining application program to be unloaded for cracking edition application program, in terminal, application program to be deleted can be demonstrated icon to be pitched, user is facilitated to perform deletion action, when user to crack an edition application program perform delete command time, by cracking edition application program unloading function complete deletion application program associated documents and a process.
It will be appreciated by those skilled in the art that operating system includes application layer (app layer) and system framework layer (framework layer), as from function divide on likely include other layer of present invention be then not covered.Wherein, usual app layer can be understood as upper strata, is responsible for the interface mutual with user, for instance identifies different types of click on content thus showing different context menu etc. when application maintenance and the click page.Usual framework layer is as intermediate layer, and the major responsibility of this layer is, the user's request obtained by app layer, preserves picture etc as started with program, clickthrough, click, forwards and go toward lower floor;The content that lower floor is handled well, or by message, or by middle-agent's class, be distributed to upper strata, user is shown.
One preferred implementation of the present invention is, app layer and framework layer are improved, thus utilizing the coordinated of this two-layer to realize the unloading cracking edition application program.Concrete, framework layer by interface interchange app layer, utilizes what app layer pre-set to crack edition application program discriminant function and application program unloading function, it is achieved to the unloading cracking edition application program on some opportunity.
Referring to Fig. 1, a kind of unloading provided for the embodiment of the present invention cracks the method flow diagram of edition application program, including:
S101: after user clicks deletion application program operation, what system framework layer called that application layer pre-sets cracks an edition application program discriminant function.
Such as, above-mentioned " user click deletion application program operation " refer to: user pins application program to be deleted for a long time.Such as, user to delete certain software, then he can pin this software icon for a long time.
S102: crack an edition application program discriminant function and judge that whether application program to be deleted is for cracking an edition application program, if so, feeds back to system framework layer.
Preferably, an edition application program identification set is cracked in application layer setting in advance;When judging application program to be deleted whether for cracking edition application program, application layer judges whether application program identification to be deleted is included in and cracks in edition application program identification set, if, it is determined that application program to be deleted is for cracking an edition application program.
Preferably, obtain, at application layer, the file installation addresses and/or the catalogue that crack edition application program in advance;When judging application program to be deleted whether for cracking edition application program, application layer judges application program to be deleted cracks under file installation addresses and/or the catalogue of edition application program described in whether being arranged on, if it is, determine that application program to be deleted is for cracking an edition application program.
Preferably, described in feed back to described system framework layer after, also include: system framework layer performs to delete icon display command, application program to be deleted show confession user performs the deletion icon of deletion action.Such as, " deletion icon " refers on application program to be deleted " fork " of display, it is simple to user clicks to perform deletion action.
S103: what system framework layer called that application layer pre-sets cracks an edition application program unloading function, cracks an edition application program unloading function and starts the process deleting described application program associated documents, it is achieved to the unloading cracking edition application program.
Preferably, system framework layer call that described application layer pre-sets crack edition application program unloading function before, also include: system framework layer determines that user has clicked the icon performing deletion action for user.Such as, user clicks " fork " on application program to be deleted, and system framework layer then determines that user performs the order deleting this application program, calls immediately and cracks an edition application program unloading function and unload.
In order to understand conveniently, it is anticipated that, the present invention program be in the management class software of mobile terminal realization to the function cracking edition application program management.Illustrating with a concrete instance, in order to realize the unloading to cracking edition application program in mobile phone of the mobile phone bodyguard's software, this mobile phone bodyguard's software needs to pre-set the logo collection cracking edition application program managed;Further, pre-set and crack edition application program discriminant function and crack an edition application program unloading function, thus when user's application programs performs deletion action, can application programs carrying out judging and unloading operation.
For iOS system, the embodiment of the present invention is introduced below.
It is known that iOS system is for closing origin system, non-increase income.User right is very low, the gate of system lock is opened by " cracking version ", release the restriction of iOS system, amendment system file that can be random, plug-in unit is installed, and the extension application not having in some AppStore (application program shop) is installed, namely obtain the super authority of iOS system.Software beyond AppStore is such as installed, changes outward appearance theme, run shell program, it might even be possible to untie operator's restriction (" unblock " that be namely commonly called as) for terminal network.The embodiment of the present invention preferably carries out when obtaining iOS system super authority." cracking an edition application program " (or being called " cracking an edition application program ", " cracking edition software ") in the present invention refers to cannot install under primary operating system and primary operating system is performing to improve installable third party application after limiting operation, such as, in ios system, refer to the third party application obtaining the unofficial certification installed under operating system prescribed profile.Certainly, except ios system, the embodiment of the present invention can be applied in other operating systems.Such as Android system, then the application program that " cracking an edition application program " is installed when referring to the super administrator right obtained by root means.
Implementing, above-mentioned framework layer calls and cracks edition application program discriminant function and application program unloading function in app layer, realizes such as through hook (hook or hook) mechanism.Hook mechanism allows intercepting and capturing to process message or particular event.Hook is actually a program segment processing message, is called by system, it is linked into system.Whenever specific message sends, before not arriving purpose window, hook program just first catches this message, that is Hook Function first obtains control.At this moment Hook Function namely can processed (change) this message, it is also possible to does not deal with and continues to transmit this message, it is also possible to forces the transmission of end.In embodiments of the present invention, hook mechanism intervention is adopted to delete the process of application program, it is achieved to the judgement and the unloading operation that crack edition application program.It is also understood that utilize hook mechanism, by the interface between app layer and framework layer, call being responsible in app layer and crack the class of edition application program.
Introduce in detail below and how to realize cracking edition application program discriminant function and cracking an edition function for application program unloading function.
(1) an edition application program discriminant function is cracked
In short, framework layer adopts hook mechanism, call the canUninstallIcon method of the hookSBIconController class being set in advance in app layer, it is achieved crack an edition function for application program discriminant function.
Concrete, the app layer canUninstallIcon method by HookSBIconController class, it is judged that if cracking the bundleid of edition program, then to the return of framework layer, " YES, expression can show deletion icon.Performance in terminal is exactly, and when pressing the icon of application program to be deleted with the head of a household, this cracks an edition application program can directly display out one " fork ".
(2) an edition application program unloading function is cracked
In short, framework layer adopts hook mechanism, call the iconCloseBoxTapped method of the hookSBIconController class being set in advance in app layer, it is achieved crack an edition function for application program unloading function.
Concrete, by the iconCloseBoxTapped method of hookSBIconController class, after user clicks " fork " that previous step occurs, just return and go to this function, so in this function, judge if the bundleid of oneself program, then by the mode of dpkg order or rm order, the All Files of oneself is deleted or unloaded.Wherein it is possible to call this order of dpkg-P program package name or with rm order, the All Files cracked in edition software all deleted, such as perform order " rm rf/Applications/360safe.app ".And in the completed, the carrying out of institute hook is restarted or close.It is meant to, the software to unload is deleted, then more existing buffer memory process is killed, utilize the mode of killall process title to close so that unloading comes into force.
It is presented herein below and realizes cracking edition application program discriminant function and cracking an edition example procedure code for application program unloading function.
Visible, the present invention cracks edition application program discriminant function by setting and cracks an edition application program unloading function, when passing through to crack an edition application program discriminant function and determining application program to be unloaded for cracking edition application program, in terminal, application program to be deleted can be demonstrated icon to be pitched, user is facilitated to perform deletion action, when user to crack an edition application program perform delete command time, the deletion of very aspect can crack an edition program by cracking edition application program unloading function complete deletion application program associated documents and process user.It addition, compared to deb unload script mode, the present invention is more flexible because function can custom code, such as perform networking operation or one, bullet unloading questionnaire frame, deb unload script can only perform shell-command, compare and limited to.
Corresponding with said method, the present invention also provides for a kind of unloading and cracks the device of edition application program.This device can be realized by hardware, software or software and hardware combining mode.This device may refer to the functional module of terminal inner, it is also possible to refers to terminal itself, as long as terminal includes the function realizing this device.
Fig. 2 illustrates that unloading cracks the device of edition application program according to an embodiment of the invention, and this device includes:
Cracking an edition discriminant function call unit 201, for after user clicks deletion application program operation, what described system framework layer called that described application layer pre-sets cracks an edition application program discriminant function;
Crack version application judging unit 202, be used for judging that whether application program to be deleted is for cracking an edition application program, if so, feeds back to described system framework layer;
Application unloading performance element 203, what for utilizing described system framework layer to call, described application layer pre-set cracks an edition application program unloading function, cracks an edition application program described in unloading.
Preferably, described device also includes: crack an edition application identities collecting unit 204, cracks an edition application program identification set for arranging at application layer in advance;Crack version application judging unit 202 specifically for: described application layer judges described application program identification to be deleted cracks in edition application program identification set described in whether being included in, if, it is determined that application program to be deleted is for cracking an edition application program.
Preferably, described device also includes: cracks version application and installs acquiring unit 205, for obtaining file installation addresses and/or the catalogue cracking edition application program in advance at application layer;Described crack version application judging unit specifically for: judge application program to be deleted cracks under file installation addresses and/or the catalogue of edition application program described in whether being arranged on, if it is, determine that application program to be deleted is for cracking an edition application program.
Preferably, the described edition discriminant function call unit 201 that cracks adopts hook mechanism specifically for: described system framework layer, call the canUninstallIcon method of the hookSBIconController class being set in advance in described application layer, it is achieved described in crack an edition function for application program discriminant function.
Preferably, described application unloading performance element 203 adopts hook mechanism specifically for: described system framework layer, call the iconCloseBoxTapped method of the hookSBIconController class being set in advance in described application layer, it is achieved described in crack the function of edition application program unloading function.
Preferably, described application unloading performance element 203 specifically for: perform dpkg order or rm order, the described edition application program associated documents that crack deleted.
Preferably, described application unloading performance element 203 specifically for: perform killall order, will crack, to described, all buffer memory process-kills that edition application program is relevant so that unload come into force.
Preferably, described user click deletion application program operation include: user pins application program to be deleted for a long time;The described version application judging unit that cracks is additionally operable to: described system framework layer performs to delete icon display command, shows the icon performing deletion action for user on application program to be deleted.
Preferably, application unloading performance element 203 is additionally operable to: described system framework layer determines that user has clicked the described icon performing deletion action for user.
Preferably, described operating system refers to iOS operating system, and, described device preliminary election obtains the super authority of described iOS operating system.
Not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant in algorithm and the display of this offer.Various general-purpose systems can also with use based on together with this teaching.As described above, the structure constructed required by this kind of system is apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to utilize various programming language to realize the content of invention described herein, and the description above language-specific done is the preferred forms in order to disclose the present invention.
In description mentioned herein, describe a large amount of detail.It is to be appreciated, however, that embodiments of the invention can be put into practice when not having these details.In some instances, known method, structure and technology it are not shown specifically, in order to do not obscure the understanding of this description.
Similarly, it is to be understood that, one or more in order to what simplify that the disclosure helping understands in each inventive aspect, herein above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or descriptions thereof sometimes.But, the method for the disclosure should be construed to and reflect an intention that namely the present invention for required protection requires feature more more than the feature being expressly recited in each claim.More precisely, as the following claims reflect, inventive aspect is in that all features less than single embodiment disclosed above.Therefore, it then follows claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, wherein each claim itself as the independent embodiment of the present invention.
Those skilled in the art are appreciated that, it is possible to carry out the module in the equipment in embodiment adaptively changing and they being 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 excludes each other, it is possible to adopt any combination that all processes or the unit of all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment are combined.Unless expressly stated otherwise, each feature disclosed in this specification (including adjoint claim, summary and accompanying drawing) can be replaced by the alternative features providing purpose identical, equivalent or similar.
In addition, those skilled in the art it will be appreciated that, although embodiments more described herein include some feature included in other embodiments rather than further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or realizes 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 microprocessor or digital signal processor (DSP) can be used in practice to realize unloading according to embodiments of the present invention cracks the some or all functions of the some or all parts in the device of edition application program.The present invention is also implemented as part or all the equipment for performing method as described herein or device program (such as, computer program and computer program).The program of such present invention of realization can store on a computer-readable medium, or can have the form of one or more signal.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 rather than limits the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment without departing from the scope of the appended claims.In the claims, any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not exclude the presence of the element or step not arranged in the claims.Word "a" or "an" before being positioned at element does not exclude the presence of multiple such element.The present invention by means of including the hardware of some different elements and can realize by means of properly programmed computer.In the unit claim listing some devices, several in these devices can be through same hardware branch and specifically embody.Word first, second and third use do not indicate that any order.Can be title by these word explanations.
The present invention provides following scheme:
A kind of method that A1, unloading crack edition application program, the operating system of terminal includes system framework layer and application layer, and described method includes:
After user clicks deletion application program operation, what described system framework layer called that described application layer pre-sets cracks an edition application program discriminant function;
The described edition application program discriminant function that cracks judges that whether application program to be deleted cracks version for cracking an edition application program, if, feed back to described system framework layer, wherein, crack an edition application program described in refer to and cannot install under primary operating system and perform to improve installable third party application after limiting operation to primary operating system;
Described system framework layer calls the application program unloading function that described application layer pre-sets, described in crack an edition application program unloading function and start the process deleting described application program associated documents, it is achieved to the described unloading cracking edition application program.
A2, method as described in A1,
Described method also includes: arrange application program identification set at application layer in advance;
Described judge that whether application program to be deleted includes for cracking an edition application program: judge described application program identification to be deleted cracks in edition application program identification set described in whether being included in, if, it is determined that application program to be deleted is for cracking an edition application program.
A3, method as described in A1,
Described method also includes: obtain the file installation addresses and/or the catalogue that crack edition application program in advance at application layer;
Described judge that whether application program to be deleted includes for cracking an edition application program:
Judge application program to be deleted cracks under file installation addresses and/or the catalogue of edition application program described in whether being arranged on, if it is, determine that application program to be deleted is for cracking an edition application program.
A4, method as described in A1, described system framework layer calls the application program discriminant function that described application layer pre-sets and includes:
Described system framework layer adopts hook mechanism, calls the canUninstallIcon method of the hookSBIconController class being set in advance in described application layer, it is achieved the function of described application program discriminant function.
A5, method as described in A1, described system framework layer calls the application program unloading function that described application layer pre-sets and includes:
Described system framework layer adopts hook mechanism, calls the iconCloseBoxTapped method of the hookSBIconController class being set in advance in described application layer, it is achieved the function of described application program unloading function.
A6, method as described in A1, the described application program of described unloading includes:
Perform dpkg order or rm order, the described edition application program associated documents that crack are deleted.
A7, method as described in A6, after unloading described application program, also include:
Perform killall order, by all buffer memory process-kills relevant to described application program so that unloading comes into force.
A8, method as described in A1,
Described user clicks deletion application program operation and includes: user pins application program to be deleted for a long time;
Described feed back to described system framework layer after, also include: described system framework layer performs to delete icon display command, application program to be deleted show confession user performs the icon of deletion action.
A9, method as described in A8, described system framework layer call that described application layer pre-sets crack version unloading function before, also include:
Described system framework layer determines that user has clicked the described icon performing deletion action for user.
A10, method as described in A1, described operating system refers to iOS operating system, and described execution improves limiting operation and refers to and obtain the read-write authority to file system by means of escaping from prison;Or, described operating system refers to Android system, and described execution improves limiting operation and refers to by the super administrator right that root means obtain.
B11, a kind of unloading crack the device of edition application program, and the operating system of terminal includes system framework layer and application layer, and described device includes:
Cracking an edition discriminant function call unit, for after user clicks deletion application program operation, what described system framework layer called that described application layer pre-sets cracks an edition application program discriminant function;
Crack version application judging unit, for judging that whether application program to be deleted is for cracking an edition application program, if, feed back to described system framework layer, wherein, crack an edition application program described in refer to and cannot install under primary operating system and perform to improve installable third party application after limiting operation to primary operating system;
Application unloading performance element, what for utilizing described system framework layer to call, described application layer pre-set cracks an edition application program unloading function, the described edition application program unloading function that cracks starts the process deleting described application program associated documents, it is achieved to the described unloading cracking edition application program.
B12, device as described in B11, described device also includes: crack an edition application identities collecting unit, cracks an edition application program identification set for arranging at application layer in advance;Crack version application judging unit specifically for: described application layer judges described application program identification to be deleted cracks in edition application program identification set described in whether being included in, if, it is determined that application program to be deleted is for cracking an edition application program.
B13, device as described in B11, described device also includes: cracks version application and installs acquiring unit, for obtaining file installation addresses and/or the catalogue cracking edition application program in advance at application layer;Described crack version application judging unit specifically for: judge application program to be deleted cracks under file installation addresses and/or the catalogue of edition application program described in whether being arranged on, if it is, determine that application program to be deleted is for cracking an edition application program.
B14, device as described in B11, the described edition discriminant function call unit that cracks adopts hook mechanism specifically for: described system framework layer, call the canUninstallIcon method of the hookSBIconController class being set in advance in described application layer, it is achieved described in crack an edition function for application program discriminant function.
B15, device as described in B11, described application unloading performance element adopts hook mechanism specifically for: described system framework layer, call the iconCloseBoxTapped method of the hookSBIconController class being set in advance in described application layer, it is achieved described in crack the function of edition application program unloading function.
B16, device as described in B11, described application unloading performance element specifically for: perform dpkg order or rm order, the described edition application program associated documents that crack deleted.
B17, device as described in B16, described unloading application unloading performance element specifically for: perform killall order, will crack, to described, all buffer memory process-kills that edition application program is relevant so that unload and come into force.
B18, device as described in B11, described user clicks deletion application program operation and includes: user pins application program to be deleted for a long time;The described version application judging unit that cracks is additionally operable to: described system framework layer performs to delete icon display command, shows the icon performing deletion action for user on application program to be deleted.
B19, device as described in B18, application unloading performance element is additionally operable to: described system framework layer determines that user has clicked the described icon performing deletion action for user.
B20, device as described in B11, described operating system refers to iOS operating system, and described execution improves limiting operation and refers to and obtain the read-write authority to file system by means of escaping from prison;Or, described operating system refers to Android system, and described execution improves limiting operation and refers to by the super administrator right that root means obtain.

Claims (10)

1. the method that a unloading cracks edition application program, it is characterised in that the operating system of terminal includes system framework layer and application layer, and described method includes:
After user clicks deletion application program operation, what described system framework layer called that described application layer pre-sets cracks an edition application program discriminant function;
The described edition application program discriminant function that cracks judges that whether application program to be deleted cracks version for cracking an edition application program, if, feed back to described system framework layer, wherein, crack an edition application program described in refer to and cannot install under primary operating system and perform to improve installable third party application after limiting operation to primary operating system;
Described system framework layer calls the application program unloading function that described application layer pre-sets, described in crack an edition application program unloading function and start the process deleting described application program associated documents, it is achieved to the described unloading cracking edition application program.
2. the method for claim 1, it is characterised in that
Described method also includes: arrange application program identification set at application layer in advance;
Described judge that whether application program to be deleted includes for cracking an edition application program: judge described application program identification to be deleted cracks in edition application program identification set described in whether being included in, if, it is determined that application program to be deleted is for cracking an edition application program.
3. the method for claim 1, it is characterised in that
Described method also includes: obtain the file installation addresses and/or the catalogue that crack edition application program in advance at application layer;
Described judge that whether application program to be deleted includes for cracking an edition application program:
Judge application program to be deleted cracks under file installation addresses and/or the catalogue of edition application program described in whether being arranged on, if it is, determine that application program to be deleted is for cracking an edition application program.
4. the method for claim 1, it is characterised in that described system framework layer calls the application program discriminant function that described application layer pre-sets and includes:
Described system framework layer adopts hook mechanism, calls the canUninstallIcon method of the hookSBIconController class being set in advance in described application layer, it is achieved the function of described application program discriminant function.
5. the method for claim 1, it is characterised in that described system framework layer calls the application program unloading function that described application layer pre-sets and includes:
Described system framework layer adopts hook mechanism, calls the iconCloseBoxTapped method of the hookSBIconController class being set in advance in described application layer, it is achieved the function of described application program unloading function.
6. the method for claim 1, it is characterised in that the described application program of described unloading includes:
Perform dpkg order or rm order, the described edition application program associated documents that crack are deleted.
7. method as claimed in claim 6, it is characterised in that after unloading described application program, also include:
Perform killall order, by all buffer memory process-kills relevant to described application program so that unloading comes into force.
8. the method for claim 1, it is characterised in that
Described user clicks deletion application program operation and includes: user pins application program to be deleted for a long time;
Described feed back to described system framework layer after, also include: described system framework layer performs to delete icon display command, application program to be deleted show confession user performs the icon of deletion action.
9. method as claimed in claim 8, it is characterised in that described system framework layer call that described application layer pre-sets crack version unloading function before, also include:
Described system framework layer determines that user has clicked the described icon performing deletion action for user.
10. a unloading cracks the device of edition application program, it is characterised in that the operating system of terminal includes system framework layer and application layer, and described device includes:
Cracking an edition discriminant function call unit, for after user clicks deletion application program operation, what described system framework layer called that described application layer pre-sets cracks an edition application program discriminant function;
Crack version application judging unit, for judging that whether application program to be deleted is for cracking an edition application program, if, feed back to described system framework layer, wherein, crack an edition application program described in refer to and cannot install under primary operating system and perform to improve installable third party application after limiting operation to primary operating system;
Application unloading performance element, what for utilizing described system framework layer to call, described application layer pre-set cracks an edition application program unloading function, the described edition application program unloading function that cracks starts the process deleting described application program associated documents, it is achieved to the described unloading cracking edition application program.
CN201410737945.1A 2014-12-05 2014-12-05 Unloading cracks the method and device of edition application program Active CN105718278B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201811629914.9A CN109683922A (en) 2014-12-05 2014-12-05 Unloading cracks the method and device of edition application program
CN201410737945.1A CN105718278B (en) 2014-12-05 2014-12-05 Unloading cracks the method and device of edition application program
PCT/CN2015/095575 WO2016086782A1 (en) 2014-12-05 2015-11-25 Method and device for uninstalling crack application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410737945.1A CN105718278B (en) 2014-12-05 2014-12-05 Unloading cracks the method and device of edition application program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201811629914.9A Division CN109683922A (en) 2014-12-05 2014-12-05 Unloading cracks the method and device of edition application program

Publications (2)

Publication Number Publication Date
CN105718278A true CN105718278A (en) 2016-06-29
CN105718278B CN105718278B (en) 2019-02-12

Family

ID=56090992

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201811629914.9A Pending CN109683922A (en) 2014-12-05 2014-12-05 Unloading cracks the method and device of edition application program
CN201410737945.1A Active CN105718278B (en) 2014-12-05 2014-12-05 Unloading cracks the method and device of edition application program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201811629914.9A Pending CN109683922A (en) 2014-12-05 2014-12-05 Unloading cracks the method and device of edition application program

Country Status (2)

Country Link
CN (2) CN109683922A (en)
WO (1) WO2016086782A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106709285A (en) * 2016-11-23 2017-05-24 北京小米移动软件有限公司 Application lock interface display method and application lock interface display device
CN108334775A (en) * 2018-01-23 2018-07-27 阿里巴巴集团控股有限公司 One kind is escaped from prison plug-in detecting method and device
CN109683922A (en) * 2014-12-05 2019-04-26 北京奇虎科技有限公司 Unloading cracks the method and device of edition application program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199208B (en) * 2020-09-09 2023-07-07 福建天泉教育科技有限公司 Method and terminal for providing additional function interface on android system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043655A (en) * 2011-01-04 2011-05-04 奇智软件(北京)有限公司 Method and system for carrying out advanced uninstall on software
CN102693232A (en) * 2011-03-23 2012-09-26 腾讯科技(深圳)有限公司 Method and device for cancelling files
US20130247021A1 (en) * 2012-03-13 2013-09-19 Hon Hai Precision Industry Co., Ltd. Electronic device, system and method for updating and uninstalling software
CN103617065A (en) * 2013-12-13 2014-03-05 广州市久邦数码科技有限公司 System and method for forced uninstallation of system software of mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130033785A (en) * 2011-09-27 2013-04-04 인포섹(주) Apparatus and method for marking persnol information in text using api hook, and program storing medium for executing the method
US9143530B2 (en) * 2011-10-11 2015-09-22 Citrix Systems, Inc. Secure container for protecting enterprise data on a mobile device
CN105159710A (en) * 2012-03-31 2015-12-16 北京奇虎科技有限公司 Software uninstalling method and apparatus
CN102831002B (en) * 2012-09-26 2016-08-24 北京奇虎科技有限公司 Patch discharging method and device
CN103345411A (en) * 2013-07-09 2013-10-09 北京奇虎科技有限公司 Method and device for uninstalling application program
CN109683922A (en) * 2014-12-05 2019-04-26 北京奇虎科技有限公司 Unloading cracks the method and device of edition application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043655A (en) * 2011-01-04 2011-05-04 奇智软件(北京)有限公司 Method and system for carrying out advanced uninstall on software
CN102693232A (en) * 2011-03-23 2012-09-26 腾讯科技(深圳)有限公司 Method and device for cancelling files
US20130247021A1 (en) * 2012-03-13 2013-09-19 Hon Hai Precision Industry Co., Ltd. Electronic device, system and method for updating and uninstalling software
CN103617065A (en) * 2013-12-13 2014-03-05 广州市久邦数码科技有限公司 System and method for forced uninstallation of system software of mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109683922A (en) * 2014-12-05 2019-04-26 北京奇虎科技有限公司 Unloading cracks the method and device of edition application program
CN106709285A (en) * 2016-11-23 2017-05-24 北京小米移动软件有限公司 Application lock interface display method and application lock interface display device
CN106709285B (en) * 2016-11-23 2020-03-17 北京小米移动软件有限公司 Display method and device of application lock interface
CN108334775A (en) * 2018-01-23 2018-07-27 阿里巴巴集团控股有限公司 One kind is escaped from prison plug-in detecting method and device

Also Published As

Publication number Publication date
WO2016086782A1 (en) 2016-06-09
CN105718278B (en) 2019-02-12
CN109683922A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN106708557B (en) Update processing method and device for terminal application
US10110604B2 (en) Sandbox technology based webpage browsing method and device
CN105045643B (en) Launcher startup method and device in Android system
CN104731625B (en) A kind of method, apparatus and mobile terminal loading plug-in unit
KR101619557B1 (en) Computer application packages with customizations
US9557982B2 (en) Mobile application processing
US11714663B2 (en) Application environment that implements native code functionality in progressive web applications
CN107992308B (en) Plug-in management method for android terminal application program
WO2016086767A1 (en) Method, browser client, and device for achieving browser security
CN105718278A (en) Method and device for unloading cracked-version application program
CN104036019B (en) The open method and device of web page interlinkage
WO2016019893A1 (en) Application installation method and apparatus
CN106775876B (en) Method for quickly starting application by android system
CN104793966A (en) Display and loading method and system of Android local application
WO2017041499A1 (en) Software upgrade method and system, and computer-readable storage medium
CN104035842A (en) Method for deleting and recovering built-in application program
CN103793248A (en) Method and device for upgrading application program
CN107391178B (en) Terminal installation package deployment and implementation method and device
CN105808059A (en) Application processing method and device based on terminal system
CN109634641B (en) Application program updating method and device, electronic equipment and medium
CN109032617B (en) Control method and control device for automatically deleting installation package
WO2016095686A1 (en) Method for performing communication between browser and mobile terminal, and browser device
CN106775879B (en) VR application installation-free method and system based on android system client
CN105447384A (en) Anti-monitoring method and system and mobile terminal
CN109901849A (en) Application program installation method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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