Mobile app performance data collection method based on function interception technology
A technology of data acquisition and collection method, applied in the direction of inter-program communication, multi-programming device, etc., can solve the problems of unable to stop normally, unable to identify which process the data comes from, incomplete performance data, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] The specific implementation steps of the present invention are as follows:
[0036] step one:
[0037] Before the target APP starts, use ptrace call to inject your own dynamic library S into the zyogte process, and use ADDRESS HOOK to intercept the fork method, and complete the related network functions in LibC (getaddrinfo, gethostbyname, connect, send) in the fork replacement function. , sendto, write, sendmsg, recv, recvfrom, read, recvmsg, close) and socket event monitoring functions (select, poll, epoll_wait) do the initialization process of Inline Hook; in this way, because the APP process is copied by zygote (copy) Come out, when the APP process is started, the Inline Hook for the APP process has been completed;
[0038] The reason why this method can intercept the process network data is as follows:
[0039] There are two ways to call the network of APP programs under Android: one is to implement by calling java network libraries, such as java.net.Socket and java.net.H...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com