advanced integrated model-driven development tool for usn applications in pervasive computing...

16
ADVANCED INTEGRATED MODEL-DRIVEN DEVELOPMENT TOOL FOR USN APPLICATIONS IN PERVASIVE COMPUTING ENVIRONMENT Woojin Lee, Jang-Mook Kang, Yoon-Seok Heo, Bong-Hwa Hong Presented by kang, jang mook(sejong Univ.)- [email protected] International Convention Center Jeju , Jeju Island, Koreahttp://www.sersc.org/FGIT2009 December 10 th , 2009 16:30-16:45 Technical Session 15 CAN/FGCN-KIIT #2 401A The 2009 International Conference on Future Generation Communication and Networking

Upload: prof-jang-mook-kang

Post on 13-May-2015

1.032 views

Category:

Documents


2 download

DESCRIPTION

Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment The 2009 International Conference on Future Generation Communication and Networking Woojin Lee, Jang-Mook Kang, Yoon-Seok Heo, Bong-Hwa Hong Presented by kang, jang mook(sejong Univ.)[email protected] [email protected] December 10th, 2009 16:30-16:45 Technical Session 15 CAN/FGCN-KIIT #2 401A

TRANSCRIPT

Page 1: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

ADVANCED INTEGRATED MODEL-DRIVEN DEVELOPMENT TOOL

FOR USN APPLICATIONS IN PERVASIVE COMPUTING ENVIRONMENT

Woojin Lee, Jang-Mook Kang,Yoon-Seok Heo, Bong-Hwa Hong

Presented by kang, jang mook(sejong Univ.)[email protected]

International Convention Center Jeju, Jeju Island, Koreahttp://www.sersc.org/FGIT2009

December 10th, 200916:30-16:45

Technical Session 15CAN/FGCN-KIIT #2 401A

The 2009 International Conference on Future Generation Communication and Networking

Page 2: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

Jonathon colman, Using Online Social Networks to Build Buzz, Community & Support for Your Cause, 12/59 slide, http://www.slideshare.net/jcolman/using-online-social-networks-to-build-buzz-community-support-for-your-cause?src=related_normal&rel=1709731(2009.12.)

Page 3: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

OverviewsIn sensor networks, nodes should often operate under a demanding environment

such as limited computing resources,

unreliable wireless communication and power shortage.

And such factors make it challenging to develop

ubiquitous sensor network(USN) applications.

This article presents a model-driven development tool for USN applications.

USN applications are programs that are installed into nodes

which consist in sensor networks.

The presented tool automatically generates applications for nodes

from the sensor network model.

Users can develop USN applications by first developing a model for the sensor network

And then designing applications by setting the values of the predefined attributes.

The source code for applications is automatically generated from the model.

The tool will help users can easily develop a large number of validated USN applications

even if they do not know the details of low-level information.

Page 4: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

Introduction

a tool to help developers easily develop USN applications without learning abstraction mechanisms of operating systems and

efficiently develop a large number of various applications is necessary. Advance integrated Model-driven development tool is used to automatically

generate applications from a model. Therefore, model-driven development tool for efficiently developing

a large number of USN applications without learning abstraction mechanisms is necessary

Vashira Ravipanich , Ubiquitous Computing, 4/33 slide, http://www.slideshare.net/raQuiam/ubiquitous-computing-1986119.)

Page 5: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

Advance Integrated Model-Driven Development Tool for USN Applications

Graphical User Interface (GUI): The GUI provides interfaces for the development of USN applications.

Modeler: Developers write USN model diagrams and design USN applications through the Modeler. The Modeler consists of the Model Viewer and the Model Controller. The Model Viewer is a graphical represented of the USN model. The Model Controller is a manager that mediates and communicates between the model and the view. The Model Controller generates the model information using XML.

Configuration Information Generator: The Configuration Information Generator creates the configuration information of nodes in the model using the model information.

Model Validity Checker: The Model Validity Checker confirms whether the model of USN application is valid. It checks validity of association between the nodes, and checks validity of each node.

Page 6: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

Advance Integrated Model-Driven Development Tool for USN Applications

Source Code Generator: The Source Code Generator creates C source files of nodes using the predefined templates and the configuration information generated by the Configuration Information Generator.

Target Image Generator: The Target Image Generator constructs ROM image files which are installed into nodes by compiling the C source files. The ROM image files are generated by reflecting the hardware platform of nodes in the sensor network.

Templates Storage: The Templates Storage stores predefined templates for the generation of source codes of nodes. Modules and code templates, which are provided by target operating system, are stored in the Template Storage.

Page 7: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

USN Application Development Process

Nicolas garcia belmone, ‘Using web standards to create interactive data visualizations for the web’, 4 slides, http://www.s-lideshare.net/philogb/using-web-standards-to-create-interactive-data-visualizations-for-the-web(sited:2009.12)

The following is the process for developing USN applications using the advanced integrated model-driven development tool.① Write a USN model diagram for a USN application.② Set attribute values of nodes in the model. Through setting of attribute values, OS components for the application are selected.③ Validate the USN model. Go to ① or ② if the model is not valid. Model validation is important because the correct USN application is not generated if the model is not valid. ④ Generate program codes to control nodes from the USN model using the predefined templates and OS modules.

Page 8: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

Figure 1 shows the USN applications development process described in the above.

USN Application Development Process

Fig. 1. USN applications development process

USNModeling

AttributesSetting

ModelValidation

ApplicationGenerationUSN Model

Diagram Designed USN Model

USN Applications

Attributes

- OS Modules

- Code Templates

Data flow

Activity

Predefined data

Configuration Information

Page 9: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

The notation of the USN model

USN Modeling

Name Notation Description

Node

Rectangle represents a node of USN. Node name becomes a file name of C source code generated by the tool in order to control the node. Users can add attributes and operations in a node if they want.

Node TypeEllipse represents a node type. There are four types – Sensor, Router, Sink, and Ac-tuator.

LinkDashed line represents a link between a node and a node type. Each node has one primary node type.

AssociationArrow represents association. Association presents the movement of packet be-tween nodes.

Page 10: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

SENSOR: A sensor node senses data and transmits the data to a coordinator node. ROUTER: A router node plays a coordinator role. It controls a sub network. A router node receives data from other nodes which belong to the sub network, and transmits the received data to the PAN coordinator node. SINK: A sink node plays a PAN coordinator role. It controls the whole network. A sink node collects data from other nodes which belong to the sensor network, and controls the nodes. ACTUATOR: An actuator node controls devices.

USN Modeling

Page 11: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

Examples of attributes for the application based on Nano-Qplus operating system

Attributes Setting

Attribute Group Attribute DescriptionOS Functions EEPROM_Enable Enable EEPROM module.

Timer_Enable Enable Timer module.

Zigbee RF Select RF module.

Sensor_Gas_Enable Enable Gas sensor module.

Sensor_Light_Enable Enable Light sensor module.

… …

Network Configuration nodeID Write identification number of node.

nodeType Select the type of the node.

nextHopRoutingFirstNodeID Write identification number of the next node in routing path.

… …

Page 12: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

Model Validation

Communication between nodes should be performed without any problems. Data should be transmitted to the server through the correct path which is determined by designer of the sensor network model. Applications should be designed by accepting constraints according to the role of each node.

Applications should be designed by accepting constraints of target platform

Page 13: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

Code Generation

Application generation process

Page 14: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

USN modeling support: The proposed tool supports that developers graphically model ubiquitous sensor networks.Application design by setting attribute values: When developers construct USN applications using the tool,they do not need to learn any abstraction mechanisms because applications are simply designed by setting attribute val-ues.Generation of several applications from one model: Since the proposed tool generates code from sensor network model instead of models of applications, a large number of application programs can be generated at once. This contrasts with the traditional model-based approach where only one application at a time could be developed.Model validation: The tool provides methods to validate USN models so that developers can check USN applications with them in terms of commonality validation, association validation, and node validation.

Conclusion

Page 15: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

CY Chong, and SP Kumar, “Sensor networks: evolution, opportunities, and challenges,” Proceedings of the IEEE, vol. 91, no. 8, pp. 1247– 1256, Aug. 2003.Eric Clayberg and Dan Rubel, Eclipse: Building Commercial- Quality Plug-ins, Addison Wesley, 2004.Bill Moore, David Dean, Anna Gerber, Gunnar Wagenknecht, and Philippe Vanderheyden, Eclipse Development, International Business Machines Corporation, 2004.Karen Patten and Katia Passerini, “From personal area networks to ubiquitous computing: preparing for a paradigm shift in the workplace,” Proc. Wireless Telecommunications Symposium, pp. 225-233, IEEE CS Press, 2005.Kwangyong Lee et al., “A Design of Sensor Network System based on Scalable & Reconfigurable Nano-OS Platform,” Proc. IT SoC Conf., pp. 344-347, 2004. ETRI Embedded S/W Research Division, “Nano-Qplus,” http://qplus.or.kr/"TinyOS Plugin for Eclipse," http://www.dcg.ethz.ch/~rschuler/ETRI Embedded S/W Research Division, "NanoEsto," http://qplus.or.kr/D. Gay, P. Levis, R. von Behren, M.Welsh, E.Brewer, and D. Culler, "The nesC language: A holistic approach to networked embedded systems," Proc. ACM SIGPLAN 2003 Conf. on Programming Language Design and Implementation (PLDI’03), pp. 1-11, ACM Press, 2003.“LabVIEW for Embedded Development,” http://www.ni.com/pdf/products/us/ 2005-5554-821-101-LO.pdfhttp://www.pragmadev.com/index2.html

•References

Page 16: Advanced Integrated Model-Driven Development Tool for USN Applications in Pervasive Computing Environment

[email protected]

The followings were made to supplement my shabby presentation. When you need anything,

please e-mail me at this address at any time.

iQoncept, http://www.flickr.com/photos/37418570@N03/3976394233/sizes/o/ ( 사이트방문 :2009.10.)

ThankQ