GSN

From air
Jump to navigation Jump to search

GSN Global Sensor Networks

Auteur de la fiche : Frank Junior Ngassam

GSN middleware

GSN is a software middleware designed to facilitate the deployment and programming of sensor networks.

Overview

GSN is a Java environment that runs on one or more computers composing the backbone of the acquisition network. A set of wrappers allow to feed live data into the system. Then, the data streams are processed according to XML specification files. The system is built upon a concept of sensors (real sensors or virtual sensors, that is a new data source created from live data) that are connected together in order to built the required processing path


Gsn-schema.jpg

For example, one can imagine an anemometer that would sent its data into GSN through a wrapper (various wrappers are already available and writing new ones is quick), then that data stream could be sent to an averaging mote, the output of this mote could then be split and sent for one part to a database for recording and to a web site for displaying the average measured wind in real time. All of this example could be done by editing only a few XML files in order to connect the various motes together.


Running and deployment

Quick demo with Vagrant

On any computer that can run VirtualBox (or any other supported virtual machine provider), install Vagrant, get the GSN git repository or just the file Vagrantfile and type vagrant up in your terminal (being in the same folder). Once the provisioning is done, open your browser at http://localhost:8000/ to see the GSN UI. You can login with the username root@localhost and password changeme.

Building from sources

The GSN modules have the following requirements for building from the sources:

   gsn-core and gsn-extra
sbt 0.13+
Java JDK 1.7
gsn-tools and gsn-services
sbt 0.13+
Java JDK 1.7
Scala 2.11
gsn-webui
python 3
bower
virtualenv


Download

For downloading GSN project from the GIT master branch.

https://github.com/LSIR/gsn.git

References

1. http://lsir.epfl.ch/research/current/gsn/.
2. https://github.com/LSIR/gsn


Getting started

https://github.com/LSIR/gsn

git clone https://github.com/LSIR/gsn.git
cd gsn/
sbt


External links