A Programming Model for USN Applications based on Nano-Qplus

Nano-Qplus기반의 USN 응용 프로그래밍 모델

  • 이우진 (숭실대학교 대학원 컴퓨터학과) ;
  • 김주일 (숭실대학교 대학원 컴퓨터학과) ;
  • 이광용 (한국전자통신연구원(ETRI) 임베디드 S/W연구단 편재형컴퓨팅미들웨어연구팀) ;
  • 정기원 (숭실대학교 컴퓨터학부)
  • Published : 2006.04.01

Abstract

A programming model for ubiquitous sensor network (USN) applications based on Nano-Qplus is proposed. USN applications mean programs of nodes which are components of sensor network such as sensor, router, sink and actuator. Developers can automatically generate programs of USN applications by setting attributes values of nodes using a script after they model a sensor network. A script for setting attributes values of a node is proposed in this paper. The algorithm of automatic code generation is also described. Developers can easily implement USN applications even if they do not know details of low-level communication, data sharing, and collective operations because the applications are automatically generated from a script. They set only attributes values of nodes using the script. Efforts for USN applications development also are reduced because of automatic code generation. Furthermore, developers can correct errors of applications in the early stage of development through ear]y test based on rapid code generation.

본 논문에서는 센서네트워크를 위한 운영체제인 Nano-Qplus 기반의 응용프로그램을 자동으로 생성하기 위한 프로그래밍 모델을 제시한다. 즉, 센서네트워크를 구성하는 센서, 라우터, 싱크, 엑츄에이터와 같은 노드들이 수행해야 하는 기능에 대한 프로그램을 자동으로 생성하기 위한 프로그래밍 모델을 제시한다. 제안한 프로그래밍 모델에 따라 센서네트워크에 대한 모델을 작성하고, 이를 바탕으로 센서네트워크의 각 노드에 대한 속성 값을 스크립트를 통하여 설정하면 각 노드를 동작시킬 수 있는 프로그램이 자동으로 생성된다. 본 논문에서는 프로그래밍 모델에서 사용하는 각 노드의 속성을 설정할 수 있는 스크립트와 프로그램을 자동으로 생성하는 알고리즘을 프로그래밍 모델과 함께 설명한다. 본 논문에서 제시한 기법을 이용하면 센서네트워크를 구성하는 각 노드에 대한 속성설정만으로 실행코드를 자동으로 생성함으로써 개발자들은 코드에 대한 상세한 내용을 알지 못하더라도 쉽게 응용프로그램을 구현할 수 있다. 또한 실행코드를 자동으로 생성함으로써 센서네트워크 응용프로그램을 개발하는데 소요되는 노력을 줄일 수 있으며, 신속한 코드생성을 통해 조기에 테스트를 수행하여 오류를 찾아내고 수정함으로써 검증된 코드를 생성할 수 있다.

Keywords

References

  1. Kwangyong Lee et al., 'A Design of Sensor Network System based on Scalable & Reconfigurable Nano-OS Platform,' IT-SoC2004, October 2004
  2. ETRI 임베디드 S/W 연구단, '나노 Qplus,' http://qplus.or.kr/
  3. E. Cheong, J. Liebman, J. Liu, and F. Zhao,'Tinygals: a programming model for eventdriven embedded systems,' SAC, 2003 https://doi.org/10.1145/952532.952668
  4. M. Welsh and G. Mainland, 'Programming sensor networks using abstract regions,' NSDI, 2004
  5. R. Newton and M. Welsh, 'Region streams: Functional macroprogramming for sensor networks,' DMSN,2004
  6. A. Boulis, C. Han, and M. B. Srivastava, 'Design and implementation of a framework for efficient and programmable sensor networks,' MobiSys, 2003 https://doi.org/10.1145/1066116.1066121
  7. B. Greenstein, E. Kohler, and D. Estrin, 'A sensor network application construction kit (SNACK),' SenSys, 2004 https://doi.org/10.1145/1031495.1031505
  8. Ramakrishna Gummadi, Omprakash Gnawali, and Ramesh Govindan, 'Macro-programming Wireless Sensor Networks Using Kairos,' LNCS 3560, pp. 126-140, 2005 https://doi.org/10.1007/11502593_12
  9. Neil Matthew , Richard Stones, 'Beginning Linux Programming 3rd Edition,' WROX PRESS, 2003