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

Buried point injection method and device of application programs

A technology of application program and method name, applied in the computer field, which can solve problems such as low applicability and requirements for development environment

Active Publication Date: 2018-09-14
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 7 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 of application programs
  • Buried point injection method and device of application programs
  • Buried point injection method and device of application programs

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 invention relates to the technical field of internet, and provides a buried point injection method and device of application programs for terminal equipment. The method includes performing decompression on an original installation package to obtain the code files of the original installation package; executing decompilation operation on the code files to obtain converted assembly files after the decompilation operation is performed on the code files; searching a method corresponding to a pre-configured reference condition in the assembly files, the reference condition including method names and method signatures; injecting a buried point code corresponding to the method at a corresponding position of a method which is the same with the reference condition in the assembly files; and packing the assembly files injected with the buried point code into an installation package after the searching of the assembly files is completed. The method can automatically inject the corresponding buried point code after finding the position needing buried points without artificial point burying; the method is high in efficiency; and the method can be used for the buried point injecting of any application programs based on the realization of the decompression and decompilation on the original installation package of the application programs, and thus, the method has wide application ranges.

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