An Energy Aware Testing Framework for Smart-Spaces
- 279 Downloads
We propose a novel energy based framework for the validation of smart-spaces. The framework includes, in addition to the given smart-space SS, an exterior environment (Env) that mimics a typical real environment where the SS can be deployed, and a Tester for determining which pre-post condition requirements are satisfied by the SS in the considered Env contexts. The Tester appropriately uses an energy aware simulator to derive device operation sequences (or tests), with minimal power consumptions cost, that can be used to move Env to the intended exterior context and the SS to a context satisfying the given pre-condition. In addition, the Tester monitors the relevant SS context attributes to release verdicts about which pre-post conditions are met under each considered Env context. The framework is deployed in a real SS environment to assess the actual energy consumption of derived tests in practice. Experiments show that the actual power consumption of the derived tests is close to the estimated values. Furthermore, a detailed case study is provided to assess the gains in using energy aware tests in comparison to tests derived using non-energy aware alternatives.
KeywordsUbiquitous computing systems Smart-spaces Minimal energy context move Energy based simulation and testing framework
This work was partially supported by JSPS KAKENHI Grant Numbers 26220001, 16H01721.
- 1.Axelsen, E.W., Johnsen, E.B., Owe, O.: Toward reflective application testing in open environments. In: Proceedings of the Norwegian Informatics Conference (NIK 2004), pp. 192–203 (2004)Google Scholar
- 5.Heimdahl, M.P., George, D.: Test-suite reduction for model based tests: effects on test quality and implications for testing. In: Proceedings of the 19th IEEE International Conference on Automated Software Engineering, pp. 176–185. IEEE Computer Society (2004)Google Scholar
- 7.Jahn, M., Jentsch, M., Prause, C.R., Pramudianto, F., Al-Akkad, A., Reiners, R.: The energy aware smart home. In: 2010 5th International Conference on Future Information Technology, pp. 1–8. IEEE (2010)Google Scholar
- 8.Kashimoto, Y., Ogura, K., Yamamoto, S., Yasumoto, K., Ito, M.: Saving energy in smart homes with minimal comfort level reduction. In: 2013 IEEE International Conference on Pervasive Computing and Communications Workshops, pp. 372–376. IEEE (2013)Google Scholar
- 9.Lai, Z., Cheung, S.C., Chan, W.K.: Inter-context control-flow and data-flow test adequacy criteria for nesC applications. In: Proceedings of the 16th ACM SIGSOFT International Symposium on Foundations of Software Engineering, pp. 94–104. ACM (2008)Google Scholar
- 10.Lu, H., Chan, W., Tse, T.: Testing context-aware middleware-centric programs: a data flow approach and an RFID-based experimentation. In: Proceedings of the 14th ACM SIGSOFT International Symposium on Foundations of Software Engineering, pp. 242–252. ACM (2006)Google Scholar
- 11.M., U.: Simplified method for calculating annual space heating load in residential houses. In: Transactions of the Society of Heating, Air-Conditioning and Sanitary Engineers of Japan, pp. 117–130 (1982), http://www.jma.go.jp/jma/indexe.html
- 12.Mizumoto, T., El-Fakih, K., Yasumoto, K.: PathSim: a tool for finding minimal energy device operation sequence for reaching a target context in a smart-home. In: 2013 IEEE 10th International Conference on Ubiquitous Intelligence and Computing and 2013 IEEE 10th International Conference on Autonomic and Trusted Computing, pp. 64–71, December 2013Google Scholar
- 14.von Ronne, J.: Test suite minimization: an empirical investigation (1999). http://www.ics.uci.edu/jronne/pubs/jvronneuhc-thesis.pdf
- 17.Ueda, K., Tamai, M., Yasumoto, K.: A method for recognizing living activities in homes using positioning sensor and power meters. In: 2015 IEEE International Conference on Pervasive Computing and Communication Workshops, pp. 354–359. IEEE (2015)Google Scholar
- 18.Wang, H., Chan, W., Tse, T.: Improving the effectiveness of testing pervasive software via context diversity. ACM Trans. Auton. Adapt. Syst. (TAAS) 9(2), 9 (2014)Google Scholar