CN104375861A - Installation-free operation method and device for application programs based on Android platform and terminal - Google Patents

Installation-free operation method and device for application programs based on Android platform and terminal Download PDF

Info

Publication number
CN104375861A
CN104375861A CN201410614467.5A CN201410614467A CN104375861A CN 104375861 A CN104375861 A CN 104375861A CN 201410614467 A CN201410614467 A CN 201410614467A CN 104375861 A CN104375861 A CN 104375861A
Authority
CN
China
Prior art keywords
assembly
application program
applications
pms
examination
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
CN201410614467.5A
Other languages
Chinese (zh)
Other versions
CN104375861B (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 CN201410614467.5A priority Critical patent/CN104375861B/en
Publication of CN104375861A publication Critical patent/CN104375861A/en
Application granted granted Critical
Publication of CN104375861B publication Critical patent/CN104375861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to an installation-free operation method and device for application programs based on an Android platform and a terminal. The method includes the steps that assemblies contained in an application program installation package are acquired; the operating environment needed for operation of the application programs is established; the assemblies are loaded in the operating environment; if the loaded assemblies are Activity assemblies or Broadcast Receiver assemblies or Service assemblies, before a PMS is checked, the assemblies are modified into corresponding assemblies in the installed application programs, and after the PMS is successfully checked according to the corresponding assemblies in the installed application programs, the corresponding assemblies in the installed application programs are modified back to the assemblies again, and the assemblies are started; if the loaded assemblies are Content Provider assemblies, the Content Provider assemblies are called through a reflex mechanism. By the adoption of the embodiment, installation-free operation of the application programs is achieved, use operation of the application programs is simplified, and the problems of potential safety hazards caused by multiple loopholes on an installation platform can be solved to a certain degree.

Description

Application program based on Android platform exempts from the method for installation and operation, device and terminal
Technical field
The present invention relates to a kind of computer realm, the application program particularly relating to a kind of Android platform exempts from the method for installation and operation, device and terminal.
Background technology
At present, Android (Andriod) smart mobile phone has occupied share larger on market.Universal along with Android smartphone and mobile Internet, the application program on Android platform and game have become the focus of industry development in recent years.
A large amount of Android application programs and the appearance of game make user dazzled, and user will experience the different enjoyment brought of playing, and just needs the client application downloading these game.User wants to use these application programs, also needs being arranged on mobile phone by these client applications one by one.Independently application storage is on a user device as one for each application program.
Application program on existing Android platform or game, could start use after must installing, complex operation after download; In addition, application program management can only depend on the administrative mechanism of mounting platform itself, and such as rights management, message informing management etc., many leaks of Android platform can bring very large safety risks.
Summary of the invention
In view of the above problems, the present invention is proposed so that provide a kind of and overcome the problems referred to above or the application program based on Android platform that solves the problem at least in part and exempt from the method for installation and operation, device and terminal.
According to first aspect of the present invention, provide a kind of method that application program based on Android platform exempts from installation and operation, it is characterized in that, comprising:
Obtain each assembly comprised in application program installation kit;
Construct the running environment needed for the operation of described application program;
Under described running environment, load each described assembly respectively;
Wherein, if the described assembly loaded is movable Activity assembly, broadcast recipients BroadcastReceiver assembly or service Service assembly, then before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly;
If the described assembly loaded is content provider ContentProvider assembly, then call described ContentProvider assembly by reflex mechanism.
According to second aspect of the present invention, provide the device that a kind of application program based on Android platform exempts from installation and operation, it is characterized in that, comprising:
Acquisition module, for obtaining in application program installation kit each assembly comprised;
Constructing module, for constructing the running environment needed for the operation of described application program;
Load-on module, under described running environment, loads each described assembly respectively;
Run module, when the described assembly loaded is movable Activity assembly, broadcast recipients BroadcastReceiver assembly or service Service assembly, before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly; When the described assembly loaded is content provider ContentProvider assembly, call described ContentProvider assembly by reflex mechanism.
According to the 3rd aspect of the present invention, provide a kind of mobile terminal, the described mobile terminal application program comprised based on Android platform exempts from the device of installation and operation, and wherein, the device that the described application program based on Android platform exempts from installation and operation comprises:
Acquisition module, for obtaining in application program installation kit each assembly comprised;
Constructing module, for constructing the running environment needed for the operation of described application program;
Load-on module, under described running environment, loads each described assembly respectively;
Run module, when the described assembly loaded is movable Activity assembly, broadcast recipients BroadcastReceiver assembly or service Service assembly, before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly; When the described assembly loaded is content provider ContentProvider assembly, call described ContentProvider assembly by reflex mechanism.
By technique scheme, the technical scheme that the embodiment of the present invention provides at least has following advantages:
The technical scheme that the embodiment of the present invention provides, by constructing the running environment needed for the operation of non-set up applications, thinks that application program provides the environment that the running environment after with installation is identical; By the assembly in the non-set up applications of first revision, affect the startup of assembly to avoid because application program management server (PackageManager Service, PMS) examination does not pass through; By secondly revising the assembly in non-set up applications, being in order to after PMS is by verification, starting the assembly in real non-set up applications, so achieve application program exempt from installation and operation, simplify the operation that application program uses; In addition, because application program is without the need to being arranged on this locality, and run in given running environment, can effectively carry out the interception of authority, the monitoring etc. of program behavior, the security hidden trouble that the many leaks because mounting platform exists bring can be solved to a certain extent.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, coordinates accompanying drawing to be described in detail as follows below with preferred embodiment of the present invention.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
A kind of application program based on Android platform that Fig. 1 shows the embodiment of the present invention one to be provided exempts from the schematic flow sheet of the method for installation and operation;
A kind of application program based on Android platform that Fig. 2 shows the embodiment of the present invention one to be provided exempts from the realization flow schematic diagram of step 102 in the method for installation and operation;
A kind of application program based on Android platform that Fig. 3 shows the embodiment of the present invention two to be provided exempts from the structural representation of the device of installation and operation;
What Fig. 4 showed a kind of mobile terminal that the embodiment of the present invention three provides realizes structural representation.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, a kind of application program based on Android platform that the embodiment of the present invention one provides exempts from the schematic flow sheet of the method for installation and operation.The executive agent of the described method that the present embodiment provides can be arranged on application program in Android device, such as, exempt to install sandboxed application (hereinafter referred to as sandbox program).This sandbox program be uninstalled application program installation kit provide one run environment, with realize application program exempt from install.Briefly, the described method that the present embodiment provides is exactly to provide a kind of application run block frame, and the inside that non-set up applications is loaded into oneself by this operation frame is gone to perform.Concrete, as shown in Figure 1, the method described in the present embodiment comprises:
The each assembly comprised in step 101, acquisition application program installation kit.
Wherein, assembly is divided into Four types, and this Four types is respectively: movable (Activity) assembly, broadcast recipients (Broadcast Receiver) assembly, service Service assembly and Content Provider assembly.Not every application program all must comprise the assembly of this Four types all, and some application programs may be set up by above-mentioned a kind of assembly or multiple assembly.Each assembly all needs registration to use, and namely each assembly needs to be configured in configuration file AndroidManifest.xml.Therefore, all component listed application program and comprise is had in the configuration file AndroidManifest.xml of application program installation kit.It can thus be appreciated that this step 101, by reading the AndroidManifest.xml file of described application program installation kit, obtains all component comprised in application program installation kit.
Here it should be noted that: because application program installation kit is not installed in this locality, therefore to have the process of application program management service (Package Manager Service is called for short PMS) set up applications.The process of PMS set up applications is exactly the process of resolving AndroidManifest.xml in fact, and the relevant information of the program that is applied from the inside, the assembly Activity assembly of the program that is such as applied, Service assembly, the information such as Broadcast Receiver assembly and Content Provider assembly, after having had these information, just normally this application program can be run in systems in which by campaign management services (ActivityManager Service is called for short AMS).Because there is no the process of above-mentioned PMS set up applications, so this step can adopt reflex mechanism to obtain each assembly comprised in described application program installation kit.
Wherein, the reflex mechanism adopted in the present embodiment can be Java reflex mechanism, and Java reflex mechanism is in running status, for any one class, can both know all properties and the method for this class; For any one object, its any one method can both be called; The function of the method for this Dynamic Acquisition information and dynamic call object is the reflex mechanism of JAVA language.The reflex mechanism that different language has it corresponding, such as, C language and C Plus Plus all have the reflex mechanism of its correspondence.
Step 102, construct described application program run needed for running environment.
Because application program installation kit APK does not install, therefore just the resource got in APK, such as picture, text etc. cannot be gone by the Context of sandbox program.The context that APK adopts when being loaded operation is the context (because sandbox program be mounted in Android device) of sandbox program, is the resource that cannot obtain oneself with others' Context.It can thus be appreciated that sandbox program, except can except each assembly in loading application programs, also will construct running environment needed for it for application program.
What the operation of an application program only had host process ActivityThread, an ActivityThread object factory is the current program process run.Therefore, the described method that the present embodiment provides, need construct the ActivityThread of described application program, with the start-up operation making described Activity Thread perform each described assembly.
We know that Android application program is in the process run, and are to be called AssetManager explorer to read by one to be packaged in resource file inside APK file.Each activity assembly of application program associates a contextlmpl object, and this contextlmpl object is just used to the operation context environmental that describes activity assembly.The member function init calling this ContextImpl object, to perform the work of initialization Activity assembly operating context environmental, wherein just comprises and creates the Resources object of access application resource and the work of AssetManager object of being used for.Wherein, ContextImpl.init function is just defined in file f rameworks/base/core/java/android/app/ContextImpl.java.What parameter p ackageInfo in ContextImpl.init function pointed to is a LoadedApk object, this LoadedApk object factory be current Apk just belonging to start assembly.Be used for access application resource Resources to as if by being that the member function getResources of a LoadedApk object creates pointed by call parameters packageInfo.It can thus be appreciated that in order to create Resources object, to extract or access application resource, the present embodiment also needs each component construction loaded APK object be respectively in application.
Except the above-mentioned content that need build, the embodiment of the present invention also need for application program construct its run needed for Classloader, be also required to be application program construct its run needed for resource environment.
In sum, as shown in Figure 2, this step 102 can specifically comprise the steps:
Step S1, construct described application program run needed for resource environment, with start each described assembly time transfer corresponding resource.
Concrete, can realize in the following way:
Member variable massets in the constructed fuction of resource Resources class is modified, to transfer corresponding resource when starting each described assembly by described massets; And/or
Asset Path function in explorer Asset Manager is modified, amended described Asset Path function points to the resource file in described application program installation kit, obtains corresponding resource in described resource file to transfer described Asset Path function when starting each described assembly by described Asset Manager.
Wherein, the constructed fuction of Resources class is defined in file f rameworks/base/core/java/android/content/res/Resources.j ava.Because the AssetManager object of pointed by parameter assets is kept in member variable mAssets by the constructed fuction of Resources class, i.e. mAssets=assets, makes the constructed fuction of Resources class can be visited the resource of application program by mAssets.Therefore, the present embodiment, by modifying to the member variable massets in resources-type constructed fuction, realizes transferring resource needed for application program by massets.Wherein, above-mentioned implementation can adopt reflex mechanism to realize.
Certainly, the present embodiment also can be modified to the Asset Path function in explorer Asset Manager, and the application resource file path (as: path is /system/app/Music.apk) of specifying as added by the member function addAssetPath of AssetManager object is in Asset Path function.Due to addAssetPath be hiding API we cannot directly call, so can only be realized by reflex mechanism.
Step S2, structure Classloader, to load the corresponding loading classes in each described assembly.
Concrete, described structure Classloader, can realize in the following way:
The path of described application program is added in the path list pathlist in Classloader, construct the Classloader searching loading classes according to described application path; And/or
Modify to the m parent member in Classloader, first structure looks for the Classloader of loading classes with parent.
First structure looks for the object of the Classloader of loading classes to be with parent: system is when looking for a loading classes, and what first adjust is findloadedclass () function, and then will go to call mparentfindclass () function.If class loader is directly configured to the Classloader first looking for loading classes with parent by the present embodiment, such system is when looking for this class, just directly call mparentfindclass () function to have gone for, eliminate and call the step that findloadedclass () function looks for class.
Step S3, structure main thread Activity Thread, with the start-up operation making described Activity Thread perform each described assembly.
Step S4, be respectively each described component structure one and load Android installation kit loaded APK object.
Concrete, this step can realize in the following way:
By the packageinfo in reflex mechanism reflection Activity Thread, load Android installation kit loaded APK object to be respectively each described component structure one.
Here you need to add is that: if described application program is the application program need installing self checking, then, in the step of the running environment needed for the described application program operation of above-mentioned structure, also need to comprise the steps:
Installation self checking operation required when described application program is run is taken over by reflex mechanism or hook hook function.
Here you need to add is that: term " hook " covers the technology for changing or increase the behavior of operating system, application program or other component softwares by tackling function call, message or the event transmitted between component software.And the code processing this function call, event or the message that are blocked just is called as hook hook function.Hook is generally used for various target, comprises and debugs function and expand function.Its example can be included in before keyboard or mouse event are delivered to application program and tackle them, or hooking system service call (system call), to monitor or to revise function of application program or other assemblies etc.The present embodiment can adopt hook hook function to take over installation self checking operation required when described application program is run.
Step 103, under described running environment, load each described assembly respectively.
If the described assembly that step 104 loads is movable Activity assembly, broadcast recipients BroadcastReceiver assembly or service Service assembly, then before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly.
Concrete, this step can be adopted and be realized with the following method:
Before application program management service PMS examination, by first of described assembly the examination parameter modification for described in the second examination parameter of corresponding assembly in set up applications;
Check by rear according to the corresponding assembly in described set up applications at PMS, change back described first examination parameter by second of amended described assembly the examination parameter, and start described assembly.
The present embodiment, by the method for twice amendment, is to verify by PMS after first revision; Second time changes back the assembly in the non-set up applications of rear startup, realizes the startup of assembly, and then realizes the operation of described application program.
Here you need to add is that:
The activation of Content Provider assembly: after receiving the request that ContentResolver sends, namely Content Provider assembly is activated.
The activation of Activity assembly can by transmission Intent object to startActivity () or Activity.startActivityForResult () being loaded into (or specify new work to) activity.Corresponding activity can by calling getIntent () method to check the intent activating it.
The activation of Service assembly can by transmission Intent object to Context.startService () or Context.bindService (), the former Android calls the onStart () method of service and by Intent object transfer to it, this Intent object transfer is given it by the onBind () method that the latter Android calls service.
The activation of Broadcast Receiver assembly can by transmission Intent object to giving Context.sendBroadcast () etc., Android can call the onReceive () method of all radio receivers interesting to this broadcast, and intent is passed to them.
As shown in the above, above-mentioned examination parameter is specially the intent object that above-mentioned each component activation transmits.Bag name and class name etc. are included in described intent object.
Further, activation based on above-mentioned each assembly is known, described in this step before application program management service PMS examination, by first of described assembly the examination parameter modification for described in the second examination parameter of corresponding assembly in set up applications, being implemented as follows of corresponding different assemblies:
When described assembly is activity assembly, call StartActivity (), it is the second examination parameter of the activity assembly declared in advance of set up applications by first of described activity assembly the examination parameter modification, campaign management services ASM parses the second examination parameter of amended described activity assembly, and described second examination parameter is reached described PMS wait examination;
When described assembly is BroadcastReceiver assembly, call sendbroadcast (), it is the second examination parameter of the BroadcastReceiver assembly declared in advance of set up applications by first of described BroadcastReceiver assembly the examination parameter modification, ASM parses the second examination parameter of amended described BroadcastReceiver assembly, and described second examination parameter is reached described PMS wait examination;
When described assembly is Service assembly, call startservice () or bindservice (), it is the second examination parameter of the Service assembly declared in advance of set up applications by first of described Service assembly the examination parameter modification, ASM parses the second examination parameter of amended described Service assembly, and described second examination parameter is reached described PMS wait examination.
If the described assembly that step 105 loads is content provider ContentProvider assembly, then call described ContentProvider assembly by reflex mechanism.
The technical scheme that the present embodiment provides, by constructing the running environment needed for the operation of non-set up applications, thinks that application program provides the environment that the running environment after with installation is identical; By the assembly in the non-set up applications of first revision, affect the startup of assembly to avoid because application program management server (Package ManagerService, PMS) examination does not pass through; By secondly revising the assembly in non-set up applications, being in order to after PMS is by verification, starting the assembly in real non-set up applications, so achieve application program exempt from installation and operation, simplify the operation that application program uses; In addition, because application program is without the need to being arranged on this locality, and run in given running environment, can effectively carry out the interception of authority, the monitoring etc. of program behavior, the security hidden trouble that the many leaks because mounting platform exists bring can be solved to a certain extent.
It should be noted that: for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
As shown in Figure 3, the application program based on Android platform that the embodiment of the present invention two provides exempts from the structural representation of the device of installation and operation.The described device that the present embodiment provides can realize the described method that above-described embodiment one provides.The described device that the present embodiment provides can embodiments be the application program be arranged in Android device, such as sandbox program.Under be loaded in the running environment that the application program installation kit in Android device all can provide in described sandbox program under realize exempting from installation and operation.Concrete, the described device that the present embodiment provides comprises: acquisition module 1, constructing module 2, load-on module 3 and operation module 4.Wherein, described acquisition module 1 is for obtaining in application program installation kit each assembly comprised.Described constructing module 2 is for constructing the running environment needed for the operation of described application program.Described load-on module 3, under described running environment, loads each described assembly respectively.Described operation module 4 is when the described assembly loaded is movable Activity assembly, broadcast recipients Broadcast Receiver assembly or service Service assembly, before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly; When the described assembly loaded is content provider ContentProvider assembly, call described Content Provider assembly by reflex mechanism.
The technical scheme that the present embodiment provides, by constructing the running environment needed for the operation of non-set up applications, thinks that application program provides the environment that the running environment after with installation is identical; By the assembly in the non-set up applications of first revision, affect the startup of assembly to avoid because application program management server (Package ManagerService, PMS) examination does not pass through; By secondly revising the assembly in non-set up applications, being in order to after PMS is by verification, starting the assembly in real non-set up applications, so achieve application program exempt from installation and operation, simplify the operation that application program uses; In addition, because application program is without the need to being arranged on this locality, and run in given running environment, can effectively carry out the interception of authority, the monitoring etc. of program behavior, the security hidden trouble that the many leaks because mounting platform exists bring can be solved to a certain extent.
Further, described constructing module can adopt following structure to realize.Concrete described constructing module comprises: the first tectonic element, the second tectonic element, the 3rd tectonic element and the 4th constructing module.Wherein, described first tectonic element, for construct described application program run needed for resource environment, with start each described assembly time transfer corresponding resource.Described second tectonic element, for constructing Classloader, to load the corresponding loading classes in each described assembly.Described 3rd tectonic element, for constructing main thread Activity Thread, with the start-up operation making described Activity Thread perform each described assembly.Described 4th tectonic element, loads Android installation kit loaded APK object for being respectively each described component structure one.
Wherein, described 4th tectonic element also specifically for by the packageinfo in reflex mechanism reflection ActivityThread, can load Android installation kit loaded APK object to be respectively each described component structure one.
Further, when described application program is the application program need installing self checking, described constructing module, also comprises: adapter unit.Wherein, described adapter unit, for taking over installation self checking operation required when described application program is run by reflex mechanism or hook hook function.
Further, the first tectonic element described in the present embodiment specifically for:
Member variable massets in resources-type constructed fuction is modified, to transfer corresponding resource when starting each described assembly by described massets; And/or
Asset Path function in explorer Asset Manager is modified, amended described Asset Path function points to the resource file in described application program installation kit, obtains corresponding resource in described resource file to transfer described Asset Path function when starting each described assembly by described Asset Manager.
Further, described second tectonic element in the present embodiment specifically for:
The path of described application program is added in the path list pathlist in Classloader, construct the Classloader searching loading classes according to described application path; And/or
Modify to the m parent member in Classloader, first structure looks for the Classloader of loading classes with parent.
Further, the operation module described in the present embodiment can adopt following structure to realize.Concrete, described operation module comprises: the first running unit and the second running unit.Wherein, described first running unit, during for being movable Activity assembly, broadcast recipients BroadcastReceiver assembly or service Service assembly when the described assembly loaded, before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly.Described second running unit, for when the described assembly loaded is content provider Content Provider assembly, calls described Content Provider assembly by reflex mechanism.Wherein, described first running unit comprises: the first amendment subelement and the second amendment subelement.Described first amendment subelement is used for before application program management service PMS examination, by first of described assembly the examination parameter modification for described in the second examination parameter of corresponding assembly in set up applications.Described second amendment subelement, for checking by rear according to the corresponding assembly in described set up applications at PMS, changeing back described first examination parameter by second of amended described assembly the examination parameter, and starting described assembly.
Concrete, described first amendment subelement can be specifically for:
When described assembly is activity assembly, call StartActivity (), it is the second examination parameter of the activity assembly declared in advance of set up applications by first of described activity assembly the examination parameter modification, campaign management services ASM parses the second examination parameter of amended described activity assembly, and described second examination parameter is reached described PMS wait examination;
When described assembly is Broadcast Receiver assembly, call sendbroadcast (), it is the second examination parameter of the Broadcast Receiver assembly declared in advance of set up applications by first of described Broadcast Receiver assembly the examination parameter modification, ASM parses the second examination parameter of amended described Broadcast Receiver assembly, and described second examination parameter is reached described PMS wait examination;
When described assembly is Service assembly, call startservice () or bindservice (), it is the second examination parameter of the Service assembly declared in advance of set up applications by first of described Service assembly the examination parameter modification, ASM parses the second examination parameter of amended described Service assembly, and described second examination parameter is reached described PMS wait examination.
The embodiment of the present invention three provides a kind of mobile terminal.This mobile terminal comprises: the application program based on Android platform exempts from the device of installation and operation.Wherein, the described application program based on the Android platform device of exempting from installation and operation for:
Obtain each assembly comprised in application program installation kit;
Construct the running environment needed for the operation of described application program;
Under described running environment, load each described assembly respectively;
If the described assembly loaded is movable Activity assembly, broadcast recipients Broadcast Receiver assembly or service Service assembly, then before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly;
If the described assembly loaded is content provider Content Provider assembly, then call described Content Provider assembly by reflex mechanism.
Here it should be noted that: the device that the described application program based on Android platform in the present embodiment exempts from installation and operation can specifically adopt the device provided in above-described embodiment two, concrete realize structure and principle of work see the corresponding contents in above-described embodiment, can repeat no more herein.
The device that the application program based on Android platform described in the present embodiment exempts from installation and operation can be mounted in the application program on described mobile terminal, also can be arranged in described mobile terminal and the logical circuit with above-mentioned functions be connected with the processor communication in described mobile terminal or chip.
Concrete, the one that Fig. 4 shows the described mobile terminal that the present embodiment three provides realizes structural representation.As shown in Figure 4, the mobile terminal 50 described in the present embodiment three comprises: processor 51 and storer 53.Wherein, described processor 51 completes mutual communicating with described storer 53 by communication line 54.Described processor 51 is for executive utility 531.Described storer 53 is for depositing described application program 531.Wherein, described application program 531 is the device of exempting from installation and operation based on the application program of Android platform, and this application program is used for:
Obtain each assembly comprised in application program installation kit;
Construct the running environment needed for the operation of described application program;
Under described running environment, load each described assembly respectively;
If the described assembly loaded is movable Activity assembly, broadcast recipients Broadcast Receiver assembly or service Service assembly, then before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly;
If the described assembly loaded is content provider Content Provider assembly, then call described Content Provider assembly by reflex mechanism.
The technical scheme that the present embodiment provides, by constructing the running environment needed for the operation of non-set up applications, thinks that application program provides the environment that the running environment after with installation is identical; By the assembly in the non-set up applications of first revision, affect the startup of assembly to avoid because application program management server (Package ManagerService, PMS) examination does not pass through; By secondly revising the assembly in non-set up applications, being in order to after PMS is by verification, starting the assembly in real non-set up applications, so achieve application program exempt from installation and operation, simplify the operation that application program uses; In addition, because application program is without the need to being arranged on this locality, and run in given running environment, can effectively carry out the interception of authority, the monitoring etc. of program behavior, the security hidden trouble that the many leaks because mounting platform exists bring can be solved to a certain extent.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
Be understandable that, the correlated characteristic in said method and switch can reference mutually.In addition, " first ", " second " in above-described embodiment etc. are for distinguishing each embodiment, and do not represent the quality of each embodiment.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in the device provided according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of method that application program based on Android platform exempts from installation and operation, comprising:
Obtain each assembly comprised in application program installation kit;
Construct the running environment needed for the operation of described application program;
Under described running environment, load each described assembly respectively;
If the described assembly loaded is movable Activity assembly, broadcast recipients Broadcast Receiver assembly or service Service assembly, then before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly;
If the described assembly loaded is content provider Content Provider assembly, then call described Content Provider assembly by reflex mechanism.
A2, method as described in A1, the described application program of described structure run needed for running environment, comprising:
Construct the resource environment needed for the operation of described application program, to transfer corresponding resource when starting each described assembly;
Structure Classloader, to load the corresponding loading classes in each described assembly;
Structure main thread Activity Thread, with the start-up operation making described Activity Thread perform each described assembly;
Be respectively each described component structure one and load Android installation kit loaded APK object.
A3, method as described in A2, described in be respectively each described component structure one and load Android installation kit loaded APK object, comprising:
By the packageinfo in reflex mechanism reflection Activity Thread, load Android installation kit loaded APK object to be respectively each described component structure one.
A4, method as described in A2,
If described application program is the application program need installing self checking, then the running environment needed for the described application program operation of described structure, also comprises:
Installation self checking operation required when described application program is run is taken over by reflex mechanism or hook hook function.
A5, method according to any one of A2 ~ A4, the described application program of described structure run needed for resource environment, to transfer corresponding resource when starting each described assembly, comprising:
Member variable massets in resources-type constructed fuction is modified, to transfer corresponding resource when starting each described assembly by described massets; And/or
Asset Path function in explorer Asset Manager is modified, amended described Asset Path function points to the resource file in described application program installation kit, obtains corresponding resource in described resource file to transfer described Asset Path function when starting each described assembly by described Asset Manager.
A6, method according to any one of A2 ~ A4, described structure Classloader, comprising:
The path of described application program is added in the path list pathlist in Classloader, construct the Classloader searching loading classes according to described application path; And/or
Modify to the m parent member in Classloader, first structure looks for the Classloader of loading classes with parent.
A7, method according to any one of A1 ~ A4, described before PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly, comprising:
Before application program management service PMS examination, by first of described assembly the examination parameter modification for described in the second examination parameter of corresponding assembly in set up applications;
Check by rear according to the corresponding assembly in described set up applications at PMS, change back described first examination parameter by second of amended described assembly the examination parameter, and start described assembly.
A8, method as described in A7, described examination parameter is intention intent object.
A9, method as described in A7, described before application program management service PMS examination, by first of described assembly the examination parameter modification for described in the second examination parameter of corresponding assembly in set up applications, comprising:
When described assembly is activity assembly, call StartActivity (), it is the second examination parameter of the activity assembly declared in advance of set up applications by first of described activity assembly the examination parameter modification, campaign management services ASM parses the second examination parameter of amended described activity assembly, and described second examination parameter is reached described PMS wait examination;
When described assembly is Broadcast Receiver assembly, call sendbroadcast (), it is the second examination parameter of the Broadcast Receiver assembly declared in advance of set up applications by first of described Broadcast Receiver assembly the examination parameter modification, ASM parses the second examination parameter of amended described Broadcast Receiver assembly, and described second examination parameter is reached described PMS wait examination;
When described assembly is Service assembly, call startservice () or bindservice (), it is the second examination parameter of the Service assembly declared in advance of set up applications by first of described Service assembly the examination parameter modification, ASM parses the second examination parameter of amended described Service assembly, and described second examination parameter is reached described PMS wait examination.
The invention also discloses B10, device that a kind of application program based on Android platform exempts from installation and operation, comprising:
Acquisition module, for obtaining in application program installation kit each assembly comprised;
Constructing module, for constructing the running environment needed for the operation of described application program;
Load-on module, under described running environment, loads each described assembly respectively;
Run module, when the described assembly loaded is movable Activity assembly, broadcast recipients Broadcast Receiver assembly or service Service assembly, before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly; When the described assembly loaded is content provider ContentProvider assembly, call described Content Provider assembly by reflex mechanism.
B11, device as described in B10, described constructing module, comprising:
First tectonic element, for construct described application program run needed for resource environment, with start each described assembly time transfer corresponding resource;
Second tectonic element, for constructing Classloader, to load the corresponding loading classes in each described assembly;
3rd tectonic element, for constructing main thread Activity Thread, with the start-up operation making described ActivityThread perform each described assembly;
4th tectonic element, loads Android installation kit loadedAPK object for being respectively each described component structure one.
B12, device as described in B11, described 4th tectonic element, specifically for by the packageinfo in reflex mechanism reflection Activity Thread, loads Android installation kit loaded APK object to be respectively each described component structure one.
B13, device as described in B11, when described application program is the application program need installing self checking, described constructing module, also comprises:
Adapter unit, for taking over installation self checking operation required when described application program is run by reflex mechanism or hook hook function.
B14, device according to any one of B11 ~ B13, described first tectonic element, specifically for:
Member variable massets in resources-type constructed fuction is modified, to transfer corresponding resource when starting each described assembly by described massets; And/or
Asset Path function in explorer Asset Manager is modified, amended described Asset Path function points to the resource file in described application program installation kit, obtains corresponding resource in described resource file to transfer described Asset Path function when starting each described assembly by described Asset Manager.
B15, device according to any one of B11 ~ B13, described second tectonic element, specifically for:
The path of described application program is added in the path list pathlist in Classloader, construct the Classloader searching loading classes according to described application path; And/or
Modify to the m parent member in Classloader, first structure looks for the Classloader of loading classes with parent.
B16, device according to any one of B10 ~ B13, described operation module, comprising:
First running unit, during for being movable Activity assembly, broadcast recipients Broadcast Receiver assembly or service Service assembly when the described assembly loaded, before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly;
Second running unit, for when the described assembly loaded is content provider Content Provider assembly, calls described Content Provider assembly by reflex mechanism;
Wherein, described first running unit, comprising:
First amendment subelement, for before application program management service PMS examination, by first of described assembly the examination parameter modification for described in the second examination parameter of corresponding assembly in set up applications;
Second amendment subelement, for checking by rear according to the corresponding assembly in described set up applications at PMS, changeing back described first examination parameter by second of amended described assembly the examination parameter, and starting described assembly.
B17, device as described in B16, described first amendment subelement, specifically for:
When described assembly is activity assembly, call StartActivity (), it is the second examination parameter of the activity assembly declared in advance of set up applications by first of described activity assembly the examination parameter modification, campaign management services ASM parses the second examination parameter of amended described activity assembly, and described second examination parameter is reached described PMS wait examination;
When described assembly is Broadcast Receiver assembly, call sendbroadcast (), it is the second examination parameter of the Broadcast Receiver assembly declared in advance of set up applications by first of described Broadcast Receiver assembly the examination parameter modification, ASM parses the second examination parameter of amended described Broadcast Receiver assembly, and described second examination parameter is reached described PMS wait examination;
When described assembly is Service assembly, call startservice () or bindservice (), it is the second examination parameter of the Service assembly declared in advance of set up applications by first of described Service assembly the examination parameter modification, ASM parses the second examination parameter of amended described Service assembly, and described second examination parameter is reached described PMS wait examination.
The invention also discloses C18, a kind of mobile terminal, comprising: the application program based on Android platform according to any one of above-mentioned B10 ~ B17 exempts from the device of installation and operation.

Claims (10)

1. exempt from a method for installation and operation based on the application program of Android platform, it is characterized in that, comprising:
Obtain each assembly comprised in application program installation kit;
Construct the running environment needed for the operation of described application program;
Under described running environment, load each described assembly respectively;
If the described assembly loaded is movable Activity assembly, broadcast recipients Broadcast Receiver assembly or service Service assembly, then before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly;
If the described assembly loaded is content provider Content Provider assembly, then call described Content Provider assembly by reflex mechanism.
2. method according to claim 1, is characterized in that, the running environment needed for the described application program operation of described structure, comprising:
Construct the resource environment needed for the operation of described application program, to transfer corresponding resource when starting each described assembly;
Structure Classloader, to load the corresponding loading classes in each described assembly;
Structure main thread Activity Thread, with the start-up operation making described Activity Thread perform each described assembly;
Be respectively each described component structure one and load Android installation kit loaded APK object.
3. method according to claim 2, is characterized in that, described in be respectively each described component structure one and load Android installation kit loaded APK object, comprising:
By the packageinfo in reflex mechanism reflection Activity Thread, load Android installation kit loaded APK object to be respectively each described component structure one.
4. method according to claim 2, is characterized in that,
If described application program is the application program need installing self checking, then the running environment needed for the described application program operation of described structure, also comprises:
Installation self checking operation required when described application program is run is taken over by reflex mechanism or hook hook function.
5. the method according to any one of Claims 1 to 4, it is characterized in that, described before PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, starts described assembly, comprising:
Before application program management service PMS examination, by first of described assembly the examination parameter modification for described in the second examination parameter of corresponding assembly in set up applications;
Check by rear according to the corresponding assembly in described set up applications at PMS, change back described first examination parameter by second of amended described assembly the examination parameter, and start described assembly.
6. exempt from a device for installation and operation based on the application program of Android platform, it is characterized in that, comprising:
Acquisition module, for obtaining in application program installation kit each assembly comprised;
Constructing module, for constructing the running environment needed for the operation of described application program;
Load-on module, under described running environment, loads each described assembly respectively;
Run module, when the described assembly loaded is movable Activity assembly, broadcast recipients Broadcast Receiver assembly or service Service assembly, before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly; When the described assembly loaded is content provider ContentProvider assembly, call described Content Provider assembly by reflex mechanism.
7. device according to claim 6, is characterized in that, described constructing module, comprising:
First tectonic element, for construct described application program run needed for resource environment, with start each described assembly time transfer corresponding resource;
Second tectonic element, for constructing Classloader, to load the corresponding loading classes in each described assembly;
3rd tectonic element, for constructing main thread Activity Thread, with the start-up operation making described ActivityThread perform each described assembly;
4th tectonic element, loads Android installation kit loadedAPK object for being respectively each described component structure one.
8. device according to claim 7, is characterized in that, when described application program is the application program need installing self checking, described constructing module, also comprises:
Adapter unit, for taking over installation self checking operation required when described application program is run by reflex mechanism or hook hook function.
9. the device according to any one of claim 6 ~ 8, is characterized in that, described operation module, comprising:
First running unit, during for being movable Activity assembly, broadcast recipients Broadcast Receiver assembly or service Service assembly when the described assembly loaded, before application program management service PMS examination, described assembly is revised as the corresponding assembly in set up applications, and check by rear according to the corresponding assembly in described set up applications at PMS, again described assembly is returned in the corresponding assembly correction in described set up applications, start described assembly;
Second running unit, for when the described assembly loaded is content provider Content Provider assembly, calls described Content Provider assembly by reflex mechanism;
Wherein, described first running unit, comprising:
First amendment subelement, for before application program management service PMS examination, by first of described assembly the examination parameter modification for described in the second examination parameter of corresponding assembly in set up applications;
Second amendment subelement, for checking by rear according to the corresponding assembly in described set up applications at PMS, changeing back described first examination parameter by second of amended described assembly the examination parameter, and starting described assembly.
10. a mobile terminal, is characterized in that, comprising: the application program based on Android platform according to any one of the claims 6 ~ 9 exempts from the device of installation and operation.
CN201410614467.5A 2014-11-04 2014-11-04 Application program based on Android platform exempts from method, device and the terminal of installation and operation Active CN104375861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410614467.5A CN104375861B (en) 2014-11-04 2014-11-04 Application program based on Android platform exempts from method, device and the terminal of installation and operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410614467.5A CN104375861B (en) 2014-11-04 2014-11-04 Application program based on Android platform exempts from method, device and the terminal of installation and operation

Publications (2)

Publication Number Publication Date
CN104375861A true CN104375861A (en) 2015-02-25
CN104375861B CN104375861B (en) 2017-06-09

Family

ID=52554801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410614467.5A Active CN104375861B (en) 2014-11-04 2014-11-04 Application program based on Android platform exempts from method, device and the terminal of installation and operation

Country Status (1)

Country Link
CN (1) CN104375861B (en)

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699536A (en) * 2015-03-18 2015-06-10 北京奇虎科技有限公司 Active assembly progress space distributing method and corresponding device thereof
CN105068819A (en) * 2015-09-10 2015-11-18 北京金山安全软件有限公司 Application calling method and device and terminal
CN105094922A (en) * 2015-08-17 2015-11-25 北京奇虎科技有限公司 Application installation-free operation control method and device
CN105159712A (en) * 2015-09-01 2015-12-16 北京金山安全软件有限公司 Interface starting method and device
CN105183457A (en) * 2015-08-13 2015-12-23 北京金山安全软件有限公司 Method and device for monitoring interface life cycle callback
CN105893839A (en) * 2016-06-20 2016-08-24 北京奇虎科技有限公司 Agent processing method and device for broadcast of Android application
CN105915546A (en) * 2016-06-16 2016-08-31 北京奇虎科技有限公司 Traffic monitoring method and device of android application
CN106027655A (en) * 2016-05-24 2016-10-12 深圳市智物联网络有限公司 Service loading method and device
CN106096394A (en) * 2016-06-16 2016-11-09 北京奇虎科技有限公司 A kind of Ad blocking method and apparatus of Android application
CN106096395A (en) * 2016-06-16 2016-11-09 北京奇虎科技有限公司 A kind of protection treating method and apparatus of Android application
CN106096396A (en) * 2016-06-16 2016-11-09 北京奇虎科技有限公司 The information concealing method of a kind of Android application and device
CN106354534A (en) * 2016-08-30 2017-01-25 歌尔科技有限公司 Control method of client side for application programs in server under Android system
CN106371878A (en) * 2016-09-05 2017-02-01 北京海誉动想科技股份有限公司 Device and method without installing and running applications in case system
CN106547562A (en) * 2016-11-07 2017-03-29 青岛海信宽带多媒体技术有限公司 System service receives the method and apparatus of user input
CN106708580A (en) * 2016-12-27 2017-05-24 北京奇虎科技有限公司 Free-installation application program operating method, system and intelligent terminal
CN106775793A (en) * 2015-11-23 2017-05-31 卓望数码技术(深圳)有限公司 A kind of Android application exempts to install method, device and the terminal for starting
CN106843937A (en) * 2016-12-29 2017-06-13 北京奇虎科技有限公司 A kind of tune for notifying corresponding A pp plays method and device
CN106851015A (en) * 2017-03-10 2017-06-13 广东欧珀移动通信有限公司 Adjust method, device and the terminal of broadcast message queue
CN106897609A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 The method and device that a kind of application program to dynamic load is monitored
CN106921947A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 Adjust method, device and the terminal of broadcast message queue
CN107066289A (en) * 2017-01-23 2017-08-18 努比亚技术有限公司 A kind of method, device and mobile terminal for starting application according to associating policy
CN107220083A (en) * 2017-05-22 2017-09-29 韩皓 Exempt from the method and system of installation and operation application program in a kind of Android system
CN107493508A (en) * 2017-08-22 2017-12-19 四川长虹电器股份有限公司 method based on Android intelligent terminal streaming media playing performance monitoring
CN107861758A (en) * 2016-12-30 2018-03-30 平安科技(深圳)有限公司 Kit assemble method and device
CN108170485A (en) * 2016-12-05 2018-06-15 腾讯科技(深圳)有限公司 A kind of plug-in loading method, device and mobile terminal
CN108229145A (en) * 2016-12-21 2018-06-29 武汉安天信息技术有限责任公司 A kind of disposal plant and method of the malicious application based on Android virtual containers
CN108399331A (en) * 2017-02-06 2018-08-14 腾讯科技(深圳)有限公司 Application process trial method and system
CN108460688A (en) * 2018-01-08 2018-08-28 平安科技(深圳)有限公司 Core protects method, apparatus, storage medium and the terminal of verification
CN109189411A (en) * 2018-08-23 2019-01-11 爱尚游(北京)科技股份有限公司 A kind of cloud application installation method
CN109684828A (en) * 2018-08-06 2019-04-26 北京微步在线科技有限公司 A kind of file test method and file detection device
CN114625443A (en) * 2022-03-23 2022-06-14 珠海雷酷互动科技有限公司 Android system virtual environment operation method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915247A (en) * 2012-08-31 2013-02-06 杭州斯凯网络科技有限公司 APK (Android Package) plug-in management method
CN103365644A (en) * 2012-04-10 2013-10-23 腾讯科技(深圳)有限公司 Method and device for expanding software functions
CN103399792A (en) * 2013-07-24 2013-11-20 佳都新太科技股份有限公司 Implementation scheme of Android-based plug-in applications
CN103530156A (en) * 2013-10-17 2014-01-22 北京奇虎科技有限公司 Method and device for dynamically loading and calling program
CN103744669A (en) * 2013-12-26 2014-04-23 世纪龙信息网络有限责任公司 Method and system for creation and calling of Android system Activity plug-ins
CN103793257A (en) * 2014-03-07 2014-05-14 中南大学 Streaming Android program executing method
CN103970563A (en) * 2014-04-15 2014-08-06 四川长虹电器股份有限公司 Dynamic Android class loading method
CN104077165A (en) * 2014-07-09 2014-10-01 上海卓盟信息科技有限公司 Application starting, running and managing method and system based on android platform

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365644A (en) * 2012-04-10 2013-10-23 腾讯科技(深圳)有限公司 Method and device for expanding software functions
CN102915247A (en) * 2012-08-31 2013-02-06 杭州斯凯网络科技有限公司 APK (Android Package) plug-in management method
CN103399792A (en) * 2013-07-24 2013-11-20 佳都新太科技股份有限公司 Implementation scheme of Android-based plug-in applications
CN103530156A (en) * 2013-10-17 2014-01-22 北京奇虎科技有限公司 Method and device for dynamically loading and calling program
CN103744669A (en) * 2013-12-26 2014-04-23 世纪龙信息网络有限责任公司 Method and system for creation and calling of Android system Activity plug-ins
CN103793257A (en) * 2014-03-07 2014-05-14 中南大学 Streaming Android program executing method
CN103970563A (en) * 2014-04-15 2014-08-06 四川长虹电器股份有限公司 Dynamic Android class loading method
CN104077165A (en) * 2014-07-09 2014-10-01 上海卓盟信息科技有限公司 Application starting, running and managing method and system based on android platform

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
SFSHINE: ""Android 利用反射实现不安装直接运行APK(动态加载)"", 《HTTP://BLOG.CSDN.NET/SFSHINE/ARTICLE/DETAILS/10018935》 *
SINGWHATIWANNA: ""Android apk动态加载机制的研究(二):资源加载和activity生命周期管理"", 《HTTP://BLOG.CSDN.NET/SINGWHATIWANNA/ARTICLE/DETAILS/23387079》 *
SINGWHATIWANNA: ""APK动态加载框架(DL)解析"", 《HTTP://BLOG.CSDN.NET/SINGWHATIWANNA/ARTICLE/DETAILS/39937639》 *
风中绿竹: ""实现Android 动态加载APK(Fragment or Activity实现)"", 《HTTP://WWW.2CTO.COM/KF/201408/326120.HTML》 *

Cited By (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699536A (en) * 2015-03-18 2015-06-10 北京奇虎科技有限公司 Active assembly progress space distributing method and corresponding device thereof
CN105183457A (en) * 2015-08-13 2015-12-23 北京金山安全软件有限公司 Method and device for monitoring interface life cycle callback
CN105183457B (en) * 2015-08-13 2018-11-06 北京金山安全软件有限公司 Method and device for monitoring interface life cycle callback
CN105094922A (en) * 2015-08-17 2015-11-25 北京奇虎科技有限公司 Application installation-free operation control method and device
CN105094922B (en) * 2015-08-17 2019-03-05 北京奇虎科技有限公司 Application program exempts from installation and operation control method and its device
CN105159712A (en) * 2015-09-01 2015-12-16 北京金山安全软件有限公司 Interface starting method and device
CN105159712B (en) * 2015-09-01 2019-06-07 北京金山安全软件有限公司 Interface starting method and device
CN105068819A (en) * 2015-09-10 2015-11-18 北京金山安全软件有限公司 Application calling method and device and terminal
CN106775793A (en) * 2015-11-23 2017-05-31 卓望数码技术(深圳)有限公司 A kind of Android application exempts to install method, device and the terminal for starting
CN106897609B (en) * 2015-12-17 2021-03-26 北京奇虎科技有限公司 Method and device for monitoring dynamically loaded application program
CN106897609A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 The method and device that a kind of application program to dynamic load is monitored
CN106027655A (en) * 2016-05-24 2016-10-12 深圳市智物联网络有限公司 Service loading method and device
CN106096395A (en) * 2016-06-16 2016-11-09 北京奇虎科技有限公司 A kind of protection treating method and apparatus of Android application
CN106096396A (en) * 2016-06-16 2016-11-09 北京奇虎科技有限公司 The information concealing method of a kind of Android application and device
CN106096394A (en) * 2016-06-16 2016-11-09 北京奇虎科技有限公司 A kind of Ad blocking method and apparatus of Android application
CN105915546A (en) * 2016-06-16 2016-08-31 北京奇虎科技有限公司 Traffic monitoring method and device of android application
CN105893839A (en) * 2016-06-20 2016-08-24 北京奇虎科技有限公司 Agent processing method and device for broadcast of Android application
CN105893839B (en) * 2016-06-20 2019-02-12 北京奇虎科技有限公司 A kind of proxy processing method and device of the broadcast of Android application
CN106354534A (en) * 2016-08-30 2017-01-25 歌尔科技有限公司 Control method of client side for application programs in server under Android system
CN106371878A (en) * 2016-09-05 2017-02-01 北京海誉动想科技股份有限公司 Device and method without installing and running applications in case system
CN106547562B (en) * 2016-11-07 2020-06-09 青岛海信宽带多媒体技术有限公司 Method and equipment for receiving user input by system service
CN106547562A (en) * 2016-11-07 2017-03-29 青岛海信宽带多媒体技术有限公司 System service receives the method and apparatus of user input
US10891141B2 (en) 2016-12-05 2021-01-12 Tencent Technology (Shenzhen) Company Limited Plugin loading method and apparatus, terminal, and storage medium
CN108170485B (en) * 2016-12-05 2021-06-11 腾讯科技(深圳)有限公司 Plug-in loading method and device and mobile terminal
US11263027B2 (en) 2016-12-05 2022-03-01 Tencent Technology (Shenzhen) Company Limited Plugin loading method and apparatus, terminal, and storage medium
CN108170485A (en) * 2016-12-05 2018-06-15 腾讯科技(深圳)有限公司 A kind of plug-in loading method, device and mobile terminal
CN108229145A (en) * 2016-12-21 2018-06-29 武汉安天信息技术有限责任公司 A kind of disposal plant and method of the malicious application based on Android virtual containers
CN106708580A (en) * 2016-12-27 2017-05-24 北京奇虎科技有限公司 Free-installation application program operating method, system and intelligent terminal
CN106843937A (en) * 2016-12-29 2017-06-13 北京奇虎科技有限公司 A kind of tune for notifying corresponding A pp plays method and device
CN107861758B (en) * 2016-12-30 2021-06-04 平安科技(深圳)有限公司 Method and apparatus for kit assembly
CN107861758A (en) * 2016-12-30 2018-03-30 平安科技(深圳)有限公司 Kit assemble method and device
CN107066289A (en) * 2017-01-23 2017-08-18 努比亚技术有限公司 A kind of method, device and mobile terminal for starting application according to associating policy
CN108399331B (en) * 2017-02-06 2023-05-05 腾讯科技(深圳)有限公司 Application process trial method and system
CN108399331A (en) * 2017-02-06 2018-08-14 腾讯科技(深圳)有限公司 Application process trial method and system
WO2018161575A1 (en) * 2017-03-10 2018-09-13 广东欧珀移动通信有限公司 Method and device for adjusting broadcast message queue, storage medium, and terminal
CN106921947A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 Adjust method, device and the terminal of broadcast message queue
CN106851015A (en) * 2017-03-10 2017-06-13 广东欧珀移动通信有限公司 Adjust method, device and the terminal of broadcast message queue
CN107220083A (en) * 2017-05-22 2017-09-29 韩皓 Exempt from the method and system of installation and operation application program in a kind of Android system
CN107220083B (en) * 2017-05-22 2020-12-18 南京航空航天大学 Method and system for installation-free operation of application program in android system
CN107493508A (en) * 2017-08-22 2017-12-19 四川长虹电器股份有限公司 method based on Android intelligent terminal streaming media playing performance monitoring
CN108460688A (en) * 2018-01-08 2018-08-28 平安科技(深圳)有限公司 Core protects method, apparatus, storage medium and the terminal of verification
CN109684828A (en) * 2018-08-06 2019-04-26 北京微步在线科技有限公司 A kind of file test method and file detection device
CN109189411B (en) * 2018-08-23 2022-02-01 爱尚游(北京)科技股份有限公司 Cloud application installation method
CN109189411A (en) * 2018-08-23 2019-01-11 爱尚游(北京)科技股份有限公司 A kind of cloud application installation method
CN114625443A (en) * 2022-03-23 2022-06-14 珠海雷酷互动科技有限公司 Android system virtual environment operation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN104375861B (en) 2017-06-09

Similar Documents

Publication Publication Date Title
CN104375861A (en) Installation-free operation method and device for application programs based on Android platform and terminal
CN102929656B (en) Use method and the client of ActiveX plug-in in browser
CN104731625B (en) A kind of method, apparatus and mobile terminal loading plug-in unit
US8739147B2 (en) Class isolation to minimize memory usage in a device
Jha et al. Developer mistakes in writing android manifests: An empirical study of configuration errors
CN110187910B (en) Thermal updating method, device, equipment and computer readable storage medium
CN102760068B (en) Loading method of Active X plugin and device
CN104462879A (en) Root-free running control method and device of application program
CN106844153B (en) Application program operation monitoring method and device and terminal
CN104376255A (en) Application program running control method and device
CN106096395A (en) A kind of protection treating method and apparatus of Android application
CN105893839A (en) Agent processing method and device for broadcast of Android application
CN103793248A (en) Method and device for upgrading application program
WO2017041499A1 (en) Software upgrade method and system, and computer-readable storage medium
CN114077423A (en) Airport APP development container architecture based on mobile cross-platform
CN104461663A (en) Method and device for loading other mobile terminal applications and mobile terminal
CN111880987A (en) Dynamic monitoring method and device of application program, storage medium and electronic device
CN105915546A (en) Traffic monitoring method and device of android application
CN104346457A (en) Method for intercepting business object and browser client
CN105528251A (en) Application notification information processing method and device and mobile terminal
CN106096394A (en) A kind of Ad blocking method and apparatus of Android application
CN104461583A (en) Method and device for calling resource type application and mobile terminal
CN103500114A (en) Method and device for installing application program
CN106775916B (en) Method and device for reducing application installation packages and electronic equipment
CN106096396A (en) The information concealing method of a kind of Android application and device

Legal Events

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

Effective date of registration: 20220802

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