Method and system for judging running of application program in multi-open environment based on Android system
A technology of application programs and operating methods, applied in the field of information security, can solve problems such as inability to cover all scenarios, inability to be fully compatible with multi-version features of Android, and inability to discover multiple monitoring programs in time, so as to prevent tampering and ensure detection accuracy Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] The present invention provides a method for judging that an application program runs in a multi-open environment based on the Android system, wherein, for the flow of the first implementation method, please refer to figure 1 , which specifically includes the following steps:
[0038]First run the application program A to be detected, and sequentially obtain the file object corresponding to the storage path of the application program A; when using the computer programming language to further realize the specific operation process, you can execute the application program A to start running, and further obtain the application program A in the The corresponding File-file object under the " / data / user / 0 / a" path, its execution code is: File f=new File(" / data / user / 0 / a").
[0039] After obtaining the file object corresponding to the storage path of the application program A, for the file object, execute the file list acquisition method to obtain all file lists under the storage ...
Embodiment 2
[0044] The present invention provides a method for judging that an application program runs in a multi-open environment based on the Android system, wherein, for the process of the second implementation method, please refer to figure 2 , which specifically includes the following steps:
[0045] Run the application A to be detected to obtain the name of its parent process in the current operating environment; further determine whether the application A is running in a multi-open environment; The name of the parent process in a normal environment, because when the name of the parent process of the program is "zygote", it indicates that it is running on a 32-bit operating system, and when the name of the parent process is "zygote64", it indicates that it is running on a 64-bit operating system In the operating system, due to compatibility issues, the current multi-opening technology only supports 32-bit operating environments, but most applications currently support 64-bit opera...
Embodiment 3
[0048] This embodiment provides a system based on the Android system to determine that the application program runs in a multi-open environment. For the system result diagram, please refer to image 3 , the system specifically includes a file acquisition module L1, a parent process acquisition module L2 and a multi-open environment detection module L3, wherein:
[0049] The file acquisition module L1 and the parent process acquisition module L2 are sequentially connected to the multi-open environment detection module L3, and the specific functions of each module are as follows:
[0050] The file acquisition module L1 is used to run the application A to be detected, and sequentially obtain the file object corresponding to the storage path of the application A; in this module, the program code can be executed to obtain the " / data / user / 0 / b" path The corresponding File object: File f=new File(" / data / user / 0 / b").
[0051] The parent process obtaining module L2 is used to respective...
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