Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sensors and Clouds Prof. Massimo Villari Eng. Giuseppe Tricomi

Similar presentations


Presentation on theme: "Sensors and Clouds Prof. Massimo Villari Eng. Giuseppe Tricomi"— Presentation transcript:

1 Sensors and Clouds Prof. Massimo Villari Eng. Giuseppe Tricomi

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 2 Massimo Villari

3 Introduction 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),...  3 Massimo Villari

4 Cloud computing 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 Cloud computing might be the GLUE for aggregating heterogeneous systems 4 Massimo Villari

5 Cloud-based Data Provisioning Service Subscribing step 5 Massimo Villari

6 CleverUnimeSens components 6 Massimo Villari

7 Service Design Data provisioning service compliant with the Sensor Web Enablement (SWE) standard defined by the Open Geospatial Consortium. ▫XML-based languages ▫W3C Semantic Sensor Networks: a new ontology 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) 7 Massimo Villari

8 Virtual Pervasive Element C-SENSOR Reader 8 Massimo Villari

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

10 XMPP COMMUNICATION SERVER XMPP ACCESS SERVER XMPP ACCESS (see Log) ADMINISTRATI ON CLIENT CLUSTER MANAGER HOST MANAGERS SEVER XMPP SERVER XMPP ACCESS (see Log) CHECK PRESENCE OF CLUSTER MANAGER (see Log) CLUSTER MANAGER ELECTION (see Giuseppe Tricomi conference.localhost conference.localhost 10 Massimo Villari

11 CLEVER MUCs conference.localhost conference.localhost 11 Massimo Villari

12 TKabber 12 Massimo Villari

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_cdb cleverDatabase ▫ To execute the DB:  sudo /opt/sedna/bin/se_sm cleverDatabase ▫To remove the DB  sudo /opt/sedna/bin/se_ddb cleverDatabase ▫To stop:  sudo /opt/sedna/bin/se_stop 13 Massimo Villari

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:  Virtual Sensor DB  SensorML DB (basis for CleverSens compliant SAS/SOS) SensoracquisitionGenerator 14 Massimo Villari

15 Basic Commands (under Ubuntu/Debian) The CleverCloud path is: ▫/home/test/CleverUnimeSens/trunk/clevercloud ▫To start Clever:  (in clevercloud folder) java –jar dist/clever.jar The CleverAdministration path is: ▫/home/test/CleverUnimeSens/trunk/cleverAdmi nistration ▫To start CleverAdminitration:  (in cleverAdministration folder) java –jar dist/cleveradministration.jar 15 Massimo Villari

16 Inside clevercloud folder 1-configuration_clustercoordinator.xml 2-configuration_initiator.xml 3-configuration_Readers.xml 4-configuration_sasagent.xml 5-configuration_sosagent.xml 16 Massimo Villari

17 1-configuration_clustercoordinator.xml 17 Massimo Villari

18 2-configuration_initiator.xml 18 Massimo Villari

19 3-configuration_Readers.xml 19 Massimo Villari DB Name: sensordb

20 5-configuration_sosagent.xml 20 Massimo Villari DB Name: sensorml

21 Inside cleverAdministration folder 1-config_clever_cli.xml 21 Massimo Villari

22 1-config_clever_cli.xml 22 Massimo Villari

23 ScreenShot DB (sensorml) 23 Massimo Villari

24 ScreenShot DB (sensorml) 24 Massimo Villari

25 ScreenShot DB (sensordb) 25 Massimo Villari

26 ScreenShot DB (sensordb) 26 Massimo Villari

27 SEDNA DB Client Sudo java -jar /home/test/sednaadmin-bin /sednaadmin-bin/SednaAdmin.jar Massimo Villari 27

28 SEDNA DB Client for $r in document("cleverData")/clever/cluster/hm/age nt/SASPubblicationHistoryreturn $r 28 Massimo Villari

29 ScreenShot DB(SEDNA) 29 Massimo Villari

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) See if sensorml DB is filled See if SEDNA DB is filled Massimo Villari 30

31 Homeworks:SensoracquisitionGenerator Configure it: ▫SensoracquisitionGenerator/cfg/ Configuration. xml Run it: ▫cd SensoracquisitionGenerator/ ▫Java –jar dist/SensoracquisitionGenerator.jar Massimo Villari 31


Download ppt "Sensors and Clouds Prof. Massimo Villari Eng. Giuseppe Tricomi"

Similar presentations


Ads by Google