These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer Science and Engineering, University of Mälardalen, Västerås, Sweden and at the Faculty of Electrical Engineering and Computing, University of Zagreb, Croatia (year 2003/2004). For all other purposes, authors’ written permission is needed! The purpose of these materials is to help students in better understanding of lectures in DSD and not their replacement! NOTICE!
Selected Topics in Software Engineering - Distributed Software Development
The Interactive Museum Team Presents: Interactive Museum Project Current state
Introduction Current status for : –Mote network –Main Application –PDA Application –Web Application –Database Project status update What we will talk about?
Mote network Main concern: control of the radio range –Dynamic motes: small (0.5 m – 4 m) range How to achieve such small range? –Static & base: large ( > 30 m) Solution: abilitiy to control mica2 RF Transciever Test results: minimal ranges –0.4 – 0.5 m –3.3 – 3.9 m
Mote network modeling UML is inadequate Each object in mote network is microcontroller based computer –Preemption (non-deterministic state switching, even when in transition between states) –composite states modeling Single mote can be in one or more states at a time Whole mote network also State of all motes determines state of network
Mote network modeling –Overall concurrency / independent execution of every network entity Radio communication between motes is lossy by nature Solution for model representation: Petri Nets
Mote network as Petri net
Mote network - status Current state: –Prototype of dynamic mote –Static mote prototype –Base mote (GenericBase from TinyOS library) –First functional version of mote network to application bridge (for C#)
Pocket PC Emulator –Simulates the PDA through VS 2005 –Works perfect with the PDA Application PDA Application
PDA Device –Upgraded to.NET Compact Framework 2.0 –Working WiFi connection using WPA-PSK with TKIP encryption –The PDA Application works perfect PDA Application
PDA Application Connections –Connects to a PDA Server (Windows Service) –Interacts with a Web Service –(Maybe video streaming in the future) PDA Application Functionalities –Bookmarks –History –Text/Image and maybe video PDA Application
PDA Server Windows Service Functionalities –Identify visitor PDA to inform of available exhibit information Communication –Connects to PDA through TCP/IP streams –Connects to database through Web Services –Messages from Mote Server by RPC
PDA Server – Example Message recieved when a visitor reaches the proximity of an exhibit Dynamic Mote ID and Static Mote ID Consults the database Alerts the PDA of available information on the viewed exhibit
Web Service Database Requests –Supply the interaction with the actual database –The central point of data communication (will be used by the main application, Web application and the PDA) Response type –From the beginning we had objects, now changed to DataSet
Web Application
Web Application (logged in)
Based on ”Relational Entities” Database Design –The Session –The Visitor – A central “Modification Table” –The Exhibit –The Employee / Admin –The PDA
Exhibit Entities
Visitor Entities
Session Entities
PDA EntityEmployee Entity
Project Status Communication –Group skype meetings – twice a week –Individual meetings (any time, any day) Skype –Posting general information FER Web Google group Forums –Etc. (mobile or land line phone,...)
Project Status Comments / Experiences / Problems –No problems Came to agreements for all discussed topics –Very pleased that everything is going as planned (for now... ;) ), well except project cost Project Cost Current Planned Cost6200 € Current Actual Cost7900 € Planned Project Cost € Forecasted Project Cost €
Project Status Overall project status: on track Time schedule: on track
Project Status Activity plan: on track FinishedNext weekFuture