GSN: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
GSN Global Sensor Networks |
<h1>GSN Global Sensor Networks</h1> |
||
Auteur de la fiche : Frank Junior Ngassam |
Auteur de la fiche : Frank Junior Ngassam |
||
[[Image:GSN_green_high.png|300px|thumb|right|GSN middleware]] |
|||
⚫ | |||
⚫ | |||
== 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 |
|||
[[File: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<br /> |
|||
sbt 0.13+<br /> |
|||
Java JDK 1.7<br /> |
|||
gsn-tools and gsn-services<br /> |
|||
sbt 0.13+<br /> |
|||
Java JDK 1.7<br /> |
|||
Scala 2.11<br /> |
|||
gsn-webui<br /> |
|||
python 3<br /> |
|||
bower<br /> |
|||
virtualenv<br /> |
|||
== 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/.<br /> |
|||
2. https://github.com/LSIR/gsn<br /> |
|||
== Getting started== |
|||
https://github.com/LSIR/gsn |
https://github.com/LSIR/gsn |
||
Line 12: | Line 63: | ||
sbt |
sbt |
||
</pre> |
</pre> |
||
== External links == |
Latest revision as of 12:57, 29 April 2017
GSN Global Sensor Networks
Auteur de la fiche : Frank Junior Ngassam
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
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
git clone https://github.com/LSIR/gsn.git cd gsn/ sbt