Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Plug-in packaging method and device

A plug-in and plug-in technology, which is applied in the direction of program code conversion, program control design, instrument, etc., can solve the problem of slow packaging speed and achieve the effect of improving packaging speed and compiling speed

Active Publication Date: 2017-04-19
PING AN TECH (SHENZHEN) CO LTD
View PDF9 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a plug-in packaging method and device, aiming to solve the problem that the packaging speed is too slow when the ant method is used for packaging in the existing Android system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Plug-in packaging method and device
  • Plug-in packaging method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 A flow chart of a plug-in packaging method provided by the first embodiment of the present invention is shown, and the details are as follows:

[0025] Step S11, obtaining an executable file obtained by compiling the source code of the host project.

[0026] Wherein, there may be multiple executable files, such as dex-type executable files, and one or more dex files may form a dex package.

[0027] Specifically, determine the host project corresponding to the source code to be compiled (such as determined by the unique identifier and / or version number of the host project), and then compile the source code of the host project (the source code can be java code), compile the host project Get the corresponding executable file after the source code.

[0028] It should be pointed out that there is no fixed sequence between the step S11 and the subsequent steps S12 to S14, that is, the step S11 does not have to be executed before the steps S12 to S14.

[0029] Step...

Embodiment 2

[0056] figure 2 It shows a structural diagram of a plug-in packaging device provided by the second embodiment of the present invention. The plug-in packaging device can be applied to various mobile terminals, and the mobile terminal can include a radio access network RAN ​​and one or more A user equipment that communicates with a core network, the user equipment can be a mobile phone (or called a "cellular" phone), a computer with a mobile device, etc., for example, the user equipment can also be portable, pocket, handheld, computer built-in on-board or on-board mobile devices that exchange voice and / or data with the radio access network. For another example, the mobile device may include a smart phone, a tablet computer, a tutor machine, a personal digital assistant PDA, a sales terminal POS, or a vehicle-mounted computer. For ease of description, only parts related to the embodiments of the present invention are shown.

[0057] The plug-in packaging device 2 includes: an ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a plug-in packaging method and device. The plug-in packaging method comprises the steps of obtaining an executable file obtained from compiling a code of a host engineering; obtaining a host engineering basic library with at least one public basic method included after compiling; adopting a multithreading to compile plug-ins which are needed to be packaged respectively on the basis of the host engineering basic library; storing the compiled plug-ins which are needed to be packaged into resource of the host engineering; packaging the executable file together with the resource of the host engineering into an apk package. According to the plug-in packaging method, the overall packaging speed of the apk is improved.

Description

technical field [0001] The embodiments of the present invention belong to the field of software, and in particular relate to a plug-in packaging method and device. Background technique [0002] If a large code project needs to be recompiled, packaged, and tested every time, it will become very complicated and repetitive. Ant, as a process script engine, is used to automatically call programs to complete project compilation, packaging, and testing. [0003] At present, in the Android system, Ant, as the mainstream packaging tool for Android applications, does not support multi-plugin applications well. It usually requires manual compilation of each plugin and the main project that needs to integrate multiple plugins, so the speed of the entire ant package is too high. Slow and inefficient. Contents of the invention [0004] The embodiment of the present invention provides a plug-in packaging method and device, aiming to solve the problem that the packaging speed is too slo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45
CPCG06F8/41G06F8/44G06F9/45504G06F9/44526
Inventor 李颖
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products