CN109542445A - A kind of method and apparatus that Android plug-in unit melts hair - Google Patents
A kind of method and apparatus that Android plug-in unit melts hair Download PDFInfo
- Publication number
- CN109542445A CN109542445A CN201710646050.0A CN201710646050A CN109542445A CN 109542445 A CN109542445 A CN 109542445A CN 201710646050 A CN201710646050 A CN 201710646050A CN 109542445 A CN109542445 A CN 109542445A
- Authority
- CN
- China
- Prior art keywords
- plug
- engineering
- resource
- unit
- packet
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/44—Encoding
- G06F8/447—Target code generation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
Abstract
The embodiment of the present invention provides a kind of method and apparatus that Android plug-in unit melts hair, is related to field of computer technology.The method of the embodiment of the present invention includes: that common code and public resource that each plug-in unit engineering all uses are compiled to generate and rely on packet;The source code of host's engineering and dependence packet are compiled packing to obtain the installation kit of host's engineering, the source code for not including each plug-in unit engineering of the common code and public resource is compiled packing to obtain the installation kit of each plug-in unit engineering;Load operating environment is constructed in the installation kit of host's engineering to load and run the installation kit of each plug-in unit engineering.Public resource and common code are compiled into host's engineering in the independent form for relying on packet to be supplied to the use of plug-in unit engineering by the method for the embodiment of the present invention, the plug-in unit for realizing Android platform APP engineering melts hair, modules decoupling, greatly promotes compilation speed, improves development efficiency.
Description
Technical field
The present invention relates to computer field more particularly to a kind of method and apparatus that Android plug-in unit melts hair.
Background technique
The development of mobile Internet explosion type, the living habits such as online shopping of user are rapidly from PC (Personal
Computer, personal computer) it holds toward migrating on mobile phone, the on-line off-line scene of many mainstreams can pass through mobile APP
(Application, application program) is completed, and mobile APP carries a large amount of business and function, fast with business and the scale of construction
Speed increases, and causes APP more and more too fat to move, and development difficulty is also increasing, gives the very big challenge of APP developer.
In the prior art using the process of APP exploitation are as follows:
(1) using the version control system (Subversion, SVN) of open source or the distributed version control system of open source
(GIT) etc. code management tools manage institute's source code concentratedly;
(2) all resources and code in source code are compiled using Android Integrated Development Tool (Android Studio),
To obtain executable code;
(3) executable code is integrally packaged using Android Studio and obtains APK (AndroidPackage) installation
Packet;
(4) APK installation kit is published to each application market.
In realizing process of the present invention, at least there are the following problems in the prior art for inventor's discovery:
(1) source code centralized management causes code library excessively huge, and code degree of coupling is high, updates slowly, compiling error is several
Rate is big, and a module error blocks entire APP compiling, seriously affects development efficiency;
(2) whole compilation speed is slow, and especially on windows platform, Android developing instrument itself is based on JAVA
(being a kind of programming language of object-oriented) virtual machine platform, operational efficiency is slow, then compilation run huge generation on its basis
Code library, causes compilation speed very slow;
(3) Bug (defect or problem that occur in representation program) can not be repaired quickly on line, due to all code and
Resource has just been packed into APK installation kit in compiling, and at runtime, all codes and resource compiled into can not be again
Change, once Bug occurs in environment on line, can not repair in time, can only be solved by the publication entire APP of new version update, generation
Valence is very expensive;
(4) can not selective updating module, only some module need online new function when, it is also desirable to entire
APP issues new version.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method and apparatus that Android plug-in unit melts hair, by public resource
Host's engineering is compiled into be supplied to the use of plug-in unit engineering in the independent form for relying on packet with common code, realizes Android
The plug-in unit of platform APP engineering melts hair, and modules decoupling greatly promotes compilation speed, improves development efficiency.
To achieve the above object, according to an aspect of an embodiment of the present invention, it provides a kind of Android plug-in unit and melts hair
Method.
The method that a kind of Android plug-in unit of the embodiment of the present invention melts hair, comprising: the public affairs for all using each plug-in unit engineering
Code and public resource are compiled to generate and rely on packet altogether;The source code of host's engineering and dependence packet are compiled and are beaten
Packet will not include each plug-in unit engineering of the common code and public resource to obtain the installation kit of host's engineering
Source code is compiled packing to obtain the installation kit of each plug-in unit engineering;Construction adds in the installation kit of host's engineering
Running environment is carried to load and run the installation kit of each plug-in unit engineering.
Optionally, the method also includes: for the resource of host's engineering, the public resource and each plug-in unit work
Different resource identifications is arranged in the resource of journey, and rule is arranged in the resource of each plug-in unit engineering are as follows: the money of each plug-in unit engineering
Packet mark between the packet mark in source each plug-in unit engineering different and described from the resource of host's engineering, the packet mark of public resource
Knowledge is all different;The packet mark of the system default of each plug-in unit engineering is replaced with to the packet mark of setting.
Optionally, load operating environment is constructed, comprising: the resource and code of load each plug-in unit engineering.
Optionally, the resource of each plug-in unit engineering is loaded, comprising: the installation kit of all plug-in unit engineerings is held in creation
Path asset management class;Customized delegation resource loading classes, the example of the asset management class of creation is incoming described
The example of asset management class in system is replaced with to the asset management of creation in the building method of delegation resource loading classes
The example of class;The resource loading classes of system are replaced with by the delegation resource loading classes using Hook technology.
Optionally, the path of the installation kit of the plug-in unit engineering is added to the path column of Classloader using Hook technology
In table.
To achieve the above object, according to another aspect of an embodiment of the present invention, it provides a kind of Android plug-in unit and melts hair
Device.
A kind of Android plug-in unit of the embodiment of the present invention melts the device of hair, comprising: relies on packet generation module, being used for will
The common code and public resource that each plug-in unit engineering all uses are compiled to generate and rely on packet;Packetization module is compiled, being used for will
The source code of host's engineering and dependence packet are compiled packing to obtain the installation kit of host's engineering, will not include institute
The source code for stating each plug-in unit engineering of common code and public resource is compiled packing to obtain each plug-in unit engineering
Installation kit;Environment construction module, for constructing load operating environment in the installation kit of host's engineering to load and transport
The installation kit of row each plug-in unit engineering.
Optionally, described device further include: resource identification setup module, for the resource, described for host's engineering
Different resource identifications is arranged in the resource of public resource and each plug-in unit engineering, and rule is arranged in the resource of each plug-in unit engineering
Are as follows: the packet of the resource of each plug-in unit engineering identifies and institute different from the resource of host's engineering, the packet mark of public resource
The packet mark stated between each plug-in unit engineering is all different;Packet mark replacement module, for the system of each plug-in unit engineering to be write from memory
The packet mark recognized replaces with the packet mark of setting.
Optionally, the environment construction module includes: to load the resource and code of each plug-in unit engineering.
Optionally, the environment construction module includes: the path that the installation kit of all plug-in unit engineerings is held in creation
Asset management class;The example of the asset management class of creation is passed to the delegation resource by customized delegation resource loading classes
Example in the building method of loading classes the example of asset management class in system to be replaced with to the asset management class of creation;
The resource loading classes of system are replaced with by the delegation resource loading classes using Hook technology.
Optionally, the path of the installation kit of the plug-in unit engineering is added to the path column of Classloader using Hook technology
In table.
To achieve the above object, according to an embodiment of the present invention in another aspect, providing a kind of electronic equipment.
The a kind of electronic equipment of the embodiment of the present invention, comprising: one or more processors;Storage device, for storing one
A or multiple programs, when one or more of programs are executed by one or more of processors, so that one or more
A processor realizes the method that a kind of Android plug-in unit of the embodiment of the present invention melts hair.
To achieve the above object, according to an embodiment of the present invention in another aspect, providing a kind of computer-readable medium.
A kind of computer-readable medium of the embodiment of the present invention, is stored thereon with computer program, and described program is processed
The method that a kind of Android plug-in unit of the embodiment of the present invention melts hair is realized when device executes.
One embodiment in foregoing invention has the following advantages that or the utility model has the advantages that by public resource and common code with only
The vertical form for relying on packet is compiled into host's engineering to be supplied to the use of plug-in unit engineering, and plug-in unit engineering code is extracted out from original engineering
After rely on this rely on packet exploitation, reduce plug-in unit enforcement difficulty, make engineering centralization exploitation can smoothly switch plug-in unit
Formula development mode;The plug-in unit of the embodiment of the present invention melts forwarding method and decouples module, greatly promotes compilation speed, and reduction compiles out
Wrong probability, is greatly improved development efficiency;Using Hook technology, to system application interface (Application
Programming Interface, API) lightweight Hook is carried out, with dynamically load plug-in unit in memory;When occurring Bug on line
Dynamic restoring can be carried out to corresponding module, which need to only be repaired to deployment to server-side, and client is from server-side
The APK installation kit for downloading the plug-in unit engineering, without issuing new version again;It may specify that module is upgraded, without updating
Entire APP.
Further effect possessed by above-mentioned non-usual optional way adds hereinafter in conjunction with specific embodiment
With explanation.
Detailed description of the invention
Attached drawing for a better understanding of the present invention, does not constitute an undue limitation on the present invention.Wherein:
Fig. 1 is the schematic diagram of the key step for the method that Android plug-in unit according to an embodiment of the present invention melts hair;
Fig. 2 is the system architecture diagram that Android plug-in unit according to an embodiment of the present invention melts hair;
Fig. 3 is the flow chart of the resource of each plug-in unit engineering of load according to an embodiment of the present invention;
Fig. 4 is the schematic diagram of the main modular for the device that Android plug-in unit according to an embodiment of the present invention melts hair;
Fig. 5 is that the embodiment of the present invention can be applied to exemplary system architecture figure therein;
Fig. 6 is the structural schematic diagram for being suitable for the computer installation of the electronic equipment to realize the embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing, an exemplary embodiment of the present invention will be described, including the various of the embodiment of the present invention
Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize
It arrives, it can be with various changes and modifications are made to the embodiments described herein, without departing from scope and spirit of the present invention.Together
Sample, for clarity and conciseness, descriptions of well-known functions and structures are omitted from the following description.
Fig. 1 is the schematic diagram of the key step for the method that Android plug-in unit according to an embodiment of the present invention melts hair.Such as figure
Shown in 1, the method that the Android plug-in unit of the embodiment of the present invention melts hair mainly includes the following steps:
Step S101: common code and public resource that each plug-in unit engineering all uses are compiled to generate and rely on packet.
It is host's engineering and at least one plug-in unit engineering by the APP Engineering Division of Android platform, a business module is stood alone as
One plug-in unit engineering only includes code relevant to this business module in the plug-in unit engineering, each plug-in unit engineering is all used
Common code and public resource are generated the independent packet that relies on and exported by code and resource to should be used as common code and public resource,
This independently relies on after packet extended meeting by direct compilation into host's engineering.The dependence packet that the embodiment of the present invention is formed is AAR format,
AAR (Android Archive) packet is Android library item purpose binary system archive file, can be relied on and use by Other Engineering.
Step S102: the source code of host's engineering and dependence packet are compiled packing to obtain host's engineering
Installation kit, by the source code for not including each plug-in unit engineering of the common code and public resource be compiled packing with
Obtain the installation kit of each plug-in unit engineering.In Android exploitation, if having used some third-party code in APP engineering
Library (such as OkHttp, be the open source projects of a processing network request), then OkHttp can be compiled by APP engineering automatically
It goes.The code of plug-in unit engineering itself and resource export to the APK installation kit to form standard, common code and public resource only according to
Rely without being bundled in the APK installation kit of plug-in unit engineering, it is subsequent to pass through the running environment of construction plug-in unit engineering in host's engineering
Carry out the APK installation kit of load operating plug-in unit engineering.
Step S103: it is described each slotting to load and run that load operating environment is constructed in the installation kit of host's engineering
The installation kit of part engineering.After each business module is implemented plug-in unit, the APK installation kit of plug-in unit engineering is not to be mounted directly
On mobile phone, system can not be transferred to directly to handle, the APK installation kit itself of host program is needed to construct a plug-in unit engineering
APK installation kit load operating environment, load and run the resource and code of each plug-in unit engineering by this environment.
Fig. 2 is the system architecture diagram that Android plug-in unit according to an embodiment of the present invention melts hair.As shown in Fig. 2, of the invention
The system that the Android plug-in unit of embodiment melts hair includes host's engineering and multiple plug-in unit engineerings, all by each plug-in unit engineering
The code and resource used is extracted as common code and public resource, and common code and public resource are compiled to be formed solely
Vertical dependence packet, it is subsequent by the dependence packet direct compilation into host's engineering.The APK installation kit of host's engineering, which can be directly mounted at, to be set
It is standby upper, start to construct the load operating environment of the APK installation kit of plug-in unit engineering, plug-in unit after the APK installation kit operation of host's engineering
The APK installation of engineering has been surrounded by after this environment, can have been run when the APK installation kit for using plug-in unit engineering
Come.
The specific implementation compiled in step S102 is described in detail below: Android source code mainly includes code
With resource two parts, so its compiling is also largely divided into two codes and resource part.
Wherein, the compilation process of code are as follows: JAVA source file is compiled into JAVA bytecode, then JAVA bytecode is linked
At Dex (executable file of Android platform) bytecode.Above-mentioned compilation process needs to be aligned the JAR packet of plug-in unit engineering dependence
Carry out normal compilation again afterwards.
Wherein, the compilation process of resource are as follows: be resource, the public resource and each plug-in unit work of host's engineering
Different resource identifications is arranged in the resource of journey, and rule is arranged in the resource of each plug-in unit engineering are as follows: the money of each plug-in unit engineering
Packet mark between the packet mark in source each plug-in unit engineering different and described from the resource of host's engineering, the packet mark of public resource
Knowledge is all different;The packet mark of the system default of each plug-in unit engineering is replaced with to the packet mark of setting.
When searching and locating resource in Android, need to search by unique resource identification (ResourceID),
Resource ID is integer value, the value by the Software Development Kit of Android (Software Development Kit,
SDK the Android resource strapping tool (Android Asset Packaging Tool, AAPT) carried in) generates, specific to tie
Structure are as follows: ResourceID=Package ID+Type ID+Entry ID.Wherein, Package ID is packet mark, for limiting
The source of resource;Type ID is the type identification of resource, each resource type can be endowed a mark;Entry ID is
The mark of resource entity under specific type.
In above-mentioned specific structure, the value rule of Package ID are as follows: the system resource Package of Android platform
ID is equal to 0x01, and the Package ID of user resources is equal to 0x7f, all Package between [0x01-0x7f]
ID is legal.Wherein, user resources refer to developer's resource that oneself is introduced in engineering, such as one of oneself definition
Character string, the picture that oneself is introduced.The value rule of the Package ID of Android platform is shown in Table 1:
Table 1 is the value rule list of Package ID
System resource | User resources | Legal ID range | |
Package ID | 0x01 | 0x7f | [0x01,0x7f] |
Separately below by taking system resource and user resources as an example, Resource ID is illustrated: system resource: such as
Public static final int ok=0x01040000;Wherein, 0x01 indicates Package ID, and 04 indicates Type ID,
0000 indicates Entry ID.User resources: such as publicstatic final int app_name=0x7f060001;Wherein,
0x7f indicates Package ID, and 06 indicates Type ID, and 0001 indicates Entry ID.
Referring to above-mentioned background, since public resource meeting direct compilation is into the APK installation kit of host's engineering, to prevent host from providing
There is resource contention (such as host's resource A, public resource B, plug-in unit between any two in source, public resource and different plug-in unit engineering
Engineering C and plug-in unit engineering D, needs to place A, B, C, D and resource contention does not occur between any two), following normal constraint need to be carried out:
(1) public resource uses independent NameSpace, and the PackageID in Resource ID uses system default
0x7f;NameSpace is defaulted as the packet name of APP, for example wraps entitled test.com, then the NameSpace of resource is
Test.com.R, the Bao Mingke are configured in the inventory file of Android;
(2) host's resource uses the NameSpace of system default, and the Package ID in Resource ID uses system
The 0x7f of default, but do not allow the name with public resource identical, i.e. the Type ID of host's resource and public resource or
Entry ID is different;
(3) the Package ID value range of other plug-in unit engineerings is (0x01,0x7f), and each plug-in unit engineering distribution is different
Package ID, thus completely avoid the Resource ID punching between host's resource, public resource and different plug-in unit
It is prominent.The specific allocation rule of Package ID of different plug-in units is shown in Table 2:
Table 2 is the Package ID allocation table of different plug-in units
Plug-in unit engineering 1 | Plug-in unit engineering 2 | … | Plug-in unit engineering 125 | |
Package ID | 0x02 | 0x03 | … | 0x7e |
After being compiled to resource, all resources can be generated an integer index by AAPT tool, and be written to
In R.java file.In order to generate Resource ID according to above-mentioned normal constraint, the operation carried out is needed are as follows:
(1) AAPT source code is transformed, to realize when the Package ID write-in of plug-in unit engineering, is replaced
The Package ID of oneself distribution is written in the 0x7f of system default.Specific implementation are as follows: increase one newly in AAPT source code --
Apk-packageid parameter recompilates the AAPT tool that generates, what the Package ID use of plug-in unit engineering had been allocated in advance
Value, passes through -- and apk-packageid parameter passes to the parsing of AAPT tool, and such AAPT tool, which just will use, to be passed into
Package ID replaces the 0x7f of system default.
(2) it sets public resource to being only involved in compiling, be not written into the R.java file of plug-in unit engineering.Specific implementation
Mode are as follows: set dependencies for the dependence mode of public resource in Android Studio.Plug-in unit engineering in this way
R.java file in just do not include public resource Resource ID, will not in host's engineering public resource or its
His plug-in unit engineering conflict.
It is divided into the resource and code two of load plug-in unit engineering to the specific implementation of load operating environment in step S103 below
Part is described in detail:
Wherein, load the process of resource: the resource load of Android loads (Resources) class and Assets Reorganization Taking by resource
It manages (AssetManager) class to complete, Resources class and AssetManager class are the systems by constructing when system initialization
The APK installation kit path of APP itself is added by AssetManager class, then give AssetManager class according to
The rule of Resource ID is searched.However, the AssetManager class of system after engineering plug-in unit is not included plug-in unit work
The path of the APK installation kit of journey can not directly be handled by the Resources class of system default and AssetManager class.
Fig. 3 is the flow chart of the resource of each plug-in unit engineering of load according to an embodiment of the present invention.As shown in figure 3, of the invention
The resource of each plug-in unit engineering of load of embodiment, can be realized by following steps:
Step S301: the AssetManager class in the path of the APK installation kit of all plug-in unit engineerings is created.
AssetManager class can not call directly its constructed fuction, can pass through newInstance method construct AssetManager
One example of class calls hiding addAssetPath method by reflection, using the path of each plug-in unit APK file as ginseng
Number is incoming, and the AssetManager class constructed in this way has just held the path of the APK installation kit of all plug-in unit engineerings.
Step S302: customized delegation resource loads (DelegateResource) class, by AssetManager in system
Example replace with creation DelegateResource class example.Oneself define a DelegateResources class after
The Resources class from system is held, the example of the AssetManager class created in step (1) is passed to
In the building method of DelegateResources class, the AssetManager example of system oneself wound has been substituted for thus
The example for the AssetManager class built.
Step S303: the Resources class of system is replaced with by DelegateResource class using Hook technology.Hook
Technology is a kind of technology for changing API implementing result.Specific implementation are as follows:
1. Hook ActivityThread class, by the mResources in ActivityThread class LoadedApk example
The example that member variable is substituted for customized DelegateResources class.APP can be by the APK of installation when starting
Installation kit is converted into the LoadedApk example an of memory object.
2. the mResources member variable in ContextImpl class is substituted for and makes by oneself by Hook ContextImpl class
The example of the DelegateResources class of justice.
3. the mResources member variable of Activity class is substituted for customized by Hook Activity class
The example of DelegateResources class.Activity class by ActivityThread class member variable
MInstrumentation creation, after Activity creation, Hook Activity class.
Wherein, the process of loading code: android system loading classes default is complete by Classloader PathClassLoader
At after PathClassLoader has member variable pathList, APP the starting initialization of a DexPathList type
PathList member variable can hold the Dex bytecode of APP in memory, only need to be by the path of the APK installation kit of plug-in unit engineering
It is added in pathList, it can be by the PathClassLoader of system come loading code.Specific steps are described as follows:
(1) the member variable pathList of the DexPathList type in Hook PathClassLoader;The step
Purpose is the pathList member variable for obtaining PathClassLoader.
(2) Hook calls the loadDexFile method in pathList member variable, by the APK installation kit of plug-in unit engineering
The example in loadDexFile method to generate a DexFile type is passed to the output directory of Dexization;In the step
The result of Dexization can release a .dex be suffix name file, output directory be it is customized, in APP installation procedure mesh
Record is lower;Dex file in APK installation kit eventually creates a DexFile example in memory.
(3) the dexElements member variable of Hook DexPathList class;The purpose of the step is to get step
(1) the dexElements member variable of the pathList in.
(4) the DexFile example generated in step (2) is built into an Element example, by the Element example
It is put into the dexElements member variable of step (3) acquisition.
The method that Android plug-in unit through the embodiment of the present invention melts hair can be seen that public resource and public generation
Code in the independent form for relying on packet is compiled into host's engineering to be supplied to the use of plug-in unit engineering, by plug-in unit engineering code from original work
This is relied on after journey extraction and relies on packet exploitation, reduces plug-in unit enforcement difficulty, smoothly switch the exploitation of engineering centralization can
To plug-in type development mode;The plug-in unit of the embodiment of the present invention melts forwarding method and decouples module, greatly promotes compilation speed, reduces
The probability for compiling error, is greatly improved development efficiency;Using Hook technology, lightweight Hook is carried out to system API, in memory
Middle dynamically load plug-in unit;Dynamic restoring can be carried out when occurring Bug on line to corresponding module, after need to only repairing the plug-in unit engineering
It is deployed to server-side, client downloads the APK installation kit of the plug-in unit engineering from server-side, without issuing new version again;
It may specify that module is upgraded, without updating entire APP.
Fig. 4 is the schematic diagram of the main modular for the device that Android plug-in unit according to an embodiment of the present invention melts hair.Such as figure
Shown in 4, the Android plug-in unit of the embodiment of the present invention melts the device 400 of hair, specifically includes that
Packet generation module 401 is relied on, common code and public resource for all using each plug-in unit engineering are compiled
Packet is relied on to generate.It is host's engineering and at least one plug-in unit engineering by the APP Engineering Division of Android platform, one
Business module stands alone as a plug-in unit engineering, only includes code relevant to this business module in the plug-in unit engineering, inserts each
The code and resource that part engineering all uses generate common code and public resource only to should be used as common code and public resource
It is vertical to rely on packet output, this independently is relied on wrap after extended meeting by direct compilation into host's engineering.The dependence that the embodiment of the present invention is formed
Packet is AAR format.
Packetization module 402 is compiled, for the source code of host's engineering and dependence packet to be compiled packing to obtain
The installation kit of host's engineering, will not include the source code of each plug-in unit engineering of the common code and public resource into
Row compiling is packaged to obtain the installation kit of each plug-in unit engineering.It exports the code of plug-in unit engineering itself and resource to form standard
APK installation kit, common code and public resource only rely on without being bundled in the APK installation kit of plug-in unit engineering, it is subsequent
By constructing the running environment of plug-in unit engineering come the APK installation kit of load operating plug-in unit engineering in host's engineering.
Environment construction module 403, for constructed in the installation kit of host's engineering load operating environment to load and
Run the installation kit of each plug-in unit engineering.After each business module is implemented plug-in unit, the APK installation kit of plug-in unit engineering is simultaneously
It is not directly mounted on mobile phone, system can not be transferred to directly to handle, the APK installation kit itself of host program is needed to construct
The load operating environment of the APK installation kit of one plug-in unit engineering, loaded and run by this environment each plug-in unit engineering resource and
Code.Hook technical construction load operating environment is used in embodiment to load the resource and code of each plug-in unit engineering.
In addition, the Android plug-in unit of the embodiment of the present invention melts the device of hair further include: resource identification setup module and packet
Identify replacement module (the two modules are not shown in the figure), resource identification setup module be used for for host's engineering resource,
Different resource identifications, the resource setting of each plug-in unit engineering is arranged in the resource of the public resource and each plug-in unit engineering
Rule are as follows: the packet mark of the resource of each plug-in unit engineering is different from the resource of host's engineering, the packet mark of public resource
And the packet mark between each plug-in unit engineering is all different;Packet mark replacement module, for being by each plug-in unit engineering
The packet mark of system default replaces with the packet mark of setting.
From the above, it can be seen that public resource and common code are compiled into host's work in the independent form for relying on packet
Journey relies on this to be supplied to the use of plug-in unit engineering, by plug-in unit engineering code after the extraction of original engineering and relies on packet exploitation, drop
Undershoot part enforcement difficulty makes the exploitation of engineering centralization that can smoothly switch plug-in type development mode;The embodiment of the present invention
Plug-in unit melts forwarding method and decouples module, greatly promotes compilation speed, reduces the probability of compiling error, and exploitation effect is greatly improved
Rate;Using Hook technology, lightweight Hook is carried out to system API, with dynamically load plug-in unit in memory;When occurring Bug on line
Dynamic restoring can be carried out to corresponding module, which need to only be repaired to deployment to server-side, and client is from server-side
The APK installation kit for downloading the plug-in unit engineering, without issuing new version again;It may specify that module is upgraded, without updating
Entire APP.
Fig. 5 shows the method or Android plug-in unit that hair can be melted using the Android plug-in unit of the embodiment of the present invention
The exemplary system architecture 500 of the device of exploitation.
As shown in figure 5, system architecture 500 may include terminal device 501,502,503, network 504 and server 505.
Network 504 between terminal device 501,502,503 and server 505 to provide the medium of communication link.Network 504 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 501,502,503 and be interacted by network 504 with server 505, to receive or send out
Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 501,502,503
(merely illustrative) such as the application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform softwares.
Terminal device 501,502,503 can be the various electronic equipments with display screen and supported web page browsing, packet
Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 505 can be to provide the server of various services, such as utilize terminal device 501,502,503 to user
The shopping class website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to reception
To the data such as information query request analyze etc. processing, and by processing result (such as target push information, product letter
Breath -- merely illustrative) feed back to terminal device.
It should be noted that Android plug-in unit provided by the embodiment of the present application melts the method for hair generally by server
505 execute, and correspondingly, the device that Android plug-in unit melts hair is generally positioned in server 505.
It should be understood that the number of terminal device, network and server in Fig. 5 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
According to an embodiment of the invention, the present invention also provides a kind of electronic equipment and a kind of computer-readable medium.
Electronic equipment of the invention includes: one or more processors;Storage device, for storing one or more journeys
Sequence, when one or more of programs are executed by one or more of processors, so that one or more of processors are real
A kind of method of principal and subordinate's cluster switching of the existing embodiment of the present invention.
Computer-readable medium of the invention is stored thereon with computer program, real when described program is executed by processor
A kind of method of principal and subordinate's cluster switching of the existing embodiment of the present invention.
Below with reference to Fig. 6, it illustrates the computer systems 600 being suitable for realize the electronic equipment of the embodiment of the present invention
Structural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, function to the embodiment of the present invention and should not use model
Shroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and
Execute various movements appropriate and processing.In RAM 603, also it is stored with computer system 600 and operates required various programs
And data.CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605
It is connected to bus 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;
And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon
Computer program be mounted into storage section 608 as needed.
Particularly, disclosed embodiment, the process of key step figure description above may be implemented as counting according to the present invention
Calculation machine software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable
Computer program on medium, the computer program include the program code for executing method shown in key step figure.?
In such embodiment, which can be downloaded and installed from network by communications portion 609, and/or from can
Medium 611 is dismantled to be mounted.When the computer program is executed by central processing unit (CPU) 601, system of the invention is executed
The above-mentioned function of middle restriction.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard
The mode of part is realized.Described module also can be set in the processor, for example, can be described as: a kind of processor packet
It includes and relies on packet generation module, compiling packetization module and environment construction module.Wherein, the title of these units is under certain conditions simultaneously
The restriction to the unit itself is not constituted, is also described as " all using each plug-in unit engineering for example, relying on packet generation module
Common code and public resource be compiled with generate rely on packet module ".
As on the other hand, the present invention also provides a kind of computer-readable medium, which be can be
Included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, makes
Obtaining the equipment includes: that common code and public resource that each plug-in unit engineering all uses are compiled to generate and rely on packet;By place
The source code of main works and dependence packet are compiled packing to obtain the installation kit of host's engineering, will not include described
The source code of common code and each plug-in unit engineering of public resource is compiled packing to obtain each plug-in unit engineering
Installation kit;Load operating environment is constructed in the installation kit of host's engineering to load and run the peace of each plug-in unit engineering
Dress packet.
From the above, it can be seen that public resource and common code are compiled into host's work in the independent form for relying on packet
Journey relies on this to be supplied to the use of plug-in unit engineering, by plug-in unit engineering code after the extraction of original engineering and relies on packet exploitation, drop
Undershoot part enforcement difficulty makes the exploitation of engineering centralization that can smoothly switch plug-in type development mode;The embodiment of the present invention
Plug-in unit melts forwarding method and decouples module, greatly promotes compilation speed, reduces the probability of compiling error, and exploitation effect is greatly improved
Rate;Using Hook technology, lightweight Hook is carried out to system API, with dynamically load plug-in unit in memory;When occurring Bug on line
Dynamic restoring can be carried out to corresponding module, which need to only be repaired to deployment to server-side, and client is from server-side
The APK installation kit for downloading the plug-in unit engineering, without issuing new version again;It may specify that module is upgraded, without updating
Entire APP.
Method provided by the embodiment of the present invention can be performed in the said goods, has the corresponding functional module of execution method and has
Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to method provided by the embodiment of the present invention.
Above-mentioned specific embodiment, does not constitute a limitation on the scope of protection of the present invention.Those skilled in the art should be bright
It is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and substitution can occur.It is any
Made modifications, equivalent substitutions and improvements etc. within the spirit and principles in the present invention, should be included in the scope of the present invention
Within.
Claims (12)
1. a kind of method that Android plug-in unit melts hair characterized by comprising
Common code and public resource that each plug-in unit engineering all uses are compiled to generate and rely on packet;
The source code of host's engineering and dependence packet are compiled and are packaged to obtain the installation kit of host's engineering, it will not
It is described each slotting to obtain that the source code of each plug-in unit engineering comprising the common code and public resource is compiled packing
The installation kit of part engineering;
Load operating environment is constructed in the installation kit of host's engineering to load and run the installation of each plug-in unit engineering
Packet.
2. the method according to claim 1, wherein the method also includes:
Different resource marks is arranged in resource for the resource of host's engineering, the public resource and each plug-in unit engineering
Know, rule is arranged in the resource of each plug-in unit engineering are as follows: packet mark and the host's engineering of the resource of each plug-in unit engineering
Resource, the packet mark of public resource is different and each plug-in unit engineering between packet mark be all different;
The packet mark of the system default of each plug-in unit engineering is replaced with to the packet mark of setting.
3. the method according to claim 1, wherein construction load operating environment, comprising: load each plug-in unit
The resource and code of engineering.
4. according to the method described in claim 3, it is characterized in that, the resource of load each plug-in unit engineering, comprising:
The asset management class in the path of the installation kit of all plug-in unit engineerings is held in creation;
The example of the asset management class of creation is passed to the delegation resource loading classes by customized delegation resource loading classes
Example in building method the example of asset management class in system to be replaced with to the asset management class of creation;
The resource loading classes of system are replaced with by the delegation resource loading classes using Hook technology.
5. according to the method described in claim 3, it is characterized in that, the code of load each plug-in unit engineering, comprising: use
The path of the installation kit of the plug-in unit engineering is added in the path list of Classloader by Hook technology.
6. the device that a kind of Android plug-in unit melts hair characterized by comprising
Rely on packet generation module, common code and public resource for all using each plug-in unit engineering be compiled with generate according to
Rely packet;
Packetization module is compiled, for the source code of host's engineering and dependence packet to be compiled packing to obtain the host
The source code for not including each plug-in unit engineering of the common code and public resource is compiled and beats by the installation kit of engineering
Packet is to obtain the installation kit of each plug-in unit engineering;
Environment construction module is loaded and is run for constructing load operating environment in the installation kit of host's engineering and is described
The installation kit of each plug-in unit engineering.
7. device according to claim 6, which is characterized in that described device further include:
Resource identification setup module, for for the resource of host's engineering, the public resource and each plug-in unit engineering
Different resource identifications is arranged in resource, and rule is arranged in the resource of each plug-in unit engineering are as follows: the resource of each plug-in unit engineering
Packet mark between packet mark each plug-in unit engineering different and described from the resource of host's engineering, the packet mark of public resource is equal
It is not identical;
Packet mark replacement module, the packet mark of setting is replaced with for the packet mark by the system default of each plug-in unit engineering
Know.
8. device according to claim 6, which is characterized in that the environment construction module includes: load each plug-in unit
The resource and code of engineering.
9. device according to claim 8, which is characterized in that the environment construction module includes:
The asset management class in the path of the installation kit of all plug-in unit engineerings is held in creation;
The example of the asset management class of creation is passed to the delegation resource loading classes by customized delegation resource loading classes
Example in building method the example of asset management class in system to be replaced with to the asset management class of creation;
The resource loading classes of system are replaced with by the delegation resource loading classes using Hook technology.
10. device according to claim 8, which is characterized in that the environment construction module includes: will using Hook technology
The path of the installation kit of the plug-in unit engineering is added in the path list of Classloader.
11. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as method as claimed in any one of claims 1 to 5.
12. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor
Such as method as claimed in any one of claims 1 to 5 is realized when row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710646050.0A CN109542445A (en) | 2017-08-01 | 2017-08-01 | A kind of method and apparatus that Android plug-in unit melts hair |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710646050.0A CN109542445A (en) | 2017-08-01 | 2017-08-01 | A kind of method and apparatus that Android plug-in unit melts hair |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109542445A true CN109542445A (en) | 2019-03-29 |
Family
ID=65821461
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710646050.0A Pending CN109542445A (en) | 2017-08-01 | 2017-08-01 | A kind of method and apparatus that Android plug-in unit melts hair |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109542445A (en) |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110221877A (en) * | 2019-06-12 | 2019-09-10 | 北京字节跳动网络技术有限公司 | A kind of operation method of application program, device, electronic equipment and storage medium |
CN110297644A (en) * | 2019-06-24 | 2019-10-01 | 深圳市酷开网络科技有限公司 | A kind of homepage, which suspends, applies setting method, intelligent terminal and storage medium |
CN110597516A (en) * | 2019-08-27 | 2019-12-20 | 贝壳技术有限公司 | Plug-in code obfuscation method and apparatus, electronic device, and storage medium |
CN110688096A (en) * | 2019-09-10 | 2020-01-14 | 平安普惠企业管理有限公司 | Method, device, medium and electronic equipment for constructing application program containing plug-in |
CN110941443A (en) * | 2019-12-12 | 2020-03-31 | 支付宝(杭州)信息技术有限公司 | Method and device for modifying file name in SDK and electronic equipment |
CN111026397A (en) * | 2019-10-22 | 2020-04-17 | 烽火通信科技股份有限公司 | Rpm packet distributed compiling method and device |
CN111061486A (en) * | 2019-12-10 | 2020-04-24 | 杭州有赞科技有限公司 | Android application program increment method |
CN111090425A (en) * | 2019-12-12 | 2020-05-01 | 支付宝(杭州)信息技术有限公司 | Program packaging method and device and electronic equipment |
CN111258587A (en) * | 2020-01-17 | 2020-06-09 | 苏宁云计算有限公司 | Method, device, equipment and storage medium for realizing android application plug-in |
CN111290760A (en) * | 2020-03-03 | 2020-06-16 | 北京字节跳动网络技术有限公司 | Application program compiling method and device, electronic equipment and storage medium |
CN111309335A (en) * | 2020-02-28 | 2020-06-19 | 腾讯音乐娱乐科技(深圳)有限公司 | Plug-in application compiling method and device and computer readable storage medium |
CN111367510A (en) * | 2020-02-24 | 2020-07-03 | 腾讯音乐娱乐科技(深圳)有限公司 | Android function module development method and device |
CN111459892A (en) * | 2020-03-31 | 2020-07-28 | 民生科技有限责任公司 | Android system-based non-invasive aar merging method |
CN111552524A (en) * | 2020-05-06 | 2020-08-18 | Oppo(重庆)智能科技有限公司 | Plug-in loading method and device and computer readable storage medium |
CN111638882A (en) * | 2020-05-29 | 2020-09-08 | 杭州鸿雁电器有限公司 | Method and device for generating operation interface, storage medium and processor |
CN111740876A (en) * | 2020-05-29 | 2020-10-02 | 北京沃东天骏信息技术有限公司 | Application program, test method, storage medium and electronic equipment |
CN111737504A (en) * | 2020-06-23 | 2020-10-02 | 网易(杭州)网络有限公司 | Image resource detection method, device, equipment and storage medium |
CN112511607A (en) * | 2020-11-18 | 2021-03-16 | 上海七牛信息技术有限公司 | Edge node system of content distribution network |
CN113076146A (en) * | 2021-03-09 | 2021-07-06 | 北京一亩田新农网络科技有限公司 | Dynamic APK loading method, device, system and medium |
CN113076147A (en) * | 2021-03-09 | 2021-07-06 | 北京一亩田新农网络科技有限公司 | Resource loading method, device, system and medium for dynamic APK |
WO2023202299A1 (en) * | 2022-04-20 | 2023-10-26 | 北京字跳网络技术有限公司 | Sdk upgrade method and apparatus, and computer device |
CN117093286A (en) * | 2023-10-17 | 2023-11-21 | 腾讯科技(深圳)有限公司 | Plug-in generation method, device, equipment and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399792A (en) * | 2013-07-24 | 2013-11-20 | 佳都新太科技股份有限公司 | Implementation scheme of Android-based plug-in applications |
EP3147783A1 (en) * | 2015-09-28 | 2017-03-29 | Semmle Limited | Automatic determination of compiler configuration |
-
2017
- 2017-08-01 CN CN201710646050.0A patent/CN109542445A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399792A (en) * | 2013-07-24 | 2013-11-20 | 佳都新太科技股份有限公司 | Implementation scheme of Android-based plug-in applications |
EP3147783A1 (en) * | 2015-09-28 | 2017-03-29 | Semmle Limited | Automatic determination of compiler configuration |
Non-Patent Citations (3)
Title |
---|
_区长: "Android插件化开发之OpenAtlas资源打包工具补丁aapt的编译", 《CSDN博客,HTTPS://BLOG.CSDN.NET/SBSUJJBCY/ARTICLE/DETAILS/47778879》 * |
ZJYMAC: "Android Small插件化", 《CSDN博客,HTTPS://BLOG.CSDN.NET/QQ_34398675/ARTICLE/DETAILS/53310639》 * |
水缘泡泡: "携程Android App的插件化和动态加载框架", 《HTTPS://WWW.SYPOPO.COM/POST/DJQBX1MW5J/》 * |
Cited By (36)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110221877A (en) * | 2019-06-12 | 2019-09-10 | 北京字节跳动网络技术有限公司 | A kind of operation method of application program, device, electronic equipment and storage medium |
CN110221877B (en) * | 2019-06-12 | 2022-06-07 | 北京字节跳动网络技术有限公司 | Application program running method and device, electronic equipment and storage medium |
CN110297644A (en) * | 2019-06-24 | 2019-10-01 | 深圳市酷开网络科技有限公司 | A kind of homepage, which suspends, applies setting method, intelligent terminal and storage medium |
CN110597516A (en) * | 2019-08-27 | 2019-12-20 | 贝壳技术有限公司 | Plug-in code obfuscation method and apparatus, electronic device, and storage medium |
CN110597516B (en) * | 2019-08-27 | 2023-10-20 | 贝壳技术有限公司 | Confusion method and device for plug-in code, electronic equipment and storage medium |
CN110688096B (en) * | 2019-09-10 | 2024-03-01 | 刘艾勇 | Method and device for constructing application program containing plug-in, medium and electronic equipment |
CN110688096A (en) * | 2019-09-10 | 2020-01-14 | 平安普惠企业管理有限公司 | Method, device, medium and electronic equipment for constructing application program containing plug-in |
CN111026397B (en) * | 2019-10-22 | 2022-12-20 | 烽火通信科技股份有限公司 | Rpm packet distributed compiling method and device |
CN111026397A (en) * | 2019-10-22 | 2020-04-17 | 烽火通信科技股份有限公司 | Rpm packet distributed compiling method and device |
CN111061486A (en) * | 2019-12-10 | 2020-04-24 | 杭州有赞科技有限公司 | Android application program increment method |
CN111090425A (en) * | 2019-12-12 | 2020-05-01 | 支付宝(杭州)信息技术有限公司 | Program packaging method and device and electronic equipment |
CN110941443A (en) * | 2019-12-12 | 2020-03-31 | 支付宝(杭州)信息技术有限公司 | Method and device for modifying file name in SDK and electronic equipment |
CN111258587B (en) * | 2020-01-17 | 2023-08-22 | 苏宁云计算有限公司 | Android application plug-in implementation method, device, equipment and storage medium |
CN111258587A (en) * | 2020-01-17 | 2020-06-09 | 苏宁云计算有限公司 | Method, device, equipment and storage medium for realizing android application plug-in |
CN111367510A (en) * | 2020-02-24 | 2020-07-03 | 腾讯音乐娱乐科技(深圳)有限公司 | Android function module development method and device |
CN111367510B (en) * | 2020-02-24 | 2024-03-19 | 腾讯音乐娱乐科技(深圳)有限公司 | Android function module development method and device |
CN111309335A (en) * | 2020-02-28 | 2020-06-19 | 腾讯音乐娱乐科技(深圳)有限公司 | Plug-in application compiling method and device and computer readable storage medium |
CN111309335B (en) * | 2020-02-28 | 2023-08-15 | 腾讯音乐娱乐科技(深圳)有限公司 | Compiling method and device of plug-in application and computer readable storage medium |
CN111290760A (en) * | 2020-03-03 | 2020-06-16 | 北京字节跳动网络技术有限公司 | Application program compiling method and device, electronic equipment and storage medium |
CN111290760B (en) * | 2020-03-03 | 2023-03-31 | 北京字节跳动网络技术有限公司 | Application program compiling method and device, electronic equipment and storage medium |
CN111459892A (en) * | 2020-03-31 | 2020-07-28 | 民生科技有限责任公司 | Android system-based non-invasive aar merging method |
CN111552524A (en) * | 2020-05-06 | 2020-08-18 | Oppo(重庆)智能科技有限公司 | Plug-in loading method and device and computer readable storage medium |
CN111552524B (en) * | 2020-05-06 | 2023-10-13 | Oppo(重庆)智能科技有限公司 | Plug-in loading method and device and computer readable storage medium |
CN111638882A (en) * | 2020-05-29 | 2020-09-08 | 杭州鸿雁电器有限公司 | Method and device for generating operation interface, storage medium and processor |
CN111740876B (en) * | 2020-05-29 | 2022-09-30 | 北京沃东天骏信息技术有限公司 | Application device, test method, storage medium and electronic equipment |
CN111638882B (en) * | 2020-05-29 | 2022-03-11 | 杭州鸿雁电器有限公司 | Method and device for generating operation interface, storage medium and processor |
CN111740876A (en) * | 2020-05-29 | 2020-10-02 | 北京沃东天骏信息技术有限公司 | Application program, test method, storage medium and electronic equipment |
CN111737504B (en) * | 2020-06-23 | 2023-09-15 | 网易(杭州)网络有限公司 | Image resource detection method, device, equipment and storage medium |
CN111737504A (en) * | 2020-06-23 | 2020-10-02 | 网易(杭州)网络有限公司 | Image resource detection method, device, equipment and storage medium |
CN112511607A (en) * | 2020-11-18 | 2021-03-16 | 上海七牛信息技术有限公司 | Edge node system of content distribution network |
CN113076147A (en) * | 2021-03-09 | 2021-07-06 | 北京一亩田新农网络科技有限公司 | Resource loading method, device, system and medium for dynamic APK |
CN113076146A (en) * | 2021-03-09 | 2021-07-06 | 北京一亩田新农网络科技有限公司 | Dynamic APK loading method, device, system and medium |
CN113076147B (en) * | 2021-03-09 | 2024-02-02 | 北京一亩田新农网络科技有限公司 | Dynamic APK resource loading method, device, system and medium |
WO2023202299A1 (en) * | 2022-04-20 | 2023-10-26 | 北京字跳网络技术有限公司 | Sdk upgrade method and apparatus, and computer device |
CN117093286A (en) * | 2023-10-17 | 2023-11-21 | 腾讯科技(深圳)有限公司 | Plug-in generation method, device, equipment and computer readable storage medium |
CN117093286B (en) * | 2023-10-17 | 2024-01-12 | 腾讯科技(深圳)有限公司 | Plug-in generation method, device, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109542445A (en) | A kind of method and apparatus that Android plug-in unit melts hair | |
US11269660B2 (en) | Methods and systems for integrated development environment editor support with a single code base | |
US8549490B2 (en) | Static code analysis for packaged application customization | |
CN108830720A (en) | Intelligent contract operation method, device, system and computer readable storage medium | |
CN105373390A (en) | OEM-oriented online software customization packaging release method and apparatus | |
CN106843976B (en) | Method and apparatus for generating image file | |
CN110324169A (en) | A kind of method and apparatus of interface management | |
CN105630684B (en) | Software Development Kit recognition methods and device | |
CN109981322A (en) | The method and apparatus of cloud resource management based on label | |
CN110109979A (en) | A kind of allocation list radio button method and apparatus | |
CN110389762A (en) | The method and apparatus of AAR packet are handled in Android engineering | |
CN112764792B (en) | Method and device for upgrading associated server version application and electronic equipment | |
CN109783197A (en) | Dispatching method and device for program runtime environment | |
CN110134427A (en) | A kind of method and apparatus generating code file | |
CN108958826A (en) | The method and apparatus of dynamic configuration application installation package | |
CN109241033A (en) | The method and apparatus for creating real-time data warehouse | |
CN107463406A (en) | Issue the method and electronic equipment of Mobile solution | |
CN109002282A (en) | A kind of method and apparatus for realizing animation effect in web page exploitation | |
CN109814957A (en) | A kind of label addition method and device for IOS system | |
CN111125064A (en) | Method and device for generating database mode definition statement | |
CN113535220B (en) | Code packet management method and device | |
CN108845864A (en) | A kind of JVM rubbish recovering method and device based on spring frame | |
CN112631563A (en) | System development method and device based on framework, computer equipment and storage medium | |
CN109117199A (en) | The configuring management method and device of distributed program | |
CN110119279A (en) | A kind of method and apparatus applied and its upgrade |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190329 |
|
RJ01 | Rejection of invention patent application after publication |