Android application page automatic traversal method and system0

A page and traversal technology, applied in the field of data processing, can solve problems such as network traffic, differences, and increase in control scale that cannot fully trigger mobile applications

Active Publication Date: 2021-05-11
UNIV OF JINAN
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the inventor found that the existing automated traffic collection platform only focuses on the speed of network traffic collection, and there is no relevant research and discussion on how to efficiently trigger network traffic and effective traversal methods.
Although Android automated testing technology can be applied to simulate the operation of Android applications to obtain network traffic, the focus of the two is slightly different. Traditional Android testing focuses more on triggering mobile application bugs, while traffic ...

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 page automatic traversal method and system0
  • Android application page automatic traversal method and system0
  • Android application page automatic traversal method and system0

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] The purpose of this embodiment is to provide a method for automatically traversing Android application pages.

[0063] A method for automatically traversing Android application pages, comprising:

[0064] Step (1): Acquire basic APK information, set program termination conditions, and start APK to enter the initial page;

[0065] Wherein, the step of described step (1) comprises:

[0066] Step (1-1): Use the aapt command to obtain the basic information of the APK, version number, application name, package name and initial activity, mainly package and launchable-activity;

[0067] Step (1-2): Program termination condition setting, here you can use time and operation steps to determine the end time of the program;

[0068] Step (1-3): Start the APK through the ADB command and launchable-activity and enter the initial page;

[0069] Step (2): Obtain and analyze the page information to obtain the operable initial control set in the page;

[0070] Wherein, the detailed s...

Embodiment 2

[0149] The purpose of this embodiment is to provide an Android application page automatic traversal system.

[0150] An Android application page automation traversal system, comprising:

[0151] A page parsing unit, which is used to obtain and parse page information, and obtain an operable initial control set in the page;

[0152] A page existence determination unit, which is used to determine whether the current page is a new page, if so, perform a similarity analysis on the initial controls obtained in the page parsing unit, and save the page to the page collection, if not, start from the page Load the page in the collection;

[0153] A page operation unit, which is used to select a control to be operated from the control set by using probability and random selection strategy, and perform a click or slide operation;

[0154] an information updating unit, which is used to update the current information;

[0155] The page traversal unit searches for the curren...

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 page automatic traversal method and system, and the scheme comprises the steps: obtaining page information, carrying out the analysis, and obtaining an operable initial control set in a page; judging whether the current page is a new page or not, if yes, performing similarity analysis on the obtained initial control, and storing the page in a page set, and if not, loading the page from the page set; selecting a control to be operated from the control set by using probability and a random selection strategy, and executing a click or slide operation; updating the current information; searching a current optimal page according to the page weight, skipping to the optimal page, and iteratively executing the operation to realize automatic traversal of the page; through improvement in the aspect of control scale and page traversal selection, the automatic traversal efficiency is effectively improved, richer network traffic is obtained, and rich traffic support is provided for malicious application detection of a mobile platform.

Description

technical field [0001] The disclosure belongs to the technical field of data processing, and in particular relates to a method and system for automatically traversing Android application pages. Background technique [0002] The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art. [0003] The detection of malicious applications on mobile platforms has always been a major concern in the field of network security. According to the latest report of AV-TEST, the downward trend in the number of malicious applications from 2016 to 2018 has ended. Since 2019, malicious applications have begun to rise sharply. increase. In addition, in order to avoid detection of malicious applications, attackers continue to increase the complexity of malicious applications. [0004] In recent years, a detection method based on mobile network traffic has been proposed. This method can complete the detection ...

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): G06F16/957G06F16/953
CPCG06F16/957G06F16/953
Inventor 陈贞翔张刚荆山李恩龙杨波
Owner UNIV OF JINAN
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