Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device and electronic device for embedding code in application

A code location, code technology, applied in software deployment and other directions, can solve problems such as lack, and achieve the effect of high compatibility

Active Publication Date: 2021-07-16
JIANGSU PAYEGIS INFORMATION SECURITY TECH CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the process of implementing the present invention, the inventor found that the existing technology lacks a method that can embed the SDK according to the specified loading sequence, so that the application embedded with the SDK can dynamically call the SDK code according to the specified loading sequence at runtime. Program

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, device and electronic device for embedding code in application
  • Method, device and electronic device for embedding code in application
  • Method, device and electronic device for embedding code in application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0045] figure 1 A schematic flowchart showing a method for embedding codes in an application according to an embodiment of the present invention, as shown in figure 1 As shown, the method includes:

[0046] Step S101 , integrating the SDK into the application, and embedding the loading information of the SDK in the dynamic library information list of the executable file of the application according to a preset loading order.

[0...

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 method, device and electronic equipment for embedding codes in an application. The method includes: integrating an SDK into the application, and embedding the loading of the SDK in the dynamic library information list of the executable file of the application according to a preset loading sequence. information; modify the offset information and length information of the dynamic library loading information contained in the executable file according to the file information of the SDK; modify the loading sequence number information of the original dynamic library contained in the executable file and the code corresponding to the original dynamic library in The offset address information in the executable file is modified, and the sequence number information of the location information of the original dynamic library in the code segment is modified; an updated application file is generated according to the modified executable file. This method can break away from the source code and embed the SDK in accordance with the specified loading order for any application, so that the newly added SDK application can dynamically call the SDK code according to the specified loading order when running, which has higher compatibility.

Description

technical field [0001] The invention relates to the technical field of code integration, in particular to a method, device and electronic equipment for embedding codes in applications. Background technique [0002] SDK (Software Development Kit, software development kit) usually refers to a collection of development tools used by software engineers to create application software for specific software packages, software frameworks, hardware platforms, or operating systems. When developing an application, technicians can connect the SDK to the application and directly use the functions provided by the SDK. Therefore, embedding the SDK in the application helps to enrich the functions of the application and meet the various needs of users. [0003] The prior art (CN 107463359 A) discloses a convenient method for implanting codes in the iOS ipa package, specifically: (1) adding the hook script of the SDK: adding the hook script to the project code in the iOS project source code,...

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 Patents(China)
IPC IPC(8): G06F8/65
CPCG06F8/65
Inventor 汪德嘉华保健邵根波钱潇龄孟啸龙郑小敏
Owner JIANGSU PAYEGIS INFORMATION SECURITY TECH CO LTD