Android application permission usage behavior tracking method based on instrumentation technology

An Android application program and application program technology, applied in the computer field, can solve the problems of non-existence of source code compilation mirroring, difficult deployment, unavailable mobile phones, etc., and achieve the effects of convenient use, efficient tracking, and convenient deployment

Active Publication Date: 2017-11-21
TSINGHUA UNIV
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This method is difficult to deploy to all devices, because mobile phones produced by different mobile phone manufacturers have their own specific hardware environments, and there is no universal source code compilation image that can be used for all devices
Moreover, for ordinary users, recompiling the source code and flashing the system image into the mobile phone is not an easy operation, and wrong operations may even cause the mobile phone to be unusable

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
  • Android application permission usage behavior tracking method based on instrumentation technology
  • Android application permission usage behavior tracking method based on instrumentation technology
  • Android application permission usage behavior tracking method based on instrumentation technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0046] Such as figure 1 as shown, figure 1 It shows an overall schematic diagram of a method for tracking the usage behavior of Android application programs based on the instrumentation technology provided by an embodiment of the present invention. The method for tracking the usage behavior of Android application programs based on the insertion technology is mainly composed of static Composed of permission behavior recording services, permission behavior reco...

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 an Android application permission usage behavior tracking method based on a plug-in technology. The method comprises the following steps: extracting a calling function of a permissions-related application programming interface (API) from an uninstalled application installation file, and replacing the API in the calling function with a pre-generated wrapper function; when an application is running, the wrapper function communicates with a permission behavior recording service in a system, and sending permissions-related API calling information to the permission behavior recording service; and recording and displaying a permission usage behavior by the permission behavior recording service. An Android system source code is not required to be changed, the permission-related API can be accurately and efficiently tracked, and the deployment is convenient.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for tracking Android application rights usage behavior based on plug-in technology. Background technique [0002] The Android system provides some sensitive application programming interfaces (Application Programming Interface, API) that allow applications to access sensitive resources stored inside the system through these APIs. When the API accesses certain sensitive resources or performs certain sensitive operations, the permissions corresponding to these system APIs must be declared. These permissions need to be declared in the AndroidManifest.xml configuration file in the Android application installation file. This configuration file together with a bytecode file and some other resource files constitute the Android application installation file. When the application is installed, the Android system will check the configuration file, extract all the permissions de...

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): G06F21/52G06F21/55
CPCG06F21/52
Inventor 胡事民白小龙
Owner TSINGHUA UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products