CN105718278B - Unloading cracks the method and device of edition application program - Google Patents
Unloading cracks the method and device of edition application program Download PDFInfo
- Publication number
- CN105718278B CN105718278B CN201410737945.1A CN201410737945A CN105718278B CN 105718278 B CN105718278 B CN 105718278B CN 201410737945 A CN201410737945 A CN 201410737945A CN 105718278 B CN105718278 B CN 105718278B
- Authority
- CN
- China
- Prior art keywords
- application program
- edition
- application
- crack
- layer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Abstract
The invention discloses a kind of unload to crack the method and device of edition application program, comprising: when user clicks and deletes application program operation, system framework layer calls that application layer is pre-set to crack an edition application program discriminant function;Edition application program discriminant function that cracks judges whether application program to be deleted is to crack an edition application program, if, feed back to the system framework layer, wherein, it is described crack an edition application program refer to can not be installed under primary operating system and to primary operating system execute improve permission operation after installable third party application;The system framework layer calls the application layer is pre-set to crack an edition application program unloading function, and the process for cracking edition application program unloading function starting and deleting the application program associated documents is realized to the unloading for cracking edition application program.Function is unloaded as it can be seen that cracking edition application program discriminant function by setting and cracking edition application program, can easily and thoroughly delete and crack an edition application program.
Description
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of to unload the method and dress for cracking edition application program
It sets.
Background technique
Can be from two kinds of approach downloading installations application program (software) on iPhone, one is Apple store App
Store, one is the shop Cydia that escapes from prison;The former download after software if necessary to delete, can grow and pin the icons such as icon and open
Begin to shake, then click the fork in the upper right corner, so that it may unloading;The latter can not be then downloaded by this approach, long-pressing figure
After mark starts shake, the upper right corner will not show fork, this is because the software escaped from prison mostly will not be as the software one in Apple store
Sample is mounted under the Applications catalogue of mobile user, they be mounted on mostly the Applications of root with
And under other catalogues, primary apple system does not support such deletion.Software of escaping from prison can only be deleted in Cydia, or
It is that delete command deletion is directly run under the shell environment on iPhone.
The prior art can scan the Applications file of root, then by way of deleting file pair
The software escaped from prison is deleted.But this mode mainly has following disadvantage.Firstly, user's operation is not intuitive, Bu Nengzhi
Connecing the program as deleting AppStore, long-pressing is deleted, and to be deleted by way of matching Apply Names.In addition, deleting
Except being not thorough, installation file under the Applications of different of the program in Cydia under the root directory, some can even be arrived
Installation file is gone in systematic difference file.If after being not thorough deletion by way of deletion, then with Cydia also without
Method is completed to remove work.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
The unloading for stating problem cracks the method and device of edition application program.
According to one aspect of the present invention, a kind of method for unloading and cracking edition application program, the operating system of terminal are provided
Including system framework layer and application layer, which comprises after user clicks and deletes application program operation, the system
Ccf layer calls the application layer is pre-set to crack an edition application program discriminant function;Edition application program that cracks is sentenced
Disconnected function judges whether application program to be deleted is to crack an edition application program to crack version, if so, feed back to the system framework layer,
Wherein, it is described crack an edition application program and refer to can not install under primary operating system and raising is being executed to primary operating system
Installable third party application after permission operation;The system framework layer calls the application layer is pre-set to answer
It is described to crack an edition process for the application program unloading function starting deletion application program associated documents with program unloading function,
It realizes to the unloading for cracking edition application program.
Preferably, the method also includes: in advance application layer be arranged application program identification set;It is described judgement to
It deletes whether application program is to crack an edition application program to include: it is described to judge whether the application program identification to be deleted is included in
It cracks in edition application program identification set, if so, determining that application program to be deleted is to crack an edition application program.
Preferably, the method also includes: in advance application layer obtain crack edition application program file installation ground
Location and/or catalogue;It is described to judge whether application program to be deleted is to crack an edition application program to include: to judge application program to be deleted
Whether it is mounted under the file installation addresses and/or catalogue for cracking edition application program, if it is, determining application to be deleted
Program is to crack an edition application program.
Preferably, the system framework layer calls the pre-set application program discriminant function packet of application layer
Include: the system framework layer uses hook mechanism, calls the hook being set in advance in the application layer
The canUninstallIcon method of SBIconController class realizes the function of the application program discriminant function.
Preferably, the system framework layer calls the pre-set application program of the application layer to unload function packet
Include: the system framework layer uses hook mechanism, calls the hook being set in advance in the application layer
The iconCloseBoxTapped method of SBIconController class realizes the function of the application program unloading function.
Preferably, the unloading application program includes: executing dpkg order or rm order, answers the version that cracks
It is deleted with program associated documents.
Preferably, after unloading the application program, further includes: killall order is executed, it will be with the application program
Relevant all caching process-kills, so that unloading comes into force.
Preferably, it includes: that user pins application program to be deleted for a long time that the user, which clicks and deletes application program operation,;
It is described feed back to the system framework layer after, further includes: the system framework layer, which executes, deletes icon display command, wait delete
Except the icon shown in application program for user's execution delete operation.
Preferably, the system framework layer call the application layer it is pre-set crack version unloading function it
Before, further includes: the system framework layer determines that user has clicked the icon that delete operation is executed for user.
Preferably, the operating system refers to iOS operating system, and the execution improves permission operation and refers to through hand of escaping from prison
Section obtains the readable write permission to file system;Alternatively, the operating system refers to Android system, the execution improves power
Limit operation refers to the super keepe permission obtained by root means.
According to another aspect of the invention, a kind of device for unloading and cracking edition application program, the operation system of terminal are provided
System includes system framework layer and application layer, and described device includes: to crack an edition discriminant function call unit, in user's point
It hits after deleting application program operation, the system framework layer calls the application layer is pre-set to crack an edition application program
Discriminant function;Crack version application judging unit, for judge application program to be deleted whether be crack an edition application program, if so,
Feed back to the system framework layer, wherein it is described crack an edition application program refer to can not be installed under primary operating system and
Installable third party application after improving permission operation is executed to primary operating system;Using unloading execution unit, it is used for
The pre-set edition application program that cracks of the application layer is called to unload a function using the system framework layer, it is described to crack
The process of the application program associated documents is deleted in version application program unloading function starting, and realization cracks an edition application program to described
Unloading.
Preferably, described device further include: an edition application identities acquisition unit is cracked, for being arranged in advance in application layer
Crack an edition application program identification set;Crack version application judging unit to be specifically used for: the application layer judgement is described wait delete
Except application program identification whether be included in it is described crack in edition application program identification set, to be deleted apply journey if so, determining
Sequence is to crack an edition application program.
Preferably, described device further include: version application installation acquiring unit is cracked, for obtaining in advance in application layer
Crack the file installation addresses and/or catalogue of edition application program;The version application judging unit that cracks is specifically used for: judging wait delete
Except whether application program is mounted under the file installation addresses and/or catalogue for cracking edition application program, if it is, determining
Application program to be deleted is to crack an edition application program.
Preferably, edition discriminant function call unit that cracks is specifically used for: the system framework layer uses hook mechanism,
Call the side canUninstallIcon for the hook SBIconController class being set in advance in the application layer
Method cracks an edition function for application program discriminant function described in realization.
Preferably, the application unloading execution unit is specifically used for: the system framework layer uses hook mechanism, calls pre-
The iconCloseBoxTapped method of hook SBIconController class in the application layer is first set, it is real
The existing function of cracking edition application program and unload function.
Preferably, the application unloading execution unit is specifically used for: executing dpkg order or rm order, cracks to described
Version application program associated documents are deleted.
Preferably, unloading application unloading execution unit is specifically used for: execute killall order, will with it is described
The relevant all caching process-kills of edition application program are cracked, so that unloading comes into force.
Preferably, it includes: that user pins application program to be deleted for a long time that the user, which clicks and deletes application program operation,;
The version application judging unit that cracks is also used to: the system framework layer, which executes, deletes icon display command, in application to be deleted
The icon that delete operation is executed for user is shown in program.
Preferably, using unloading execution unit be also used to: the system framework layer determine user clicked it is described for
The icon of family execution delete operation.
Preferably, the operating system refers to iOS operating system, and the execution improves permission operation and refers to through hand of escaping from prison
Section obtains the readable write permission to file system;Alternatively, the operating system refers to Android system, the execution improves power
Limit operation refers to the super keepe permission obtained by root means.
As it can be seen that the present invention cracks edition application program discriminant function by setting and application program unloads function, when by broken
Solution version application program discriminant function determines that application program to be unloaded is that when cracking edition application program, can answer at the terminal by be deleted
Go out icon to be pitched with program display, facilitates user to execute delete operation, when user performs deletion to an edition application program is cracked
When order, by crack edition application program unload function complete deletion application program associated documents and process user can very aspect
Deletion crack an edition program.In addition, unloading script mode compared to deb, the present invention is more flexible, because function can customized generation
Code, for example the operation of networking or the frame of one, bullet unloading questionnaire are executed, deb unloading script can only execute shell-command,
Compare and is limited to.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the method flow diagram according to an embodiment of the invention for unloading and cracking edition application program;And
Fig. 2 shows the apparatus structure schematic diagrams that unloading according to an embodiment of the invention cracks edition application program.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
As previously described, the prior art is by the Applications file of scanning root and by deleting file
Mode deletes the software escaped from prison, and this mode is not intuitive there are user's operation and deletes halfway defect.
The technical problem to be solved in the present invention can exactly allow the software installed from Cydia to shake by long-pressing
Mode deleted, with the software indifference on AppStore on operating experience.
In this regard, the present inventor has found in the course of the research, by setting crack edition application program discriminant function and
An edition application program unloading function is cracked, when determining that application program to be unloaded is to crack version by cracking an edition application program discriminant function
When application program, application program to be deleted can be shown to icon to be pitched at the terminal, user is facilitated to execute delete operation, when
User unloads a function complete deletion application journey by cracking edition application program to when cracking an edition application program and performing delete command
Sequence associated documents and process.
It will be appreciated by those skilled in the art that operating system includes application layer (app layers) and system framework layer
(framework layers) are then not covered as other layer of present invention for being possible to include from function division.Wherein, usually
App layers can be understood as upper layer, be responsible for the interface interacted with user, such as identify when application maintenance and the click page
Different types of click on content is to show different context menu etc..Usually framework layers are used as middle layer, this layer
Major responsibility be that the user for obtaining app layers requests, such as starting with program, clickthrough, click and save picture etc,
It forwards and is gone toward lower layer;The content that lower layer is handled well, perhaps by message or by middle-agent's class, to be distributed to upper layer,
User is shown.
A kind of preferred implementation of the present invention is improved to app layers and framework layers, to utilize this two layers
Coordinated realize unloading to edition application program is cracked.Specifically, framework layers are called on certain opportunitys by interface
App layers, function is unloaded using app layers of pre-set edition application program discriminant function and the application program of cracking, is realized to cracking
The unloading of version application program.
It is the method flow diagram that a kind of unloading provided in an embodiment of the present invention cracks edition application program referring to Fig. 1, comprising:
S101: after user clicks and deletes application program operation, system framework layer calls application layer pre-set
Crack an edition application program discriminant function.
For example, above-mentioned " user, which clicks, deletes application program operation " refers to: user pins application program to be deleted for a long time.
For example, user will delete certain software, then he can pin the software icon for a long time.
S102: crack an edition application program discriminant function judge application program to be deleted whether be crack an edition application program, if
It is to feed back to system framework layer.
Preferably, an edition application program identification set is cracked in application layer setting in advance;It is to be deleted using journey when judging
Whether sequence is when cracking edition application program, and application layer judges whether application program identification to be deleted is included in and cracks version application
In program identification set, if so, determining that application program to be deleted is to crack an edition application program.
Preferably, the file installation addresses and/or catalogue of edition application program are cracked in application layer acquisition in advance;When sentencing
Whether application program to be deleted of breaking is when cracking edition application program, and application layer judges whether application program to be deleted is mounted on
Under the file installation addresses and/or catalogue for cracking edition application program, if it is, determining that application program to be deleted is to crack
Version application program.
Preferably, it is described feed back to the system framework layer after, further includes: system framework layer, which executes, to be deleted icon and shows
Order shows the deletion icon that delete operation is executed for user in application program to be deleted.For example, " deleting icon " refers to
" fork " shown in application program to be deleted is clicked convenient for user to execute delete operation.
S103: system framework layer calls application layer is pre-set to crack an edition application program unloading function, cracks version
Application program unloads the process that the application program associated documents are deleted in function starting, realizes the unloading to edition application program is cracked.
Preferably, call the application layer is pre-set to crack an edition application program unloading function in system framework layer
Before, further includes: system framework layer determines that user has clicked the icon that delete operation is executed for user.For example, user clicks
" fork " in application program to be deleted, system framework layer then determine that user performs the order that delete the application program, with
I.e. calling cracks an edition application program unloading function and is unloaded.
In order to understand conveniently, it is anticipated that, the present invention program is realized in the management class software of mobile terminal to broken
Solve a function of version application program management.Illustrated with a concrete instance, in order to realize that mobile phone bodyguard software is broken in mobile phone
The unloading of version application program is solved, mobile phone bodyguard's software needs preset the identification sets for cracking edition application program managed
It closes;Also, it presets and cracks edition application program discriminant function and crack an edition application program unloading function, thus corresponding in user
When executing delete operation with program, judgement and unloading operation can be carried out to application program.
The embodiment of the present invention is introduced by taking iOS system as an example below.
It is well known that iOS system is to close source system, non-open source.User right is very low, opens system by " cracking version "
Closed gate releases the limitation of iOS system, can arbitrarily modify system file, installs plug-in unit, and some App of installation
The extension application not having in Store (application program shop), that is, obtain the super authority of iOS system.Such as it installs
Software other than App Store replaces appearance theme, runs shell program, it might even be possible to unlock operator for terminal network
Limitation (" unlock " that is commonly called as).The embodiment of the present invention preferably carries out under the conditions of obtaining iOS system super authority
's." cracking an edition application program " (or being known as " cracking an edition application program ", " cracking edition software ") in the present invention refers in original
It can not install under raw operating system and improve installable third-party application journey after permission operates executing to primary operating system
Sequence, for example, referring to the third-party application for obtaining the unofficial certification installed under operating system prescribed profile in ios system
Program.Certainly, in addition to ios system, the embodiment of the present invention be can be applied in other operating systems.Such as Android system,
It so " cracks an edition application program " and just refers to the application program installed under the super keepe prescribed profile obtained by root means.
In specific implementation, edition application program discriminant function is cracked and using journey in above-mentioned framework layers of app layers of calling
Sequence unloads function, can be realized by hook (hook or hook) mechanism.Hook mechanism allows to intercept and capture processing message or specific
Event.Hook is actually the program segment of a processing message, is called by system, it is linked into system.Disappear whenever specifically
Breath issues, and before no arrival purpose window, hook program just first captures the message, that is, Hook Function first obtains control.
At this moment Hook Function can working process (change) message, can not also deal with and continue to transmit the message, can be with
Force the transmitting of end message.In embodiments of the present invention, the process of application program, realization pair are deleted using hook mechanism intervention
Crack judgement and the unloading operation of edition application program.It is also understood that passing through app layers and framework using hook mechanism
Interface between layer calls the responsible management in app layers to crack the class of edition application program.
How lower mask body introduction, which is realized to crack edition application program discriminant function and crack edition application program, unloads function
Function.
(1) an edition application program discriminant function is cracked
In short, framework layers use hook mechanism, the hook being set in advance in app layers is called
The canUninstallIcon method of SBIconController class, realization crack an edition function for application program discriminant function.
Specifically, the app layers of canUninstallIcon method by Hook SBIconController class, judgement is such as
Fruit is the bundle id for cracking edition program, then to framework layers of return, " YES, expression can show deletion icon.In terminal
Performance be exactly that when the icon of user's long-pressing application program to be deleted, this, which cracks an edition application program, can directly display out one
" fork ".
(2) an edition application program unloading function is cracked
In short, framework layers use hook mechanism, the hook being set in advance in app layers is called
The iconCloseBoxTapped method of SBIconController class is realized and cracks an edition function for application program unloading function.
Specifically, passing through the iconCloseBoxTapped method of hook SBIconController class, in user's click
As soon as after walking out of existing " fork ", returning and going to this function, so judging in this function if it is oneself program
Then bundle id is deleted or is unloaded with All Files of the mode of dpkg order or rm order to oneself.Its
In, this order of dpkg-P program-package name can be called or the All Files cracked in edition software are all deleted with rm order
It removes, for example executes order " rm-rf/Applications/360safe.app ".And in the completed, restarting to institute hook
Or it closes.It means, the software to be unloaded is deleted, then existing caching process is killed again, utilize
The mode of killall process title is closed, so that unloading comes into force.
Here is to realize to crack edition application program discriminant function and crack an edition example procedure code for application program unloading function.
As it can be seen that the present invention cracks edition application program discriminant function and crack edition application program by setting unloads function, when
Determine that application program to be unloaded is when cracking edition application program by cracking an edition application program discriminant function, can at the terminal by
It deletes application program and shows icon to be pitched, user is facilitated to execute delete operation, when user executes to edition application program is cracked
When delete command, by crack edition application program unload function complete deletion application program associated documents and process user can be with
The deletion of very aspect cracks an edition program.In addition, unloading script mode compared to deb, the present invention is more flexible, because function can be certainly
Definition code, for example the operation of networking or the frame of one, bullet unloading questionnaire are executed, deb unloading script can only execute
Shell-command compares and is limited to.
It corresponds to the above method, the present invention also provides the devices that a kind of unloading cracks edition application program.The device can be with
It is realized by hardware, software or software and hardware combining mode.The device can refer to the functional module of terminal inner, may also mean that
Terminal itself, as long as terminal includes realizing the function of the device.
Fig. 2 shows the device that unloading according to an embodiment of the invention cracks edition application program, which includes:
An edition discriminant function call unit 201 is cracked, is used for after user clicks and deletes application program operation, the system frame
Rack-layer calls the application layer is pre-set to crack an edition application program discriminant function;
Crack version application judging unit 202, for judge application program to be deleted whether be crack an edition application program, if
It is to feed back to the system framework layer;
Using unloading execution unit 203, for calling the application layer to preset using the system framework layer
Crack an edition application program unloading function, crack an edition application program described in unloading.
Preferably, described device further include: an edition application identities acquisition unit 204 is cracked, in advance in application layer
Setting cracks an edition application program identification set;Crack version application judging unit 202 to be specifically used for: the application layer judges institute
State application program identification to be deleted whether be included in it is described crack in edition application program identification set, if so, determination is to be deleted
Application program is to crack an edition application program.
Preferably, described device further include: version application installation acquiring unit 205 is cracked, in advance in application layer
Obtain the file installation addresses and/or catalogue for cracking edition application program;The version application judging unit that cracks is specifically used for: judgement
Whether application program to be deleted is mounted under the file installation addresses and/or catalogue for cracking edition application program, if it is,
Determine that application program to be deleted is to crack an edition application program.
Preferably, edition discriminant function call unit 201 that cracks is specifically used for: the system framework layer uses hook machine
System calls the canUninstallIcon for the hook SBIconController class being set in advance in the application layer
Method cracks an edition function for application program discriminant function described in realization.
Preferably, the application unloading execution unit 203 is specifically used for: the system framework layer uses hook mechanism, adjusts
With the side iconCloseBoxTapped for the hook SBIconController class being set in advance in the application layer
Method cracks an edition function for application program unloading function described in realization.
Preferably, the application unloading execution unit 203 is specifically used for: dpkg order or rm order are executed, it is right
Edition application program associated documents that crack are deleted.
Preferably, the application unloading execution unit 203 is specifically used for: executing killall order, will break with described
The relevant all caching process-kills of version application program are solved, so that unloading comes into force.
Preferably, it includes: that user pins application program to be deleted for a long time that the user, which clicks and deletes application program operation,;
The version application judging unit that cracks is also used to: the system framework layer, which executes, deletes icon display command, in application to be deleted
The icon that delete operation is executed for user is shown in program.
Preferably, be also used to using unloading execution unit 203: the system framework layer determines that user has clicked the confession
The icon of user's execution delete operation.
Preferably, the operating system refers to iOS operating system, also, described device pre-selection obtains the iOS operation
The super authority of system.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize that according to an embodiment of the present invention unload cracks the dress of edition application program
The some or all functions of some or all components in setting.The present invention is also implemented as described here for executing
Method some or all device or device programs (for example, computer program and computer program product).This
The program that the realization of sample is of the invention can store on a computer-readable medium, or can have one or more signal
Form.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other
Form provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
The present invention provides following scheme:
A1, it is a kind of unload the method for cracking edition application program, the operating system of terminal includes system framework layer and using journey
Sequence layer, which comprises
After user clicks and deletes application program operation, the system framework layer calls the application layer to preset
Crack an edition application program discriminant function;
Edition application program discriminant function that cracks judges whether application program to be deleted is to crack an edition application program to crack
Version, if so, feeding back to the system framework layer, wherein it is described crack that an edition application program refers to can not under primary operating system
It installs and improves installable third party application after permission operates executing to primary operating system;
The system framework layer calls the pre-set application program of the application layer to unload function, described to crack version
Application program unloads the process that the application program associated documents are deleted in function starting, realizes to edition application program that cracks
Unloading.
A2, method as described in a1,
The method also includes: application program identification set is set in application layer in advance;
It is described to judge whether application program to be deleted is to crack an edition application program to include: to judge the application program to be deleted
It identifies whether to crack in edition application program identification set included in described, if so, determining that application program to be deleted is to crack version
Application program.
A3, method as described in a1,
The method also includes: in advance application layer obtain crack edition application program file installation addresses and/or
Catalogue;
It is described to judge whether application program to be deleted is to crack an edition application program to include:
Judge whether application program to be deleted is mounted on the file installation addresses and/or catalogue for cracking edition application program
Under, if it is, determining that application program to be deleted is to crack an edition application program.
A4, method as described in a1, the system framework layer call the pre-set application program of application layer
Discriminant function includes:
The system framework layer uses hook mechanism, calls the hook being set in advance in the application layer
The canUninstallIcon method of SBIconController class realizes the function of the application program discriminant function.
A5, method as described in a1, the system framework layer call the pre-set application program of application layer
Unloading function includes:
The system framework layer uses hook mechanism, calls the hook being set in advance in the application layer
The iconCloseBoxTapped method of SBIconController class realizes the function of the application program unloading function.
A6, method as described in a1, the unloading application program includes:
Dpkg order or rm order are executed, edition application program associated documents that crack are deleted.
A7, the method as described in A6, after unloading the application program, further includes:
Execute killall order, will all caching process-kills relevant to the application program so that unload give birth to immediately
Effect.
A8, method as described in a1,
It includes: that user pins application program to be deleted for a long time that the user, which clicks and deletes application program operation,;
It is described feed back to the system framework layer after, further includes: the system framework layer, which executes, deletes icon display life
It enables, the icon for executing delete operation for user is shown in application program to be deleted.
A9, the method as described in A8 call the application layer is pre-set to crack version in the system framework layer
Before unloading function, further includes:
The system framework layer determines that user has clicked the icon that delete operation is executed for user.
A10, method as described in a1, the operating system refer to iOS operating system, and the execution, which improves permission operation, is
Refer to the readable write permission obtained by means of escaping from prison to file system;Alternatively, the operating system refers to Android system, institute
It states execution and improves permission and operate and refer to the super keepe permission obtained by root means.
B11, a kind of unload crack the device of edition application program, and the operating system of terminal includes system framework layer and using journey
Sequence layer, described device include:
An edition discriminant function call unit is cracked, is used for after user clicks and deletes application program operation, the system framework
Layer calls the application layer is pre-set to crack an edition application program discriminant function;
Version application judging unit is cracked, for judging whether application program to be deleted is to crack an edition application program, if so, instead
Feed the system framework layer, wherein it is described crack an edition application program and refer to can not be installed under primary operating system and right
Primary operating system, which executes, improves installable third party application after permission operates;
Using unloading execution unit, for calling the application layer pre-set broken using the system framework layer
It solves version application program and unloads function, edition application program unloading function that cracks starts the deletion application program associated documents
Process is realized to the unloading for cracking edition application program.
B12, device as described in b11, described device further include: an edition application identities acquisition unit is cracked, for existing in advance
Application layer setting cracks an edition application program identification set;It cracks version application judging unit to be specifically used for: the application program
Layer judges the application program identification to be deleted cracks in edition application program identification set described in whether being included in, if so, really
Fixed application program to be deleted is to crack an edition application program.
B13, device as described in b11, described device further include: version application installation acquiring unit is cracked, for existing in advance
Application layer obtains the file installation addresses and/or catalogue for cracking edition application program;It is described to crack version application judging unit tool
Body is used for: judging whether application program to be deleted is mounted on the file installation addresses and/or catalogue for cracking edition application program
Under, if it is, determining that application program to be deleted is to crack an edition application program.
B14, device as described in b11, edition discriminant function call unit that cracks are specifically used for: the system framework layer
Using hook mechanism, the hook SBIconController class being set in advance in the application layer is called
CanUninstallIcon method cracks an edition function for application program discriminant function described in realization.
B15, device as described in b11, the application unloading execution unit are specifically used for: the system framework layer uses
Hook mechanism calls the hook SBIconController class being set in advance in the application layer
IconCloseBoxTapped method cracks an edition function for application program unloading function described in realization.
B16, device as described in b11, the application unloading execution unit are specifically used for: executing dpkg order or rm life
It enables, edition application program associated documents that crack is deleted.
B17, the device as described in B16, the unloading application unloading execution unit are specifically used for: executing killall
Order will crack the relevant all caching process-kills of edition application program to described, so that unloading comes into force.
B18, device as described in b11, the user click delete application program operation include: user pin for a long time to
Delete application program;The version application judging unit that cracks is also used to: the system framework layer, which executes, deletes icon display command,
The icon that delete operation is executed for user is shown in application program to be deleted.
B19, the device as described in B18, be also used to using unloading execution unit: the system framework layer determines that user is ordered
The icon that delete operation is executed for user is hit.
B20, device as described in b11, the operating system refer to iOS operating system, and the execution improves permission operation
Refer to the readable write permission obtained by means of escaping from prison to file system;Alternatively, the operating system refers to Android system,
The execution improves permission operation and refers to the super keepe permission obtained by root means.
Claims (20)
1. it is a kind of unload crack edition application program method, which is characterized in that the operating system of terminal include system framework layer and
Application layer, which comprises
After user clicks and deletes application program operation, the system framework layer calls the application layer pre-set broken
Solve version application program discriminant function;
Edition application program discriminant function that cracks judges whether application program to be deleted is to crack an edition application program, if so, instead
Feed the system framework layer, wherein it is described crack an edition application program and refer to can not be installed under primary operating system and right
Primary operating system, which executes, improves installable third party application after permission operates;
The system framework layer calls the pre-set edition application program that cracks of the application layer to unload a function, described to crack
The process of the application program associated documents is deleted in version application program unloading function starting, and realization cracks an edition application program to described
Unloading.
2. the method as described in claim 1, which is characterized in that
The method also includes: application program identification set is set in application layer in advance;
It is described to judge whether application program to be deleted is to crack an edition application program to include: to judge the application program identification to be deleted
It is cracked in edition application program identification set described in whether being included in, if so, determining that application program to be deleted is to crack version application
Program.
3. the method as described in claim 1, which is characterized in that
The method also includes: the file installation addresses and/or catalogue of edition application program are cracked in application layer acquisition in advance;
It is described to judge whether application program to be deleted is to crack an edition application program to include:
Judge whether application program to be deleted is mounted under the file installation addresses and/or catalogue for cracking edition application program,
If it is, determining that application program to be deleted is to crack an edition application program.
4. the method as described in claim 1, which is characterized in that the system framework layer calls the application layer to set in advance
The application program discriminant function set includes:
The system framework layer uses hook mechanism, calls the hook being set in advance in the application layer
The canUninstallIcon method of SBIconController class realizes the function of the application program discriminant function.
5. the method as described in claim 1, which is characterized in that the system framework layer calls the application layer to set in advance
The application program set unloads function
The system framework layer uses hook mechanism, calls the hook being set in advance in the application layer
The iconCloseBoxTapped method of SBIconController class realizes the function of the application program unloading function.
6. the method as described in claim 1, which is characterized in that the unloading application program includes:
Dpkg order or rm order are executed, edition application program associated documents that crack are deleted.
7. method as claimed in claim 6, which is characterized in that after unloading the application program, further includes:
Execute killall order, will all caching process-kills relevant to the application program so that unload come into force.
8. the method as described in claim 1, which is characterized in that
It includes: that user pins application program to be deleted for a long time that the user, which clicks and deletes application program operation,;
It is described feed back to the system framework layer after, further includes: the system framework layer, which executes, deletes icon display command,
The icon that delete operation is executed for user is shown in application program to be deleted.
9. method according to claim 8, which is characterized in that call the application layer preparatory in the system framework layer
Be arranged crack version unloading function before, further includes:
The system framework layer determines that user has clicked the icon that delete operation is executed for user.
10. the method as described in claim 1, which is characterized in that the operating system refers to iOS operating system, the execution
It improves permission operation and refers to the readable write permission obtained by means of escaping from prison to file system;Alternatively, the operating system refers to
Android system, the execution improve permission operation and refer to the super keepe permission obtained by root means.
11. a kind of unload cracks the device of edition application program, which is characterized in that the operating system of terminal include system framework layer and
Application layer, described device include:
An edition discriminant function call unit is cracked, is used for after user clicks and deletes application program operation, the system framework layer tune
An edition application program discriminant function is cracked with the application layer is pre-set;
Version application judging unit is cracked, for judging whether application program to be deleted is to crack an edition application program, if so, feeding back to
The system framework layer, wherein it is described crack an edition application program and refer to can not be installed under primary operating system and to primary
Operating system, which executes, improves installable third party application after permission operates;
Using unloading execution unit, for calling the application layer is pre-set to crack version using the system framework layer
Application program unloads function, the mistake for cracking edition application program unloading function starting and deleting the application program associated documents
Journey is realized to the unloading for cracking edition application program.
12. device as claimed in claim 11, which is characterized in that described device further include: it is single to crack edition application identities acquisition
Member, for cracking an edition application program identification set in application layer setting in advance;Version application judging unit is cracked to be specifically used for:
The application layer judges the application program identification to be deleted cracks an edition application program identification set described in whether being included in
In, if so, determining that application program to be deleted is to crack an edition application program.
13. device as claimed in claim 11, which is characterized in that described device further include: crack version application installation and obtain list
Member, for cracking the file installation addresses and/or catalogue of edition application program in application layer acquisition in advance;The version that cracks is answered
It is specifically used for judging unit: judges whether application program to be deleted is mounted on the file installation ground for cracking edition application program
Under location and/or catalogue, if it is, determining that application program to be deleted is to crack an edition application program.
14. device as claimed in claim 11, which is characterized in that edition discriminant function call unit that cracks is specifically used for:
The system framework layer uses hook mechanism, calls the hook being set in advance in the application layer
The canUninstallIcon method of SBIconController class cracks edition function of application program discriminant function described in realization
Energy.
15. device as claimed in claim 11, which is characterized in that the application unloading execution unit is specifically used for: the system
Ccf layer of uniting uses hook mechanism, calls the hook SBIconController class being set in advance in the application layer
IconCloseBoxTapped method, an edition function for application program unloading function is cracked described in realization.
16. device as claimed in claim 11, which is characterized in that the application unloading execution unit is specifically used for: executing
Edition application program associated documents that crack are deleted in dpkg order or rm order.
17. device as claimed in claim 16, which is characterized in that the unloading application unloading execution unit is specifically used
In: killall order is executed, the relevant all caching process-kills of edition application program will be cracked to described, so that unloading immediately
It comes into force.
18. device as claimed in claim 11, which is characterized in that it includes: use that the user, which clicks and deletes application program operation,
The head of a household pins application program to be deleted the time;The version application judging unit that cracks is also used to: the system framework layer execution is deleted
Except icon display command, the icon that delete operation is executed for user is shown in application program to be deleted.
19. device as claimed in claim 18, which is characterized in that application unloading execution unit is also used to: the system framework
Layer determines that user has clicked the icon that delete operation is executed for user.
20. device as claimed in claim 11, which is characterized in that the operating system refers to iOS operating system, the execution
It improves permission operation and refers to the readable write permission obtained by means of escaping from prison to file system;Alternatively, the operating system refers to
Android system, the execution improve permission operation and refer to the super keepe permission obtained by root means.
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 CN105718278A (en) | 2016-06-29 |
CN105718278B true CN105718278B (en) | 2019-02-12 |
Family
ID=56090992
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410737945.1A Active CN105718278B (en) | 2014-12-05 | 2014-12-05 | Unloading cracks the method and device of edition application program |
CN201811629914.9A Pending CN109683922A (en) | 2014-12-05 | 2014-12-05 | Unloading cracks the method and device of edition application program |
Family Applications After (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) | CN105718278B (en) |
WO (1) | WO2016086782A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105718278B (en) * | 2014-12-05 | 2019-02-12 | 北京奇虎科技有限公司 | Unloading cracks the method and device of edition application program |
CN106709285B (en) * | 2016-11-23 | 2020-03-17 | 北京小米移动软件有限公司 | Display method and device of application lock interface |
CN108334775B (en) * | 2018-01-23 | 2022-09-23 | 创新先进技术有限公司 | Method and device for detecting jail-crossing plug-in |
CN112199208B (en) * | 2020-09-09 | 2023-07-07 | 福建天泉教育科技有限公司 | Method and terminal for providing additional function interface on android system |
Citations (3)
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 |
CN103617065A (en) * | 2013-12-13 | 2014-03-05 | 广州市久邦数码科技有限公司 | System and method for forced uninstallation of system software of mobile terminal |
Family Cites Families (7)
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 |
US8869235B2 (en) * | 2011-10-11 | 2014-10-21 | Citrix Systems, Inc. | Secure mobile browser for protecting enterprise data |
CN103309692A (en) * | 2012-03-13 | 2013-09-18 | 富泰华工业(深圳)有限公司 | Touch screen electronic device, software rapid and convenient upgrading and uninstalling system and software rapid and convenient upgrading and uninstalling method |
CN102662667B (en) * | 2012-03-31 | 2015-09-30 | 北京奇虎科技有限公司 | A kind of software uninstalling method and device |
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 |
CN105718278B (en) * | 2014-12-05 | 2019-02-12 | 北京奇虎科技有限公司 | Unloading cracks the method and device of edition application program |
-
2014
- 2014-12-05 CN CN201410737945.1A patent/CN105718278B/en active Active
- 2014-12-05 CN CN201811629914.9A patent/CN109683922A/en active Pending
-
2015
- 2015-11-25 WO PCT/CN2015/095575 patent/WO2016086782A1/en active Application Filing
Patent Citations (3)
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 |
CN103617065A (en) * | 2013-12-13 | 2014-03-05 | 广州市久邦数码科技有限公司 | System and method for forced uninstallation of system software of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN109683922A (en) | 2019-04-26 |
CN105718278A (en) | 2016-06-29 |
WO2016086782A1 (en) | 2016-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105718278B (en) | Unloading cracks the method and device of edition application program | |
CN106708557B (en) | Update processing method and device for terminal application | |
US10110604B2 (en) | Sandbox technology based webpage browsing method and device | |
US9690560B2 (en) | System and method for transferring software applications and data between two mobile devices with different operating systems | |
AU2015368047B2 (en) | Method and apparatus for providing communication-related information | |
CN103793248B (en) | Method and device for upgrading application program | |
CN105468395B (en) | Update method, apparatus and system | |
CN105528439B (en) | Page switching method and device in browser label | |
CN105159718B (en) | Firmware upgrade method and device | |
CN103778012B (en) | The method and device of change terminal operator's informaiton | |
CN105095749B (en) | The adapting method and device of status bar notice | |
US20170286684A1 (en) | Method for Identifying and Removing Malicious Software | |
CN104360880B (en) | One kind applies installation method and electronic equipment | |
CN106161531A (en) | A kind of method that data are uploaded and device thereof | |
WO2017161831A1 (en) | Application processing method and apparatus and electronic device | |
CN105095076B (en) | Method and device for testing compatibility between application software versions | |
CN105808059A (en) | Application processing method and device based on terminal system | |
CN105426192A (en) | Information modification method and terminal | |
CN107124713B (en) | Customized updating method and mobile terminal | |
CN104375831A (en) | Method, device and system realizing communication between webpage and applications on terminal equipment | |
CN104010078B (en) | Method and device for processing intercepted information through terminal | |
CN105354081B (en) | The method and device of synchronous binding service | |
CN107861666B (en) | Desktop application installation method and device | |
CN106095448A (en) | A kind of desktop layouts method and apparatus of mobile device | |
CN105224860A (en) | A kind of cloud multipad method for managing security |
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 |