CN104714828A - Methods and devices for installing and operating application - Google Patents

Methods and devices for installing and operating application Download PDF

Info

Publication number
CN104714828A
CN104714828A CN201510150236.8A CN201510150236A CN104714828A CN 104714828 A CN104714828 A CN 104714828A CN 201510150236 A CN201510150236 A CN 201510150236A CN 104714828 A CN104714828 A CN 104714828A
Authority
CN
China
Prior art keywords
plug
unit
function
main application
subsidiary
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
CN201510150236.8A
Other languages
Chinese (zh)
Other versions
CN104714828B (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 CN201510150236.8A priority Critical patent/CN104714828B/en
Publication of CN104714828A publication Critical patent/CN104714828A/en
Priority to PCT/CN2015/099591 priority patent/WO2016155388A1/en
Application granted granted Critical
Publication of CN104714828B publication Critical patent/CN104714828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

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

Abstract

The invention provides methods and devices for installing and operating application. The method for installing the application comprises the following steps: determining a plurality of types of functions needing to be realized according to requirements, wherein the plurality of types of functions include a major function and auxiliary functions; generating a major application for the major function and generating independent plug-ins for the various auxiliary functions; installing the major application, wherein the major application is capable of invoking different plug-ins according to requirements to realize different auxiliary functions. According to the method, the major application and the plug-ins for assisting the application can be independent of each other, and therefore, the installation package can be reduced, the installation speed can be increased and the occupation of the system space can be reduced.

Description

Application installation, operation method and device
Technical field
The present invention relates to internet, applications field, particularly relate to a kind of application installation method and device, and one applies operation method and device.
Background technology
Android (Android) system has become one of the most frequently used operating system of current intelligent terminal because of its characteristic such as open, compatible.The organizational structure of android system has the mechanism of good inter-module and IAC because of it, can very easily by application plug-in, functional independence.But these mechanism are only limitted to mounted application.
At present, plug-in unit technical stipulation traditional in android system, each plug-in unit needs to be arranged in the operating system of user with the form of independent utility.But, could use if each plug-in unit needs to install, along with the increase of user's request and the development of network itself, operating system needs the plug-in unit installed to get more and more, along with the growth of plug-in unit, application number can increase gradually, takies a large amount of resources, easily causes operating system slowly even to transship.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the application installation method solved the problem at least in part, application operation method and corresponding device.
Based on one aspect of the present invention, embodiments provide a kind of application installation method, comprising:
Determine the multiclass function that need realize according to demand, wherein, described multiclass function comprises the function of tonic chord and subsidiary function;
For the described function of tonic chord generates main application, and, for all kinds of subsidiary function generates independently plug-in unit;
Install described main application, wherein, described main application can call different plug-in units according to demand, to realize different subsidiary functions.
Alternatively, after described main application installation terminates, also comprise:
The each plug-in unit possessing subsidiary function is loaded in foreground display property; Or
Loading of mourning in silence on backstage possesses each plug-in unit of subsidiary function.
Alternatively, described loading possesses each plug-in unit of subsidiary function, comprising:
The Classloader of described main application is utilized to load the plug-in code of each plug-in unit;
The described plug-in code of each plug-in unit is loaded in internal memory, for each plug-in unit generates this plug-in unit independently Classloader;
The Classloader of each plug-in unit correspondence is utilized to load each plug-in resource.
Alternatively, the plug-in code of each plug-in unit and resource be loaded after for simulating plug-in component operation environment when plug-in unit is called; And
Each plug-in unit carries out Uniform Name and management by plugin manager to plug-in unit after loading and terminating.
Based on another aspect of the present invention, the embodiment of the present invention additionally provides a kind of application operation method, comprising:
Open the main application possessing the function of tonic chord, wherein, described main application can call the plug-in unit of other subsidiary functions possessed except the described function of tonic chord;
The plug-in unit mark selecting subsidiary function corresponding in the interface of described main application according to demand;
Utilize the plug-in unit corresponding to plug-in unit mark that described main application call is selected, to realize corresponding subsidiary function.
Alternatively, utilize described main application call plug-in unit, comprising:
In described main application, set up trustship plug in component, wherein, described trustship plug in component can the same subsidiary function of simulated implementation and the dependent plug-in unit be embedded in the main application event that produces when being called;
When monitoring any one event and occurring, described trustship plug in component is triggered event to be gone in event handling function that described dependent plug-in unit possesses and processes.
Alternatively, when described plug-in unit is movable Activity,
Described trustship plug in component, for acting on behalf of Activity, can simulate Activity life cycle and Activity event;
When Activity event occurs, the described Activity of agency is called by reflection and is processed in process function corresponding to plug-in unit Activity event by Activity event transfer.
Alternatively, described trustship plug in component realizes as follows:
The parent of similar Activity in unified plug-in architecture;
Unified parent is replaced with specific PluginActivity;
When subclass is called, by described PluginActivity, calling of subclass is forwarded to described trustship plug in component.
Alternatively, described trustship plug in component is transparent relative to the plug-in unit of its correspondence.
Alternatively, utilize described main application call plug-in unit, also comprise:
The resource object of each plug-in unit and Classloader are injected into by force in the context environmental that each plug-in unit of described main application call uses, for each plug-in unit of described main application call.
Alternatively, utilize described main application call plug-in unit, comprising:
When a described main application call plug-in unit, reflection is utilized the contextual resource object of described main application and Classloader to be replaced with resource object and the Classloader of this plug-in unit;
Utilize the resource object of this plug-in unit and Classloader to distinguish resource and the code of loading of plug-in, perform the subsidiary function of plug-in unit.
Alternatively, utilize described main application call plug-in unit, comprising:
Described main application is communicated with each plug-in unit by the card i/f arranged on each plug-in unit, to realize calling each plug-in unit.
Alternatively, apply operation method also to comprise:
When multiple plug-in unit is called in described main application simultaneously,
When wherein any one plug-in unit is given an order, described plugin manager receives described order and described order is distributed to all plug-in units of described plug-in management management, wherein, processes it the interested plug-in unit of described order, produces response result;
Described plugin manager receives the response result to described order, and is back to the plug-in unit of giving an order.
Alternatively, described order uses the Intent class wrapper of system in transmittance process.
Alternatively, in the operational process of described main application, according to demand can additions and deletions plug number or kind.
Alternatively, the order of additions and deletions plug-in unit is by high in the clouds Long-distance Control.
Alternatively, the appearance form of described plug-in unit in described main application interface comprise following one of at least:
Card;
Play window;
Roll screen.
Alternatively, when described master is applied as search application,
Subsidiary function comprise following one of at least:
Novel;
Barcode scanning;
Music;
Video;
News;
Skin.
Based on another aspect of the present invention, the embodiment of the present invention additionally provides a kind of application erecting device, comprising:
Function determination module, is suitable for the multiclass function determining according to demand to realize, and wherein, described multiclass function comprises the function of tonic chord and subsidiary function;
Classification configurations module, is suitable for the described function of tonic chord and generates main application, and, for all kinds of subsidiary function generates independently plug-in unit;
Installation module, be suitable for installing described main application, wherein, described main application can call different plug-in units according to demand, to realize different subsidiary functions.
Alternatively, apply erecting device also to comprise:
Plug-in unit load-on module, is suitable for, after described main application installation terminates, loading in foreground display property each plug-in unit possessing subsidiary function; Or, each plug-in unit loading and possess subsidiary function of mourning in silence on backstage.
Alternatively, described plug-in unit load-on module also for:
The Classloader of described main application is utilized to load the plug-in code of each plug-in unit;
The described plug-in code of each plug-in unit is loaded in internal memory, for each plug-in unit generates this plug-in unit independently Classloader;
The Classloader of each plug-in unit correspondence is utilized to load each plug-in resource.
Alternatively, the plug-in code of each plug-in unit and resource be loaded after for simulating plug-in component operation environment when plug-in unit is called; And
Each plug-in unit carries out Uniform Name and management by plugin manager to plug-in unit after loading and terminating.
Based on another aspect of the present invention, the embodiment of the present invention additionally provides a kind of application running gear, comprising:
Start module, be suitable for opening the main application possessing the function of tonic chord, wherein, described main application can call the plug-in unit of other subsidiary functions possessed except the described function of tonic chord;
Select module, be suitable for the plug-in unit mark selecting subsidiary function corresponding in the interface of described main application according to demand;
Calling module, is suitable for the plug-in unit corresponding to plug-in unit mark utilizing described main application call to select, to realize corresponding subsidiary function.
Alternatively, described calling module also for:
In described main application, set up trustship plug in component, wherein, described trustship plug in component can the same subsidiary function of simulated implementation and the dependent plug-in unit be embedded in the main application event that produces when being called;
When monitoring any one event and occurring, described trustship plug in component is triggered event to be gone in event handling function that described dependent plug-in unit possesses and processes.
Alternatively, when described plug-in unit is movable Activity,
Described trustship plug in component, for acting on behalf of Activity, can simulate Activity life cycle and Activity event;
When Activity event occurs, the described Activity of agency is called by reflection and is processed in process function corresponding to plug-in unit Activity event by Activity event transfer.
Alternatively, described trustship plug in component realizes as follows:
The parent of similar Activity in unified plug-in architecture;
Unified parent is replaced with specific PluginActivity;
When subclass is called, by described PluginActivity, calling of subclass is forwarded to described trustship plug in component.
Alternatively, described trustship plug in component is transparent relative to the plug-in unit of its correspondence.
Alternatively, described calling module also for:
The resource object of each plug-in unit and Classloader are injected into by force in the context environmental that each plug-in unit of described main application call uses, for each plug-in unit of described main application call.
Alternatively, described calling module also for:
When a described main application call plug-in unit, reflection is utilized the contextual resource object of described main application and Classloader to be replaced with resource object and the Classloader of this plug-in unit;
Utilize the resource object of this plug-in unit and Classloader to distinguish resource and the code of loading of plug-in, perform the subsidiary function of plug-in unit.
In embodiments of the present invention, function corresponding for demand is divided into two classes, a class is the function of tonic chord realized by main application, and another kind of is the subsidiary function realized by plug-in unit.In embodiments of the present invention, only need main application is installed, if desired other subsidiary functions, then can by the main application plug-in unit that real-time calling is different according to demand, to realize different subsidiary functions.That is, in embodiments of the present invention, only main application needs in the operating system of installing with the form of independent utility, and all the other plug-in units do not need installation to use.When implementing, main application calls plug-in unit by certain communication mode can realize corresponding function.In addition, function corresponding for demand divides by the embodiment of the present invention, makes each demand can disperse synchronously to develop, each subsidiary function realizes with pin function, directly as the plug-in unit of other products, can reuse, further increase the practicality of plug-in unit.In addition, in the installation process of main application, therefore main application is only installed, the installation kit of its correspondence only needs to comprise it and applies necessary code and resource, significantly reducing application installation data bag, the downloading process applying installation data bag can be accelerated, avoiding user because seeing that application is directly abandoned too greatly downloading, or midway abandoned downloading because downloading slow, the impression that improve user was experienced.Further, because plug-in unit and main application are separated, so plug-in unit dynamically can add, upgrade, delete according to control command, can make full use of system space.And the renewal process of itself and main application is independently, and the renewal process of each plug-in unit is all independently, therefore makes renewal process more independent, does not interfere with each other with the renewal of other plug-in units or main application.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
According to hereafter by reference to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will understand above-mentioned and other objects, advantage and feature of the present invention more.
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 shows the processing flow chart applying installation method according to an embodiment of the invention;
Fig. 2 shows the schematic diagram of the instantiation of the framework between main according to an embodiment of the invention application and plug-in unit;
Fig. 3 shows the interface schematic diagram of plug-in unit display according to an embodiment of the invention;
Fig. 4 shows the processing flow chart applying the method for operation according to an embodiment of the invention;
Fig. 5 shows the schematic diagram of the multiple plug-in unit of main according to an embodiment of the invention application call;
Fig. 6 shows the schematic diagram of plug-in unit realization flow according to an embodiment of the invention;
Fig. 7 shows a kind of structural representation applying erecting device according to an embodiment of the invention;
Fig. 8 shows the another kind of structural representation applying erecting device according to an embodiment of the invention; And
Fig. 9 shows a kind of structural representation applying running gear 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.
For solving the problems of the technologies described above, embodiments provide a kind of application installation method newly.Fig. 1 shows the processing flow chart applying installation method according to an embodiment of the invention.See Fig. 1, this application installation method at least comprises step S102 to step S106:
Step S102, determine the multiclass function that need realize according to demand, wherein, multiclass function comprises the function of tonic chord and subsidiary function;
Step S104, generate main application for the function of tonic chord, and, for all kinds of subsidiary function generates independently plug-in unit;
Step S106, install main application, wherein, main application can call different plug-in units according to demand, to realize different subsidiary functions.
It should be noted that, the plug-in unit that the embodiment of the present invention is mentioned in fact also is one and independently applies (apk), and its inside comprises resource and code, and relevant android component definition etc.
In embodiments of the present invention, function corresponding for demand is divided into two classes, a class is the function of tonic chord realized by main application, and another kind of is the subsidiary function realized by plug-in unit.In embodiments of the present invention, only need main application is installed, if desired other subsidiary functions, then can by the main application plug-in unit that real-time calling is different according to demand, to realize different subsidiary functions.That is, in embodiments of the present invention, only main application needs in the operating system of installing with the form of independent utility, and all the other plug-in units do not need installation to use.When implementing, main application calls plug-in unit by certain communication mode can realize corresponding function.In addition, function corresponding for demand divides by the embodiment of the present invention, makes each demand can disperse synchronously to develop, each subsidiary function realizes with pin function, directly as the plug-in unit of other products, can reuse, further increase the practicality of plug-in unit.In addition, in the installation process of main application, therefore main application is only installed, the installation kit of its correspondence only needs to comprise it and applies necessary code and resource, significantly reducing application installation data bag, the downloading process applying installation data bag can be accelerated, avoiding user because seeing that application is directly abandoned too greatly downloading, or midway abandoned downloading because downloading slow, the impression that improve user was experienced.Further, because plug-in unit and main application are separated, so plug-in unit dynamically can add, upgrade, delete according to control command, can make full use of system space.And the renewal process of itself and main application is independently, and the renewal process of each plug-in unit is all independently, therefore makes renewal process more independent, does not interfere with each other with the renewal of other plug-in units or main application.
In embodiments of the present invention, after step S106 performs, namely after main application installation terminates, the mounting means of main application optionally can be different to plug-in unit, such as, the each plug-in unit possessing subsidiary function can be loaded in foreground display property, or, each plug-in unit loading and possess subsidiary function of also can mourning in silence on backstage.After each subsidiary function plug-in unit, main application only needs installation and operation, and it applies necessary code and resource, other functions dynamic download can be mourned in silence installation after main application is installed, application data bag can significantly be reduced, thus achieve application weight reducing this purpose, improve the download of application, application can be broadly easily accepted by a user.
Further, after subsidiary function plug-in unit, main application will have localized experience (such as music, video, novel, news, barcode scanning etc.) completely.Fig. 2 shows the schematic diagram of the instantiation of the framework between main according to an embodiment of the invention application and plug-in unit.See Fig. 2, main being applied as searches for app, and the multiple subsidiary function of its correspondence comprises novel, music, video display, news, skin etc., and each subsidiary function exists with independent card format, and app is by specifically calling the dynamic load realizing plug-in unit in search.Fig. 3 shows the interface schematic diagram of plug-in unit display according to an embodiment of the invention.See Fig. 3, in search application, dynamic loads the multiple subsidiary functions such as bat topic, news, video, novel, picture, map, application, music.Give an example, when user search novel (comprising the key word relevant to novel, as title, author etc.), search app can call novel plug-in unit, thus variable body novel app, there is the functions such as reader, bookshelf, stack room.Wherein, the appearance form of plug-in unit in main application interface comprise following one of at least: card; Play window; Roll screen.
Because of the independence of plug-in unit, the renewal of each plug-in unit is also independently, and the resource upgrading each plug-in unit need not upgrade main application.Such as, the skin of application is by plug-in unit switching at runtime, and each skin theme can be used as independently plug-in unit dynamic load and a renewal, and upgrading skin storehouse does not need to upgrade main application, can make flexibly various star's version, red-letter day version, even user can self-defined skin, share skin etc.
Be worth be explanatorily, adopt the application installation method that the embodiment of the present invention provides, plug-in unit can be stored in different storage spaces respectively from main application, plug-in unit can be stored in separately (such as expansion card in extending space, SD card, TF card), and dynamic load, deletion or renewal can be realized in extending space.Wherein, the order of additions and deletions plug-in unit, by high in the clouds Long-distance Control, further ensures the dirigibility of plug-in unit.
Wherein, load each plug-in unit possessing subsidiary function, comprise two parts, a part is loading of plug-in code, and another part is loading of plug-in resource.In embodiments of the present invention, utilize the Classloader of main application to load the plug-in code of each plug-in unit, and then the plug-in code of each plug-in unit is loaded in internal memory, for each plug-in unit generates this plug-in unit independently Classloader.Subsequently, the Classloader of each plug-in unit correspondence is utilized to load each plug-in resource.
Under normal circumstances, app can only have the Classloader (ClassLoader) that a resource object (Resource) and load app code, so the resource used everywhere at app and code are all main app.If the resource will called when qualifications does not destroy the original code structure of plug-in unit and logic inside plug-in unit and code, so just the objects such as the resource object of main application and Classloader (mResource, mClassLoader) must be replaced with resource and the Classloader of plug-in unit, like this, plug-in unit just directly can use oneself resource and code.
Allow main app adjust plug-in unit, then the environment needing simulation app to run is supplied to plug-in component operation, therefore, for simulating plug-in component operation environment when plug-in unit is called after the plug-in code of each plug-in unit and resource are loaded; And each plug-in unit carries out Uniform Name and management by plugin manager to plug-in unit after loading and terminating.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of application operation method, is applied to the application adopting above-mentioned application installation method to install.Fig. 4 shows the processing flow chart applying the method for operation according to an embodiment of the invention.See Fig. 4, application operation method at least comprises:
Step S402, open and possess the main application of the function of tonic chord, wherein, main application can call the plug-in unit of other subsidiary functions possessed except the function of tonic chord;
Step S404, the plug-in unit mark selecting subsidiary function corresponding in the interface of main application according to demand;
Step S406, the plug-in unit corresponding to plug-in unit mark utilizing main application call to select, to realize corresponding subsidiary function.
In embodiments of the present invention, function corresponding for demand is divided into two classes, a class is the function of tonic chord realized by main application, and another kind of is the subsidiary function realized by plug-in unit.In embodiments of the present invention, only main application needs in the operating system of installing with the form of independent utility, and all the other plug-in units do not need installation to use.When implementing, main application calls plug-in unit by certain communication mode can realize corresponding function.In addition, function corresponding for demand divides by the embodiment of the present invention, makes each demand can disperse synchronously to develop, each subsidiary function realizes with pin function, directly as the plug-in unit of other products, can reuse, further increase the practicality of plug-in unit.Further, because plug-in unit and main application are separated, so plug-in unit dynamically can add, upgrade, delete according to control command, can make full use of system space.And the renewal process of itself and main application is independently, and the renewal process of each plug-in unit is all independently, therefore makes renewal process more independent, does not interfere with each other with the renewal of other plug-in units or main application.
Plug-in unit is actually one and independently applies, its inside comprises resource and code and relevant android component definition etc., main app is allowed to have adjusted plug-in unit, the environment then needing simulation app to run is supplied to plug-in component operation, and wherein emphasis comprises: loading, the plug-in resource of plug-in code and resource are injected, assembly trustship and agency.In addition for allowing plug-in unit keep original structure and code logic, we need the particular invocation processing them: as this, super call, system component attribute simulation (launch_mode, intent-filter etc.).
First, main application call plug-in unit is utilized.In Android, most of assembly is could by (as Activity, Service etc.) of system normal call in the Androidmanifest.xml needing to be registered in apk, and the plug-in unit in the embodiment of the present invention is not installed, now its assembly is less than to system registry, and app cannot adjust it as using traditional assembly.Use the assembly in plug-in unit, just must address this problem.For addressing this problem, the embodiment of the present invention adopts sets up the disposal route of trustship plug in component in main application, wherein, trustship plug in component can the same subsidiary function of simulated implementation and the dependent plug-in unit be embedded in main application when being called institute produce event.When monitoring any one event and occurring, trustship plug in component is triggered event to be gone in event handling function that dependent plug-in unit possesses and processes.
For movable (Activity), when plug-in unit is movable Activity, trustship plug in component, for acting on behalf of Activity, can simulate Activity life cycle and Activity event; .When Activity event occurs, act on behalf of Activity and called by reflection Activity event transfer is processed in process function corresponding to plug-in unit Activity event.Namely, what in main app, definition one was special acts on behalf of Activity (ProxyActivity), this Activity is used for the Activity of proxy plug-ins specially, the life cycle (onCreate, onStart etc.) of simulated implementation plug-in unit Activity and various event, plug-in unit Activity is as a common java Object Creation, event by reflection call be delivered to plug-in unit Activity for process function in, this process is transparent for plug-in unit, and it still realizes the logic of Activity as usual.
ProxyActivity is not real Activity, it does not have Classloader and the resource of plug-in unit, act on behalf of the just simulation system initiatively initiation that Activity can solve, the event of the passive reception of assembly, during the method using the active calling systems such as such as this or super to provide as plug-in unit Activity (as setContentView etc.), will inevitably go wrong.
In order to head it off, the embodiment of the present invention defines a very simple plug-in unit and realizes specification: all Activity used in plug-in unit must inherit a specific PluginActivity in plug-in unit sdk.Good at plug-in architecture, when most of similar Activity has a unified parent, only need the parent of these parents to replace with PluginActivity.The key method of PluginActivity meeting rewriting system, calling of subclass is directly transmitted to ProxyActiviy, like this, the more crucial method that plug-in unit Activity uses this or super to call, all will handled by ProxyActivity, just as it is exactly a real Activity itself.
Under normal circumstances, app can only have the Classloader that a resource object and load app code, so the resource used everywhere at app and code are all main app.If the resource will called when qualifications does not destroy the original code structure of plug-in unit and logic inside plug-in unit and code, so just the resource of plug-in unit and Classloader must be injected into by force in the context environmental that each plug-in unit of main application call uses, for each plug-in unit of main application call.
Particularly, when a main application call plug-in unit, reflection is utilized the contextual resource object of main application and Classloader to be replaced with resource object and the Classloader of this plug-in unit; Utilize the resource object of this plug-in unit and Classloader to distinguish resource and the code of loading of plug-in, perform the subsidiary function of plug-in unit.When having exhaled a plug-in unit, generally the assembly (Activity having adjusted a plug-in unit, Service etc.), mentioned above, the present invention is the assembly of main application call plug-in unit, at this moment the context (context) that plug-in unit uses main application is supplied to, if plug-in unit directly uses it to make mistakes, therefore, the present embodiment before the use by force utilization reflection by the resource object in this context and Classloader (mResource, etc. mClassLoader) object replaces with resource and the Classloader of plug-in unit, like this, plug-in unit just directly can use oneself resource and code.
Because main application exists interactive relationship with multiple plug-in unit simultaneously, therefore, main application is communicated with each plug-in unit by the card i/f arranged on each plug-in unit, to realize calling each plug-in unit.Such as, plug in component provides a card i/f (IPlugin) to plug-in unit, and plug-in unit can be helped to communicate with host.Key method is onLoad (), onCommand (), onLoad () calls when plug-in unit is loaded, plug-in unit can carry out some initial work in this function, onCommand () is called when plug-in unit receives order, and plug-in unit can realize the process of order in this function.
When multiple plug-in unit is called in main application simultaneously, when wherein any one plug-in unit is given an order, plugin manager receives order and order is distributed to all plug-in units of plug-in management management, wherein, the interested plug-in unit of order is processed it, produces response result; Plugin manager receives the response result to order, and is back to the plug-in unit of giving an order.Namely a unified specification can be defined in plug-in unit, when plug-in unit sends an order, order is distributed to all plug-in units by plugin manager, plug-in unit only need process oneself be interested in the response of interface class (onCommand) orders, the transmission of order uses the Intent class wrapper of system, so namely, to ensure that between plug-in unit not Existence dependency, turn avoid the dependence of plug-in code.Fig. 5 shows the schematic diagram of the multiple plug-in unit of main according to an embodiment of the invention application call.
According to description above, the embodiment of the present invention can make the feature card of application, as applied all plugable independents such as card, application module, application skins based upon bidding, thus make synchronously the carrying out of can disperseing of exploitation of applying, improve the value of existing product, and solve the bulky problem of application, and some little renewal also needs the problem upgrading whole app, improve Consumer's Experience, shorten user's flow process.Particularly,
1, plug-in resource and code dynamic load solve the problem that plug-in unit dynamically updates, and such plug-in unit does not need to be included in the installation kit of main app.
2, component proxy and trustship, solves the problem of component definition in plug-in unit, reduces the coupling of plug-in unit and host.
3, the injection of plug-in resource and Classloader, ensure that the original logic of plug-in unit and resource, makes plug-in unit just can be used as plug-in component operation without the need to doing large change.
4, in plug-in unit this, super call process, ensure the complete operation of plug-in code.
5, call realization mutually between plug-in unit, can allow no dependence between plug-in unit, and can adjust mutually.
6, the realization of card i/f provides a kind of mechanism communicated with host to plug-in unit.
Fig. 6 shows the schematic diagram of plug-in unit realization flow according to an embodiment of the invention.See Fig. 6, plugin manager manages plug-in unit, carries out the pre-service such as initialization operation and prestrain.The start-up course of this processing procedure and main app be independently, asynchronous.After main app initialization terminates, initiate plug-in unit by app function interface and call, call the plug-in unit of needs to plugin manager place.Subsequently, plug-in unit starts, and loads on app function interface and show new pin function interface.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of application erecting device.Fig. 7 shows a kind of structural representation applying erecting device according to an embodiment of the invention.See Fig. 7, this device at least comprises:
Function determination module 710, is suitable for the multiclass function determining according to demand to realize, and wherein, multiclass function comprises the function of tonic chord and subsidiary function;
Classification configurations module 720, is coupled with function determination module 710, is suitable for the function of tonic chord and generates main application, and, for all kinds of subsidiary function generates independently plug-in unit;
Installation module 730, is coupled with classification configurations module 720, is suitable for installing main application, and wherein, main application can call different plug-in units according to demand, to realize different subsidiary functions.
Fig. 8 shows the another kind of structural representation applying erecting device according to an embodiment of the invention.In a preferred embodiment, see Fig. 7, application erecting device can also comprise:
Plug-in unit load-on module 740, classification configurations module 720 and installation module 730 are coupled respectively, are suitable for, after main application installation terminates, loading in foreground display property each plug-in unit possessing subsidiary function; Or, each plug-in unit loading and possess subsidiary function of mourning in silence on backstage.
In a preferred embodiment, plug-in unit load-on module 740 also for:
The Classloader of main application is utilized to load the plug-in code of each plug-in unit;
The plug-in code of each plug-in unit is loaded in internal memory, for each plug-in unit generates this plug-in unit independently Classloader;
The Classloader of each plug-in unit correspondence is utilized to load each plug-in resource.
In a preferred embodiment,
For simulating plug-in component operation environment when plug-in unit is called after the plug-in code of each plug-in unit and resource are loaded; And
Each plug-in unit carries out Uniform Name and management by plugin manager to plug-in unit after loading and terminating.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of application running gear.Fig. 9 shows a kind of structural representation applying running gear according to an embodiment of the invention.See Fig. 9, this device at least comprises:
Start module 910, be suitable for opening the main application possessing the function of tonic chord, wherein, main application can call the plug-in unit of other subsidiary functions possessed except the function of tonic chord;
Select module 920, be coupled with startup module 910, be suitable for the plug-in unit mark selecting subsidiary function corresponding in the interface of main application according to demand;
Calling module 930, is coupled with selection module 920, is suitable for the plug-in unit corresponding to plug-in unit mark utilizing main application call to select, to realize corresponding subsidiary function.
In a preferred embodiment, calling module 930 also for:
In main application, set up trustship plug in component, wherein, trustship plug in component can the same subsidiary function of simulated implementation and the dependent plug-in unit be embedded in the main application event that produces when being called;
When monitoring any one event and occurring, trustship plug in component is triggered event to be gone in event handling function that dependent plug-in unit possesses and processes.
In a preferred embodiment, when plug-in unit is movable Activity,
Trustship plug in component, for acting on behalf of Activity, can simulate Activity life cycle and Activity event;
When Activity event occurs, act on behalf of Activity and called by reflection Activity event transfer is processed in process function corresponding to plug-in unit Activity event.
In a preferred embodiment, trustship plug in component realizes as follows:
The parent of similar Activity in unified plug-in architecture;
Unified parent is replaced with specific PluginActivity;
When subclass is called, by PluginActivity, calling of subclass is forwarded to trustship plug in component.
In a preferred embodiment, trustship plug in component is transparent relative to the plug-in unit of its correspondence.
In a preferred embodiment, calling module 930 also for:
The resource object of each plug-in unit and Classloader are injected into by force in the context environmental that each plug-in unit of main application call uses, for each plug-in unit of main application call.
In a preferred embodiment, calling module 930 also for:
When a main application call plug-in unit, reflection is utilized the contextual resource object of main application and Classloader to be replaced with resource object and the Classloader of this plug-in unit;
Utilize the resource object of this plug-in unit and Classloader to distinguish resource and the code of loading of plug-in, perform the subsidiary function of plug-in unit.
The method adopting the embodiment of the present invention to provide and device, can reach and distinguish technical characteristic as follows:
In embodiments of the present invention, function corresponding for demand is divided into two classes, a class is the function of tonic chord realized by main application, and another kind of is the subsidiary function realized by plug-in unit.In embodiments of the present invention, only need main application is installed, if desired other subsidiary functions, then can by the main application plug-in unit that real-time calling is different according to demand, to realize different subsidiary functions.That is, in embodiments of the present invention, only main application needs in the operating system of installing with the form of independent utility, and all the other plug-in units do not need installation to use.When implementing, main application calls plug-in unit by certain communication mode can realize corresponding function.In addition, function corresponding for demand divides by the embodiment of the present invention, makes each demand can disperse synchronously to develop, each subsidiary function realizes with pin function, directly as the plug-in unit of other products, can reuse, further increase the practicality of plug-in unit.In addition, in the installation process of main application, therefore main application is only installed, the installation kit of its correspondence only needs to comprise it and applies necessary code and resource, significantly reducing application installation data bag, the downloading process applying installation data bag can be accelerated, avoiding user because seeing that application is directly abandoned too greatly downloading, or midway abandoned downloading because downloading slow, the impression that improve user was experienced.Further, because plug-in unit and main application are separated, so plug-in unit dynamically can add, upgrade, delete according to control command, can make full use of system space.And the renewal process of itself and main application is independently, and the renewal process of each plug-in unit is all independently, therefore makes renewal process more independent, does not interfere with each other with the renewal of other plug-in units or main application.
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 detail in the 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 according to the some or all parts in each device of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
So far, those skilled in the art will recognize that, although multiple exemplary embodiment of the present invention is illustrate and described herein detailed, but, without departing from the spirit and scope of the present invention, still can directly determine or derive other modification many or amendment of meeting the principle of the invention according to content disclosed by the invention.Therefore, scope of the present invention should be understood and regard as and cover all these other modification or amendments.
The invention discloses A1, a kind of application installation method, comprising:
Determine the multiclass function that need realize according to demand, wherein, described multiclass function comprises the function of tonic chord and subsidiary function;
For the described function of tonic chord generates main application, and, for all kinds of subsidiary function generates independently plug-in unit;
Install described main application, wherein, described main application can call different plug-in units according to demand, to realize different subsidiary functions.
A2, method according to claim A1, wherein, after described main application is installed and terminated, also comprise:
The each plug-in unit possessing subsidiary function is loaded in foreground display property; Or
Loading of mourning in silence on backstage possesses each plug-in unit of subsidiary function.
A3, method according to claim A2, wherein, described loading possesses each plug-in unit of subsidiary function, comprising:
The Classloader of described main application is utilized to load the plug-in code of each plug-in unit;
The described plug-in code of each plug-in unit is loaded in internal memory, for each plug-in unit generates this plug-in unit independently Classloader;
The Classloader of each plug-in unit correspondence is utilized to load each plug-in resource.
A4, method according to claim A3, wherein,
For simulating plug-in component operation environment when plug-in unit is called after the plug-in code of each plug-in unit and resource are loaded; And
Each plug-in unit carries out Uniform Name and management by plugin manager to plug-in unit after loading and terminating.
The invention also discloses B5, a kind of application operation method, comprising:
Open the main application possessing the function of tonic chord, wherein, described main application can call the plug-in unit of other subsidiary functions possessed except the described function of tonic chord;
The plug-in unit mark selecting subsidiary function corresponding in the interface of described main application according to demand;
Utilize the plug-in unit corresponding to plug-in unit mark that described main application call is selected, to realize corresponding subsidiary function.
B6, method according to claim B5, wherein, utilize described main application call plug-in unit, comprising:
In described main application, set up trustship plug in component, wherein, described trustship plug in component can the same subsidiary function of simulated implementation and the dependent plug-in unit be embedded in the main application event that produces when being called;
When monitoring any one event and occurring, described trustship plug in component is triggered event to be gone in event handling function that described dependent plug-in unit possesses and processes.
B7, method according to claim B6, wherein, when described plug-in unit is movable Activity,
Described trustship plug in component, for acting on behalf of Activity, can simulate Activity life cycle and Activity event;
When Activity event occurs, the described Activity of agency is called by reflection and is processed in process function corresponding to plug-in unit Activity event by Activity event transfer.
B8, method according to claim B7, wherein, described trustship plug in component realizes as follows:
The parent of similar Activity in unified plug-in architecture;
Unified parent is replaced with specific PluginActivity;
When subclass is called, by described PluginActivity, calling of subclass is forwarded to described trustship plug in component.
B9, method according to any one of claim B6 to B8, wherein, described trustship plug in component is transparent relative to the plug-in unit of its correspondence.
B10, method according to any one of claim B5 to B9, wherein, utilize described main application call plug-in unit, also comprise:
The resource object of each plug-in unit and Classloader are injected into by force in the context environmental that each plug-in unit of described main application call uses, for each plug-in unit of described main application call.
B11, method according to claim B10, wherein, utilize described main application call plug-in unit, comprising:
When a described main application call plug-in unit, reflection is utilized the contextual resource object of described main application and Classloader to be replaced with resource object and the Classloader of this plug-in unit;
Utilize the resource object of this plug-in unit and Classloader to distinguish resource and the code of loading of plug-in, perform the subsidiary function of plug-in unit.
B12, method according to any one of claim B5 to B11, wherein, utilize described main application call plug-in unit, comprising:
Described main application is communicated with each plug-in unit by the card i/f arranged on each plug-in unit, to realize calling each plug-in unit.
B13, method according to any one of claim B5 to B11, wherein, also comprise:
When multiple plug-in unit is called in described main application simultaneously,
When wherein any one plug-in unit is given an order, described plugin manager receives described order and described order is distributed to all plug-in units of described plug-in management management, wherein, processes it the interested plug-in unit of described order, produces response result;
Described plugin manager receives the response result to described order, and is back to the plug-in unit of giving an order.
B14, method according to claim B13, wherein, described order uses the Intent class wrapper of system in transmittance process.
B15, method according to any one of claim B5 to B14, wherein, in the operational process of described main application, according to demand can additions and deletions plug number or kind.
B16, method according to claim B15, wherein, the order of additions and deletions plug-in unit is by high in the clouds Long-distance Control.
B17, method according to any one of claim B1 to B16, wherein, the appearance form of described plug-in unit in described main application interface comprise following one of at least:
Card;
Play window;
Roll screen.
B18, method according to any one of claim B1 to B17, wherein, when described master is applied as search application,
Subsidiary function comprise following one of at least:
Novel;
Barcode scanning;
Music;
Video;
News;
Skin.
The invention also discloses C19, a kind of application erecting device, comprising:
Function determination module, is suitable for the multiclass function determining according to demand to realize, and wherein, described multiclass function comprises the function of tonic chord and subsidiary function;
Classification configurations module, is suitable for the described function of tonic chord and generates main application, and, for all kinds of subsidiary function generates independently plug-in unit;
Installation module, be suitable for installing described main application, wherein, described main application can call different plug-in units according to demand, to realize different subsidiary functions.
C20, device according to claim C19, wherein, also comprise:
Plug-in unit load-on module, is suitable for, after described main application installation terminates, loading in foreground display property each plug-in unit possessing subsidiary function; Or, each plug-in unit loading and possess subsidiary function of mourning in silence on backstage.
C21, device according to claim C20, wherein, described plug-in unit load-on module also for:
The Classloader of described main application is utilized to load the plug-in code of each plug-in unit;
The described plug-in code of each plug-in unit is loaded in internal memory, for each plug-in unit generates this plug-in unit independently Classloader;
The Classloader of each plug-in unit correspondence is utilized to load each plug-in resource.
C22, device according to claim 21, wherein,
For simulating plug-in component operation environment when plug-in unit is called after the plug-in code of each plug-in unit and resource are loaded; And
Each plug-in unit carries out Uniform Name and management by plugin manager to plug-in unit after loading and terminating.
The invention also discloses D23, a kind of application running gear, comprising:
Start module, be suitable for opening the main application possessing the function of tonic chord, wherein, described main application can call the plug-in unit of other subsidiary functions possessed except the described function of tonic chord;
Select module, be suitable for the plug-in unit mark selecting subsidiary function corresponding in the interface of described main application according to demand;
Calling module, is suitable for the plug-in unit corresponding to plug-in unit mark utilizing described main application call to select, to realize corresponding subsidiary function.
D24, device according to claim D23, wherein, described calling module also for:
In described main application, set up trustship plug in component, wherein, described trustship plug in component can the same subsidiary function of simulated implementation and the dependent plug-in unit be embedded in the main application event that produces when being called;
When monitoring any one event and occurring, described trustship plug in component is triggered event to be gone in event handling function that described dependent plug-in unit possesses and processes.
D25, device according to claim D24, wherein, when described plug-in unit is movable Activity,
Described trustship plug in component, for acting on behalf of Activity, can simulate Activity life cycle and Activity event;
When Activity event occurs, the described Activity of agency is called by reflection and is processed in process function corresponding to plug-in unit Activity event by Activity event transfer.
D26, device according to claim D25, wherein, described trustship plug in component realizes as follows:
The parent of similar Activity in unified plug-in architecture;
Unified parent is replaced with specific PluginActivity;
When subclass is called, by described PluginActivity, calling of subclass is forwarded to described trustship plug in component.
D27, device according to any one of claim D24 to D26, wherein, described trustship plug in component is transparent relative to the plug-in unit of its correspondence.
D28, device according to any one of claim D23 to D27, wherein, described calling module also for:
The resource object of each plug-in unit and Classloader are injected into by force in the context environmental that each plug-in unit of described main application call uses, for each plug-in unit of described main application call.
D29, device according to claim D28, wherein, described calling module also for:
When a described main application call plug-in unit, reflection is utilized the contextual resource object of described main application and Classloader to be replaced with resource object and the Classloader of this plug-in unit;
Utilize the resource object of this plug-in unit and Classloader to distinguish resource and the code of loading of plug-in, perform the subsidiary function of plug-in unit.

Claims (10)

1. apply an installation method, comprising:
Determine the multiclass function that need realize according to demand, wherein, described multiclass function comprises the function of tonic chord and subsidiary function;
For the described function of tonic chord generates main application, and, for all kinds of subsidiary function generates independently plug-in unit;
Install described main application, wherein, described main application can call different plug-in units according to demand, to realize different subsidiary functions.
2. method according to claim 1, wherein, after described main application installation terminates, also comprises:
The each plug-in unit possessing subsidiary function is loaded in foreground display property; Or
Loading of mourning in silence on backstage possesses each plug-in unit of subsidiary function.
3. method according to claim 2, wherein, described loading possesses each plug-in unit of subsidiary function, comprising:
The Classloader of described main application is utilized to load the plug-in code of each plug-in unit;
The described plug-in code of each plug-in unit is loaded in internal memory, for each plug-in unit generates this plug-in unit independently Classloader;
The Classloader of each plug-in unit correspondence is utilized to load each plug-in resource.
4. method according to claim 3, wherein,
For simulating plug-in component operation environment when plug-in unit is called after the plug-in code of each plug-in unit and resource are loaded; And
Each plug-in unit carries out Uniform Name and management by plugin manager to plug-in unit after loading and terminating.
5. apply an operation method, comprising:
Open the main application possessing the function of tonic chord, wherein, described main application can call the plug-in unit of other subsidiary functions possessed except the described function of tonic chord;
The plug-in unit mark selecting subsidiary function corresponding in the interface of described main application according to demand;
Utilize the plug-in unit corresponding to plug-in unit mark that described main application call is selected, to realize corresponding subsidiary function.
6. method according to claim 5, wherein, utilizes described main application call plug-in unit, comprising:
In described main application, set up trustship plug in component, wherein, described trustship plug in component can the same subsidiary function of simulated implementation and the dependent plug-in unit be embedded in the main application event that produces when being called;
When monitoring any one event and occurring, described trustship plug in component is triggered event to be gone in event handling function that described dependent plug-in unit possesses and processes.
7. method according to claim 6, wherein, when described plug-in unit is movable Activity,
Described trustship plug in component, for acting on behalf of Activity, can simulate Activity life cycle and Activity event;
When Activity event occurs, the described Activity of agency is called by reflection and is processed in process function corresponding to plug-in unit Activity event by Activity event transfer.
8. apply an erecting device, comprising:
Function determination module, is suitable for the multiclass function determining according to demand to realize, and wherein, described multiclass function comprises the function of tonic chord and subsidiary function;
Classification configurations module, is suitable for the described function of tonic chord and generates main application, and, for all kinds of subsidiary function generates independently plug-in unit;
Installation module, be suitable for installing described main application, wherein, described main application can call different plug-in units according to demand, to realize different subsidiary functions.
9. device according to claim 8, wherein, also comprises:
Plug-in unit load-on module, is suitable for, after described main application installation terminates, loading in foreground display property each plug-in unit possessing subsidiary function; Or, each plug-in unit loading and possess subsidiary function of mourning in silence on backstage.
10. an application running gear, comprising:
Start module, be suitable for opening the main application possessing the function of tonic chord, wherein, described main application can call the plug-in unit of other subsidiary functions possessed except the described function of tonic chord;
Select module, be suitable for the plug-in unit mark selecting subsidiary function corresponding in the interface of described main application according to demand;
Calling module, is suitable for the plug-in unit corresponding to plug-in unit mark utilizing described main application call to select, to realize corresponding subsidiary function.
CN201510150236.8A 2015-03-31 2015-03-31 Using installation, operation method and device Active CN104714828B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510150236.8A CN104714828B (en) 2015-03-31 2015-03-31 Using installation, operation method and device
PCT/CN2015/099591 WO2016155388A1 (en) 2015-03-31 2015-12-29 Method and device for installing and running application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510150236.8A CN104714828B (en) 2015-03-31 2015-03-31 Using installation, operation method and device

Publications (2)

Publication Number Publication Date
CN104714828A true CN104714828A (en) 2015-06-17
CN104714828B CN104714828B (en) 2017-06-09

Family

ID=53414198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510150236.8A Active CN104714828B (en) 2015-03-31 2015-03-31 Using installation, operation method and device

Country Status (2)

Country Link
CN (1) CN104714828B (en)
WO (1) WO2016155388A1 (en)

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700886A (en) * 2016-01-14 2016-06-22 腾讯科技(北京)有限公司 Display method and terminal of plug-in interface
CN105740033A (en) * 2016-03-15 2016-07-06 广州彩瞳网络技术有限公司 Terminal equipment, plug-in loading and running device and plug-in loading and running method
CN105760160A (en) * 2016-02-04 2016-07-13 百度在线网络技术(北京)有限公司 Method, device and system for adding cards from plugins
CN105872708A (en) * 2015-12-30 2016-08-17 乐视致新电子科技(天津)有限公司 Display desktop generation method, display desktop generation system and smart television
CN105955787A (en) * 2016-05-18 2016-09-21 深圳市掌玩网络技术有限公司 Method and device used for loading plug-in of Android system
WO2016155388A1 (en) * 2015-03-31 2016-10-06 北京奇虎科技有限公司 Method and device for installing and running application
CN106055330A (en) * 2016-05-31 2016-10-26 深圳卡尔拓客科技有限公司 Management method and system of application program
CN106131612A (en) * 2016-06-30 2016-11-16 武汉斗鱼网络科技有限公司 The method and system of Android app dynamic load resource function module
CN106325923A (en) * 2016-08-17 2017-01-11 北京奇虎科技有限公司 Method and device for managing function plugins
CN106371874A (en) * 2016-08-31 2017-02-01 广州品唯软件有限公司 Plug-in data loading method and equipment
CN106484445A (en) * 2015-08-27 2017-03-08 阿里巴巴集团控股有限公司 The page display method of application program for mobile terminal and device
CN106557343A (en) * 2015-09-30 2017-04-05 阿里巴巴集团控股有限公司 Systematic function application and the method and device of loading resource
CN106775916A (en) * 2017-02-17 2017-05-31 北京金山安全软件有限公司 Method and device for reducing application installation packages and electronic equipment
CN106815044A (en) * 2016-12-12 2017-06-09 广州视源电子科技股份有限公司 Method, the apparatus and system of software function extension
CN106886437A (en) * 2017-01-24 2017-06-23 北京奇虎科技有限公司 Application program update method and apparatus
CN106909406A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of method and device of the APK plug-in units of loading application programs
CN107015800A (en) * 2017-03-14 2017-08-04 宇龙计算机通信科技(深圳)有限公司 Display methods, device and equipment
CN107092494A (en) * 2016-02-18 2017-08-25 腾讯科技(深圳)有限公司 The method and apparatus for accessing APK resources
CN107193609A (en) * 2017-05-27 2017-09-22 北京奇虎科技有限公司 Functional module call method and device, electronic equipment in
CN107203524A (en) * 2016-03-16 2017-09-26 阿里巴巴集团控股有限公司 A kind of method for APK file of packing, the method and system for loading Bundle files
CN107463406A (en) * 2017-08-08 2017-12-12 上海连尚网络科技有限公司 Issue the method and electronic equipment of Mobile solution
CN107992308A (en) * 2017-11-22 2018-05-04 竞技世界(北京)网络技术有限公司 A kind of plug-in unit management method of android terminal application program
CN108388453A (en) * 2018-01-15 2018-08-10 珠海格力电器股份有限公司 plug-in management, application program forming method, device and server
CN108595220A (en) * 2018-04-25 2018-09-28 上海掌门科技有限公司 Processing method, equipment and the computer readable storage medium of application component
CN108804082A (en) * 2018-05-10 2018-11-13 北京酷我科技有限公司 A kind of implementation method of plug-in unit JSBridge
CN109408133A (en) * 2017-08-16 2019-03-01 阿里巴巴集团控股有限公司 A kind of method and apparatus starting component
CN109656592A (en) * 2018-12-06 2019-04-19 Oppo广东移动通信有限公司 Card management method, apparatus, terminal and computer readable storage medium
CN110427198A (en) * 2018-04-27 2019-11-08 中兴通讯股份有限公司 Hot restorative procedure, device and the terminal of application program, storage medium
CN110515673A (en) * 2019-07-24 2019-11-29 百度在线网络技术(北京)有限公司 Plug-in unit system and method
CN110908734A (en) * 2019-11-15 2020-03-24 网易(杭州)网络有限公司 Application combination method and device based on plug-in, terminal equipment and storage medium
CN111435313A (en) * 2019-12-09 2020-07-21 杭州海康威视数字技术股份有限公司 Method and device for changing skin of software
CN111857765A (en) * 2020-06-16 2020-10-30 深圳晶泰科技有限公司 Plug-in system for drug design system, and generation method and updating method thereof
CN114528048A (en) * 2022-02-18 2022-05-24 Oppo广东移动通信有限公司 Application execution method, application execution architecture, electronic device and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220059B (en) * 2017-06-14 2021-03-23 北京小米移动软件有限公司 Application interface display method and device
CN110531961B (en) * 2019-07-24 2023-05-23 百度在线网络技术(北京)有限公司 Intelligent service crust breaking system and method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970573A (en) * 2014-05-21 2014-08-06 百度在线网络技术(北京)有限公司 Light application program system for mobile device and program loading system and method thereof
CN104021024A (en) * 2014-06-25 2014-09-03 广州市久邦数码科技有限公司 Loading method and system of tabletop system function screen
CN104123151A (en) * 2013-04-28 2014-10-29 百度在线网络技术(北京)有限公司 Plug-in management method and device for application program in mobile terminal and mobile terminal
CN104391716A (en) * 2014-11-14 2015-03-04 百度在线网络技术(北京)有限公司 Plug-in-based application program implementing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140040231A1 (en) * 2012-08-06 2014-02-06 Hsiu-Ping Lin Methods and systems for searching software applications
CN103530156B (en) * 2013-10-17 2016-11-16 北京奇虎科技有限公司 Dynamic load and the method and device of caller
CN104714828B (en) * 2015-03-31 2017-06-09 北京奇虎科技有限公司 Using installation, operation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123151A (en) * 2013-04-28 2014-10-29 百度在线网络技术(北京)有限公司 Plug-in management method and device for application program in mobile terminal and mobile terminal
CN103970573A (en) * 2014-05-21 2014-08-06 百度在线网络技术(北京)有限公司 Light application program system for mobile device and program loading system and method thereof
CN104021024A (en) * 2014-06-25 2014-09-03 广州市久邦数码科技有限公司 Loading method and system of tabletop system function screen
CN104391716A (en) * 2014-11-14 2015-03-04 百度在线网络技术(北京)有限公司 Plug-in-based application program implementing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZJMDP: "基于Proxy思想的Android插件框架", 《HTTP://BLOG.CSDN.NET/ZJMDP/ARTICLE/DETAILS/40300813》 *

Cited By (42)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016155388A1 (en) * 2015-03-31 2016-10-06 北京奇虎科技有限公司 Method and device for installing and running application
CN106484445A (en) * 2015-08-27 2017-03-08 阿里巴巴集团控股有限公司 The page display method of application program for mobile terminal and device
CN106557343A (en) * 2015-09-30 2017-04-05 阿里巴巴集团控股有限公司 Systematic function application and the method and device of loading resource
CN106909406A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of method and device of the APK plug-in units of loading application programs
CN105872708A (en) * 2015-12-30 2016-08-17 乐视致新电子科技(天津)有限公司 Display desktop generation method, display desktop generation system and smart television
CN105700886A (en) * 2016-01-14 2016-06-22 腾讯科技(北京)有限公司 Display method and terminal of plug-in interface
CN105700886B (en) * 2016-01-14 2019-02-26 腾讯科技(北京)有限公司 The display methods and terminal of plug-in interface
CN105760160A (en) * 2016-02-04 2016-07-13 百度在线网络技术(北京)有限公司 Method, device and system for adding cards from plugins
CN105760160B (en) * 2016-02-04 2020-03-03 百度在线网络技术(北京)有限公司 Method, device and system for adding cards from plug-in
CN107092494B (en) * 2016-02-18 2020-09-01 腾讯科技(深圳)有限公司 Method and device for accessing APK (android Package) resource
CN107092494A (en) * 2016-02-18 2017-08-25 腾讯科技(深圳)有限公司 The method and apparatus for accessing APK resources
CN105740033A (en) * 2016-03-15 2016-07-06 广州彩瞳网络技术有限公司 Terminal equipment, plug-in loading and running device and plug-in loading and running method
CN107203524A (en) * 2016-03-16 2017-09-26 阿里巴巴集团控股有限公司 A kind of method for APK file of packing, the method and system for loading Bundle files
CN105955787A (en) * 2016-05-18 2016-09-21 深圳市掌玩网络技术有限公司 Method and device used for loading plug-in of Android system
CN105955787B (en) * 2016-05-18 2019-11-22 深圳市掌玩网络技术有限公司 A kind of plug-in loading method and device for android system
CN106055330A (en) * 2016-05-31 2016-10-26 深圳卡尔拓客科技有限公司 Management method and system of application program
CN106131612A (en) * 2016-06-30 2016-11-16 武汉斗鱼网络科技有限公司 The method and system of Android app dynamic load resource function module
CN106325923A (en) * 2016-08-17 2017-01-11 北京奇虎科技有限公司 Method and device for managing function plugins
CN106371874A (en) * 2016-08-31 2017-02-01 广州品唯软件有限公司 Plug-in data loading method and equipment
CN106815044A (en) * 2016-12-12 2017-06-09 广州视源电子科技股份有限公司 Method, the apparatus and system of software function extension
CN106886437A (en) * 2017-01-24 2017-06-23 北京奇虎科技有限公司 Application program update method and apparatus
CN106775916A (en) * 2017-02-17 2017-05-31 北京金山安全软件有限公司 Method and device for reducing application installation packages and electronic equipment
CN107015800A (en) * 2017-03-14 2017-08-04 宇龙计算机通信科技(深圳)有限公司 Display methods, device and equipment
CN107193609B (en) * 2017-05-27 2021-05-07 北京奇虎科技有限公司 Function module calling method and device in application and electronic equipment
CN107193609A (en) * 2017-05-27 2017-09-22 北京奇虎科技有限公司 Functional module call method and device, electronic equipment in
CN107463406A (en) * 2017-08-08 2017-12-12 上海连尚网络科技有限公司 Issue the method and electronic equipment of Mobile solution
CN109408133A (en) * 2017-08-16 2019-03-01 阿里巴巴集团控股有限公司 A kind of method and apparatus starting component
CN109408133B (en) * 2017-08-16 2021-12-14 阿里巴巴集团控股有限公司 Method and equipment for starting assembly
CN107992308A (en) * 2017-11-22 2018-05-04 竞技世界(北京)网络技术有限公司 A kind of plug-in unit management method of android terminal application program
CN107992308B (en) * 2017-11-22 2020-10-20 竞技世界(北京)网络技术有限公司 Plug-in management method for android terminal application program
CN108388453A (en) * 2018-01-15 2018-08-10 珠海格力电器股份有限公司 plug-in management, application program forming method, device and server
CN108595220A (en) * 2018-04-25 2018-09-28 上海掌门科技有限公司 Processing method, equipment and the computer readable storage medium of application component
CN108595220B (en) * 2018-04-25 2021-04-16 上海掌门科技有限公司 Application component processing method and device and computer readable storage medium
CN110427198A (en) * 2018-04-27 2019-11-08 中兴通讯股份有限公司 Hot restorative procedure, device and the terminal of application program, storage medium
CN108804082A (en) * 2018-05-10 2018-11-13 北京酷我科技有限公司 A kind of implementation method of plug-in unit JSBridge
CN109656592A (en) * 2018-12-06 2019-04-19 Oppo广东移动通信有限公司 Card management method, apparatus, terminal and computer readable storage medium
CN110515673A (en) * 2019-07-24 2019-11-29 百度在线网络技术(北京)有限公司 Plug-in unit system and method
CN110515673B (en) * 2019-07-24 2022-10-11 百度在线网络技术(北京)有限公司 Plug-in system and method thereof
CN110908734A (en) * 2019-11-15 2020-03-24 网易(杭州)网络有限公司 Application combination method and device based on plug-in, terminal equipment and storage medium
CN111435313A (en) * 2019-12-09 2020-07-21 杭州海康威视数字技术股份有限公司 Method and device for changing skin of software
CN111857765A (en) * 2020-06-16 2020-10-30 深圳晶泰科技有限公司 Plug-in system for drug design system, and generation method and updating method thereof
CN114528048A (en) * 2022-02-18 2022-05-24 Oppo广东移动通信有限公司 Application execution method, application execution architecture, electronic device and storage medium

Also Published As

Publication number Publication date
CN104714828B (en) 2017-06-09
WO2016155388A1 (en) 2016-10-06

Similar Documents

Publication Publication Date Title
CN104714828A (en) Methods and devices for installing and operating application
US10146515B1 (en) Live code updates
CN1120606C (en) Glient-server system for maintaining application preferences in hierarchical data structure
US5768510A (en) Object-oriented system, method and article of manufacture for a client-server application enabler system
Tavares et al. A gentle introduction to OSGi
US7900214B2 (en) System and method for adaptable provisioning of generic application content
US20020188941A1 (en) Efficient installation of software packages
CN101470621A (en) Virtual machine configuration system
CN103902265A (en) Application implementation method and application implementation device
US20120266149A1 (en) Class isolation to minimize memory usage in a device
CN102314358B (en) Method for deploying conventional applications on cloud platform in SOA (service oriented architecture) way
CN100549957C (en) One kind is loaded the method and a kind of isolating and is loaded the device of isolating
CN104750528A (en) Management method and device for components in Android program
CN104699537A (en) Program control method, activity module scheduling method and corresponding devices thereof
CN111897623B (en) Cluster management method, device, equipment and storage medium
CN108363612A (en) The J2EE modules heat deployment and recalls information statistical method realized based on class loaders
CN105516154A (en) Security policy configuration method and device applied to SEAndroid (Security-Enhanced Android) system
CN106569880A (en) Method and system for dynamically sharing resources between Android applications
CN104731622A (en) Application program loading method and device and mobile terminal
CN104580267A (en) A resource downloading method, device, server and corresponding system
CN107329762A (en) A kind of method and system for describing to service with integrated software
CN115421740A (en) Deployment method and device of cloud native application
CN104699536A (en) Active assembly progress space distributing method and corresponding device thereof
CN115794093A (en) Micro front end implementation method based on multi-application fusion
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium

Legal Events

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

Effective date of registration: 20220801

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.