DOI QR코드

DOI QR Code

A Software Framework for Automatic Exception Handling of Context-aware Systems

상황인지 시스템의 예외 처리 자동화를 위한 소프트웨어 프레임워크

  • Yoon, Tae-Seob (Dept. of Computer Sci. & Eng. Chungnam National University) ;
  • Cho, Eun-Sun (Dept. of Computer Sci. & Eng. Chungnam National University)
  • Received : 2014.02.07
  • Accepted : 2014.04.03
  • Published : 2014.04.25

Abstract

Context-aware systems provide proper services for the user according to current contexts. However, it is not actively deployed in our daily lives as expected, due to many concerns including occurrences of exceptions. C++/C#/JAVA provide exception handling facilities for desktop computing programs, but context-aware system developers might feel far more difficult to make use of such general facilities, because it is hard to decide the timing and position of exception handling with various devices engaged. In this paper, we propose an exception detection and handling mechanism using device semantics and AspectJ so that it can constantly detect a large number of devices to allow the programmers to detect and handle exceptions with less burden.

상황인지 시스템은 상황 데이터의 변화에 따라 적절한 서비스를 해주는 시스템이다. 하지만 일상에 적용되지 못하는 이유로 예외 발생 가능성을 들 수 있다. 데스크탑 컴퓨팅 프로그램에서는 C++/C#/JAVA등 프로그래밍 언어에서 예외 처리를 지원하지만 상황인지 시스템에서는 다양한 장비들이 연결되어 있어 개발자의 부담이 커지고 처리의 시점이나 위치를 결정하기 어렵기 때문이다. 따라서 본 논문에서는 프로그래머가 예외를 다루는 데에 있어서 다수의 장비를 지속적으로 탐지할 수 있도록 장비의 의미구조와 AspectJ를 이용한 상황인지 시스템의 예외 탐지 및 처리 방법을 제안한다.

Keywords

References

  1. Yang, Hen-I., and A. Helal. "Safety enhancing mechanisms for pervasive computing systems in intelligent environments." Pervasive Computing and Communications, IEEE, pp. 525-530, 2008.
  2. Oracle, Java Platform Standard Ed. 7, http://docs.oracle.com/javase/7/docs/api/
  3. Shah, "Why do developers neglect exception handling?." Exception handling. ACM, pp. 62-68, 2008.
  4. Mohamed, et al. "A fault Detection and Diagnosis Framework for Ambient Intelligent Systems." Ubiquitous Intelligence & Computing. IEEE, pp. 394-401, 2012.
  5. Rocha, et al. "Towards a formal model to reason about context-aware exception handling." Exception Handling, IEEE, pp. 27-33, 2012.
  6. E. S. Cho, et al. "An Integrated Formal Model for Context-Aware Systems." Computer Software and Applications Conference Workshops, IEEE, pp. 163-168, Kyoto, Japan, Jun. 2013.
  7. E. S. Cho and Y. M. Min, "A Formal Framework for Context-Aware System Modeling", Journal of the IEEK, Vol. 46, Issue 2, pp. 114-123, Mar. 2009.
  8. E. S, Cho and Sumi Helal. "A situation-based exception detection mechanism for safety in pervasive systems." Applications and the Internet (SAINT), IEEE, pp. 196-201, Munich, Germany, Jul. 2011.
  9. E. S. Cho, J. H. Choi, S. Helal, "Dynamic Parameter Filling for Semantic Exceptions in Context-Aware Systems", Ubiquitous Intelligence and Computing, IEEE, pp. 293-300, Vietri sul Mare, Italy, Dec. 2013.
  10. Larry Buerk, et al. AVTransport:1 Service Template Version 1.01, UPnP Forum, 2002, http://upnp.org/specs/av/UPnP-av-AVTransportv1-Service.pdf
  11. H. R. Nielson, F. Nielson, Semantics with applications, John Wiley & Sons, pp. 19-50, 1999.
  12. Lee, S. Helal, "From Activity Recognition to Situation Recognition," Health and Wellbeing in the Community, and Care at Home. Springer Berlin Heidelberg, pp. 245-251, 2013.
  13. King, et al. "Atlas: A service-oriented sensor platform: Hardware and middleware to enable programmable pervasive spaces." Local Computer Networks, IEEE, pp. 630-638, 2006.
  14. The Eclipse Foundation, AspectJ Documentation, http://eclipse.org/aspectj/docs.php
  15. Dice, The exception detection, http://sourceforge.net/projects/theexceptiondetection/
  16. Damasceno, et al. "Context-aware exception handling in mobile agent systems: the MoCA case," Software engineering for large-scale multi-agent systems. ACM, pp. 37-44, 2006.
  17. Kulkarni, et al. "A framework for programming robust context-aware applications." Software Engineering, IEEE Trans. on 36.2, pp. 184-197, 2010. https://doi.org/10.1109/TSE.2010.11