210 likes | 319 Views
Dragutin’s comments labeled DP 09/21/05. NetBEAMS A System Overview. Bill Huynh, Brian Zambrano bill_huynh@sbcglobal.net , bzambran@sfsu.edu Computer Science Department San Francisco State University. DP: be sure to give proper credit to all. Outline. Introduction
E N D
Dragutin’s comments labeled DP 09/21/05 NetBEAMSA System Overview Bill Huynh, Brian Zambrano bill_huynh@sbcglobal.net, bzambran@sfsu.edu Computer Science Department San Francisco State University DP: be sure to give proper credit to all Department of Computer Science
Outline • Introduction • What this project is about • Life before NetBEAMS • Components • What NetBEAMS is comprised of • Examples • What NetBEAMS is providing right now • Future • Where is NetBEAMS headed Department of Computer Science
About this Project • SFSU’s Romberg Tiburon Center uses sensors to measure various sea water variables • This project’s aims are to distribute these measurements in real-time to any internet connected user Department of Computer Science
Seabird Sensor • Mfg: Seabird Electronics • Directly measures • Temperature • Pressure • Conductivity • Photosynthetically available radiation • Transmittance • Internally Calculates • Salinity • Others depending on device configuration Department of Computer Science
Before NetBEAMS • Sensors took measurements and stored data in internal memory • Data needed to be manually downloaded and analyzed • Issues with this method • Slow • Not real time • Not easily shared • Not really persistent Department of Computer Science
The NetBEAMS Solution Department of Computer Science
DP: Throw a slide with page from our WWW site showing map wit sensor data expanded Department of Computer Science
JDDAC • Data acquisition framework from Agilent Technologies • Benefits • Easily describes data (meta-data) • Provides transport mechanism (HTTP) • Very low latency from measurement to dissemination • Runs on J2EE, J2SE* and J2ME • Build scripts determine J2SE or J2ME • NetBEAMS is ultimately a J2ME application *Note - Nice to have J2SE for debugging! DP: Define acronyms List functions it has and what kind of SW architecture and APIs Department of Computer Science
Phone/Controller • Motorola i730 cellular phone with Nextel service running J2ME • Communication is via RS-232 • Benefits • Existing reliable network • Relatively easy to program using JDDAC • Built-in GPS • Currently investigating other platforms Department of Computer Science
Measurement Cycle Every six minutes • Wake up • Take sample • Go to sleep • Send measurements RS-232 • Parse measurement string • Update variables JDDAC Server Sensor Department of Computer Science
Data Dissemination via NRSS • NRSS – Numeric RSS • NRSS is a superset of RSS • Adds metadata and numeric data to fully describe measurements <description> <nrss:metadata> <nrss:arg n="name">water temperature</nrss:arg> <nrss:arg n="category">Seabird</nrss:arg> <nrss:arg n="upperLimit">+35</nrss:arg> <nrss:arg n="midt">246</nrss:arg> <nrss:arg n="units">celsius</nrss:arg> <nrss:arg n="mfg">Sea-Bird Electronics</nrss:arg> <nrss:arg n="dataType">Float64</nrss:arg> <nrss:arg n="mid">BZ1tl51234GL3vZrrR4/Og:2</nrss:arg> <nrss:arg n="description">Sea water temperature</nrss:arg> Department of Computer Science
NetBEAMS.org Design DP I would do this earlier then explain components Department of Computer Science
NetBEAMS.org DP: As is aid Before, I would show these few slides from WWW site earlier Department of Computer Science
Browsing Available Sensors Department of Computer Science
Sensor Detail Available channels: Water temperature, pressure, salinity, etc. Hourly/daily/weekly plots for each channel Updated dynamically as new data arrives Department of Computer Science
Up and Running at RTC Department of Computer Science
Data Example Department of Computer Science
Flexibility of JDDAC • Our phone in Tiburon was running out of memory due to echos to stdout • Solution: Turn it off remotely using JDDAC! Department of Computer Science
DP: Maybe also cover • Smart caching we use for retrieval of data (I think we do) • Use of latest WWW stuff like Google maps • A bit more on WWW Architecture • Where is JXTA and ability to federate sensors • Applied several rounds of usability reviews for UI design Department of Computer Science
Future • Dynamically supply GPS • Bluetooth multiplexer to control multiple sensors with one phone • Support remote interaction with the CTD (terminal commands) • Better error recovery to fill in data gaps • Look at alternate hardware platforms for the controller • DP: Cell phone interface? Department of Computer Science
Links and Resources • NetBEAMS - http://www.netbeams.org • JDDAC - https://jddac.dev.java.net/ • Romberg Tiburon Center - http://rtc.sfsu.edu/ • SFSU Computer Science – http://cs.sfsu.edu Department of Computer Science