E N D
NOTICE! • 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!
Selected Topics in Software Engineering-Distributed Software Development
The Interactive Museum Team Presents: Interactive Museum Project Current state
What we will talk about? • Introduction • Current status for : • Mote network • Main Application • PDA Application • Web Application • Database • Project status update
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 - 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 2014-11-01 10
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 2014-11-01 11
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 2014-11-01 12
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 2014-11-01 15
Web Application 2014-11-01 16
Web Application (logged in) 2014-11-01 17
Based on ”Relational Entities” Database Design • A central “Modification Table” • The Exhibit • The Visitor • The Employee / Admin • The Session • The PDA 2014-11-01 18
PDA Entity Employee Entity
Project Status Communication Group skype meetings – twice a week Individual meetings (any time, any day) Skype E-Mail 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
Project Status Overall project status: on track Time schedule: on track
Project Status Activity plan: on track Finished Next week Future