Sei sulla pagina 1di 11

SOFTWARE ARCHITECTURE &

DESIGN

Community-based Online GIS Mapping Application

ARCHITECHTURE DOCUMENT
Team Member: NGUYỄN NHẬT KHOA
VIẾT PHÚ

The Future Team


INTERNATIONAL SCHOOL
wiiNav Application

Table of Contents
ARCHITECTURAL DRIVERS SPECIFICATION ...........................................................................................3
USER STORY ENTITIES.................................................................................................................................... 3
OPERATIONAL USER STORIES .......................................................................................................................... 3
QUALITY ATTRIBUTE SCENARIOS ..................................................................................................................... 6
TECHNICAL CONSTRAINTS .............................................................................................................................. 6
BUSINESS CONSTRAINTS ................................................................................................................................ 6
DYNAMIC PERSPECTIVE DIAGRAMS ....................................................................................................7
C & C VIEWTYPE .......................................................................................................................................... 7
STATIC PERSPECTIVE DIAGRAMS ...................................................................................................... 10
MOBILE MODULE VIEW TYPE ....................................................................................................................... 10
PHYSICAL PERSPECTIVE DIAGRAMS .................................................................................................. 11

2
wiiNav Application

Architectural Drivers Specification


User Story Entities

ID E01
Title User
Description The person who use wiiNav Application on Android platform to
receive the Promotions from Stores
Identified Use US01: Login, US02: Logout, US03: Register, US04: Change Password,
Cases US05: Change User Information, US06: Search for a Location, US07:
Search for a Direction, US08: Change display type of Map, US09:
Locate current position, US10: Show/hide the real-time traffic
status, US11: Add a Report, US12: See Report Details, US13: Rating
the Report, US14: Add a Reflection, US15: See Reflection Details,
US16: Comment on a Reflection, US17: Leave a feedback of the
app.

Operational User Stories

ID US01
Title Login
Description As a user, I want to login into the application using account that is
being registered or using Facebook, Google so that I can use the
application.
Entities Involved E01: User

ID US02
Title Logout
Description As a user, I want to logout from the application so that I can use
another account to re-login into the application.
Entities Involved E01: User

ID US03
Title Register
Description As a user, I want to create my new account using my email address
so that I can use the application.
Entities Involved E01: User

3
wiiNav Application

ID US04
Title Change Password
Description As a User, I want to change my password so that I can keep it
secure.
Entities Involved E01: User

ID US05
Title Change User Information
Description As a user, I want to edit my profile information.
Entities Involved E01: User

ID US06
Title Search for a Location
Description As a User, I want to search for a location so that I can know where I
want to go on the map.
Entities Involved E01: User

ID US07
Title Search for a Direction
Description As a User, I want to search for a direction so that I can know the
route of the way I'm going.
Entities Involved E01: User

ID US08
Title Change display type of Map
Description As a User, I want to change display type so that I can see the map in
different type such as: satellite, terrain or default type.
Entities Involved E01: User

ID US09
Title Locate current position
Description As a User, I want to Locate current position so that I can accurately
determine my current location on the map.
Entities Involved E01: User

ID US10
Title Show/hide the real-time traffic status

4
wiiNav Application

Description As a User, I want to show/hide the real-time traffic status on the


map so that I can know the traffic situation.
Entities Involved E01: User

ID US11
Title Add a Report
Description As a User, I want to add a report so that another user can see it.
Entities Involved E01: User

ID US12
Title See Report Details
Description As a User, I want to see a report details of my report or another
user’s report.
Entities Involved E01: User

ID US13
Title Rating the Report
Description As a User, I want to rate the report if it helpful or not.
Entities Involved E01: User

ID US14
Title Add a Reflection
Description As a User, I want to add a reflection about my issues.
Entities Involved E01: User

ID US15
Title See Reflection Details
Description As a User, I want to see a reflection details of my reflection or
another user’s reflection.
Entities Involved E01: User

ID US16
Title Comment on a Reflection
Description As a User, I want to leave a comment on a reflection so that I can
express my thoughts on that reflection.
Entities Involved E01: User

5
wiiNav Application

ID US17
Title Leave a feedback of the app.
Description As a User, I want to leave a feedback so that developer team can
improve the weaknesses of the application.
Entities Involved E01: User

Quality Attribute Scenarios


-Availability: The software that is provide real-time traffic status and report.
-Flexibility: The software is should be able to be used for various kinds of
hardware configurations.
-Performance: This software run fast and smooth, no crash and low-
consuming battery.

Technical Constraints
ID TC01
Title Language
Description Use Java (v1.8), XML, NodeJS

ID TC02
Title Database
Description Use Firebase(Version 16.0.4) Development Platform

ID TC03
Title Operating System
Description This application run on Android(KitKat 4.4/SDK v.19 or higher).

ID TC04
Title Supporting Extension
Description Use API of Google Map (V2), Facebook and Google Plus. Use API of
Google Cloud Services, API of OpenFPT(Traffic Situation).

Business Constraints
ID BC01
Title Boundary
Description This application aims to users who are frequently involved in traffic
and have a habit of using the mobile map application in cities in
Vietnam.

6
wiiNav Application

Dynamic Perspective Diagrams


C & C Viewtype

Legend Table
Thumbnail Title Description
Component A generic component.
Object An object.
Data Store A data store.
Data Flow A sends data to B.

Rationale

7
wiiNav Application

Element/Relationship Catalog
Element Responsibilities
This is the place stored all data and information of LBA
Database system: Customer information, Store information,
Promotions, ...
Response for the Interface of the LBA application on
Mobile User Interface Mobile platform to help User Interact with LBA
application to use it.
Response for login, logout and signed the permission to
Mobile Handle Business Logic use functions for an account which access to the wiiNav
application on mobile platform at the time.
Response for processing all information and data that
Mobile Data Access received from Mobile Handle Business Logic and then
return data back to Mobile Handle Business Logic
User User is the person who interact with wiiNav application

Relationship Responsibilities
User [Access] Mobile User User access to wiiNav Application through user interface
Interface of this application by an account.
Mobile User Interface Mobile User Interface will send all data and information
[Send Data] Mobile Handle to the Mobile Handle Business Logic to handle the data.
Business Logic
Mobile Handle Business After Mobile Handle Business Logic check the
Logic [Return Result] information and data, it will return the data to Mobile
Mobile User Interface User Interface to display that data.
Mobile Handle Business When Mobile Handle Business Logic received data from
Logic [Request Data] Mobile User Interface, it will send the data to the
Mobile Data Access Mobile Data Access to check if data true or not.
Mobile Data Access This module will return the data after it received a
[Respond Data] Mobile request and process data.
Handle Business
Mobile Data Access All information and data which is being handled by
[Request Data] Real-time Mobile Data Access will be send to Real-time Database
Database to continue handle.
Real-time Database The Real-time Database will return the data and
[Respond Data] Mobile information back on Mobile Data Access.
Data Access

8
wiiNav Application

Real-time Database [Send Real-time Database will send all data and information to
Data] Data Store the Data Store to stored.
Data Store [Get Data] Real- Real-time Database get data and information from Data
time Database Store.
Mobile Handle Business Mobile Handle Business Logic send a request to Firebase
Logic [Send Request] Authentication.
Firebase Authentication
Firebase Authentication Firebase Authentication will respond a permission. It
[Respond Permission] also allowed the permit that Can user be able to login
Mobile Handle Business and use the application.
Logic
Mobile Handle Business Mobile Handle Business Logic request data for base map
Logic [Request Data] from Google Map API.
Google Map API
Google Map API [Respond Google Map API will respond data for base map to
Data] Mobile Handle Mobile Handle Business Logic.
Business Logic
Mobile Handle Business Mobile Handle Business Logic request data for location
Logic [Request Data] from Google Places API.
Google Places API
Google Places API Google Places API will respond data for location to
[Respond Data] Mobile Mobile Handle Business Logic.
Handle Business Logic
Mobile Handle Business Mobile Handle Business Logic request data for direction
Logic [Request Data] from Google Direction API.
Google Direction API
Google Direction API Google Direction API will respond data for direction to
[Respond Data] Mobile Mobile Handle Business Logic.
Handle Business Logic

Group Responsibilities
Mobile Present for Mobile device that use LBA application

9
wiiNav Application

Static Perspective Diagrams


Mobile Module View type

Legend Table
Thumbnail Title Description
Library A library of modules.

Class A class artifact.

10
wiiNav Application

Physical Perspective Diagrams

11

Potrebbero piacerti anche