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

Method and system for implementing dynamic loading of advertisement SDK (software development kit)

A technology of dynamic loading and implementation methods, applied in the direction of program loading/starting, program control design, program control device, etc., can solve the problems of impact, unfavorable promotion and retention rate, etc., and achieve the effect of increasing the initial package body

Inactive Publication Date: 2016-08-10
GUANGZHOU GOMO SHIJI TECH CO LTD
View PDF3 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Such an implementation method will have an impact on the size of the APP package, and as the number of connected advertising SDKs increases, the APP package will become larger, which is not conducive to the promotion and retention rate of the APP.

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
  • Method and system for implementing dynamic loading of advertisement SDK (software development kit)
  • Method and system for implementing dynamic loading of advertisement SDK (software development kit)

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0027] Such as figure 1 As shown, a system for dynamically loading an advertising SDK, the system includes:

[0028] The download module is connected to the server to download the class.dex file and resource file of the advertising SDK; when there are multiple advertising SDKs on the server, each advertising SDK has a different class.dex file, and the resources of multiple advertising SDKs are unified Put it in an APK file, connect to the server to download multiple class.dex files of the advertising SDK and a resource file;

[0029] Load the module, through the proxy interface of the advertising SDK in the main program, use the DexClassLoader class loader to load the class.dex class file of the advertising SDK, and use reflection to call the addAssetPath method in the Android system AssertManager resource manager, and the downloaded resource file Loaded into the resource file of the main program;

[0030] Call the function module to manage the classes, interfaces and method...

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 provides a method for implementing dynamic loading of an advertisement SDK (software development kit). The method comprises steps as follows: a downloading module is connected with a server, and a class.dex class file and a resource file of the advertisement SDK are downloaded; the downloaded resource file is loaded in a resource file of a main program by calling an addAssetPath method in an AssertManager resource manager of an Android system in a reflecting manner by means of DexClassLoader type class.dex class files loaded from the advertisement SDK via an agent port of the advertisement SDK in the main program; classes, ports and methods in the advertisement SDK are managed through agency of the advertisement SDK in the main program. By means of the method, an initial package cannot be enlarged no matter how many advertisement SDKs are required to be used. The invention further provides a system for implementing dynamic loading of the advertisement SDK.

Description

technical field [0001] The invention relates to the technical field of mobile terminal advertisement SDK loading, in particular to a method for dynamically loading an advertisement SDK and an implementation system thereof. Background technique [0002] In general, if an APP needs to access a third-party advertising SDK, it needs to be imported as a project resource, then coded, and then call the interface of the external SDK to realize the implantation of external advertisements. Such an implementation method will have an impact on the size of the APP package, and as the number of connected advertising SDKs increases, the APP package will become larger, which is not conducive to the promotion and retention rate of the APP. Contents of the invention [0003] Aiming at the deficiencies of the existing technology, the purpose of the present invention is to provide a dynamic loading advertising SDK that can dynamically load the advertising SDK and its resources into the APP, n...

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
IPC IPC(8): G06F9/445G06Q30/02
CPCG06F9/44521G06Q30/0241
Inventor 邓裕强张杰敏郑相灿蒋旭文谭文浩
Owner GUANGZHOU GOMO SHIJI TECH 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