1 / 31

Sensors and Clouds

Università degli Studi di Messina Cloud Summer School Almere , July 22-26 th , 2013. Sensors and Clouds . Prof. Massimo Villari mvillari@unime.it. Eng. Giuseppe Tricomi gtricomi@unime.it. Agenda:. First Day: System Setup ( CleverUniMeSens )

orien
Download Presentation

Sensors and Clouds

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. UniversitàdegliStudidi Messina Cloud Summer School Almere, July 22-26th, 2013 Sensors and Clouds Prof. Massimo Villari mvillari@unime.it Eng. Giuseppe Tricomi gtricomi@unime.it

  2. Agenda: • First Day: • System Setup (CleverUniMeSens) • Configurations for External DB LAMP based(sensordb) • Data Production (SensoracquisitionGenerator) • Data Acquisition (CleverUniMeSens) • Second Day : • Sensor Web Enablement (SWE): SOS/SAS • Real-Time Data Retrieval with a Multi User Chat XMPP (MUC) • On-Demand Data Retrieval with CleverAdministratorSHELL • Third Day: • Clever as a Federated VIM • Demo with OpenStack and Clever

  3. Widespread availability of cheap sensing devices • On-board components built into a wide range of systems (e.g., smartphones, indash units, body sensor networks...) • Advances in pervasive computing techniques • Many application scenarios: healthcare, smart city, domotic, traffic assistant, ... • Many concepts, standards and projects: • Internet of Things (IoT) • OGC Sensor Web Enablement (SWE),W3C Semantic Sensor Networks (SSN),... Introduction

  4. Cloud computing • Cloud computing might be the GLUE for aggregating heterogeneous systems Data provisioning systems: • for capturing information from the physical world • interacting with heterogeneous devices and observation environments • characterized by high processing capabilities • able to store and manage huge amount of data

  5. Cloud-based Data Provisioning Service • Subscribing step

  6. CleverUnimeSenscomponents

  7. Service Design • Data provisioning service compliant with the Sensor Web Enablement (SWE) standard defined by the Open Geospatial Consortium. • XML-based languages • W3C SemanticSensorNetworks: a newontology to describe sensors and observations • is based on the semantic annotation of OGC-SWE • Data accessed through a XMPP Multi-User Chat (MUC) • decentralized service, high degree of scalability, high number of hosts involved, flexibility in the system, interoperability and native security features based on TLS/SSL • Message oriented middleware for Cloud • XML-based document • XML-based data storage (SEDNA)

  8. Virtual Pervasive Element C-SENSOR Reader

  9. Virtual Pervasive Element DB Name: sensorml C-SENSOR Reader DB Name: sensordb

  10. XMPP COMMUNICATION CLUSTER MANAGER ELECTION (see Log) CLUSTER MANAGER SERVER XMPP ACCESS (see Log) CHECK PRESENCE OF CLUSTER MANAGER (see Log) ADMINISTRATION CLIENT HOST MANAGERS SHELL-test@ conference.localhost test@ conference.localhost SERVER XMPP ACCESS (see Log) SERVER XMPP ACCESS SEVER XMPP @author: Giuseppe Tricomi

  11. SHELL-test@ conference.localhost test@ conference.localhost CLEVER MUCs

  12. TKabber

  13. Basic Commands (under Ubuntu/Debian) • SEDNA DB: • To start: • sudo /opt/sedna/bin/se_gov • To create the Clever DB: • sudo /opt/sedna/bin/se_cdbcleverDatabase • To execute the DB: • sudo /opt/sedna/bin/se_smcleverDatabase • To remove the DB • sudo /opt/sedna/bin/se_ddbcleverDatabase • To stop: • sudo /opt/sedna/bin/se_stop

  14. All in one VM: user=test pw=testpass • XMPP Server (Ejabberd) • Client XMPP (tkabber) • XML-DB (SEDNA) • CleverUnimeSens: • CleverCloud • CleverAdministration • LAMP (PhpMyAdmin), • MySQL DB: • VirtualSensor DB • SensorML DB (basisforCleverSenscompliant SAS/SOS) • SensoracquisitionGenerator

  15. Basic Commands (under Ubuntu/Debian) • The CleverCloud path is: • /home/test/CleverUnimeSens/trunk/clevercloud • To start Clever: • (in clevercloudfolder) java –jardist/clever.jar • The CleverAdministration path is: • /home/test/CleverUnimeSens/trunk/cleverAdministration • To start CleverAdminitration: • (in cleverAdministrationfolder) java –jardist/cleveradministration.jar

  16. Inside clevercloudfolder 1-configuration_clustercoordinator.xml 2-configuration_initiator.xml 3-configuration_Readers.xml 4-configuration_sasagent.xml 5-configuration_sosagent.xml

  17. 1-configuration_clustercoordinator.xml

  18. 2-configuration_initiator.xml

  19. 3-configuration_Readers.xml DB Name: sensordb

  20. 5-configuration_sosagent.xml DB Name: sensorml

  21. Inside cleverAdministrationfolder 1-config_clever_cli.xml

  22. 1-config_clever_cli.xml

  23. ScreenShot DB (sensorml)

  24. ScreenShot DB (sensorml)

  25. ScreenShot DB (sensordb)

  26. ScreenShot DB (sensordb)

  27. SEDNA DB Client • Sudo java -jar /home/test/sednaadmin-bin-0.1.5/sednaadmin-bin/SednaAdmin.jar

  28. SEDNA DB Client • for$r in document("cleverData")/clever/cluster/hm/agent/SASPubblicationHistoryreturn$r

  29. ScreenShot DB(SEDNA)

  30. Homeworks • Experiment with CleverUniMESens VM • Try to remove the Virtual DB (sensordb) and reinstall it (sensordb.sql) • Fill the sensordb using SensoracquisitionGenerator (see the next slide) • Seeifsensorml DB is filled • SeeifSEDNA DB is filled

  31. Homeworks:SensoracquisitionGenerator • Configure it: • SensoracquisitionGenerator/cfg/Configuration.xml • Run it: • cdSensoracquisitionGenerator/ • Java –jardist/SensoracquisitionGenerator.jar

More Related