Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Phase3 4
1. Software Architecture Block Diagram:
Sign in /
Sign up
Module
Trips
Module
Business
Logic
Push
Notifications
About
Module
GPS
Module
Help
Module
Settings
Module
Each module in this block diagram is detailed below with the interactions between components within
each module separately.
Sign in/Sign up Module:
The application user using the smart phone has two options.
1.) Sign In : The user logs into the SmartDriver application with his credentials which gets validated in
the background with the Mobile Database. If the user entered the proper credentials the user gets the
access to use the application otherwise he is restricted from accessing the application.
He is also shown a hyperlink which asks him to sign up to the application if he is a first time user.
2.) Sign Up: The user is treated as a new user and therefore he needs to provide genuine details such as
personal information, official information and answer security questions. These are the checks which
prevent miscreants or software attacks that stall the application’s performance.
Request Authenticatio
n request
Mobile DB response
Sign in /
Sign up
2. GPS Module:
This Module deals with fetching location data and speeds of the vehicle using GPS API from GPS.
Requests location
data and speeds Fetches from
GPS API GPS
GPS
Settings Module:
Whenever the user changes his settings, modified settings are updated in the mobile database and
corresponding changes are reflected on the device.
Settings Mobile DB Request
Push Notifications Module:
Business Logic determines when to trigger notifications. It is based on hard breaking and rapid
accelerations. Whenever the required conditions are met, push notifications are triggered and delivered to
the device by APNS server(in Apple) or corresponding push notifications services in other devices.
Push Noti-fications
Business
Logic
Delivers
notifications
Triggers
notifications
modifications
Update
settings
Updated
Response settings
3. Trips Module:
Trips are periodically updated into the mobile database and are shown when user taps trips from menu
item.
Mobile DB
Request trips
Response
Sample User Screens:
Trips Screen - When user taps on a trip, it is taken to next screen where the trip is shown on a map. Hard
breaks and rapid acceleration points are marked on the map.
5. Managing Changes:
Change
Request
Details
(to
be
filled
by
the
customer)
Change Request Number
Project Name
Location of the existing
problem
User Interface ( Front end )
Database ( Back end )
Report generation ( Email )
Related to GPS Tracker
Others
Priority Low Medium High Mandatory
Module Affected
Brief Description of
Change Request
Reason for Priority
Request Submitter’s Name Email
Phone Date
Project
Impact
(to
be
submi>ed
by
the
project
team)
Investigator’s Name Email
Release Patch Version
Estimated Schedule
Change
Estimated Budget Change
Assumptions and Notes
Comments for
implementing the change
Attachments / References Link:
Project Manager Email
6. Approval Signature Signoff Date
Cross References Listing:
Reference
Number
System
CapabiliBes LocaBon
in
FuncBonal
Requirements
LocaBon
in
SRS
1 Start
the
Smart
Driver
applica/on
Splash
Screen
User
2 Help
user
to
familiarize
first
/me
user
with
the
usage
of
the
app
Help
Screen
Screen
Reader
3 Signing
up
the
user
using
facebook
or
email
address
either
as
parent
or
a
driver
Login/Signup
Sign
in/
Sign
up
Module
4 Parents
can
choose
exis/ng
app
user
as
their
children
and
monitor
them.
User
needs
to
confirm
first
Login/Signup Sign
in/
Sign
up
Module
5 Side
naviga/on
from
leE
or
right
slider
which
provides
following
op/ons
:
1)
Profile
2)
About
Smart
Driver
3)
Help
4)
Edit
Trips
Etc.
Side
Naviga/on
SePngs
Module
6 Provide
customer
profile
informa/on
fetched
Profile
SePngs
Module
7 Informa/on
on
the
concept
and
idea
behind
the
app
About
Smart
Driver
About
Module
8 Provide
the
func/onality
of
edi/ng
trips
on
the
basis
of
user
preferences
Edit
trip
SePngs
Module
9 User
can
report
problems
regarding
the
app
Report
Problems
Help
Module
10 Choice
for
the
user
to
be
invisible
and
receive
no/fica/ons
or
not
SePngs
SePngs
Module
7. 11 User
feedback
and
ra/ng
on
the
app
store
App
feedback
About
Module
12 App
privacy,
terms
and
condi/ons Privacy
and
Terms
About
Module
13 Interac/ve
color
code
based
comparison
of
the
scores
Home
Screen
Business
Logic
Module
14 Providing
all
naviga/on
op/ons
with
the
naviga/on
link,
like
sePng
up
des/na/on
and
shortest
path
etc.
Home
Screen
GPS
Module
15 History
of
recent
trips
along
with
the
detailed
informa/on
about
the
trip
like
:-‐
1)
Hard
breaking
2)
Rapid
accelera/on
3)
Distance
travelled
Etc.
Home
Screen
Trips
Module
16 Map
based
trip
detail
with
various
edit
op/ons
such
as
trip
name,
type
of
trip
etc.
Trip
Details
GPS
Module
17 Provides
the
interac/ve
user
feedback
with
the
score,
miles
travelled
Driver
Alerts
Score
Business
Logic
Module
18 Comparison
with
other
app
users
and
feedback
on
improving
the
score
Driver
Alerts
Score
Business
Logic
Module
19 Op/on
to
share
the
score
on
social
media
Driver
Alerts
Score
SePngs
Module
20 Track
of
user’s
driving
habit
through
no/fica/on
to
parents
Push
No/fica/on
Push
No/fica/ons
Module
21 Tracking
the
user’s
most
frequently
used
loca/on
and
determining
whether
its
home
or
not
Driver
Score
Calcula/on
Business
Logic
Module
22 Calcula/on
of
score
based
on
various
rules
Driver
Score
Calcula/on
Business
Logic
Module
8. Integration Thread:
Sign in /
Sign up
Module
Trips
Module
GPS
Module
The
Integra/on
Thread
includes
our
three
basic
modules
and
this
integra/on
thread
can
serve
as
a
founda/on
for
the
remainder
of
the
system
to
be
built
upon.
These
modules
can
be
used
to
perform
its
basic
func/onality
and
generate
necessary
data
to
be
processed.
Diagram
here
is
based
on
the
SoEware
Architecture
Block
Diagram
described
before.
First,
for
Sign
in/up
Module,
user
signs
in
(sign
up
for
first
use),
user
can
input
his
or
her
data
into
mobile
DB
or
retrieve
it.
These
data
is
what
we
will
process
later.
Second
GPS
Module
is
the
center.
This
Module
deals
with
fetching
loca/on
data
and
speeds
of
the
vehicle
aEer
user
signs
in
and
retrieve
all
the
data
or
input
appropriate
informa/on.
Trips
Module
is
built
aEer
we
finish
sign
in/up
module
and
GPS
module,
in
Trips
module
user
can
create
their
9. own
trips
using
the
data
aEer
going
through
GPS
Module
in
mobile
DB.
Other
Modules
such
as
Push
No/fica/ons
Module,
SePng
Module
can
be
created
base
on
this
integra/on
thread