NOTICE These materials are prepared only for the

  • Slides: 28
Download presentation
NOTICE! • These materials are prepared only for the students enrolled in the course

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! 2021 -10 -26 1

Selected Topics in Software Engineering Distributed Software Development 2021 -10 -26 2

Selected Topics in Software Engineering Distributed Software Development 2021 -10 -26 2

The Interactive Museum Team Presents: Interactive Museum Project Current state 2021 -10 -26 3

The Interactive Museum Team Presents: Interactive Museum Project Current state 2021 -10 -26 3

What we will talk about? • Introduction • Current status for : – Mote

What we will talk about? • Introduction • Current status for : – Mote network – Main Application – PDA Application – Web Application – Database • Project status update 2021 -10 -26 4

Mote network • Main concern: control of the radio range – Dynamic motes: small

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 mica 2 RF Transciever • Test results: minimal ranges – 0. 4 – 0. 5 m – 3. 3 – 3. 9 m 2021 -10 -26 5

Mote network modeling • UML is inadequate • Each object in mote network is

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 2021 -10 -26 6

Mote network modeling – Overall concurrency / independent execution of every network entity •

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 2021 -10 -26 7

Mote network as Petri net 2021 -10 -26 8

Mote network as Petri net 2021 -10 -26 8

Mote network - status • Current state: – Prototype of dynamic mote – Static

Mote network - status • Current state: – Prototype of dynamic mote – Static mote prototype – Base mote (Generic. Base from Tiny. OS library) – First functional version of mote network to application bridge (for C#) 2021 -10 -26 9

PDA Application • Pocket PC Emulator – Simulates the PDA through VS 2005 –

PDA Application • Pocket PC Emulator – Simulates the PDA through VS 2005 – Works perfect with the PDA Application 2021 -10 -26 10

PDA Application • PDA Device – Upgraded to. NET Compact Framework 2. 0 –

PDA Application • PDA Device – Upgraded to. NET Compact Framework 2. 0 – Working Wi. Fi connection using WPA-PSK with TKIP encryption – The PDA Application works perfect 2021 -10 -26 11

PDA Application • PDA Application Connections – Connects to a PDA Server (Windows Service)

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 2021 -10 -26 12

PDA Server • Windows Service • Functionalities – Identify visitor PDA to inform of

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 2021 -10 -26 13

PDA Server – Example • Message recieved when a visitor reaches the proximity of

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 2021 -10 -26 14

Web Service • Database Requests – Supply the interaction with the actual database –

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 Data. Set 2021 -10 -26 15

Web Application 2021 -10 -26 16

Web Application 2021 -10 -26 16

Web Application (logged in) 2021 -10 -26 17

Web Application (logged in) 2021 -10 -26 17

Database Design Based on ”Relational Entities” – A central “Modification Table” –The Exhibit –The

Database Design Based on ”Relational Entities” – A central “Modification Table” –The Exhibit –The Visitor –The Employee / Admin –The Session –The PDA 2021 -10 -26 18

Exhibit Entities

Exhibit Entities

Visitor Entities

Visitor Entities

Session Entities

Session Entities

PDA Entity Employee Entity

PDA Entity Employee Entity

Project Status • Communication – Group skype meetings – twice a week – Individual

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

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 Cost 6200 € Current Actual Cost 7900 € Planned Project Cost 16750 € Forecasted Project Cost 18450 €

Project Status • Overall project status: on track • Time schedule: on track

Project Status • Overall project status: on track • Time schedule: on track

Project Status • Activity plan: on track Finished Next week Future

Project Status • Activity plan: on track Finished Next week Future

2021 -10 -26 28

2021 -10 -26 28