论文标题

EGEN:一种节能建模语言和代码生成器,用于移动应用的位置感应

eGEN: An Energy-saving Modeling Language and Code Generator for Location-sensing of Mobile Apps

论文作者

Boyalakuntla, Kowndinya, C, Marimuthu, Chimalakonda, Sridhar, K, Chandrasekaran

论文摘要

近年来,减少基于位置应用的能源消耗的需求增加。 GPS的电池耗尽行为异常,使开发人员很难直接决定在开发阶段进行优化。如果考虑到较早的电池电池策略,并且由设计阶段工件产生相关的电池感知代码,则将减轻开发人员的负担。因此,我们旨在开发工具支持EGEN,以指定和创建基于本地位置的移动应用程序。 EGEN由特定于域的建模语言(DSML)和用于位置传感的代码生成器组成。它是使用XTEXT和XTEND作为Eclipse插件开发的,目前,它支持本机Android应用程序。通过在五个基于位置的开源Android应用程序中仪器来评估EGEN通过对照实验进行评估。实验结果表明,每小时平均降低GPS的平均水平为4.35分钟,电池消耗平均减少188 MA,同时仅显示97米的位置精度降低了循环路径的3公里。因此,我们认为EGEN生成的代码将帮助开发人员在基于位置的应用程序的能源和准确性要求之间平衡。源代码,文档,工具演示视频和工具安装视频可在https://github.com/kowndinya2000/egen上找到。

The demand for reducing the energy consumption of location-based applications has increased in recent years. The abnormal battery-draining behavior of GPS makes it difficult for the developers to decide on battery optimization during the development phase directly. It will reduce the burden on developers if battery-saving strategies are considered early, and relevant battery-aware code is generated from the design phase artifacts. Therefore, we aim to develop tool support, eGEN, to specify and create native location-based mobile apps. eGEN consists of Domain-specific Modeling Language (DSML) and a code generator for location-sensing. It is developed using Xtext and Xtend as an Eclipse plug-in, and currently, it supports native Android apps. eGEN is evaluated through controlled experiments by instrumenting the generated code in five location-based open-source Android applications. The experimental results show 4.35 minutes of average GPS reduction per hour and 188 mA of average reduction in battery consumption while showing only 97 meters degrade in location accuracy over 3 kilometers of a cycling path. Hence, we believe that code generated by eGEN would help developers to balance between energy and accuracy requirements of location-based applications. The source code, documentation, tool demo video, and tool installation video are available at https://github.com/Kowndinya2000/egen.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源