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

Inactive Publication Date: 2020-04-17
WUHAN JIYI NETWORK TECH CO LTD
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide a detection application based on the Android system in view of the defects of the prior art that cannot cover all scenes, cannot be fully compatible with the characteristics of multiple versions of Android, and cannot find multiple monitoring programs in time. How to Run Programs in Multiple Environments

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
  • Method and system for judging running of application program in multi-open environment based on Android system
  • Method and system for judging running of application program in multi-open environment based on Android system
  • Method and system for judging running of application program in multi-open environment based on Android system

Examples

Experimental program
Comparison scheme
Effect test

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...

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 discloses a method and system for judging running of an application program in a multi-open environment based on an Android system, and the method comprises the steps: firstly, running ato-be-detected application program A, and sequentially obtaining file objects corresponding to a storage path of the application program A or the name of a parent process of the application program Ain a current running environment; and further judging whether the application program A runs in a multi-open environment or not. The method has the beneficial effects that whether the application process is a 64-bit process or a 32-bit process or whether there is a feedback query result in a file list can be judged based on the name of the parent process in the normal and to-be-detected running environment, and further whether the application runs in the multi-open environment can be determined; according to the system and the method, the compatibility problem of the Android is considered, the detection efficiency is improved, and the system and the method have wide application prospect and application value.

Description

technical field [0001] The invention relates to the field of information security, and more specifically, to a detection method based on an Android system to monitor whether an application program in the monitoring system is running in a multi-open environment. Background technique [0002] At present, there are more and more applications or open source projects through virtualization on the market, and there are also open source projects, resulting in many products modified based on this project. These virtualization solutions are very mature and many have been tested in the market. But many sensitive applications, such as payment, social networking, and finance, do not want to run in a virtual environment, because it is easy to forge devices, inject, debug, etc. in a virtual environment. Therefore, how to detect whether the application itself exists in an environment where the application exists in a multi-open environment, and when it is detected that it is in its own vi...

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 Applications(China)
IPC IPC(8): G06F21/53G06F21/55
CPCG06F21/53G06F21/554
Inventor 陈颂颂陈国庆谢强
Owner WUHAN JIYI NETWORK TECH CO LTD
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