Presentation
Download
Report
Transcript Presentation
Christopher Seeley, Ralph Mattiaccio
Ken Bodzak, Will Abeel, Danielle Maginnis
Goal: To gather ripcurrent data to assist in
research
Collect detailed information
◦ Wave data
Water level
Wave period
◦
◦
◦
◦
Time & Location
Frequency
Type of rip current
Pre-existing weather conditions
Compare to other tidal/buoy data
Use data to better
understand causes
of rip currents
Improve public
safety
◦ Avoid potential
dangers on the beach
Mobile application used by lifeguards
◦ Submit reports and input data as it happens
Website used by researchers
◦ View data in real-time
Store all reports in central website/database
Researchers can collect and use all current
and historical data for analysis
Each group has different permissions and
features available.
Three main groups:
Lifeguards
Researchers
Permission Enforcement
◦ Access Control Lists
Administrators
Use mobile
application
Submit rip current
reports
View reports
submitted within
last 24 hours
Use website
View rip current
reports
Search through all
reports
Collect large
quantities of data
from reports in a
batch
Lifeguard Admin
Add, view, and edit
managed lifeguards
within local community
Disable users or alter
privileges
View local rip current
reports
Research Admin
Add, view, and edit
researchers and
lifeguard
administrators
Disable users or alter
privileges
View all rip current
reports
◦ Last 24 hours
◦ Full search
Features of the software that must be
included:
◦ Receive GPS location data from mobile device
◦ Transmit data to remote server
◦ Store data in database
◦ Display stored data
◦ Maintain a log of database modifications
Features of the software that must be
included:
◦ Multi-user account and login system
◦ User administration
◦ Security: Restrict access to system interfaces and
data
Username and password
User account permission hierarchy
User permission enforcement
Log user activities
If time permits…
Pull external data
Use with the data collected by the users of
this system
Types of data:
◦ Coastal buoy data
◦ NOAA ocean data
◦ Expanded: NBDC buoys
Additional goals successfully implemented
Internet-connected smartphone or mobile
device
Mobile web browser:
HTML5 Compatible
◦
◦
◦
◦
Android
iOS
Blackberry
WebOS
Live web server
Provides functionality for both website and
mobile application
Specifications:
◦
◦
◦
◦
Apache2
PHP 5
MySQL
CakePHP 2.0 Framework
Web browser for non-mobile application use
◦ Internet Explorer 7+
◦ Firefox 3.0+
◦ Google Chrome
Interface with existing database systems
◦ Retrieve data from 3 local buoys and Atlantic City
tide gauge
Access given by Stevens researchers
◦ Expanded to buoys from NBDC
What’s needed:
Large project
◦ Many files and code
Collaboration
Simultaneous editing
Solution: Version Control System
◦ Subversion
User workstation
◦ Connects to web server and interacts from browser
◦ System administration and data collection
Mobile Device
◦ Internet-enabled device connects to web server
◦ Remote access and submission to system
Web Server
◦ Provides system interface and functionality
◦ Communication with database server
Database Server
◦ Store all system data and retrieve when necessary
Models
◦ Contains all data access functions
◦ Ensures data is in a usable format for DBMS
Controllers
◦ Functions to access data and determine which web
page to display
◦ Data accessed through models, returned to views
Views
◦ Contains all web pages
◦ Has all logic for organizing and displaying data to
user (through UI)
Mobile Views
◦ Similar to full website
◦ Optimized CSS/Javascript for mobile devices
Lighter UI
Smaller size
◦ Redirect based on user agent
Database Management System (DBMS)
◦ MySQL backend
Username
Password hash
Password salts
Email
Community
User type (sets permissions)
Date/time of occurrence
Reporting user
GPS/Location coordinates
Intensity
Nearby structure information
Description (comments, other info)
Buoy data (external source)
◦ Wave height, frequency
◦ Station
◦ Date/time of tidal data reading
Retrieve location data
Fill out report
List View
Map View