2015-09-031 these materials are prepared only for the students enrolled in the course distributed...
TRANSCRIPT
23-04-19 1
• 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!
23-04-19 4
The Interactive Museum Team Presents:
Interactive Museum
Design Description and Project Status
23-04-19 5
• Introduction
• General requirements– Mote network– Main Application– PDA Application– Web Application– Database
• Project Status
What we will talk about?
23-04-19 6
Introduction• General requirements
• Divided in 5 parts• Main application - basic functionality• Mote network - communication between motes• PDA Application - gives visitor multimedia content• Web Application - view exhibition from home• Database - store information
Main aplication
• Has five main functions– Staff management– Visitor registration– Floor plan and mote administration– Exhibit content administration– Mote management
• Technologies– .NET framework 2.0– C#
Staff management
• This part allow us to register new users– Two different types of users
• Administrator– Able to see all main application options (possibilities)
• Staff– Can only register new visitors and see visitors positions
in a museum
• Also allow us to change user details– Name, password ....
• Or delete existing user
Floor plan and mote administration
• Allow us to present mote deployment in museum space (using preloaded map of the museum)
• Drag and drop functionality will make adding removing and relocating the motes easy
• Displayes signal coverage
• We will see visitors current positions in a museum and will be able to see attendance for each exhibit
Exhibit content administration
• Part for adding deleting and modifying exhibit related content
– Allow administrator to chose video and/or static content that will be sent to visitors PDA
– Creates links in database that will be used in data streaming module
Visitor registration
• When visitors come in the museum this is where we will register them– Using some personal data (e-mail) but never
storing it, and links it with PDA IP address and mote ID
– taking care of visitors privacy– Allows merging of data for previously visited
exhibitions
• Administrator can delete information on visitors
Mote management
• Allows administrator to power up and shut down motes in the museum
– Power up in the morning when museum opens
– Shut down at the end of work time– Power up/shut down on will
23-04-19 15
Mote network requirements
• Detect visitors at every exhibit
• Identify visitor
• Identify exhibit
• Inform the rest of system about this
• Allow system to control network (start up / shut down)
23-04-19 16
Mote network - overview
Three mote classes:• Static motes
– At every exhibit stand– Larger radio range
• Dynamic motes– With museum visitor– Smaller radio range
• Base mote– Connected to the server computer– Bridge between hardware and software part of the
system
23-04-19 18
Mote Communication
• Every static mote has unique ID
• Every dynamic mote has unique ID
Dynamicmote
Staticmote
Basemote
Mainapplicatio
n
Mainapplicatio
n
23-04-19 19
Communication - General
• Dynamic mote broadcasts it’s ID
• Static mote captures ID (if enough close)– Reports it back to the main application
• Main application can shut down / start up the mote network
23-04-19 20
Mote Technology Details
Hardware• mica2 motes
– as static, dynamic and base motes
Software• TinyOS
– system and component library platform
• nesC – writing mote programs
PDA Application
Development• Windows Mobile 5.0 (OS)• .NET Framework 2.0• Visual Studio 2005• Windows Mobile 5 Emulator
Communication Protocol• TCP/IP over 802.11g
PDA Application Requirements
• Visitor can choose to recieve multimedia (text, images and maybe video)
• Add/remove bookmarks
• View history
Web Application
Technologies• 2.0 .NET Framework (ASP.NET)• IIS 6.0• Language C#• Support for IE Explorer and Firefox
Web Application Requirements
Visitor can:
• Login with ID
• View information from a particular exhibit
• List all visited, non visited and all exhibits
• List visits
• View bookmarks
• Send postcards to friends
Database
• Centralized data storage for all systems of the Interactive Museum
• MySQL 5
• Exposed interface will be Web Services
• Security in mind
• Smart Caching
Database
Main database content
• Information on Exhibitions
• Visitor statistics
• Mote information
• Information on PDAs
• Logs
• Employee information
Database Design
ExhibitionInformation
PK ExhibitionInformationID
FK1 ExhibitionIDFK2 MultimediaContentID
CreatorInformation
PK CreatorInformationID
FK2 MultimediaContentIDFK1 CreatorID
MultimediaContent
PK MultimediaContentID
MultimediaContentLocation MultimediaContentParameter MultimediaContentMimeType
Exhibition
PK ExhibitionID
ExhibitionNameFK3 CreatorID CreatedYearFK2 OriginIDFK1 PlacementID
ExhibitionVisit
PK,FK1 MuseumVisitIDPK,FK2 ExhibitionID
EnterTime LeaveTime
MuseumVisit
PK MuseumVisitID
FK1 UserID VisitDate
Creator
PK CreatorID
FK1 OriginID CreatorName DateOfBirth TimeOfBirth
Origin
PK OriginID
Country City
User
PK UserID
Password Username
Placement
PK PlacementID
LocationX LocationYFK1 FloorPlanID
FloorPlan
PK FloorPlanID
FloorPlanLocation
PDAID
PK PDAID
IP Description
Session
PK SessionID
MuseumIDFK2 PDAID DynamicModeIDFK1 MuseumVisitID
StaticMote
PK StaticMoteID
FK1 ExhibitionID
Log
PK LogID
FK1 UserID LogInformation