The Sensor Bus – Integrating Geosensors and the Sensor Web <br />Arne Broering, Simon Jirka & Dr. Theodor Foerster<br />OS...
Motivation<br />Sheffield 2007, source: BBC<br />Disaster management requires real-time sensor data!<br />On-the-fly integ...
Sensor Web Enablement (SWE)<br />http://www.ogcnetwork.net/swe<br />Web Service interfaces  &  data encodings<br />Used to...
SWE - Functionality<br />Discovery<br />Sensor Instance Registry<br />Sensor Observable Registry<br />Access<br />Sensor O...
Problem: Conceptual Gap<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
Problem: Conceptual Gap<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
Problem: Conceptual Gap<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
Problem: Conceptual Gap<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
Problem: Conceptual Gap<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
Problem: Conceptual Gap<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
Close gap:      Sensor Network –  Sensor Web<br />Ease sensor / service integration<br />Facilitate usage of SWE<br />On-t...
Sensor Bus<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
Sensor Bus<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
Bus Message Protocol<br />RegServ*<service URL>*<sensor A id><br />RegServ*<service URL>*<sensor B id><br />...<br />Servi...
Sensor Bus - Twitter<br />SPS<br />SOS<br />SWE<br />SWE<br />DB<br />Config<br /><ul><li> Account
 Sensors</li></ul>Config<br /><ul><li> Account
 Sensors</li></ul>Service<br />Adapter<br />Service<br />Adapter<br />1. PubTask<br />2. TaskParam 10 min<br />...<br />x....
 Feature
Upcoming SlideShare
Loading in …5
×

The Sensor Bus – Integrating Geosensors and the Sensor Web

2,160 views

Published on

Held at OS GIS UK, 22 June 2010

Published in: Technology
1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total views
2,160
On SlideShare
0
From Embeds
0
Number of Embeds
51
Actions
Shares
0
Downloads
51
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide
  • Let’s start with looking at the motivation of our work and the surrounding project.Well, to manage disasters such as large-scale floods (like the one in Dresden 2002, or in Italy 2001), the supply with up-to-date information is crucial for decision support.clickThis necessary information can be derived from real-time sensor data.In case of floods, those geosensors are for example:Water-level sensorsWeather stations and attached precipitation and wind sensorsor Web cameras and stress monitors attached to bridges or dams to get insight about their status clickTo make those sensors usable and accessible for different disaster management organisations using different systems and applications, an (on-the-fly) integration of the geosensors into a coherent infrastructure is required!
  • This necessary integration of geosensors on the application level can be realized by using the specification framework defined within the Sensor Web Enablement (SWE) initiative of the Open Geospatial Consortium (abbreviated: OGC).The SWE standards framework comprises standards of web service interfaces and communication protocols which can be used to build a so-called Sensor Web.If you are interested in detailed information about the standards of the OGC, this website is a good starting point.
  • The SWE framework defines standards for the following core functionalities of a Sensor Web:sensor instance discovery (Catalogue / Registry)sensor data access (SOS)sensor tasking (SPS)alerting &amp; notification mechanisms in cases of specified events (SAS / WNS)
  • This slide shows the role of the Sensor Web in relation to the Application Level and the Sensor Network Level.Sensors and Sensor Networks are deployed in the real world.The SWE or Sensor Web services encapsulate the sensors and hide their heterogeneous protocols.The services offered interoperable interfaces to the applications which can make use of the sensor functionality then.clickThe focus of the Sensor Web (-&gt; SWE) design is the interaction with the application level. That is already well-defined.However, the Sensor Web design does not sufficiently describe the interaction between sensors and SWE services, yet.There is a conceptual gap between the 2 layers:Sensor Web is based on the WWW and its related protocols. On the other hand, sensor network technologies are based on lower-level protocols such as ZigBee, Bluetooth, the IEEE 1451 standards family, or often proprietary protocols
  • There is a gap between the 2 layers:Sensor Web is based on the WWW and its related protocols. On the other hand, sensor network technologies are based on lower-level protocols such as ZigBee, Bluetooth, the CAN-Bus, the IEEE 1451 standards family, or even proprietary protocols Impedance mismatch between the low-level data structures (signals) and the higher-level information models of the Sensor Web world
  • Currently, the Sensor Web and sensor network layer are integrated by manually adapting the internal logic of the services to the specific sensor types.These proprietary bridges have to be manually built for each pair of Web service and sensor type.This approach is cumbersome and leads to extensive adaption efforts to link the two layers. Since the price of sensor devices is decreasing rapidly, these adaption efforts become the key cost factor in large-scale sensor network system.
  • So, the objectives of this work are to:Develop methods to bridge the gap between …Thereby, the integration of new sensors and new services into the Sensor Web shall be facilitatedConsequently, the usage (and especially the administration and deployment) of SWE services shall be facilitatedThe mid-term aim of our project is to enable an on-the-fly integration of sensors with a minimum of human intervention – so a true plug&amp;play of sensors into the Sensor Web shall be achieved
  • The basis of our approach for achieving these aims is shown on this slide.We introduce an additional, intermediary layer which stands between Sensor Network layer and Sensor Web layer.We align this intermediary layer with the Message Bus pattern from “Enterprise Application Integration” and we call this intermediary layer “Sensor Bus”.For sensors and services, pluggable adapters are developed which can be attached to the Sensor Bus and establish the connection between bus and sensors and services.Thereby, the Sensor Bus realizes publish subscribe mechanism. Services can subscribe for sensors in which they are interested.
  • The concept facilitates the integration of new sensors:…example: fancy ultra sonic anemometerIn future: plugin repository for sensorsAlso, the deployment of new services in the Sensor Web is facilitated:…example: discovery services
  • Different communication infrastructures are possible.Twitter is one of them:Service Registration – Twitter- Done by service administrator who just wants to specify the Ids of interesting sensors and everything else is handled.Create Twitter profileCreate and start service adapterAccompany service adapter withconfig file specifying access information to communication infrastructure (here: Twitter account ID)Sensor Ids of interestService adapter registers service profile as follower at the sensor profiles which are associated with the service (it has to search Twitter for the sensor ID and then registers as follower at the sensor profile)This „following“ is necessary so that the service adapter can access potentially private sensor tweetsService adapter inserts sensor information into its DBSensor Registration – Twitter- Done by sensor administrator who does not want to access the servicesCreate Twitter profileCreate and start sensor adapterAccompany withdetailed metadata description (SensorML)Config file specifying access information to communication infrastructure (here: Twitter account ID); in case of other communication infrastructures: e.g. Port, URL, Channel...Sensor adapter registers sensor profile as follower at service profiles from which tasks shall be retrievedData Publication – TwitterService adapter checks regularly the sensor profile for updatesService adapter grabs new data, transforms it to SWE and forwards it to serviceSensor Tasking – TwitterSPS receives task description from client and forwards it to service adapterService adapter transforms task description to bus message sequenceSensor adapter checks regularly the service profile for new tasksSensor adapter retrieves new task, transfroms it to sensor protocol and forwards it
  • Building the Sensor Bus on Twitter enables reusing functionality such as scalability and reliability management.Also, security mechanisms can be incorporated, since authentication functionality is provided by Twitter.However, there are some disadvantages in using Twitter as the communication infrastructure:Pull-based design of Twitter does not allow a true push-based Sensor Bus. Instead, the message retrieval has to be realized by regularly submitted API queries.Another disadvantage is the limited update rate of Twitter&apos;s search index which means that for example a data publication message posted by a sensor adapter is not instantly accessible by a service adapter.The length of a &apos;tweet&apos; is restricted to 140 characters.Twitter account cannot submit more than 150 requests per hour A service adapter can maximally query 150 times an hour the recently posted tweets of all sensors it is followingTo solve this issue Twitter offers the possibility for applying to “whitelist” certain accounts or IP addresses. A whitelisted entity can submit 20.000 requests per hour.Twitter account cannot send more than 1.000 tweets a day. In the current design of the Sensor Bus implementation, a sensor posts one data value per tweet. So, this results in a maximum sampling rate of around 40 measurements per hour. In many sensor network applications, this would be unacceptable.
  • Our future steps are:We want to evaluate different implementations of the Sensor Bus using different base technologies. Besides Twitter and XMPP, we are looking at IRC, JMS and Pub Sub Hubbub.We want to work on our mid-term aim, of achieving sensor plug &amp; play.Therefore, we are currently developing a specific profile for OGC’s Sensor Model Language specification – the Sensor Interface Descriptor LanguageThis flexible XML dialect allows to describe arbitrary sensor interfaces in a declarative mannerWe are also creating specific GUIs and tools which support sensor administrators to configure an SID for their particular sensorsLast but not least, we will apply the develop approach to real world use casesAs I mentioned in the beginning, our project focuses on flood monitoringIn this context we are cooperating with a company called etamaxThey are developing these neat mobile water level sensors – football-sized buoys which can be thrown into rivers if there is demand for sensor network densification.We will use this system as a showcase for our methods
  • The Sensor Bus – Integrating Geosensors and the Sensor Web

    1. 1. The Sensor Bus – Integrating Geosensors and the Sensor Web <br />Arne Broering, Simon Jirka & Dr. Theodor Foerster<br />OSGIS, 22 June 2010<br />
    2. 2. Motivation<br />Sheffield 2007, source: BBC<br />Disaster management requires real-time sensor data!<br />On-the-fly integration of (geo)sensors!<br />
    3. 3. Sensor Web Enablement (SWE)<br />http://www.ogcnetwork.net/swe<br />Web Service interfaces & data encodings<br />Used to build a Sensor Web<br />Integration of (geo)sensors on application level<br />
    4. 4. SWE - Functionality<br />Discovery<br />Sensor Instance Registry<br />Sensor Observable Registry<br />Access<br />Sensor Observation Service<br />Tasking<br />Sensor Planning Service<br />Eventing / Alerting<br />Sensor Alert Service<br />Sensor Event Service<br />SIR<br />SOR<br />SOS<br />SPS<br />SAS<br />SES<br />
    5. 5. Problem: Conceptual Gap<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
    6. 6. Problem: Conceptual Gap<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
    7. 7. Problem: Conceptual Gap<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
    8. 8. Problem: Conceptual Gap<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
    9. 9. Problem: Conceptual Gap<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
    10. 10. Problem: Conceptual Gap<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
    11. 11. Close gap: Sensor Network – Sensor Web<br />Ease sensor / service integration<br />Facilitate usage of SWE<br />On-the-fly integration (plug & play) of sensors<br />Objectives<br />
    12. 12. Sensor Bus<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
    13. 13. Sensor Bus<br />Application Layer<br />Sensor Web Layer<br />Sensor Network Layer<br />
    14. 14. Bus Message Protocol<br />RegServ*<service URL>*<sensor A id><br />RegServ*<service URL>*<sensor B id><br />...<br />Service Registration<br />Sensor Registration<br />Data Publication<br />Sensor Tasking<br />Status Update<br />IntroSen*<sensor id>*<description URL><br />PubData*<sensor id>*<time>*<property>*<data><br />PubTask*<sensor id>*<task id><br />TaskParam*<task id>*<param 1>*<value 1><br />...<br />DoTask*<task id><br />SenStatus*<sensor id>*<property>*<value><br />
    15. 15. Sensor Bus - Twitter<br />SPS<br />SOS<br />SWE<br />SWE<br />DB<br />Config<br /><ul><li> Account
    16. 16. Sensors</li></ul>Config<br /><ul><li> Account
    17. 17. Sensors</li></ul>Service<br />Adapter<br />Service<br />Adapter<br />1. PubTask<br />2. TaskParam 10 min<br />...<br />x. DoTask<br />1. IntroSen<br />2. PubData 30°<br />3. PubData 45°<br />...<br />Sensor<br />Adapter<br />SensorML<br /><ul><li> Position
    18. 18. Feature
    19. 19. Property
    20. 20. ...</li></ul>Config<br /><ul><li> Account
    21. 21. Services</li></li></ul><li>Sensor Bus - Twitter<br />Pros:<br />Managed scalability<br />Managed reliability<br />Managed security<br />Cons:<br />Limited Tweet length (140 characters) <br />Limited update rate of search index<br />Max 150 requests per hour (20.000 if whitelisted)<br />Max 1.000 Tweets a day<br />
    22. 22. Outlook<br />Evaluate different implementations<br />Twitter, XMPP, IRC, JMS, ...<br />Develop mechanisms for sensor plug & play<br />Apply to real world use cases<br />www.etamax.de<br />www.G-WaLe.de<br />Sensor<br />Adapter<br />Sensor Interface Description<br />(SensorML)<br />
    23. 23. Questions?<br />Thank you!<br />Dr. Theodor Foerster<br />theodor.foerster@uni-muenster.de<br />Sensor Web community: http://52north.org/SensorWeb<br />Sensor Bus project: http://52north.org/sensorBus<br />SWSL: http://swsl.uni-muenster.de<br />

    ×