2015-09-141 these materials are prepared only for the students enrolled in the course distributed...
TRANSCRIPT
![Page 1: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/1.jpg)
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!
![Page 2: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/2.jpg)
23-04-19 2
Selected Topics in Software Engineering -
Distributed Software Development
![Page 3: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/3.jpg)
23-04-19 3
The Interactive Museum Team Presents:
Interactive Museum
Project Current state
![Page 4: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/4.jpg)
23-04-19 4
• Introduction
• Current status for :– Mote network– Main Application– PDA Application– Web Application– Database
• Project status update
What we will talk about?
![Page 5: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/5.jpg)
23-04-19 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 ( > 30 m)
• Solution: abilitiy to control mica2 RF Transciever
• Test results: minimal ranges– 0.4 – 0.5 m– 3.3 – 3.9 m
![Page 6: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/6.jpg)
23-04-19 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
![Page 7: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/7.jpg)
23-04-19 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
![Page 8: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/8.jpg)
23-04-19 8
Mote network as Petri net
![Page 9: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/9.jpg)
23-04-19 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#)
![Page 10: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/10.jpg)
23-04-19 10
• Pocket PC Emulator– Simulates the PDA through VS 2005– Works perfect with the PDA Application
PDA Application
![Page 11: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/11.jpg)
• PDA Device– Upgraded to .NET Compact Framework 2.0– Working WiFi connection using WPA-PSK
with TKIP encryption– The PDA Application works perfect
23-04-19 11
PDA Application
![Page 12: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/12.jpg)
23-04-19 12
• 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
![Page 13: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/13.jpg)
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
23-04-19 13
![Page 14: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/14.jpg)
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
23-04-19 14
![Page 15: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/15.jpg)
23-04-19 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
![Page 16: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/16.jpg)
23-04-19 16
Web Application
![Page 17: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/17.jpg)
23-04-19 17
Web Application (logged in)
![Page 18: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/18.jpg)
23-04-19 18
Based on ”Relational Entities”
Database Design
–The Session
–The Visitor
– A central “Modification Table”
–The Exhibit
–The Employee / Admin
–The PDA
![Page 19: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/19.jpg)
Exhibit Entities
Creator
PK CreatorID
FK1 OriginID CreatorName DateOfBirth DateOfDeathFK2 ModificationID
Origin
PK OriginID
Country CityFK2 ModificationID
Placement
PK PlacementID
LocationX LocationYFK1 FloorPlanIDFK2 ModificationID
FloorPlan
PK FloorPlanID
FloorPlanLocationFK1 ModificationID
StaticMote
PK StaticMoteID
FK1 ExhibitionIDFK2 PlacementIDFK3 ModificationID
CreatorInformation
PK CreatorInformationID
FK2 MultimediaContentIDFK1 CreatorIDFK3 ModificationID
ExhibitInformation
PK ExhibitInformationID
FK1 ExhibitIDFK2 ModificationIDFK3 MultimediaContentID
MultimediaContent
PK MultimediaContentID
MultimediaContent MultimediaContentParameter MultimediaContentMimeTypeFK1 ModificationID
Exhibition
PK ExhibitionID
ExhibitionNameFK2 CreatorID CreatedYearFK1 OriginIDFK3 ModificationID
![Page 20: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/20.jpg)
Visitor Entities
User
PK UserID
Password Username LastLoginFK1 ModificationID EmailAddress
ExhibitionVisit
PK,FK1 MuseumVisitIDPK,FK2 ExhibitionID
EnterTime LeaveTime
MuseumVisit
PK MuseumVisitID
FK1 UserID VisitDate
![Page 21: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/21.jpg)
Session Entities
WebApplicationLog
PK WebApplicationLogID
FK2 UserIDFK1 LogID
Log
PK LogID
LogDate DescriptionFK1 LogCodeID
Session
PK SessionID
FK2 PDAID DynamicMoteIDFK1 MuseumVisitID RegistratorEmployee Invalidated
LogCode
PK LogCodeID
Type
AdminApplicationLog
PK AdminLogID
FK1 EmployeeIDFK2 LogID
![Page 22: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/22.jpg)
PDA Entity Employee Entity
PDA
PK PDAID
IP DescriptionFK1 ModificationID
Employee
PK EmployeeID
EmailAddress Firstname Lastname Phone Address Zip Country EmploymentDateFK1 ModificationID LastLogin Authority DisplayName Password
![Page 23: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/23.jpg)
ExhibitInformation
PK ExhibitInformationID
FK1 ExhibitIDFK2 ModificationIDFK3 MultimediaContentID
CreatorInformation
PK CreatorInformationID
FK2 MultimediaContentIDFK1 CreatorIDFK3 ModificationID
MultimediaContent
PK MultimediaContentID
MultimediaContent MultimediaContentParameter MultimediaContentMimeTypeFK1 ModificationID
Exhibition
PK ExhibitionID
ExhibitionNameFK2 CreatorID CreatedYearFK1 OriginIDFK3 ModificationID
ExhibitionVisit
PK,FK1 MuseumVisitIDPK,FK2 ExhibitionID
EnterTime LeaveTime
MuseumVisit
PK MuseumVisitID
FK1 UserID VisitDate
Creator
PK CreatorID
FK1 OriginID CreatorName DateOfBirth DateOfDeathFK2 ModificationID
Origin
PK OriginID
Country CityFK2 ModificationID
User
PK UserID
Password Username LastLoginFK1 ModificationID EmailAddress
Placement
PK PlacementID
LocationX LocationYFK1 FloorPlanIDFK2 ModificationID
FloorPlan
PK FloorPlanID
FloorPlanLocationFK1 ModificationID
PDA
PK PDAID
IP DescriptionFK1 ModificationID
Session
PK SessionID
FK2 PDAID DynamicMoteIDFK1 MuseumVisitID RegistratorEmployee Invalidated
StaticMote
PK StaticMoteID
FK1 ExhibitionIDFK2 PlacementIDFK3 ModificationID
LogCode
PK LogCodeID
Type
Employee
PK EmployeeID
EmailAddress Firstname Lastname Phone Address Zip Country EmploymentDateFK1 ModificationID LastLogin Authority DisplayName Password
Modification
PK ModificationID
AddedBy AddedDate LastModifiedBy LastModifiedDate
AdminApplicationLog
PK AdminLogID
FK1 EmployeeIDFK2 LogID
WebApplicationLog
PK WebApplicationLogID
FK2 UserIDFK1 LogID
Log
PK LogID
LogDate DescriptionFK1 LogCodeID
![Page 24: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/24.jpg)
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, ...)
![Page 25: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/25.jpg)
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 €
![Page 26: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/26.jpg)
Project Status
• Overall project status: on track
• Time schedule: on track
Finished week Forecast Id
Milestone Description
Responsible Dept./Initials Plan
Week +/- Actual
Metr Rem
M-001 Project Plan W45-06 W45-06 0 W45-06 M-002 Requirement Definition
Approved W46-06 W46-06 0 W46-06
M-003 Design Description Approved
W47-06 W47-06 0 W47-06
M-004 Product Prototype W51-06 W51-06
![Page 27: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/27.jpg)
Project Status
• Activity plan: on track
Finished Next week Future
![Page 28: 2015-09-141 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer](https://reader030.vdocuments.us/reader030/viewer/2022032707/56649e4e5503460f94b44d1a/html5/thumbnails/28.jpg)
23-04-19 28