arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1604.00641cs.DC
收藏

COARA:使用AspectJ在Android上卸载代码

COARA: Code Offloading on Android with AspectJ

Roy Friedman, Nir Hauser

摘要:

智能手机的计算能力和电池寿命有限。缓解这些问题的一种方法是代码卸载:在远程服务器上执行应用程序代码。我们介绍了COARA,一个用于Android上代码卸载的中间件平台,它使用面向方面的编程(AOP)和AOP J。AOP允许COARA拦截代码进行卸载,而无需定制编译器或修改操作系统。COARA只需要对应用程序源代码进行最小的更改,并且不要求应用程序开发人员了解AOP。由于到服务器的状态传输通常是阻碍性能的瓶颈,因此COARA使用AOP拦截来自客户机的大型对象的传输,并用对象代理替换它们。服务器可以开始执行卸载的应用程序代码,而不管是否所有必需的对象都已传输到服务器。我们在运行未经修改的Android 4.3的Nexus 4上运行来自Google Play商店的Android应用程序的COARA,以证明我们的平台可以提高性能并降低能耗。我们的方法在WiFi和3G上分别产生24倍和6倍的加速比。

英文摘要:

Smartphones suffer from limited computational capabilities and battery life. A method to mitigate these problems is code offloading: executing application code on a remote server. We introduce COARA, a middleware platform for code offloading on Android that uses aspect-oriented programming (AOP) with AspectJ. AOP allows COARA to intercept code for offloading without a customized compiler or modification of the operating system. COARA requires minimal changes to application source code, and does not require the application developer to be aware of AOP. Since state transfer to the server is often a bottleneck that hinders performance, COARA uses AOP to intercept the transmission of large objects from the client and replaces them with object proxies. The server can begin execution of the offloaded application code, regardless of whether all required objects been transferred to the server. We run COARA with Android applications from the Google Play store on a Nexus 4 running unmodified Android 4.3 to prove that our platform improves performance and reduces energy consumption. Our approach yields speedups of 24x and 6x over WiFi and 3G respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑