12015-12-17 These materials are prepared only for the students enrolled in the course Distributed...

Post on 21-Jan-2016

216 views 0 download

Tags:

Transcript of 12015-12-17 These materials are prepared only for the students enrolled in the course Distributed...

123-04-21

• 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 2010/2011).

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

Requirements Definition and System Architecture

SmartCart Team

Distributed Software Development

23-04-21

Outline

• Project overview• Requirements

• Level 1 requirements• Use case diagram• Level 2 requirements• Level 3 requirements

• System architecture• Android application• Server• Database23-04-21

SmartCart

23-04-21

Requirements

• 4 groups– Mobile application– Server– Database– Non-functional requirements – mobile

application

523-04-21

Requirements

• 3 priority levels– Level 1

• Highest priority• Planned to be implemented in the alpha prototype• Critical for the success of the project

– Level 2• Planned to be implemented in the beta prototype

– Level 3• Lowest priority• Planned to be implement in case there is extra time left

before the end of the project

623-04-21

Level 1 requirements

723-04-21

Level 1 requirements

823-04-21

Level 1 requirements

923-04-21

1023-04-21

Level 1 requirements

1123-04-21

Level 1 requirements

1223-04-21

Level 1 requirements

1323-04-21

Level 1 requirements

1423-04-21

Level 1 requirements

1523-04-21

Level 1 requirements

1623-04-21

Level 1 requirements

1723-04-21

Level 1 requirements

1823-04-21

Level 1 requirements

1923-04-21

Level 1 requirements

2023-04-21

Level 1 requirements

2123-04-21

2223-04-21

2323-04-21

2423-04-21

Level 2 requirements

• Multiple shopping lists

• Adding and updating the product details by scanning the bar code

• Auto-complete search feature

2523-04-21

Level 2 requirements

• Adding store location by current GPS location and by choosing from a map

• Checking of the user inputs and discarding the invalid information

• Keeping the time dimension of the product price

2623-04-21

Level 3 requirements

• Windows Phone 7 application

• Showing directions to the store

• User registration system– Connecting users

• Adding products to other user’s shopping list

2723-04-21

System architecture

2823-04-21

Android application

2923-04-21

Shopping ListsShopping Lists

ProductsProducts

StoresStores

Where-to-buy suggestionsWhere-to-buy suggestions

Web services

Web services

GPS locating

GPS locating

Server

• .NET framework 4.0

• WCF Web Services– JSON

• Web Scraping– HTML Agility Pack

3023-04-21

Database

3123-04-21

• MS SQL Server 2008

• LINQ to SQL– ORM

23-04-21