PDA Application

Download Report

Transcript PDA Application

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!
2016-03-26
1
Vision of the main application
Selected Topics in Software Engineering
Distributed Software Development
2016-03-26
3
The Interactive Museum Team Presents:
Interactive Museum
Design Description and
Project Status
2016-03-26
4
What we will talk about?
• Introduction
• General requirements
– Mote network
– Main Application
– PDA Application
– Web Application
– Database
• Project Status
2016-03-26
5
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
2016-03-26
6
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
Vision of the main application
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
Mote
Control
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)
2016-03-26
15
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
2016-03-26
16
Mote network
2016-03-26
17
Mote Communication
Dynamic
mote
Static
mote
Base
mote
Main
application
• Every static mote has unique ID
• Every dynamic mote has unique ID
2016-03-26
18
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
2016-03-26
19
Mote Technology Details
Hardware
• mica2 motes
– as static, dynamic and base motes
Software
• TinyOS
– system and component library platform
• nesC
– writing mote programs
2016-03-26
20
PDA Application
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
MultimediaContent
PK
MultimediaContentID
ExhibitionInformation
MultimediaContentLocation
MultimediaContentParameter
MultimediaContentMimeType
CreatorInformation
PK
CreatorInformationID
FK2
FK1
MultimediaContentID
CreatorID
Placement
PK
FK1
PK
ExhibitionInformationID
FK1
FK2
ExhibitionID
MultimediaContentID
FloorPlan
PlacementID
PK
LocationX
LocationY
FloorPlanID
PK
FloorPlanLocation
FK3
FK2
FK1
Creator
PK
CreatorID
FK1
OriginID
CreatorName
DateOfBirth
TimeOfBirth
ExhibitionID
PK
StaticMoteID
ExhibitionName
CreatorID
CreatedYear
OriginID
PlacementID
FK1
ExhibitionID
User
Origin
PK
PK
Session
MuseumVisit
PDAID
PK
SessionID
PDAID
IP
Description
FK2
FK1
Log
UserID
PK
LogID
Password
Username
FK1
UserID
LogInformation
OriginID
Country
City
PK
StaticMote
Exhibition
FloorPlanID
MuseumID
PDAID
DynamicModeID
MuseumVisitID
PK
MuseumVisitID
FK1
UserID
VisitDate
ExhibitionVisit
PK,FK1
PK,FK2
MuseumVisitID
ExhibitionID
EnterTime
LeaveTime
Project Status
• Overall project status: on track
• Time schedule: on track
2016-03-26
29
Project Status cont.
• Activity plan: on track
• Legend:
2016-03-26
Finished
Next week
Future
30
2016-03-26
31