These materials are prepared only for the students enrolled in the course Distributed Software Devel - PowerPoint PPT Presentation

1 / 28
About This Presentation
Title:

These materials are prepared only for the students enrolled in the course Distributed Software Devel

Description:

Mote network modeling. UML is inadequate. Each object in mote ... Mote network modeling. Overall concurrency / independent execution of every network entity ... – PowerPoint PPT presentation

Number of Views:84
Avg rating:3.0/5.0
Slides: 29
Provided by: goranpe
Category:

less

Transcript and Presenter's Notes

Title: These materials are prepared only for the students enrolled in the course Distributed Software Devel


1
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!

2
Selected Topics in Software Engineering -
Distributed Software Development
3
The Interactive Museum Team Presents
Interactive Museum Project Current state
4
What we will talk about?
  • Introduction
  • Current status for
  • Mote network
  • Main Application
  • PDA Application
  • Web Application
  • Database
  • Project status update

5
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 ( gt 30 m)
  • Solution abilitiy to control mica2 RF
    Transciever
  • Test results minimal ranges
  • 0.4 0.5 m
  • 3.3 3.9 m

6
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

7
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

8
Mote network as Petri net
9
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)

10
PDA Application
  • Pocket PC Emulator
  • Simulates the PDA through VS 2005
  • Works perfect with the PDA Application

2009-09-18
10
11
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

2009-09-18
11
12
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

2009-09-18
12
13
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

14
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

15
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

2009-09-18
15
16
Web Application
2009-09-18
16
17
Web Application (logged in)
2009-09-18
17
18
Database Design
  • Based on Relational Entities
  • A central Modification Table
  • The Exhibit
  • The Visitor
  • The Employee / Admin
  • The Session
  • The PDA

2009-09-18
18
19
Exhibit Entities
20
Visitor Entities
21
Session Entities
22
PDA Entity
Employee Entity
23
(No Transcript)
24
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, ...)

25
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

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

27
Project Status
  • Activity plan on track

Finished
Next week
Future
28
Questions?
Write a Comment
User Comments (0)
About PowerShow.com