Energy-aware environments for the development of green applications for cyber-physical systems

Abstract Cyber–physical Systems are usually composed by a myriad of battery-powered devices. Therefore, developers should pay attention to the energy consumption of the global system so as not to compromise the system lifetime. There are plenty of experimental studies that give hints about how to reduce the energy consumption. However, this knowledge is not readily available for the software developers of cyber–physical systems. They normally use software development environments that do not provide useful advice about the energy consumption of the software solutions being implemented. In this paper, we propose a Developer Eco-Assistant to integrate the experimental results obtained by researchers into the software development environments, so as to increase the energy-awareness of cyber–physical systems developers. In our solution, the energy information is obtained in real-time from a repository of energy consuming concerns, where researchers store their experimental measurements. Developers use the repository to perform sustainability analyses, which, in turn, will lead to greener design/implementation decisions. In this paper, we illustrate the use of our approach in the context of cyber–physical systems development using both open source environments (e.g. JetBrains IDEs) and proprietary environments (e.g. Waspmote development environment). We experimentally demonstrate that cyber–physical systems can reduce more than 40% of its energy consumption depending on the scenario, reaching approximately 90% in some certain cases.

[1]  Christophe Ponsard,et al.  Energy Efficiency Embedded Service Lifecycle: Towards an Energy Efficient Cloud Computing Architecture , 2014, ICT4S.

[2]  Mónica Pinto,et al.  What Do Software Developers Need to Know to Build Secure Energy-Efficient Android Applications? , 2018, IEEE Access.

[3]  Don S. Batory,et al.  Finding near-optimal configurations in product lines by random sampling , 2017, ESEC/SIGSOFT FSE.

[4]  Krzysztof Czarnecki,et al.  A survey of variability modeling in industrial practice , 2013, VaMoS.

[5]  Gustavo Pinto,et al.  Mining questions about software energy consumption , 2014, MSR 2014.

[6]  Jang-Eui Hong,et al.  Evaluating energy efficiency of Internet of Things software architecture based on reusable software components , 2017, Int. J. Distributed Sens. Networks.

[7]  Deze Zeng,et al.  Towards energy efficient service composition in green energy powered Cyber-Physical Fog Systems , 2018, Future Gener. Comput. Syst..

[8]  Mónica Pinto,et al.  HADAS and web services: Eco-efficiency assistant and repository use case evaluation , 2017, 2017 International Conference in Energy and Sustainability in Small Developing Economies (ES2DE).

[9]  Jose L. Muñoz,et al.  Evaluation of Cryptographic Capabilities for the Android Platform , 2015, FNSS.

[10]  Kirk L. Kroeker Finding diamonds in the rough , 2008, CACM.

[11]  Peter Palensky,et al.  Simulating Cyber-Physical Energy Systems: Challenges, Tools and Methods , 2014, IEEE Transactions on Systems, Man, and Cybernetics: Systems.

[12]  Alexandr Murashkin,et al.  Clafer tools for product line engineering , 2013, SPLC '13 Workshops.

[13]  Alessio Merlo,et al.  A survey on energy-aware security mechanisms , 2015, Pervasive Mob. Comput..

[14]  Markus Wagner,et al.  Optimising Energy Consumption Heuristically on Android Mobile Phones , 2016, GECCO.

[15]  Jong Sou Park,et al.  Multi-cyber framework for availability enhancement of cyber physical systems , 2012, Computing.

[16]  Jiafu Wan,et al.  A survey of Cyber-Physical Systems , 2011, 2011 International Conference on Wireless Communications and Signal Processing (WCSP).

[17]  Mohey M. Hadhoud,et al.  Evaluating the Effects of Symmetric Cryptography Algorithms on Power Consumption for Different Data Types , 2010, Int. J. Netw. Secur..

[18]  Chris J. Wild,et al.  Chance Encounters: A First Course in Data Analysis and Inference Reviewed by Flavia Jolliffe , 1999 .

[19]  Brad A. Myers,et al.  Improving API usability , 2016, Commun. ACM.

[20]  Zili Shao,et al.  Energy-aware assignment and scheduling for hybrid main memory in embedded systems , 2015, Computing.

[21]  Abhik Roychoudhury,et al.  Automated Re-factoring of Android Apps to Enhance Energy-Efficiency , 2016, 2016 IEEE/ACM International Conference on Mobile Software Engineering and Systems (MOBILESoft).

[22]  Joost Visser,et al.  Seflab: A lab for measuring software energy footprints , 2013, 2013 2nd International Workshop on Green and Sustainable Software (GREENS).

[23]  Abram Hindle,et al.  GreenMiner: a hardware based mining software repositories software energy consumption framework , 2014, MSR 2014.

[24]  Mani B. Srivastava,et al.  Exploring Hardware Heterogeneity to Improve Pervasive Context Inferences , 2017, Computer.

[25]  Alfredo De Santis,et al.  Modeling energy-efficient secure communications in multi-mode wireless mobile devices , 2015, J. Comput. Syst. Sci..

[26]  Vipul Gupta,et al.  Energy analysis of public-key cryptography for wireless sensor networks , 2005, Third IEEE International Conference on Pervasive Computing and Communications.

[27]  Lei Yang,et al.  Accurate online power estimation and automatic battery behavior based power model generation for smartphones , 2010, 2010 IEEE/ACM/IFIP International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS).

[28]  Lidia Fuentes,et al.  Green Security Plugin for Pervasive Computing Using the HADAS Toolkit , 2017, 2017 IEEE 15th Intl Conf on Dependable, Autonomic and Secure Computing, 15th Intl Conf on Pervasive Intelligence and Computing, 3rd Intl Conf on Big Data Intelligence and Computing and Cyber Science and Technology Congress(DASC/PiCom/DataCom/CyberSciTech).

[29]  Abram Hindle,et al.  Energy Profiles of Java Collections Classes , 2016, 2016 IEEE/ACM 38th International Conference on Software Engineering (ICSE).

[30]  Lori L. Pollock,et al.  SEEDS: a software engineer's energy-optimization decision support framework , 2014, ICSE.

[31]  Jing Huang,et al.  Energy-Efficient Resource Utilization for Heterogeneous Embedded Computing Systems , 2017, IEEE Transactions on Computers.

[32]  Zhetao Li,et al.  Context-aware collect data with energy efficient in Cyber-physical cloud systems , 2017, Future Gener. Comput. Syst..

[33]  Mingtian Zhou,et al.  The Survey and Future Evolution of Green Computing , 2011, 2011 IEEE/ACM International Conference on Green Computing and Communications.

[34]  Carmen B. Navarrete,et al.  Energy model derivation for the DVFS automatic tuning plugin: tuning energy and power related tuning objectives , 2016, Computing.

[35]  Patrick Kurp,et al.  Green computing , 2008, Commun. ACM.

[36]  Ayaz Ahmad,et al.  Optimizing energy and throughput for MPSoCs: an integer particle swarm optimization approach , 2018, Computing.

[37]  Abram Hindle,et al.  What Do Programmers Know about Software Energy Consumption? , 2016, IEEE Software.

[38]  A. E. Eiben,et al.  Constraint-satisfaction problems. , 2000 .