CN104461663A - Method and device for loading other mobile terminal applications and mobile terminal - Google Patents

Method and device for loading other mobile terminal applications and mobile terminal Download PDF

Info

Publication number
CN104461663A
CN104461663A CN201410850821.4A CN201410850821A CN104461663A CN 104461663 A CN104461663 A CN 104461663A CN 201410850821 A CN201410850821 A CN 201410850821A CN 104461663 A CN104461663 A CN 104461663A
Authority
CN
China
Prior art keywords
mobile terminal
assembly
application
terminal application
module
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
CN201410850821.4A
Other languages
Chinese (zh)
Other versions
CN104461663B (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 CN201410850821.4A priority Critical patent/CN104461663B/en
Publication of CN104461663A publication Critical patent/CN104461663A/en
Application granted granted Critical
Publication of CN104461663B publication Critical patent/CN104461663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and device for loading other mobile terminal applications into a mobile terminal application and a mobile terminal. The method comprises the steps that a component of a second mobile terminal application to be called is registered in a list configuration file of a first mobile terminal application, the first mobile terminal application establishes a specified course or thread for the second mobile terminal application after detecting a trigger event for the entry of the second mobile terminal application, the operating environment of the second mobile terminal application is established in the specific course or thread after it is detected that the specific course or thread is established, and the component of the second mobile terminal application is loaded in the established operating environment for operation.

Description

A kind of method, device and mobile terminal loading the application of other mobile terminal
Technical field
The invention belongs to browser technology field, particularly relate to the method, device and the mobile terminal that load the application of other mobile terminal in the application of a kind of mobile terminal.
Background technology
At present, Android operation system development rapidly, mobile device based on android system has occupied share larger on Mobile Market, and the application numbers in Android application market is also advanced by leaps and bounds, and Android has become instantly the most popular mobile platform operating system.
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 to provide a kind of the overcoming method, device and the mobile terminal that load the application of other mobile terminal in the problems referred to above or the mobile terminal application that solves the problem at least in part.
According to one aspect of the present invention, load the method for other mobile terminal application in providing a kind of mobile terminal to apply, comprising: for the assembly of the second mobile terminal application that will call is registered in the inventory configuration file of the first mobile terminal application; It is that process or thread are specified in the second mobile terminal application establishment one that first mobile terminal application detects the trigger event of the second mobile terminal application entrance; The foundation of described appointment process or thread detected, in described appointment process or thread, set up the running environment of the second mobile terminal application; Run at the described assembly loading the second mobile terminal application of setting up in running environment.
Wherein, the following assembly applied for the second mobile terminal that will call in the inventory configuration file of the first mobile terminal application carries out registration operation: movable Activity assembly, service Service assembly, broadcast recipients Broadcast Receiver assembly, content provider Content Provider assembly.
Wherein, also comprise: by the setup of attribute of the notice Notification assembly of the second mobile terminal application for not showing notice prompting.
Wherein, before the assembly of loading second mobile terminal application runs, described method also comprises: apply property current for system is revised as the second mobile terminal application.
Wherein, in described appointment process or thread, set up the step of the running environment of the second mobile terminal application, comprising: structure Classloader ClassLoader, to load the corresponding loading classes in each assembly; Create the resource object needed for assembly operating, to extract or to access the second mobile terminal application resource; Structure explorer Asset Manager, with the resource needed for management operating assembly.
Wherein, the step of the running environment of the second mobile terminal application is set up in described appointment process or thread, also comprise: if the described assembly loaded is Activity assembly, Receiver assembly or service Service assembly, then before application program management service PMS examination, assembly is revised as the corresponding assembly in set up applications, and at PMS according to the corresponding assembly examination in set up applications by rear, again described assembly is returned in the corresponding assembly correction in set up applications, start described assembly.
Wherein, also comprise: before the first mobile terminal is applied in the application of triggering second mobile terminal, the information supporting the application program with the first mobile terminal product identification called is obtained, to carry out the corresponding location registration process of the first mobile terminal product identification inventory configuration file and the foundation of follow-up running environment in system in a mobile device.
Wherein, also comprise: side that the information of the first mobile terminal application and the information of the second mobile terminal application are uploaded onto the server, ask described server to issue the inventory configuration file of corresponding first mobile terminal product identification.
Wherein, also comprise: after getting local the second mobile terminal application that can call, the second mobile terminal entrance in the first mobile terminal application starts so that user triggers; On triggering, the data of the first mobile terminal application are passed to described appointment process by interprocess communication, and then the data of the second mobile terminal criteria in application transmission in described running environment are run.
Wherein, also comprise: after the second mobile terminal application is closed, process continues on backstage to run; After detecting that the process of the first mobile terminal application is closed, just close the process of the second mobile terminal application; Or do not close this process, the 3rd mobile terminal application continuing to be supplied to other provides service.
According to another aspect of the present invention, the device of other mobile terminal application is loaded in providing a kind of mobile terminal to apply, comprise: processor, in this processor, load operating has registration module, creates module, sets up module, loads module, wherein: registration module, the assembly for applying for the second mobile terminal that will call in the inventory configuration file of the first mobile terminal application is registered; Create module, detect to the trigger event of the second mobile terminal application entrance to be that process or thread are specified in the second mobile terminal application establishment one for the first mobile terminal application; Setting up module, for the foundation of described appointment process or thread being detected, in described appointment process or thread, setting up the running environment of the second mobile terminal application; Load module, for running at the described assembly loading the second mobile terminal application of setting up in running environment.
Wherein, described registration module also for, for the following assembly of the second mobile terminal application that will call carries out registration operation in the inventory configuration file of the first mobile terminal application: movable Activity assembly, service Service assembly, broadcast recipients Broadcast Receiver assembly, content provider ContentProvider assembly.
Wherein, described processor also load operating arranges module, and its setup of attribute for the notice Notification assembly with regard to the second mobile terminal application is not for showing notice prompting.
Wherein, described processor also load operating has attribute modification module, before it runs for the assembly applied in loading second mobile terminal, apply property current for system is revised as the second mobile terminal application.
Wherein, described module of setting up also comprises: the first tectonic element, for constructing Classloader ClassLoader, to load the corresponding loading classes in each assembly; Second tectonic element, for creating the resource object needed for assembly operating, to extract or to access the second mobile terminal application resource; 3rd tectonic element, for constructing explorer Asset Manager, with the resource needed for management operating assembly.
Wherein, described set up module also for, if the described assembly loaded is Activity assembly, Receiver assembly or service Service assembly, then before application program management service PMS examination, assembly is revised as the corresponding assembly in set up applications, and at PMS according to the corresponding assembly examination in set up applications by rear, again described assembly is returned in the corresponding assembly correction in set up applications, starts described assembly.
Wherein, described processor also load operating has acquisition module, before it is applied in the application of triggering second mobile terminal for the first mobile terminal, the information supporting the application program with the first mobile terminal product identification called is obtained, to carry out the location registration process of inventory configuration file and the foundation of follow-up running environment of corresponding first mobile terminal product identification in system in a mobile device.
Wherein, described processor also load operating has request module, and it, for side of the information of the first mobile terminal application and the information of the second mobile terminal application being uploaded onto the server, asks described server to issue the inventory configuration file of corresponding first mobile terminal product identification.
Wherein, described loading module also for, after getting local the second mobile terminal application that can call, the second mobile terminal entrance in the first mobile terminal application starts so that user triggers; On triggering, the data of the first mobile terminal application are passed to described appointment process by interprocess communication, and then the data of the second mobile terminal criteria in application transmission in described running environment are run.
Wherein, described loading module also for, second mobile terminal application be closed after, process backstage continue run; After detecting that the process of the first mobile terminal application is closed, just close the process of the second mobile terminal application; Or do not close this process, the 3rd mobile terminal application continuing to be supplied to other provides service.
According to another aspect of the invention, provide a kind of mobile terminal, comprising: the device loading the application of other mobile terminal in the application of above-described mobile terminal.
According to technical scheme of the present invention, by first mobile terminal application inventory configuration file in be second mobile terminal application assembly register, and creating in appointment process or thread for the second mobile terminal application the running environment setting up the second mobile terminal application, and the assembly loading the second mobile terminal application in described running environment runs, thus achieve the second mobile terminal be applied in first mobile terminal application in exempt from installation and operation, simplify application program use operation.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is the process flow diagram loading the method for other mobile terminal application in mobile terminal application according to an embodiment of the invention;
Fig. 2 is the structured flowchart loading the device of other mobile terminal application in mobile terminal application according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
According to the embodiment of the present invention, in providing a kind of mobile terminal to apply, load the method for other mobile terminal application.It should be noted that, the application of above-mentioned mobile terminal refers to installation on mobile terminals for user provides the application program of service, e.g., is arranged on the application program on intelligent mobile phone terminal.The executive agent of the described method that the present embodiment provides can be mounted in application program in Android device, briefly, the described method that the present embodiment provides is exactly to provide a kind of application run block frame, and the application of other mobile terminal is loaded into its inside and goes to perform by this operation frame.
Fig. 1 is the process flow diagram loading the method for other mobile terminal application in mobile terminal application according to an embodiment of the invention.As shown in Figure 1, the method loading the application of other mobile terminal in the application of described mobile terminal comprises:
Step S102, for the assembly of the second mobile terminal application that will call is registered in the inventory configuration file of the first mobile terminal application;
Wherein, under inventory configuration file (AndroidManifest.xml) is positioned at the root directory of application program, obtain the AndroidManifest.xml file of the first mobile terminal application, wherein for the following assembly of the second mobile terminal application that will call carries out registration operation: movable (Activity) assembly, service (Service) assembly, broadcast recipients (Broadcast Receiver) assembly, content provider (Content Provider) assembly.And the application program of not all must comprise the assembly of this Four types all, certain applications program may be set up by one or more assemblies above-mentioned.Each assembly needs to carry out registration and could use, and namely each assembly needs to be configured in AndroidManifest.xml file.Manifest contains the node of each assembly (movable, service, Content Provider and radio receiver) of composition application program, and uses Intent filtrator and authority to determine between these assemblies and how these assemblies and other application programs carry out alternately.Therefore, all component that application program comprises is listed in the Manifest that the second mobile terminal is applied.It can thus be appreciated that, by reading the AndroidManifest.xml file of described application program installation kit, obtain all component comprised in application program installation kit.
Step S104, it is that process or thread are specified in the second mobile terminal application establishment one that the first mobile terminal application detects the trigger event of the second mobile terminal application entrance;
In section Example of the present invention, before first mobile terminal is applied in the application of triggering second mobile terminal, the information supporting the application program (APP) with the first mobile terminal product identification called is obtained, to carry out the location registration process of Manifest file and the foundation of follow-up running environment of corresponding first mobile terminal product identification in system in a mobile device.That is, before the first mobile terminal is applied in the application of triggering second mobile terminal, mobile device first obtains the second mobile terminal application with the first mobile terminal product identification of supporting to call, and carries out registering for the assembly of the second mobile terminal application of the first mobile terminal product identification that will call and follow-up set up running environment.And, the information of the first mobile terminal application and the information of the second mobile terminal application are uploaded onto the server side, ask described server to issue the Manifest file of corresponding first mobile terminal product identification, thus be that the assembly applied for the second mobile terminal of the first mobile terminal product identification that will call in this Manifest file is registered.
After getting local the second mobile terminal application that can call, the second mobile terminal entrance in the first mobile terminal application starts so that user triggers.On triggering, the data of the first mobile terminal application are passed to described appointment process by interprocess communication, and then the data of the second mobile terminal criteria in application transmission in described running environment are run.In section Example of the present invention, after the second mobile terminal application is closed, process can continue on backstage to run.After detecting that the process of the first mobile terminal application is closed, just close the process of the second mobile terminal application; Or do not close this process, the 3rd mobile terminal application continuing to be supplied to other provides service.
Step S106, detects the foundation of described appointment process or thread, sets up the running environment of the second mobile terminal application in described appointment process or thread;
Wherein, in described appointment process or thread, set up the running environment of the second mobile terminal application, at least comprise the following steps:
(1) Classloader ClassLoader is constructed, to load the corresponding loading classes in each assembly;
(2) resource object needed for assembly operating is created, to extract or to access the second mobile terminal application resource;
(3) explorer Asset Manager is constructed, with the resource needed for management operating assembly;
Except above-mentioned three steps, can also step be comprised:
(4) if the described assembly loaded is Activity assembly, Receiver assembly or service Service assembly, then before application program management service PMS examination, assembly is revised as the corresponding assembly in set up applications, and at PMS according to the corresponding assembly examination in set up applications by rear, again described assembly is returned in the corresponding assembly correction in set up applications, start described assembly.
Particularly, before 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.First revision is wherein to verify by PMS; 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.
Step S108, runs at the described assembly loading the second mobile terminal application of setting up in running environment.
And, in an embodiment of the present invention, also need the setup of attribute of notice Notification assembly WLAN (wireless local area network) being connected class application for not showing notice prompting, that is the message informing prompting function that WLAN (wireless local area network) connects class application is forbidden, the status bar of mobile device also not display icon, the promptings such as the sound sent when more not notifying, vibrating mode, led flashlamp (color of lamp, flash time).In addition, before the assembly loading the application of WLAN (wireless local area network) connection class runs, application Application attribute current for the system of mobile device is changed into WLAN (wireless local area network) and connect class application, so that operation of wireless lan connects class application in the system of mobile device.
According to embodiments of the invention, in also providing a kind of mobile terminal to apply, load the device of other mobile terminal application.
With reference to figure 2, it is the structured flowchart loading the device of other mobile terminal application in mobile terminal application according to an embodiment of the invention, as shown in Figure 2, the device 200 loading the application of other mobile terminal in the application of described mobile terminal comprises a processor, in this processor, load operating has registration module 210, creates module 220, sets up module 230, loads module 240, is described below in detail the 26S Proteasome Structure and Function of each module.
Registration module 210, registers for the assembly applied for the second mobile terminal that will call in the inventory configuration file of the first mobile terminal application;
Further, described registration module 210 also for, for the following assembly of the second mobile terminal application that will call carries out registration operation in the inventory configuration file of the first mobile terminal application: movable Activity assembly, service Service assembly, broadcast recipients Broadcast Receiver assembly, content provider Content Provider assembly.
Create module 220, detect to the trigger event of the second mobile terminal application entrance to be that process or thread are specified in the second mobile terminal application establishment one for the first mobile terminal application;
Setting up module 230, for the foundation of described appointment process or thread being detected, in described appointment process or thread, setting up the running environment of the second mobile terminal application;
Further, described module 230 of setting up also includes:
First tectonic element (not shown), for constructing Classloader ClassLoader, to load the corresponding loading classes in each assembly;
Second tectonic element (not shown), for creating the resource object needed for assembly operating, to extract or to access the second mobile terminal application resource;
3rd tectonic element (not shown), for constructing explorer Asset Manager, with the resource needed for management operating assembly.
In section Example of the present invention, described set up module 230 also for, if the described assembly loaded is Activity assembly, Receiver assembly or service Service assembly, then before application program management service PMS examination, assembly is revised as the corresponding assembly in set up applications, and at PMS according to the corresponding assembly examination in set up applications by rear, again described assembly is returned in the corresponding assembly correction in set up applications, starts described assembly.
Load module 240, for running at the described assembly loading the second mobile terminal application of setting up in running environment.
Further, described loading module 240 also for, after getting local the second mobile terminal application that can call, the second mobile terminal entrance in the first mobile terminal application starts so that user triggers; On triggering, the data of the first mobile terminal application are passed to described appointment process by interprocess communication, and then the data of the second mobile terminal criteria in application transmission in described running environment are run.And described loading module 240 also for, second mobile terminal application be closed after, process backstage continue run; After detecting that the process of the first mobile terminal application is closed, just close the process of the second mobile terminal application; Or do not close this process, the 3rd mobile terminal application continuing to be supplied to other provides service.
According to the embodiment of the present invention, described processor also load operating arranges module (not shown), attribute modification module (not shown), obtains module (not shown), asks module (not shown), wherein:
The described setup of attribute of module for the notice Notification assembly by the second mobile terminal application that arrange be not for showing notice prompting;
Described attribute modification module is used for before the assembly of loading second mobile terminal application runs, and is the second mobile terminal application by application Application attribute modification current for system;
Before described acquisition module is applied in the application of triggering second mobile terminal for the first mobile terminal, the information supporting the application program (APP) with the first mobile terminal product identification called is obtained, to carry out the location registration process of Manifest file and the foundation of follow-up running environment of corresponding first mobile terminal product identification in system in a mobile device;
Described request module is used for the information of the first mobile terminal application and the information of the second mobile terminal application to upload onto the server side, asks described server to issue the Manifest file of corresponding first mobile terminal product identification.
Device described above loads the method that other mobile terminal is applied process in applying with the mobile terminal described before is corresponding, therefore, about more detailed ins and outs, and can see the method described before.
The present invention also provides a kind of mobile terminal, and it comprises the device loading the application of other mobile terminal in the application of above-described mobile terminal.
In sum, according to technique scheme of the present invention, by first mobile terminal application inventory configuration file in be second mobile terminal application assembly register, and creating in appointment process or thread for the second mobile terminal application the running environment setting up the second mobile terminal application, and the assembly loading the second mobile terminal application in described running environment runs, thus achieve the second mobile terminal be applied in first mobile terminal application in exempt from installation and operation, simplify application program use operation.
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 embodiment of the present invention discloses the method loading the application of other mobile terminal in A1, the application of a kind of mobile terminal, comprising: for the assembly of the second mobile terminal application that will call is registered in the inventory configuration file of the first mobile terminal application; It is that process or thread are specified in the second mobile terminal application establishment one that first mobile terminal application detects the trigger event of the second mobile terminal application entrance; The foundation of described appointment process or thread detected, in described appointment process or thread, set up the running environment of the second mobile terminal application; Run at the described assembly loading the second mobile terminal application of setting up in running environment.A2, method according to A1, wherein, the following assembly applied for the second mobile terminal that will call in the inventory configuration file of the first mobile terminal application carries out registration operation: movable Activity assembly, service Service assembly, broadcast recipients Broadcast Receiver assembly, content provider Content Provider assembly.A3, method according to A1, wherein, also comprise: by the setup of attribute of the notice Notification assembly of the second mobile terminal application for not showing notice prompting.A4, method according to A1, wherein, before the assembly of loading second mobile terminal application runs, described method also comprises: apply property current for system is revised as the second mobile terminal application.A5, method according to A1, wherein, set up the step of the running environment of the second mobile terminal application, comprising: structure Classloader ClassLoader, to load the corresponding loading classes in each assembly in described appointment process or thread; Create the resource object needed for assembly operating, to extract or to access the second mobile terminal application resource; Structure explorer Asset Manager, with the resource needed for management operating assembly.A6, method according to A5, wherein, the step of the running environment of the second mobile terminal application is set up in described appointment process or thread, also comprise: if the described assembly loaded is Activity assembly, Receiver assembly or service Service assembly, then before application program management service PMS examination, assembly is revised as the corresponding assembly in set up applications, and at PMS according to the corresponding assembly examination in set up applications by rear, again described assembly is returned in the corresponding assembly correction in set up applications, start described assembly.A7, method according to A1, wherein, also comprise: before the first mobile terminal is applied in the application of triggering second mobile terminal, the information supporting the application program with the first mobile terminal product identification called is obtained, to carry out the location registration process of inventory configuration file and the foundation of follow-up running environment of corresponding first mobile terminal product identification in system in a mobile device.A8, method according to A7, wherein, also comprise: side of the information of the first mobile terminal application and the information of the second mobile terminal application being uploaded onto the server, and asks described server to issue the inventory configuration file of corresponding first mobile terminal product identification.A9, method according to A1, wherein, also comprise: after getting local the second mobile terminal application that can call, the second mobile terminal entrance in the first mobile terminal application starts so that user triggers; On triggering, the data of the first mobile terminal application are passed to described appointment process by interprocess communication, and then the data of the second mobile terminal criteria in application transmission in described running environment are run.A10, method according to A9, wherein, also comprise: after the second mobile terminal application is closed, and process continues on backstage to run; After detecting that the process of the first mobile terminal application is closed, just close the process of the second mobile terminal application; Or do not close this process, the 3rd mobile terminal application continuing to be supplied to other provides service.
The embodiment of the present invention further discloses the device loading the application of other mobile terminal in B11, the application of a kind of mobile terminal, comprise: processor, in this processor, load operating has registration module, creates module, sets up module, loads module, wherein: registration module, the assembly for applying for the second mobile terminal that will call in the inventory configuration file of the first mobile terminal application is registered; Create module, detect to the trigger event of the second mobile terminal application entrance to be that process or thread are specified in the second mobile terminal application establishment one for the first mobile terminal application; Setting up module, for the foundation of described appointment process or thread being detected, in described appointment process or thread, setting up the running environment of the second mobile terminal application; Load module, for running at the described assembly loading the second mobile terminal application of setting up in running environment.B12, device according to B11, wherein, described registration module also for, for the following assembly of the second mobile terminal application that will call carries out registration operation in the inventory configuration file of the first mobile terminal application: movable Activity assembly, service Service assembly, broadcast recipients Broadcast Receiver assembly, content provider ContentProvider assembly.B13, device according to B11, wherein, described processor also load operating arranges module, and its setup of attribute for the notice Notification assembly by the second mobile terminal application is not for showing notice prompting.B14, device according to B11, wherein, described processor also load operating has attribute modification module, before it runs for the assembly applied in loading second mobile terminal, apply property current for system is revised as the second mobile terminal application.B15, device according to B11, wherein, described module of setting up also comprises: the first tectonic element, for constructing Classloader ClassLoader, to load the corresponding loading classes in each assembly; Second tectonic element, for creating the resource object needed for assembly operating, to extract or to access the second mobile terminal application resource; 3rd tectonic element, for constructing explorer Asset Manager, with the resource needed for management operating assembly.B16, device according to B15, wherein, described set up module also for, if the described assembly loaded is Activity assembly, Receiver assembly or service Service assembly, then before application program management service PMS examination, assembly is revised as the corresponding assembly in set up applications, and checks by rear according to the corresponding assembly in set up applications at PMS, again described assembly is returned in the corresponding assembly correction in set up applications, start described assembly.B17, device according to B11, wherein, described processor also load operating has acquisition module, before it is applied in the application of triggering second mobile terminal for the first mobile terminal, the information supporting the application program with the first mobile terminal product identification called is obtained, to carry out the location registration process of inventory configuration file and the foundation of follow-up running environment of corresponding first mobile terminal product identification in system in a mobile device.B18, device according to B17, wherein, described processor also load operating has request module, it, for side of the information of the first mobile terminal application and the information of the second mobile terminal application being uploaded onto the server, asks described server to issue the inventory configuration file of corresponding first mobile terminal product identification.B19, device according to B11, wherein, described loading module also for, after getting local the second mobile terminal application that can call, the second mobile terminal entrance in the first mobile terminal application starts so that user triggers; On triggering, the data of the first mobile terminal application are passed to described appointment process by interprocess communication, and then the data of the second mobile terminal criteria in application transmission in described running environment are run.B20, device according to B19, wherein, described loading module also for, after the second mobile terminal application is closed, process continues on backstage to run; After detecting that the process of the first mobile terminal application is closed, just close the process of the second mobile terminal application; Or do not close this process, the 3rd mobile terminal application continuing to be supplied to other provides service.
The embodiment of the present invention further discloses C21, a kind of mobile terminal, comprising: the device loading the application of other mobile terminal in the mobile terminal application according to any one of above-mentioned B11 to B20.

Claims (10)

1. load a method for other mobile terminal application in the application of mobile terminal, comprising:
For the assembly of the second mobile terminal application that will call is registered in the inventory configuration file of the first mobile terminal application;
It is that process or thread are specified in the second mobile terminal application establishment one that first mobile terminal application detects the trigger event of the second mobile terminal application entrance;
The foundation of described appointment process or thread detected, in described appointment process or thread, set up the running environment of the second mobile terminal application;
Run at the described assembly loading the second mobile terminal application of setting up in running environment.
2. method according to claim 1, wherein, for the following assembly of the second mobile terminal application that will call carries out registration operation in the inventory configuration file of the first mobile terminal application:
Movable Activity assembly, service Service assembly, broadcast recipients Broadcast Receiver assembly, content provider Content Provider assembly.
3. method according to claim 1, wherein, also comprises:
By the setup of attribute of the notice Notification assembly of the second mobile terminal application for not showing notice prompting.
4. method according to claim 1, wherein, before the assembly of loading second mobile terminal application runs, described method also comprises: apply property current for system is revised as the second mobile terminal application.
5. method according to claim 1, wherein, in described appointment process or thread, set up the step of the running environment of the second mobile terminal application, comprising:
Structure Classloader ClassLoader, to load the corresponding loading classes in each assembly;
Create the resource object needed for assembly operating, to extract or to access the second mobile terminal application resource;
Structure explorer Asset Manager, with the resource needed for management operating assembly.
6. method according to claim 5, wherein, in described appointment process or thread, set up the step of the running environment of the second mobile terminal application, also comprise:
If the described assembly loaded is Activity assembly, Receiver assembly or service Service assembly, then before application program management service PMS examination, assembly is revised as the corresponding assembly in set up applications, and at PMS according to the corresponding assembly examination in set up applications by rear, again described assembly is returned in the corresponding assembly correction in set up applications, start described assembly.
7. method according to claim 1, wherein, also comprises:
Before first mobile terminal is applied in the application of triggering second mobile terminal, the information supporting the application program with the first mobile terminal product identification called is obtained, to carry out the location registration process of inventory configuration file and the foundation of follow-up running environment of corresponding first mobile terminal product identification in system in a mobile device.
8. method according to claim 7, wherein, also comprises:
The information of the first mobile terminal application and the information of the second mobile terminal application are uploaded onto the server side, asks described server to issue the inventory configuration file of corresponding first mobile terminal product identification.
9. load a device for other mobile terminal application in the application of mobile terminal, comprising:
Processor, in this processor, load operating has registration module, creates module, sets up module, loads module, wherein:
Registration module, registers for the assembly applied for the second mobile terminal that will call in the inventory configuration file of the first mobile terminal application;
Create module, detect to the trigger event of the second mobile terminal application entrance to be that process or thread are specified in the second mobile terminal application establishment one for the first mobile terminal application;
Setting up module, for the foundation of described appointment process or thread being detected, in described appointment process or thread, setting up the running environment of the second mobile terminal application;
Load module, for running at the described assembly loading the second mobile terminal application of setting up in running environment.
10. a mobile terminal, comprising: the device loading the application of other mobile terminal in the application of mobile terminal according to claim 9.
CN201410850821.4A 2014-12-30 2014-12-30 A kind of method, apparatus and mobile terminal for loading other mobile terminal applications Active CN104461663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410850821.4A CN104461663B (en) 2014-12-30 2014-12-30 A kind of method, apparatus and mobile terminal for loading other mobile terminal applications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410850821.4A CN104461663B (en) 2014-12-30 2014-12-30 A kind of method, apparatus and mobile terminal for loading other mobile terminal applications

Publications (2)

Publication Number Publication Date
CN104461663A true CN104461663A (en) 2015-03-25
CN104461663B CN104461663B (en) 2018-04-20

Family

ID=52907768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410850821.4A Active CN104461663B (en) 2014-12-30 2014-12-30 A kind of method, apparatus and mobile terminal for loading other mobile terminal applications

Country Status (1)

Country Link
CN (1) CN104461663B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201872A (en) * 2016-07-05 2016-12-07 北京鼎源科技有限公司 A kind of running environment detection method of android system
CN106502717A (en) * 2016-09-22 2017-03-15 华为技术有限公司 application program operation method and device
CN106528166A (en) * 2016-11-22 2017-03-22 郑州云海信息技术有限公司 Command line interface processing system and method
CN109408256A (en) * 2018-10-17 2019-03-01 麒麟合盛网络技术股份有限公司 Using call method and device
CN109491725A (en) * 2018-11-12 2019-03-19 火烈鸟网络(广州)股份有限公司 Application program can interact more extractions of root and system, storage medium, electronic equipment
CN111198723A (en) * 2018-11-19 2020-05-26 深圳市优必选科技有限公司 Process injection method, terminal equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6151605A (en) * 1998-05-29 2000-11-21 Hewlett-Packard Company Generic configuration file processing library and executable
CN101673204A (en) * 2009-08-13 2010-03-17 上海酷吧信息技术有限公司 Dynamic loading method of application program of mobile phone based on arm
CN103530156A (en) * 2013-10-17 2014-01-22 北京奇虎科技有限公司 Method and device for dynamically loading and calling program
CN104050035A (en) * 2014-05-14 2014-09-17 小米科技有限责任公司 Processing method and device for application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6151605A (en) * 1998-05-29 2000-11-21 Hewlett-Packard Company Generic configuration file processing library and executable
CN101673204A (en) * 2009-08-13 2010-03-17 上海酷吧信息技术有限公司 Dynamic loading method of application program of mobile phone based on arm
CN103530156A (en) * 2013-10-17 2014-01-22 北京奇虎科技有限公司 Method and device for dynamically loading and calling program
CN104050035A (en) * 2014-05-14 2014-09-17 小米科技有限责任公司 Processing method and device for application program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201872A (en) * 2016-07-05 2016-12-07 北京鼎源科技有限公司 A kind of running environment detection method of android system
CN106502717A (en) * 2016-09-22 2017-03-15 华为技术有限公司 application program operation method and device
CN111427594A (en) * 2016-09-22 2020-07-17 华为技术有限公司 Application program running method and device
CN111427594B (en) * 2016-09-22 2024-04-09 华为技术有限公司 Application program running method and device
CN106528166A (en) * 2016-11-22 2017-03-22 郑州云海信息技术有限公司 Command line interface processing system and method
CN109408256A (en) * 2018-10-17 2019-03-01 麒麟合盛网络技术股份有限公司 Using call method and device
CN109408256B (en) * 2018-10-17 2021-03-19 麒麟合盛网络技术股份有限公司 Application calling method and device
CN109491725A (en) * 2018-11-12 2019-03-19 火烈鸟网络(广州)股份有限公司 Application program can interact more extractions of root and system, storage medium, electronic equipment
CN109491725B (en) * 2018-11-12 2022-12-27 火烈鸟网络(广州)股份有限公司 Interactive multi-opening method and system of application program, storage medium and electronic equipment
CN111198723A (en) * 2018-11-19 2020-05-26 深圳市优必选科技有限公司 Process injection method, terminal equipment and computer readable storage medium
CN111198723B (en) * 2018-11-19 2023-03-07 深圳市优必选科技有限公司 Process injection method, terminal equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN104461663B (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN104461663A (en) Method and device for loading other mobile terminal applications and mobile terminal
CN104375861A (en) Installation-free operation method and device for application programs based on Android platform and terminal
US7752616B2 (en) Update system capable of updating software
US8893110B2 (en) Device management in a network
EP3007408B1 (en) Service method for managing transactions using application properties and system therefor
US20130283298A1 (en) Managing mobile execution environments
CN104731625A (en) Method, device and mobile terminal for loading plugin
US11245725B2 (en) Dynamically updating policy controls for mobile devices and applications
CN103634386A (en) Method and device for downloading application by client end application program
CN110543327B (en) Service component multiplexing method, device, computer equipment and storage medium
CN103617057A (en) Application program installation method and device
CN104200159A (en) Method and device for configuring application program permission
EP1872230B1 (en) Centralized memory management in wireless terminal devices
CN107957837B (en) Method and device for generating shortcut of webpage application program and terminal equipment
CN108804399B (en) Form verification method and device
CN104461583A (en) Method and device for calling resource type application and mobile terminal
CN101557584A (en) Method for realizing application authority control of mobile terminal and device
CN106874048B (en) A kind of processing method, device and the mobile terminal of application program self-starting
CN105516982A (en) Method, device and system for realizing automatic connection with wireless WIFI network
CN106096394A (en) A kind of Ad blocking method and apparatus of Android application
CN104507158A (en) Wireless local area network connection building method, device and mobile terminal
CN103500114A (en) Method and device for installing application program
EP3007470B1 (en) Performance improvement method in instance hosting environment and service system therefor
KR101632288B1 (en) Method and apparatus for prefetching device drivers for peripheral devices connected to a smartphone prior to high-level operating system(hlos) boot
CN103530180B (en) Method and device for switching storage space of application programs

Legal Events

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

Effective date of registration: 20220728

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.