Supercharge Your Innovation With Domain-Expert AI Agents!

Mobile application execution sequence reduction method based on context

A technology for executing sequences and mobile applications. It is applied in the fields of instruments, electrical digital data processing, and calculations. It can solve the problems of long reduction time, the execution sequence cannot reach the reduction sequence, and the number of iterations is too many.

Pending Publication Date: 2022-03-04
NANJING MUCE INFORMATION TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Prior to this, some teams and individuals have been engaged in research on fuzz testing technology. In the process of performing sequence reduction, the data generated by test tools may be different. It is necessary to develop good standards to distinguish the side effects of events in order to eliminate Redundant events driven by triggered errors, the flaw of Simplydroid tool is that it has randomness in sequence selection, resulting in too many iterations and scaling down takes too long
The defect of the Echo tool is that the crash recurrence rate of the detected results is not high, and some execution sequences cannot reach the simplest reduced sequence

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
  • Mobile application execution sequence reduction method based on context
  • Mobile application execution sequence reduction method based on context
  • Mobile application execution sequence reduction method based on context

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] In order to better understand the technical content of the present invention, specific embodiments are given together with the attached drawings for description as follows.

[0071] figure 1 It is a flowchart of a context-based mobile application execution sequence reduction method implemented in the present invention.

[0072] The mobile application execution sequence reduction method based on the context is characterized by comprising the following steps.

[0073] S1soot instrumentation, input the application to be tested, analyze the PackageName of the application, and specify it as the instrumented package; initialize the soot tool and set parameters, insert log output statements after all method calls; use the soot tool to generate a new application and sign.

[0074] S2 sequence filtering, input the original execution sequence script; initialize the application information, start the virtual machine to connect to the Appium tool; use the Appium tool to install t...

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 relates to a context-based mobile application execution sequence reduction method. According to the method, aiming at an input event sequence when the Android application breaks down, a static analysis technology is used, aiming at a specified package, all methods in the specified package are called, log output statements are inserted through soot instrumentation, and a new application program is generated; log information is extracted through data flow analysis to be matched with an original execution sequence, a reduce algorithm for filtering useless events is constructed in an auxiliary mode through change features of a UI, and the execution sequence is filtered in the first step; on this basis, a program slicing technology is applied, extraction of slice dependency is achieved, slice analysis is conducted on a corresponding sequence of crash, so that a sequence of necessary events is generated, on the basis of a spanning tree algorithm of second-step reduction, the length and sequence of the sequence are optimized and reduced through the necessary events, and finally a minimum execution sequence is generated. The invention aims to solve the problem of optimization of precision and time of execution sequence reduction on a mobile application at present, so as to help a mobile tester to obtain an effective simplest sequence result within limited time, and help the mobile tester to formulate a reasonable scheme and strategy for solving abnormity. Finally, the purposes of improving the software testing efficiency and guaranteeing the software quality are achieved.

Description

technical field [0001] The invention belongs to the field of software testing and program analysis, and is especially suitable for the field of security and reliability of test programs in mobile testing. It is a method for testers to determine the defects of application software and locate problem codes within a limited time. Background technique [0002] In recent years, the mobile Internet industry has shown explosive growth. The number and complexity of mobile applications is increasing rapidly. According to statistics, Android OS accounted for 87.8% of the smartphone market share in the third quarter of 2016. In Google Play, there are more than 2.6 million Android applications. To improve end-user satisfaction, mobile application developers must improve the quality of their applications, and mobile testing is an important measure to achieve this goal. Different kinds of testing techniques have been proposed to test Android applications, including fuzzing, GUI traver...

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): G06F11/36
CPCG06F11/3692
Inventor 冯洋郝蕊周孟博陈伟黄澴
Owner NANJING MUCE INFORMATION TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More