Advertisement

An Energy Aware Testing Framework for Smart-Spaces

  • Teruhiro Mizumoto
  • Khaled El-FakihEmail author
  • Keiichi Yasumoto
  • Teruo Higashino
Conference paper
  • 279 Downloads
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11146)

Abstract

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.

Keywords

Ubiquitous computing systems Smart-spaces Minimal energy context move Energy based simulation and testing framework 

Notes

Acknowledgment

This work was partially supported by JSPS KAKENHI Grant Numbers 26220001, 16H01721.

References

  1. 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
  2. 2.
    Bettini, C., et al.: A survey of context modelling and reasoning techniques. Pervasive Mob. Comput. 6(2), 161–180 (2010)CrossRefGoogle Scholar
  3. 3.
    Chan, W., Chen, T.Y., Lu, H., Tse, T., Yau, S.S.: Integration testing of context-sensitive middleware-based applications: a metamorphic approach. Int. J. Softw. Eng. Knowl. Eng. 16(05), 677–703 (2006)CrossRefGoogle Scholar
  4. 4.
    Edwards, W.K., Grinter, R.E.: At home with ubiquitous computing: seven challenges. In: Abowd, G.D., Brumitt, B., Shafer, S. (eds.) UbiComp 2001. LNCS, vol. 2201, pp. 256–272. Springer, Heidelberg (2001).  https://doi.org/10.1007/3-540-45427-6_22CrossRefzbMATHGoogle Scholar
  5. 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
  6. 6.
    Henricksen, K., Indulska, J.: Developing context-aware pervasive computing applications: models and approach. Pervasive Mob. Comput. 2(1), 37–64 (2006)CrossRefGoogle Scholar
  7. 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. 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. 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. 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. 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. 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
  13. 13.
    Nishikawa, H., et al.: UbiREAL: realistic smartspace simulator for systematic testing. In: Dourish, P., Friday, A. (eds.) UbiComp 2006. LNCS, vol. 4206, pp. 459–476. Springer, Heidelberg (2006).  https://doi.org/10.1007/11853565_27CrossRefGoogle Scholar
  14. 14.
    von Ronne, J.: Test suite minimization: an empirical investigation (1999). http://www.ics.uci.edu/jronne/pubs/jvronneuhc-thesis.pdf
  15. 15.
    Sama, M., Elbaum, S., Raimondi, F., Rosenblum, D.S., Wang, Z.: Context-aware adaptive applications: fault patterns and their automated identification. IEEE Trans. Softw. Eng. 36(5), 644–661 (2010)CrossRefGoogle Scholar
  16. 16.
    Satoh, I.: A testing framework for mobile computing software. IEEE Trans. Softw. Eng. 29(12), 1112–1121 (2003)CrossRefGoogle Scholar
  17. 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. 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
  19. 19.
    Weiser, M.: Some computer science issues in ubiquitous computing. Commun. ACM 36(7), 75–84 (1993)CrossRefGoogle Scholar

Copyright information

© IFIP International Federation for Information Processing 2018

Authors and Affiliations

  • Teruhiro Mizumoto
    • 1
  • Khaled El-Fakih
    • 2
    Email author
  • Keiichi Yasumoto
    • 1
  • Teruo Higashino
    • 3
  1. 1.Graduate School of Science and TechnologyNara Institute of Science and Technology IkomaNaraJapan
  2. 2.Department of Computer Science and EngineeringAmerican University of SharjahSharjahUAE
  3. 3.Graduate School of Information Science and TechnologyOsaka UniversityOsakaJapan

Personalised recommendations