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

Buried point injection method and device for application program

A technology of application programs and method names, applied in the computer field, can solve the problems of development environment requirements and low applicability

Active Publication Date: 2021-06-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method has requirements on the development environment. The tools provided by some manufacturers can only support part of the development environment. For example, the tools provided by Newrelic only support four Android development environments. The applicability of this embedded method is low.

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
  • Buried point injection method and device for application program
  • Buried point injection method and device for application program
  • Buried point injection method and device for application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, and do not limit the protection scope of the present invention.

[0027] The embodiment of the present invention obtains the code file (.dex file) after decompressing the original installation package of the application program, decompiles the code file to obtain the converted assembly file, and searches the assembly file corresponding to the pre-configured reference condition method, and inject the buried point code corresponding to the method into the corresponding position of the method with the same reference conditions to realize the buried point. By repackaging the assembly file after the buried point into an installation package,...

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 present invention relates to the field of Internet technology, and provides a method and device for injecting buried points into an application program of a terminal device. The method includes: decompressing the original installation package to obtain a code file of the original installation package; performing decompilation on the code file Operation, to obtain the assembly file converted after decompiling the code file; find the method corresponding to the pre-configured reference condition in the assembly file, and the reference condition includes the method name and method signature; in the assembly file, the same as the reference condition The corresponding position of the method is injected with the embedded code corresponding to the method; when the assembly file is searched, the assembly file injected with the embedded code is packaged into an installation package. This method finds the location that needs to be embedded and automatically injects the corresponding embedded code, without the need for manual embedded points, high efficiency, and based on the decompression and decompilation of the original installation package of the application, it can be used for any type of application Buried point injection, wide range of applications.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and device for injecting buried points of application programs. Background technique [0002] Buried points refer to implanting statistical codes at corresponding positions in the code to collect statistics on system performance and user behavior. Whether an application software is in the testing phase or the online operation phase, it needs to be embedded to help product development and operation and maintenance find problems. [0003] There are two traditional ways of burying points. One is manually burying points by developers, which is costly, takes a long time, and cannot guarantee the quality and coverage of burying points. Therefore, this method of burying points is inefficient. The other uses Java (computer programming language) word bytecode to bury the point, and achieves the purpose of modifying Java operation logic by modifying Java bytecode (.class file) ...

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/53G06F11/3612
Inventor 徐安琪
Owner TENCENT TECH (SHENZHEN) CO LTD