23
1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al. http:// gsn.sourceforge.net

1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

  • View
    217

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

1

Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al.

http://gsn.sourceforge.net

Page 2: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

2

Today’s Isolated Sensor Networks: Set of nodes Ad-hoc routing One or more sink node Base computer Research focus:

Mote level, energy saving, routing, etc.

Global Sensor Networkshttp://gsn.sourceforge.net

?

Page 3: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

3

Where is GSN? Sensor Network:

Sensing In network

Data/query Processing Filtering Aggregation

Data Management: Data:

Management. Publishing. Expensive processing. Archives.

Global Sensor Networkshttp://gsn.sourceforge.net

DataManagement

SensorNetwork

Page 4: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

4

Just reinventing the wheel ? Different abstractions, hard to share. Isolated networks, hard to republish.

Global Sensor Networkshttp://gsn.sourceforge.net

Page 5: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

5

Global Sensor Networkshttp://gsn.sourceforge.net

Players:• Web servers (IIS/…)• Web documents.

Contents:• ASP/HTML/CSS/…

Internet

Page 6: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

6

Global Sensor Networkshttp://gsn.sourceforge.net

Sensor InternetPlayers:• Sensor servers (GSN).• Sensor networks.

Contents:• Virtual sensors.

Page 7: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

7

IIS Server, container for HTML/ASP pages. GSN, container for virtual sensors. A virtual sensor, produces the content,

a real sensor, a wireless camera, a desktop computer, GPS sensor, network traffic, etc.

combination of other virtual sensors. Logical view of the sensor network.

Global Sensor Networkshttp://gsn.sourceforge.net

Page 8: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

8

5140

GS

N

Various ApplicationsG

SN

GSN

Global Sensor Networkshttp://gsn.sourceforge.net

Apache server => Web applications.GSN server => Sensor network applications.

Page 9: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

9

Global Sensor Networkshttp://gsn.sourceforge.net

Internet:Web pages.Web services composition.

Sensor Internet:Streaming sensor data.Virtual sensor composition.

Sensor Data Composition

Page 10: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

10

Global Sensor Networkshttp://gsn.sourceforge.net

Sensor Data Composition

Page 11: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

11

Integrity Service

Access Control

GSN/Web/Web-Services

Notification Manager

Query Processor

Query Repository

Storage Manager

Virtual Sensor Manager

Input Stream Manager

Stream Quality Manager

Life Cycle Manager

Pool Of Sensing Devices

Global Sensor Networkshttp://gsn.sourceforge.net

Sensor Server

• Processing and/or filtering.• Storage, archive.• Access to sensor network hardware.• Easy setup, easy to change.

Goal: Publishing streams generatedby sensor networks.

GSN: Reference Implementation

Page 12: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

12

Virtual Sensor: Functional/non-function properties.

Storage, data integrity, filters, pre-processors,etc.

Described in a XML file.

Global Sensor Networkshttp://gsn.sourceforge.net

Source 1

Source 2…

Source n

Application logicand processing

Output

Virtual S

ensor

Page 13: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

13

Global Sensor Networkshttp://gsn.sourceforge.net

<virtual-sensor name="room-monitor" > <addressing> <predicate key="geographical">BC143</predicate> <predicate key="usage">

room monitoring</predicate> </addressing> <life-cycle pool-size="10" /> <output-structure> <field name="image" type="binary:image/jpeg" /> <field name="temp" type="int" /> </output-structure> <storage permanent="true" history-size="10h" /> <input-streams> <input-stream name="cam"> <stream-source alias="cam" storage-size="1“

sampling-rate=“1”> <address wrapper=“tinyos2.x"> <predicate key=“host">tinybox.epfl.ch </predicate> <predicate key=“port">9001</predicate> </address> select * from WRAPPER </stream-source><stream-source alias="temperature1“ storage-size="1m“ sampling-rate=“1”>

<address wrapper="remote"> <predicate key="type">temperature</predicate> <predicate key="geographical">BC143-N

</predicate> </address> select AVG(temp1) as T1 from WRAPPER </stream-source> <stream-source alias="temperature2“ storage-size="1m“> <address wrapper="remote"> <predicate key="type“>temperature</predicate>

<predicate key="geographical“>BC143-S

</predicate> </address> select AVG(temp2) as T2 from WRAPPER </stream-source> <query> select cam.picture as image, temperature.T1 as temp from cam, temperature1 where temperature1.T1 > 30 AND temperature1.T1 = temperature2.T2 </query> </input-stream> </input-streams></virtual-sensor>

Page 14: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

14

GSN, generic middleware for sensor networks

Black box! Produces streams. Consumes control/feedback cmds.

Inside sensor network: In network processing (e.g.,TinyDB) Any routing protocol. Any MAC protocol.

Global Sensor Networkshttp://gsn.sourceforge.net

SensorNetwork

Stream

Control/Feedback

Page 15: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

15

Global Sensor Networkshttp://gsn.sourceforge.net

GSN Hardware Support:

HTTP generic wrapper devices accessible via HTTP GET or POST requests, e.g., the AXIS206W wireless camera

Serial forwarder wrapper enables interaction with TinyOS compatible motes (standard access in TinyOS)

USB camera wrapper local USB connection. supports cameras with OV518 and OV511 chips.

RFID wrapper Texas Instruments Series 6000 S6700 multi-protocol RFID readers Alien Technologies long range RFID reader 8950.

Generic UDP wrapper any device using the UDP protocol

Generic serial/bluetooth wrapper supports sensing devices which send data through the serial port, e.g., EPuck robots, etc.

Page 16: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

16

Part 2:

GSN and Sensor Map Together

Global Sensor NetworksMSR Sensor Map

Page 17: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

17

Integration: Goal 1:

SensorMap, channel for finding virtual sensors. meta data and sensor description, location, type, etc.

Global Sensor NetworksMSR Sensor Map

Page 18: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

18

Integration: Goal 2:

SensorMap, channel for accessing sensor data. Pulling for data from GSN servers.

Global Sensor NetworksMSR Sensor Map

Page 19: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

19

Latest updates on integration: Goal 1: Using sensor map for finding sensors.

Automatic virtual sensor registration to sensor map. Tightly integrated with GSN configuration.

Example:

Global Sensor Networkshttp://gsn.sourceforge.net

Page 20: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

20

Latest updates on integration: Goal 2: pulling for sensor data from GSN.

GeoRSS interface for GSN/SensorMap. Using GSN as the data hub.

Example:

Global Sensor Networkshttp://gsn.sourceforge.net

Page 21: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

21

Sensor Map: Portal for finding virtual sensors.

meta data and sensor description, location, type, etc. Pulling for data when needed.

GSN: Sensor data publishing. Sensor data management and archival. Expensive client-side data processing.

Handling sophisticated visualizations.

Global Sensor Networkshttp://gsn.sourceforge.net

Page 22: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

22

GSN Team (as of today) Ali Salehi (PhD) Prof. Karl Aberer Prof. Manfred Hauswirth Dr. Andreas Wombacher Dr. Yongluan ZHOU Oana Jurca (PhD) Lei Shu (PhD) Antonio Aguilar (PhD) Gearoid Hynes (PhD) Clement Beffa (MSc)

Global Sensor Networkshttp://gsn.sourceforge.net

GSN SensorMap• Sensor data publishing. • Data filtering/processing.• Visualization.• Data archival.• Easy to setup and use.

• Looking up sensors.• Meta data.• Data aggregating.

Page 23: 1 Ali Salehi,Karl Aberer,Manfred Hauswirth, Andreas Wombacher, Yongluan Zhou, Lei Shu, Antonio Aguilar,Gearoid Hynes, et al

23

GSN status as of today 8 releases,

latest version 0.95 ~50K visitors. downloads > 1K.

Global Sensor Networkshttp://gsn.sourceforge.net

UsersCommunity

3/5/2007-9/5/2007