Font Size: a A A

The Design And Implementation Of Android Data Acquisition SDK For Mobile Application Quality Monitoring Platform

Posted on:2020-04-17Degree:MasterType:Thesis
Country:ChinaCandidate:Z H HuangFull Text:PDF
GTID:2518305735485454Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
Android-based mobile terminals occupy the majority of the market share,and various types of mobile software have been widely used in social life,but with increasing demand and user volume,the code structure of mobile applications is becoming more and more complex.The frequency of errors increases rapidly.The occurrence of errors will lead to obvious user loss,so detecting problems of Android applications as early as possible,positioning and solving them in time has become an urgent problem for mobile developers.Based on the background above,this thesis designs and implements a universal,lightweight and comprehensive data acquisition SDK for Android.It is used to collect data of Android applications and provide it to the mobile application quality monitoring platform to help developers detect,locate and fix errors of the application in time.The data acquisition SDK is mainly divided into five modules.The basic performance indicator monitoring module is mainly responsible for monitoring the basic performance indicators such as memory usage,processor usage,frame rate,disk occupation and data usage of the running application.The event reporting module provides data reporting capability for a specific scenario in the application,and is responsible for reporting the data collected by the monitoring SDK to the monitoring platform.The log acquisition module is used to format and output the log to local file,and provides the ability to upload log files to remote monitor platform.In addition,the white screen detection module and the picture monitoring module are respectively designed for the WebView and Fresco which is the widely used image loading library of Android.The data acquisition SDK can comprehensively collect application basic performance indicators from various aspects of Android application.It can be integrated into the monitored application in a lightweight manner which can improve the develop efficiency.Based on the Android NDK,the log acquisition module implements a file writing method based on memory mapping in native language,instead of ordinary Java 10 file writing method,which greatly improves the log writing speed.Simultaneously,it adopts strategies such as compression and periodical cleaning to control the size of the log file.This module provides log for developers to analysis online issues.
Keywords/Search Tags:Android application, Defect location, Log persistence, Performance monitoring, White screen detection, Memory mapping
PDF Full Text Request
Related items