The document outlines the design of a mobile shopping assistant application. It includes class diagrams showing the main classes for the mobile and web clients. The mobile classes include Customer, Product, ShoppingMall, and WifiAp. The web classes include Product, ShoppingMall, Map, Admin, Manager, and Login. It also includes use case and sequence diagrams showing key functionality like searching for a product, adding a product, and logging in.
1. MINISTRY OF HIGHER EDUCATION AND SCIENTIFIC RESEARCH
UNIVERSITY OF MANNOUBA
NATIONAL SCHOOL OF COMPUTER SCIENCE
MOBILE SHOPPING ASSISTANT
ELABORATED BY:
Meriem HARZALLAH & Rihab BEN RHOUMA
SUPERVISED BY:
Mrs Leila JEMNI BEN AYED
DESIGN AND DEVELOPMENT PROJECT
2011-2012
2. O UTLINE
▲ Overview
▲ General Concepts
▲ Requirements Specification
▲ Design
▲ Implementation
▲ Conclusion
2
3. O VERVIEW
▲ Mobility
▲ Movement and motion
▲ Mobile devices, Smartphones
▲ Shopping
▲ Select and/or purchase articles
Mobile Shopping
3
4. O VERVIEW
▲ Restrictions
▲ Existing applications
▲ Expensive
▲ Previous problem encountered
▲ Necessity to include a hardware
▲ Indoor positioning
▲ Weak signal
▲ Available solutions
GPS, 3G, RFID, Bluetooth, Wifi, …
▲
Wifi Access Points
4
5. OVERVIEW
▲ Advantages of using Wifi Access Points
▲ Reachable over 40 meters
▲ Mature and widely spread technology
▲ Low cost
▲ Offers useful localisation information
5
6. O UTLINE
▲ Overview
▲ General Concepts
▲ Requirements Specification
▲ Design
▲ Implementation
▲ Conclusion
6
7. GENERAL CONCEPTS
Android ▲ Advantages of Android
18%
IOS
6%
mobile development
18% 58%
▲ Free and open source (SDK
Windows Phone
and source code)
Others(Symbian, Blackberry, …)
▲ Marketshare in quick rise
▲ Light and easy
Marketshare of mobile OS - 2012
Source: Digitimes. http://www.globalnerdy.com/ ▲ Intuitive GUI
7
8. GENERAL CONCEPTS
▲ Assets of web services
▲ Remotely processing
▲ Interoperability between
softwares working on
different platform
▲ Based on HTTP protocol
8
9. O UTLINE
▲ Overview
▲ General Concepts
▲ Requirements Specification
▲ Design
▲ Implementation
▲ Conclusion
9
10. REQUIREMENTS SPECIFICATION
Functionnal Requirements
<<include>>
Add a manager
Get authenticated
DB Administrator <<include>>
Delete a manager
Insert product info <<include>>
into the DB
1
11. REQUIREMENTS SPECIFICATION
Functionnal Requirements
<<include>>
Add a product
Get authenticated
Shopping Mall <<include>>
Manager Delete a product
<<include>>
Update product info
1
14. REQUIREMENTS SPECIFICATION
Principal scenarios
System
Admin
Add a manager request
Form to fill in
Enter parameters
Check
Add successful
Add a manager (administrator)
1
15. REQUIREMENTS SPECIFICATION
Principal scenarios
System
Supermarket Manager
Request to add a product
Form to fill in
Enter product's informations
Check
Product added sucessfully
Add a product (manager)
1
16. REQUIREMENTS SPECIFICATION
Principal scenarios
System
Customer
Search product request
Form to fill in
Specify preferences
List of products
Select a product
Check
Show product information
Look up product information (customer)
1
17. O UTLINE
▲ Overview
▲ General Concepts
▲ Requirements Specification
▲ Design
▲ Implementation
▲ Conclusion
1
18. D ESIGN
Architecture
▲ Architecture choice for the mobile client : SOA
1
19. D ESIGN
Architecture
▲ Architecture choice for the web client : 3-tier
1
21. D ESIGN
Database Schema : Entity-Relationship Model
Aisle
< contains
add/delete/view/update info
Manager . Shopping mall
. is located in
add/delete/view .
.
.
. put discount is composed of . navigates around
. .
Wifi AP
Administrator .
using
Discount
. . < has a
.
< has a
Product
.
. .
store information in DB
Map
view on smartphone .
Relation_22
Customer
show mall map
. .
< buy
2
25. O UTLINE
▲ Overview
▲ General Concepts
▲ Requirements Specification
▲ Design
▲ Implementation
▲ Conclusion
2
26. I MPLEMENTATION
Hardware Environment
Asus
• Processor Intel® Core™ i5-2450M CPU @ 2.50GHz 2.50GHz
• RAM 4.00 Go
• Operating System: Windows 7 Ultimate, SP1, 32bits
• Hard Disk: 500 Go
Qosmio
• Processor Intel® Core™2 Duo CPU P8700 @2.53Ghz 2,53
Ghz
• RAM 4.00 Go
• Operating System: Windows 7 Ultimate, SP1, 32bits
• Hard Disk: 300 Go
2
27. I MPLEMENTATION
Software Environment
Eclipse IDE
WAMP server
MySQL
Android SDK
2
38. O UTLINE
▲ Overview
▲ General Concepts
▲ Requirements Specification
▲ Design
▲ Implementation
▲ Conclusion
3
39. C ONCLUSION
▲ Needed requirements successfully implemented
▲ Sample likely be sold to hypermarkets as a prototype
▲ Possibility of improvements
▲ More features
▲ Security level
▲ Implementation on other mobile phone operating systems
3