咨询与建议

看过本文的还看了

相关文献

该作者的其他文献

文献详情 >LegoDroid: flexible Android ap... 收藏

LegoDroid: flexible Android app decomposition and instant installation

作     者:Yi LIU Yun MA Xusheng XIAO Tao XIE Xuanzhe LIU 

作者机构:School of Computer Science Peking University Key Laboratory of High Confidence Software Technologies(Peking University) Ministry of Education Institute for Artificial Intelligence Peking University Department of Computer and Data Sciences Case Western Reserve University 

出 版 物:《Science China(Information Sciences)》 (中国科学:信息科学(英文版))

年 卷 期:2023年第66卷第4期

页      面:155-173页

核心收录:

学科分类:08[工学] 0835[工学-软件工程] 0812[工学-计算机科学与技术(可授工学、理学学位)] 081202[工学-计算机软件与理论] 

基  金:supported by National Key Research and Development Program of China (Grant No. 2020YFB2104100) National Natural Science Foundation of China (Grant Nos. 61725201, 62161146003) Beijing Outstanding Young Scientist Program (Grant No. BJJWZYJH01201910001004) Beijing Nova Program (Grant No. Z211100002121159) PKU-Baidu Fund Project (Grant No. 2020BD007) 

主  题:performance software bloat instant installation mobile applications program analysis 

摘      要:Current mobile applications(apps) have become increasingly complicated with increasing features that are represented on the graphical user interface associated with application programming interfaces(APIs) to access backend functionality and data. Meanwhile, apps suffer from the “software bloat in volume. Some app features may be redundant, with respect to those features(from other apps) that the users already desirably and frequently use. However, the current app release model forces users to download and install a full-size installation package rather than optionally choosing only their desired features. Large-size apps can not only increase the local resource consumption, such as CPU, memory, and energy, but also inevitably compromise the user experience, such as the slow load time in the app. In this article, we first conduct an empirical study to characterize the app feature usage when users interact with Android apps,and surprisingly find that users access only a very small subset of app features. Based on these findings,we design a new approach named Lego Droid, which automatically decomposes an Android app for flexible loading and installation, while preserving the expected functionality with a fast and instant app load. With such a method, a slimmer bundle will be downloaded and host the target APIs inside the original app to satisfy users’ requirements. We implement a system for Lego Droid and evaluate it with 1000 real-world Android apps. Compared to the original full-size apps, apps optimized by Lego Droid can substantially improve the load time by reducing the base bundle and feature bundles by 13.06% and 10.93%, respectively,along with the app-package installation size by 44.17%. In addition, we also demonstrate that Lego Droid is quite practical with evolving versions, as it can produce substantial reusable code to alleviate the developers’ efforts when releasing new app versions.

读者评论 与其他读者分享你的观点

用户名:未登录
我的评分