Académique Documents
Professionnel Documents
Culture Documents
Gordon Bland
CS411
Gene Price
February 9, 2011
February 9, 2011
Table of Contents
1 – Introduction ............................................................................................................................... 4
2
February 9, 2011
Glossary ........................................................................................................................................ 34
A, B, C....................................................................................................................................... 34
D, E, F ....................................................................................................................................... 34
G, H, I ........................................................................................................................................ 35
J, K, L ........................................................................................................................................ 35
M, N, O ..................................................................................................................................... 35
P, Q, R ....................................................................................................................................... 36
S, T, U ....................................................................................................................................... 36
V, W, X, Y, Z ............................................................................................................................ 36
References ..................................................................................................................................... 37
3
February 9, 2011
1 – Introduction
Personal safety has become more of a concern at college campuses with crimes occurring
on defenseless students. At Old Dominion University, crime on and near the campus is
problematic despite having a campus police force to help protect and serve the students and
faculty. Just over the course of two months, twelve crimes were reported around the Old
Dominion University campus in September and October of 2010 (Fig. 1 & 2).
When a crime is committed, it is not always feasible to contact the police immediately for
help. In stances where a person is being held against their own will, whether it is a kidnapping or
a robbery, a simple push of a button could save a life and aid in the prosecution of criminals.
With the Personal Alert and Safety System, no longer will a person have to fumble around trying
to call on their cell phone when time is of the essence. With smartphones these days, unlocking a
phone has become increasingly difficult in order to secure our phones better, but PASS allows a
beacon for help to be sent with your location with a simple button press.
4
February 9, 2011
5
February 9, 2011
Even though some campuses, such as Old Dominion University, have their own private
police forces, the victims typically cannot contact the police until after the crime has occurred.
For some crimes, this is not adequate, but instead immediate help is needed. The Personal Alert
and Safety System, or PASS, is a product conceived by the Old Dominion University CS410Blue
6
February 9, 2011
Group in the fall semester of 2010. This product is a system designed to aid is faster response
times with better directions to better assist victims. With PASS implemented on a campus such
as Old Dominion University, where a private police force is present, the campus or facility may
be better protected and the private police force may be better utilized to extend resources.
The Personal Alert and Safety System consists of alert fobs, a system of transceivers, and
various components for the police force. In a crime where a victim was unable to call the police,
they would have the opportunity to send a silent alert to the police of their location and need for
help by simply pressing the button on the fob. The campus police will now be able to find the
7
February 9, 2011
2 – Product Description
PASS will essentially be a personal panic button much like those found on car key fobs.
The difference is that this one does not make a loud noise to scare an assailant off, but instead,
private police or security forces are alerted to your location to assist you. Due to this system
There are other personal security devices, but none quite like PASS. PASS will be
expandable for large campuses and it will feed location and profile information to the police
forces. Each user of the PASS system will be linked to a particular fob, and to that fob, a profile
of the user. In this manner, alerts will not only tell the police and security forces where the crime
has been committed, but also who the suspected victim is with a some other biological
8
February 9, 2011
The Personal Alert and Safety System will consist of three general modules:
1. Fobs – These Devices will be used to silently and quickly alert police for help.
2. Transceivers – These small transceivers will both receive the alerts from the users, but it
9
February 9, 2011
3. Master Unit – This part will include the brains of the system. It will start from the
receiving the alerts to the interface that alerts the police. This will also include the main
database where all the data for the system will be stored.
2.1.2 – Capabilities
PASS will:
• Police will receive an approximated location for alerts and a profile of the fob’s owner.
• The system will be expandable for a growing campus. No one PASS is the same, so it
• Fobs – Custom made for PASS. In the case of college campuses, it is suggested every
• Master Receiver - A minimum of two transceivers set to receive only mode. One
• Master Control Module (MCM) – Software for receiving alerts, location information,
• Dispatch User Interface (DUI) - Browser-based web forms application using ASP.NET
or equivalent technologies.
10
February 9, 2011
11
February 9, 2011
12
February 9, 2011
The user hardware will consist of a security fob. This fob will send signals to the
transceivers when the mechanism is depressed. The fob will have a unique identity that points to
a unique user profile to which the fob is assigned. In this way abuse may be curbed, and better
13
February 9, 2011
Other software will include a security fob registration component. This software will
allow the user profiles to be built that will be linked to each fob. Here the bio user may be built.
Typical information stored here may be, but not limited to: user photo, name, sex, eye color,
Name Description
Calls DB using create_user call and
addUser
supplying necessary variables.
Calls DB using create_fob and supplying
addFob
necessary variables
Calls DB using update_fob and supplying
linkUserToFob
necessary variables
deleteUser Calls DB using delete_user
deleteFob Calls DB using delete_fob
deactiveFob Calls DB using deactive_fob
Name Description
addTransceiver Calls DB using create_transceiver
deleteTransceiver Calls DB using delete_transceiver
updateTrasceiver Calls DB using update_transceiver
14
February 9, 2011
The Dispatch User Interface, or DUI, will include the software at which police will
receive the alerts from. This will have an interactive map of the particular PASS system site,
with the initial site being Old Dominion University. When alerts are received, the location will
be displayed on the map, and further information may be brought up such as the bio of the user.
15
February 9, 2011
Name Description
This algorithm displays an indication of a
DisplayMap
map on the UI screen.
This algorithm displays the Incident Log
DisplayLogInfo information in an easily editable manner on
the UI screen.
This algorithm displays an indication of an
alert on the map on the main UI screen. It
will place a red indicator over the center of
the alert area. It will then show circle
DisplayAlertOnMap
indicating the radius of the alert. It will
redraw the incident every 30 seconds or so
based on new input from the transceiver
networks.
16
February 9, 2011
Name Description
Makes an AJAX call to the Dispatch Web
Server calling the function
getAllIncidentsByDate expecting an
getAllIncidentsByDate
array as a result. The response is then
converted into a HTML fragment to be
placed on the page in real time.
Makes an AJAX call to the Dispatch Web
Server calling the function getIncidents
getIncident expecting a JSON array as a result. The
response is then converted into a HTML
fragment to be placed on the page in real time.
17
February 9, 2011
The MCU has software that the DUI runs on top of. They are very similar and can be
considered one in the same. The difference is the side menus that are open.
18
February 9, 2011
Name Description
This algorithm utilizes a hardware interrupt
ReceiveSignal watching the USB port for a call from the
Master Receiver.
This algorithm splits the signal into its parts
(Transceiver, Fob, Status). Then it builds
objects to be used in other routines. The final
DisectSignal
stage calls the RouteData algorithm. Will
call: GetTransceiver, GetFob, GetUser,
GetStatus, RouteData
19
February 9, 2011
20
February 9, 2011
21
February 9, 2011
The fact that it is adjustable for individual applications and can grow as large as needed. The
technology is well tested and proven, thus allowing it to easily adjust to many applications.
Because of this, the applicable market is very large, and with various configurations of Personal
The initial market will be for Old Dominion University. This will allow statistics and
adjustments for the product to be made before full marketing begins. The location will provide
an ideal location for the initial market, as it is a campus with high crime rates in an urban
environment. With a large student population, faculty, and staff, this will truly be test for proof
3.2 – Campuses
College campuses have been the location of many horrific events ranging from minor
fights or robberies to massacres with a deranged student. Because of the dense population in
these areas with easy targets for criminals, these are all ideal locations for a Personal Alert and
Safety System to be installed. The market will grow into this market following the initial
22
February 9, 2011
Later in the development of PASS, the market may be expanded to businesses and other
complexes such as government buildings and hospitals. Complexes such as the Googleplex,
would be also be excellent applications as well where large buildings are present with many
employees. Even prisons would be great applications where prison fights may break out and an
officer may get held hostage. Even high schools could be used as well, but limiting fobs to only
faculty.
23
February 9, 2011
The Personal Alert and Safety System, unfortunately is a large system to prototype fully.
Because of this, the scope of the project must be limited. There are a few key differences
between the real world product and the prototype. In Figure 10, the differences are outlined.
Because the project is so large, previously tested technology will not be the focus of our
prototype, so few transceivers will be used; however, heavy testing will rely on the prototyped
Master Control Module and Master Receiver. This is where PASS will be shown in a proof-of-
concept.
Features Prototype
Nordic Fob (WRL-
Fob 08602)
One transceiver
incorporated into an
Arduino prototype
board (Hardware
Test). Network of
transceivers will be
simulated using
Transceivers software.
Simulated using
Master Receiver software.
Single process,
different threads
simulating different
Master Control aspects of RWP
Module suite.
Dispatch User C# Windows
Interface application
Not simulated or
tested for this
Website phase.
Microsoft SQL
Server Express on
Database Server test platform
Figure 12 - Prototype Equivalent Components.
24
February 9, 2011
In order to make this prototype feasible, scoping is an issue. Some general assumptions
1. Weather We assume that there are perfect atmospheric conditions, i.e. the weather is
bright and sunny and a perfect 72 degrees Fahrenheit.
2. Radio No radio interference exists; therefore we will not worry about signals on
Interference the same wavelength.
3. Simulated Areas The selected areas for simulation represent realistic expectations of
campuses.
4. Valid Users Anyone accessing the dispatch user interface web application will be
assumed to be a valid user negating the need for a login utility.
5. Hardware For the purposes of simulation, we will also ignore hardware malfunctions.
Accuracy
The three most important assumptions here are weather and hardware accuracy. These
two components are far too complicated to predict in a timely manner for prototyping purposes.
Negating this extra work to calculate, prototyping as a proof-of-concept will be made much more
easily. Another important assumption is that there will be no radio interface. On a larger scale,
25
February 9, 2011
4.2.1 – Hardware
For prototyping purposes the below tables represent algorithms that will be tested on the
hardware side of the PASS project. These specific algorithms will test the microcontroller-driven
transceiver that will act as the master receiver. A very important command here is ReceiveSignal.
With this command, alert signal from a fob will be received and passed to the MCM.
26
February 9, 2011
27
February 9, 2011
The other hardware aspect to be tested is the fob. Here we must make sure the prototype
will be able to read the button input and send the alert signal via ReadButtons and SendSignal
4.2.2 – Software
The prototype will rely heavily on software testing as much of the hardware is being
simulated. As the software process model shows, the simulated network will be connected to the
database and the database to the Dispatch User Interface. This is also the general view of the
28
February 9, 2011
Because the prototype relies so heavily on the production of software components, many
algorithms and functions were developed to make this possible. The Transceiver Network
Name Description
getTrancieverLocation Displays location of individual reciever
Starts the network Simulation, draws a
circle around key fob and outputs data to
getAllIncidents GUI
getUserInfo Displays User ID on the GUI
29
February 9, 2011
Name Description
Removes a row from
delete_IncidentLog
INCIDENT_LOG
Updates an
update_IncidentLog
INCIDENT_LOG row.
Creates a new row in
create_IncidentLog
INCIDENT_LOG table
Gets all Incidents logged to
select_incidentLog_All
the database
Gets the record with the ID
select_incidentLog_RecordID
provided.
Gets all incidents logged
select_incidentLog_Dates between (inclusive) the
dates provided.
Creates a new row in
create_user USER_INFO; called from
registerUser
Updates a row in the
update_user
User_Info table.
select_user_all Gets all User_Info records
Gets the record with the ID
select_user_recordID
provided.
Removes a row from the
delete_user
User_Info table.
Creates a new row in the
create_fob
Fob_Info table.
Updates a row in the
update_fob
Fob_Info table.
Gets all rows from the
select_fob_all
Fob_Info table.
Gets the record with the ID
select_fob_recordid
provided.
Gets all rows from the
select_fob_all_active Fob_Info table that are
marked as active.
deactivate_fob Sets isActive to false
Removes a row from the
delete_fob
Fob_Info table.
Creates a new record in the
create_incident_transceiver Incident_Transceiver_List
table.
Updates a record in the
update_incident_transceiver
Incident_Transceiver_List
30
February 9, 2011
table.
Name Description
Calls DB procedure
getAllIncidents select_IncidentLog_Dates requesting all
incidents from time period x to y.
getIncident Calls DB requesting a single incident.
Calls DB requesting a single user's
getUserInfo information using the linked Fob ID.
Calls select_transceiver_recordID and
parses the row for the status field and then
getTransceiverStatus returns that.
Calls DB select_transceiver_all and parses
each row for status field. Returns an array
of pairs of all status messages indexed by
getAllTransceiverStatus transceiver ID.
getAllUsers Calls DB select_user_all
31
February 9, 2011
Calls DB update
select_IncidentLog_RecordID and then
calls DB again using returned data but
changing Description for
setIncidentLog update_IncidentLog
Upon receiving message from MRL's
notifyApplication, it requests data using
select_incident_transceiver_RecordID and
incidentAlert passes it to necessary drawing functions.
Uses location data from transceivers listed as
reporting to the incident ID passed to and
drawPoint processed by incidentAlert
As said before, the prototype is being scaled down in terms of scope. A major change is
the lack of a physical network of transceivers, but instead a simulated network component will
be added for testing purposes. The general product has been kept intact; however as seen in the
chart, certain parts were omitted or replaced to save on money, time, and to eliminate
32
February 9, 2011
A minimum of two
transceivers set to
receive only mode.
One transceiver will
be used as the MR and
at least one for Simulated using
Master Receiver backup. software.
Single process,
different threads
Master Control simulating different
Module Suite of software aspects of RWP suite.
Browser-based web
forms application
using ASP.NET or
Dispatch User equivalent C# Windows
Interface technologies. application
Hosted on an
independent web
server that manages
communication for
customer support, base
package quotes and Not simulated or
Website product registration tested for this phase.
Microsoft SQL Server
Microsoft SQL Server Express on test
Database Server database server platform
Figure 16 - RWP vs. Prototype Feature Comparison Chart
33
February 9, 2011
Glossary
A, B, C
AJAX - Shorthand for Asynchronous JavaScript and XML. AJAX is a collection of web
Algorithm – Finite list of well-defined instructions for calculating a function with predefined
input.
Alert Signal – When the fob button is depressed, it transmits a signal to the transceivers known
as an alert signal.
Arduino – Microcontroller to interface the main system running the software suite and the
master receiver.
D, E, F
Database – System that manages data and allows data to be entered and removed.
Database Procedures – Commands that allow data to be modified, retrieved, and entered into a
database.
Dispatch Personnel – Operators of the phones and support staff of the dispatch station.
34
February 9, 2011
Dispatch User Interface – Interface of the software in which dispatch personnel will operate the
PASS with.
Dispatch Web Server – Server hosting the web interface for a particular PASS installation.
Driver – Software to interface computer components to the main machine and operating system.
Fob Registration – Process of linking a user to a fob i.e. user ID linked to a fob ID.
G, H, I
Hop Count – How many transceivers it takes to link an alert to the master receiver.
J, K, L
M, N, O
Master Control Module – The brains of the PASS installation. This includes the Master
Master Receiver – The receiver connected to the MCM. This receiver will be the last to receive
an alert signal.
35
February 9, 2011
Microcontroller - A small integrated circuit with a dedicated CPU and memory typically used
P, Q, R
Prototype – Original of a product, typically used for initial building statistics and testing.
RF – Radio Frequency.
S, T, U
Solar Panel – Small panel that that is used to turn solar energy into electrical energy.
Transceiver – Small piece of hardware that both sends and receives radio transmissions.
V, W, X, Y, Z
36
February 9, 2011
References
Faculty and Staff. (2008, November 13). Retrieved February XX, 2011, from Old
Dominion University: http://www.odu.edu/oduhome/faculty.shtml
NOTE: used for personnel statistics
Old Dominion University. (2011, January). Retrieved February XX, 2011, from
Education-Portal.com:
http://education-portal.com/directory/Old_Dominion_University.html
NOTE: used for personnel statistics
Wilson, Patrick (2010, November 03). Robbery crimes at or near campus. The
Virginian-Pilot, p. B3.
37