Abstract
A model-based integrated development tool for the development of USN application programs is proposed in this paper. The proposed tool has been implemented as a plug-in for Eclipse platform. The tool consists of Graphical User Interface, Modeler, Configuration Information Generator, Validity Checker, Source Code Generator and Templates Storage. Developers can implement USN applications from models of sensor networks using the tool. The developer can implement USN applications by automatic generation of execution code of each node in the sensor network after he/she designs a model of the sensor network. The configuration information of each node is automatically generated from the validated USN model. Then, the execution code is automatically generated using the configuration information and the predefined templates. Through the tool of this paper, developers can easily implement valid USN applications even if they do not know the details of low-level information. Also, a large number of application programs can be generated at once because application programs are generated from sensor network model instead of models of applications. Accordingly, the development effort of USN applications will be decreased and developers can consistently construct USN applications from USN models using the proposed tool.
본 논문에서는 센서 네트워크에서 응용 프로그램 개발을 지원하는 모델 기반의 통합 개발 도구를 제시한다. 제안하는 도구는 이클립스 플랫폼의 플러그인으로 개발되었으며, 사용자 그래픽 인터페이스, 모델 작성기, 설정정보 생성기, 모델 검증기, 소스코드 생성기 및 템플릿 저장소로 구성된다. 이 도구는 UML의 클래스다이어그램과 같은 표기법을 이용하여 구축하고자 하는 센서 네트워크를 모델링하고, 센서 네트워크 모델로부터 응용 프로그램 코드를 자동으로 생성할 수 있도록 한다. 개발자들은 도구를 이용하여 구현하고자 하는 센서 네트워크에 대한 모델을 작성하고, 모델에 속해 있는 각 센서들의 역할을 정의하여, 역할에 따른 속성값을 설정해 주기만 하면 각 센서들의 역할 수행을 위한 응용 프로그램이 자동으로 생성된다. 또한 작성한 모델에 대한 설계를 검증하여 오류를 조기에 발견하여 수정할 수 있도록 함으로써 고품질의 USN 응용 프로그램을 생성할 수 있다. 제안하는 도구를 이용하면, 개발자들은 하위레벨의 정보를 자세히 알지 못하더라도 다수의 센서 네트워크 응용 프로그램을 쉽고, 빠르게 구현할 수 있다.