Font Size: a A A

Design And Implementation Of Application Anomaly Recovery Mechanism In Android System

Posted on:2018-07-14Degree:MasterType:Thesis
Country:ChinaCandidate:L H HuangFull Text:PDF
GTID:2348330518988054Subject:Cryptography
Abstract/Summary:PDF Full Text Request
In recent years,the popularity and application of smartphones makes the Android mobile application market growing and complex,and a variety of applications appear in the common user's horizons.As mobile apps become more closely integrated into our everyday lives,mobile app interactions ought to be rapid and responsive,and the running process should also be greater fault-tolerant.Unfortunately,uncaught exceptions may also appear in the running processes of the popular social softwares like Weibo,We Chat and so on,causing the program to respond improperly to user inputs.The user have to restart the program,which will result in the loss of the state information of the page browsed before.Moreover,when a fuzzing testing is performed on applications or system services in an Android mobile terminal,the process may be crashed once an excption occurs,and all of the testing needs to be performed from the beginning.Therefore,how to properly save the applications' running states,improve the fault tolerance and reliability in the Android applications is a problem to solve for the such existing defects of Android applications.Aiming at the problems mentioned above,this paper designs and implements an abnormal restoration mechanism for the application software on the Android system.Based on this goal,this paper uses checkpoint technology to implement the system.Checkpoint/restart technology is a very useful in process migration,crash recovery,or transaction rollback.Although the technology has been widely used in Linux and other systems,it has not been specifically applied in the Android system.Checkpoint mechanism is generally divided into two design modes : kernel-level and user-level,combined with the hierarchical design characteristics of the Android system.The system designed in this paper is based on the user-level checkpoint mechanism,and realizes the exception recovery system of the application program in the Android system.The system mainly consists of three modules: the exception monitoring module,the checkpoint setting module and the recovery module.The exception monitoring module is used to monitor the running process of the program in real time;the checkpoint setting module is used to save the process information of the target program under the normal running state;the recovery module ensures that the user process can resume smoothly to the checkpoint point when the program occurs anomaly.How to select the checkpoint setup points in Android is the key to the smooth execution of the program,because the checkpoint setting requires a amount of time and space consumption,so the selection of checkpoint setting points is mainly performed before the user actions(such as touching buttons,etc.),which guarantees the retention of the process state at the checkpoint time,and thus ensuring the possibility of process recovery.
Keywords/Search Tags:Android, process fault tolerance, checkpoint setup and recovery, process monitoring, checkpoint settings point
PDF Full Text Request
Related items