Professional Documents
Culture Documents
Project 2 Itiger Catbus Tracking System: Analysis and Design
Project 2 Itiger Catbus Tracking System: Analysis and Design
Table
of
Contents
SECTION
1:
EXECUTIVE
SUMMARY...................................................................................................3
SECTION
2:
USE
CASES ..........................................................................................................................4
2.1:
USE
CASE
DIAGRAMS ....................................................................................................................................... 4
2.2:
USE
CASE
NARRATIVES ................................................................................................................................... 6
SECTION
3:
SYSTEM
PROCESS
REQUIREMENTS...........................................................................7
3.1:
DATA
MODELS
AND
DESCRIPTIONS .............................................................................................................. 7
3.2:
LOGIC
MODELS .................................................................................................................................................. 9
3.3:
GAP
ANALYSIS ................................................................................................................................................... 9
SECTION
4:
SYSTEM
DATA
REQUIREMENTS .................................................................................9
4.1:
ENTITIES ......................................................................................................................................................... 10
4.2:
ATTRIBUTES ................................................................................................................................................... 11
4.3:
RELATIONSHIPS ............................................................................................................................................. 12
4.4:
DATABASE
DESIGN
MODEL ......................................................................................................................... 12
SECTION
5:
INTERFACE
DESIGN ..................................................................................................... 13
5.1:
TECHNICAL
STAFF ......................................................................................................................................... 13
5.2:
CATBUS
PASSENGERS .................................................................................................................................. 13
5.3:
SCREEN
DESIGNS ........................................................................................................................................... 14
SECTION
6:
SYSTEM
ARCHITECTURE ........................................................................................... 15
6.1:
CLIENT
SERVER
MODELS ............................................................................................................................. 16
6.2:
DISTRIBUTED
FUNCTIONALITY ................................................................................................................... 16
SECTION
7:
IMPLEMENTATION
PLAN .......................................................................................... 17
7.1:
CODING ............................................................................................................................................................ 17
7.2:
TESTING .......................................................................................................................................................... 17
7.3:
INSTALLATION
(ROLLOUT).......................................................................................................................... 18
7.4:
DOCUMENTATION .......................................................................................................................................... 20
7.5:
TRAINING ........................................................................................................................................................ 20
7.6:
SUPPORT ......................................................................................................................................................... 21
SECTION
8:
CONCLUSIONS
AND
RECOMMENDATIONS ........................................................... 21
Alternate Course
Preconditions Postconditions Assumptions Use Case Name Actors Description Flow of Events
Figure 3.1: Level 0 Data Flow Diagram The level- 0 DFD above demonstrates the system process at a high level. The systems will receive Bus Locations from the GPS Devices on the buses as well as both user requests to generate real-time maps and information regarding the nature of how the user is using the system (info. Regarding browser, IP Address, location, network, time of day, etc.). The system will generate maps and send them to the end-users network-linked device; moreover the system will generate maps displaying historical bus movements and data- tables regarding user information for the system administrators.
4.1:
Entities
1. User
2. Access Device
3. Web-based
portal
4. GPS
locator
device
5. Buses
10
4.2:
Attributes
1. Users
(User_IP,
AccessDevice_ID,
User_Type)
User_IP:
primary
key,
each
user
has
a
unique
IP
address.
AccessDevice_ID:
foreign
key.
User_Type:
defines
the
type
of
users,
such
as
student,
faculty,
or
staff.
2. AccessDevices
(AccessDevice_ID,
AccessDevice_Type,
User_IP)
AccessDevice_ID:
primary
key,
each
access
device
to
the
web
portal
has
a
identification
number.
User_IP:
foreign
key.
AccessDevice_Type:
defines
the
device
type
that
the
user
users,
for
instance,
desktop,
laptop,
or
smartphone.
3. Drivers
(Driver_ID,
Bus_ID,
GPS_ID,
Driver_Name)
Driver_ID:
primary
key,
every
CAT
bus
driver
has
a
unique
ID.
Bus_ID:
foreign
key.
Driver_Name:
name
of
the
driver.
4. Buses
(Bus_ID,
Driver_ID,
GPS_ID,
Bus_Location,
Bus_Route)
Bus_ID:
primary
key,
each
CAT
bus
has
a
identification
number.
Bus_Location:
defines
the
location
of
the
bus
at
each
time
point.
Bus_Route:
illustrates
the
route
of
the
CAT
bus.
5. GPSLocatorDevices
(GPS_ID,
Bus_ID,
Bus_Location,
Battery_Info)
GPS_ID:
primary
key,
each
GPS
device
has
a
unique
number.
Bus_ID:
foreign
key.
Battery_Info:
information
from
GPS
battery.
6. Web-based
tracking
portal(User_IP,
AccessDevice_ID)
User_IP:
primary
key,
when
a
user
visits
the
web-based
tracking
portal,
the
portal
will
identify
the
unique
IP
address.
AccessDevice_ID:
foreign
key.
11
4.3:
Relationships
1. Each
use
is
capable
of
ranging
from
no
access
device
to
many
different
kinds
of
access
devices.
For
instance,
laptops,
desktops,
or
smartphones
may
be
points
of
access
for
and
individual
user;
however,
only
one
user
can
own
each
access
device.
2. Each
access
device
can
access
one
web-based
portal,
which
includes
different
bus
route
information.
On
the
other
side,
each
web-based
portal
could
be
accessed
by
zero
to
many
access
devices.
3. Every
GPS
device
has
one
and
only
one
web-based
portal,
and
every
portal
includes
the
location
information
of
only
one
GPS
device.
4. Each
GPS
device
can
be
installed
on
only
one
bus,
and
each
bus
can
have
only
one
GPS
locator
device.
5. Each
driver
can
drive
different
routes
and
every
bus
can
be
driven
by
different
drivers,
thus,
the
relation
between
bus
and
driver
would
be
many
to
many.
12
13
Figure 5.1: An Example of a route drop down menu for the passenger
14
Figure
6.1
depicts
the
architecture
of
the
system
at
a
high
level.
The
GPS
devices
on
the
buses
send
bus
telemetry
data
through
the
internet
to
a
listening
daemon
in
AT
format.
The
listening
daemon
is
a
program
that
runs
in
background
rather
than
under
the
direct
control
of
a
user.
The
daemon
is
interfaced
with
the
DBMS
through
MySQL
to
update
the
bus
telemetry
data
in
the
database.
An
Apache
Web
Server
requests
and
retrieves
bus
telemetry
15
This
system
would
be
considered
a
distributed
data
and
application
(4
tier)
client/server
solution.
At
the
data
level,
the
data
is
stored
on
the
database
server
and
the
data
16
This section describes how the iTiger CATbus location system will be implemented including: Coding, Testing, Installation (Rollout), Documentation, Training, and Support.
7.1:
Coding
o Coding
Hire
graduate/undergraduate
students
to
implement
the
coding
using
the
data
flow
diagrams
provided
in
Section
3
and
any
other
useful
material
found
in
this
document.
o Coders
should
be
familiar
with
JavaScript,
HTML,
CSS,
and
MySQL.
Program
Documentation
See
Documentation,
Section
7.4
7.2:
Testing
o Test
scenarios
(test
plan)
and
test
data
Desk
Checking
coders
will
systematically
test
strings
or
segments
of
code
as
the
code
is
being
developed
Unit
(Module)
coders
will
check
individual
modules
using
test
data
to
ensure
modules
are
operating
properly,
receiving
correct
inputs
and
producing
correct
outputs.
Integration
testing
the
way
modules
work
together.
As
the
modules
and
entire
system
are
relatively
small,
module
coupling
will
be
tested
systematically
using
test
data
samples
to
ensure
proper
function.
System
testing
modules
in
the
entire
system
to
ensure
they
interact
together.
Following
integration,
the
entire
system
as
a
whole
will
be
tested
using
sample
data
that
has
been
previously
constructed
to
mimic
real-world
data
input.
Acceptance
testing
does
system
work
in
real
world?
Alpha
testing
17
18
19
7.4:
Documentation
There
are
two
audiences
for
requiring
documentation:
System
Administrators
and
System
Users.
o System
documentation
-
detailed
design
specifications
External
documentation
structured
diagrams
and
their
supporting
documentation
are
provided
in
the
previous
sections
of
this
report.
The
documentation
will
be
maintained/updated
and
stored
with
the
system
administrator.
Internal
documentation
included
in
the
code
are
comments
describing
particular
lines
purposes,
variables
and
their
descriptions,
and
module
names
and
descriptions
o User
documentation
Will
include
instructions
on
how
to
download
the
application
and
operations
manuals.
The
manuals
will
contain
a
trouble
shooting
guide
and
7.5:
Training
o User
training
plan
Classes
and
tutorials
will
be
offered
as
discussed
previously
in
Section
7.3,
bullet
three.
Freshman
orientation
is
suggested
as
an
initial
dispersion
point
for
the
system
application.
This
will
isolate
system
installation
problems
to
scheduled
times,
should
they
arise
and
allow
new
users
to
attend
the
training/familiarity
course
for
application
training.
o User
training
modules
Training
materials
will
include
a
user
manual
available
on
the
CCIT
website
Tutorials,
FAQs,
and
Tips
will
also
be
available
for
users
on
the
CCIT
website
CU
homepage
announcement
will
be
constructed
and
made
available
to
the
public,
Help
button/tab
will
be
available
in
the
application
to
provide
users
with
a
simplified
description
of
use.
Symbol
legend
will
also
be
provided
or
something
similar
to
a
scroll-over
tag
where
the
user
can
scroll
over
a
button
and
the
description
of
the
button
will
pop
up.
20
7.6:
Support
o User
support
plan
Help
desks
will
be
provided
at
both
the
main
CCIT
office
in
the
Student
Union
and
at
the
CCIT
Martin
Help
desk,
as
well
as,
the
Help
Desk
on
the
Cooper
Library
5th
floor,
west
side.
Online
help
CCIT
Website
Bulletin
Boards
may
display
fliers
stating
training
session
dates,
times,
and
locations
Help
menu
will
be
available
within
the
application
21