...
【24h】

Refactoring Android Java Code for On-Demand Computation Offloading

机译:重构Android Java代码以实现按需计算分载

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Computation offloading is a promising way to improve the performance as well as reducing the battery power consumption of a smartphone application by executing some parts of the application on a remote server. Supporting such capability is not easy for smartphone application developers due to (1) correctness: some code, e.g., that for GPS, gravity, and other sensors, can run only on the smartphone so that developers have to identify which parts of the application cannot be offloaded; (2) effectiveness: the reduced execution time must be greater than the network delay caused by computation offloading so that developers need to calculate which parts are worth offloading; (3) adaptability: smartphone applications often face changes of user requirements and runtime environments so that developers need to implement the adaptation on offloading. More importantly, considering the large number of today’s smartphone applications, solutions applicable for legacy applications will be much more valuable. In this paper, we present a tool, named DPartner, that automatically refactors Android applications to be the ones with computation offloading capability. For a given Android application, DPartner first analyzes its bytecode for discovering the parts worth offloading, then rewrites the bytecode to implement a special program structure supporting ondemand offloading, and finally generates two artifacts to be deployed onto an Android phone and the server, respectively. We evaluated DPartner on three real-world Android applications, demonstrating the reduction of execution time by 46%-97% and battery power consumption by 27%-83%.
机译:通过在远程服务器上执行应用程序的某些部分,计算分载是提高性能以及降低智能手机应用程序的电池功耗的一种有前途的方式。由于(1)正确性,支持这种功能对于智能手机应用程序开发人员而言并不容易:某些代码(例如,GPS,重力和其他传感器的代码)只能在智能手机上运行,​​因此开发人员必须识别应用程序的哪些部分无法被卸载(2)有效性:减少的执行时间必须大于计算卸载引起的网络延迟,以便开发人员需要计算哪些部件值得卸载; (3)适应性:智能手机应用程序经常面临用户需求和运行时环境的变化,因此开发人员需要在卸载时实施适应性。更重要的是,考虑到当今大量的智能手机应用程序,适用于传统应用程序的解决方案将具有更大的价值。在本文中,我们提出了一个名为DPartner的工具,该工具可以自动将Android应用程序重构为具有计算卸载功能的应用程序。对于给定的Android应用程序,DPartner首先分析其字节码以发现值得卸载的部分,然后重写该字节码以实现支持按需卸载的特殊程序结构,最后生成两个工件分别部署到Android手机和服务器上。我们在三个真实的Android应用程序上对DPartner进行了评估,结果表明执行时间减少了46%-97%,电池功耗减少了27%-83%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号