The rapid development of Internet and mobile communication technology,the popularization of mobile devices have led to explosive growth of the mobile applications.A large number of super applications with tens of millions or even hundreds of millions of users have emerged.With the maturing of software and hardware,applications with rich functions continue to emerge.While people are becoming more and more dependent on mobile applications,the requirements of user experience and application performance are enhanced.However,the fierce market competition,the rapid iteration of versions,the diversity of terminal devices and the fragmentation of operating system,bring great challenges to the quality of mobile application services.In order to provide users with better experience,developers start to leverage mobile application performance management services.This paper first makes a research on related work about mobile application test and performance management service.After then,a performance monitoring and management platform for Android applications is designed for developers.The major work of this paper includes the following four parts:(1)Through the study of the construction process and the construction tools of Android application,a performance monitoring SDK with code no-invasion is implemented,using the byte code modification technology,and serves as a support for other functions.(2)Combined with Html5 technology,the monitoring of the performance data of WebView is realized.(3)In view of the two most overlooked performance problems: memory leaks and caton,anomaly detection is implemented.By extracting reference chains and detailed exception stack information,it can help developers locate problems quickly.(4)A hot fix framework based on Android applications is designed.It can help developers to generate and deliver patch packages,which helps to fix online application crashes and exceptions in time without republishing a new version.At last,a typical mobile application for case analysis is shown to verify the effectiveness of these solutions. |