SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Downloaden Sie, um offline zu lesen
Connecting Mobile Things to
Global Sensor Network
Middleware using
System-generated Wrappers
Charith Perera (ANU), Arkady Zaslavsky (CSIRO), Peter Christen
(ANU), Ali Salehi (CSIRO), Dimitrios Georgakopoulos (CSIRO)
System-generated Wrappers
MobiDE’2012, Phoenix, AZ, 20 May, 2012
Outline
1. Introduction
2. Internet of Things and OpenIoT
3. ASCM4GSN
4. Related work
5. Conclusion and future work5. Conclusion and future work
6500+
staff over 55 locations
CSIRO today: a snapshot
One of the largest & most diverse in the world
Australia’s national science agency
3 | CSIRO. Australian Science, Australia's Future
170+
active licences of CSIRO innovation
150+
spin-offs based on our IP & expertise
Ranked in top 1% in 14 research fields
Building national prosperity and wellbeing
Delivering our science: key outcome
domains
ENERGY
OCEANSWATER
LANDSCAPES
CLIMATE
4 | CSIRO. Australian Science, Australia's Future
FOOD &
AGRICULTURE
PROMOTING
HEALTH
MANUFACTURING
AND MATERIALS
UNDERSTANDING
THE UNIVERSE
SERVICES
AND ICT
SAFEGUARDING
AUSTRALIA
MINERAL
RESOURCES
Light
Metals
Minerals
Down Under
Sustainable
Agriculture
Water for
a Healthy
Country
Climate
Adaptation
Energy
Transformed
National Research Flagships
5 | CSIRO. Australian Science, Australia's Future
Future
Manufacturing
Down Under
Country
Preventative
Health
Wealth
from Oceans
Food
Futures
Transformed
based on
standard &
interoperable
communication
protocols
A dynamic
global network
infrastructure
with self
where
physical &
virtual “things”
have identities,
physical
attributes,
Internet of
Things (IoT)with self
configuring
capabilities
are
seamlessly
integrated into
the information
network.
virtual
personalities,
use intelligent
interfaces,
and
Things (IoT)
Origin of IoT in 1998
“The IoT allows people and things to be connected Anytime,
Anyplace, with Anything and Anyone, ideally using Any network and
Any service"
Global market for sensors was around $56.3 billion in 2010, around
$62.8 billion in 2011. It is expected to increase up to $91.5 billion by
2016.
Introduction
2016.
Compound annual growth rate of 7.8%.
Increasing trend of developing middleware solutions in order to
connect sensors and actuators to the Internet.(E.g: GSN, Hourglass,
HiFi, IrisNet, EdgeServers)
These middleware solutions support fast and simple deployment of
sensor networks.
Sensor networks are the major enabler of the IoT
A sensor network comprises one or more sensor nodes which
communicate between each other using wired and wireless
means.
Applications of IoT and Sensor Networks
Mobile phones as mobile sensors
Sensor Networks and IoT
Mobile phones as mobile sensors
Sensor network deployment has been considered as a difficult
task in early days due to the heterogeneity of sensors.
Global Sensor Network (GSN) is a middleware solution that
enables zero-configuration deployment.
OpenIoT Service Request
+
OpenIoTHighLevelArchitecture
(SimpleExamplewithdynamicGSN(SimpleExamplewithdynamicGSN(SimpleExamplewithdynamicGSN(SimpleExamplewithdynamicGSN
HighLevelArchitecture
(SimpleExamplewithdynamicGSN(SimpleExamplewithdynamicGSN(SimpleExamplewithdynamicGSN(SimpleExamplewithdynamicGSNconfigconfigconfigconfig))))
OpenIoT experimental test-bed
For the High Resolution Plant
Phenomics Centre’s Phenonet project
• Measure environmental and plant
physiology parameters in the field
• Improve the quality and scale of data
available to plant breeders from grain trial
plantings
Technical challengesTechnical challenges
• Design and programming of sensor
network
• Testbed for declarative programming of
sensor networks
• Fast browser-based data display & analysis
using reusable components
• See http://phenonet.com
A platform aimed at providing flexible middleware to address the
challenges of sensor data acquisition, integration and distributed
query processing
It is used widely in over ten EU/Swiss funded research projects
We use GSN as the sensor network middleware to exemplify our
proposed solution.
More information: https://sourceforge.net/apps/trac/gsn/
Global Sensor Networks
More information: https://sourceforge.net/apps/trac/gsn/
Internet
Cloud (Internet)
Computational
Rich Device
Static Sink
Node
Computational
Rich Device
Static Sink
Node
Sensor Networks (SN1
)
Sensor Networks (SN2
)
Mobile Sink
Node
Mobile Sink
Node
GSN Server GSN Server
Serial
Connector
Serial
Connector
Connectivity and configurability
Sensors come with APIs that provide software interfaces to retrieve
sensor data to the middleware solutions or applications
If we want to retrieve sensor readings, we need to access the sensor
hardware through these provided third party libraries.
Different middleware solutions use different mechanisms to retrieve data
from sensors.(e.g: wrappers, gateways, handlers, proxies, mediators, etc.)
The Challenge
from sensors.(e.g: wrappers, gateways, handlers, proxies, mediators, etc.)
GSN has wrappers
Two Problems:
First problem is that these wrappers need to be developed
manually by the programmers. Each sensor has to have a matching
wrapper attached to GSN middleware such as;
SunSPOT sensor → SunSPOTWrapper. (Time, Cost, Effort)
Second problem is lack of code sharing
Evaluation of Existing Approach
Common Steps in Connecting Sensors to an IoT Middleware:
Acquire Manufacturers' APIs
1. Acquire System Configuration Details
2. Initiate the Data Structures
3. Initiate the Communication between IoT Middleware and Sensor Device
4. Data Communication
5. Close the Communication and Release the Resources
(a) (b)
Our experiment of developing wrappers
manually for Android mobile phones.
Android Wrapper is around 400 line of
code and the Android application is around
800 line of code.
It could take a few days for a developer to
develop and debug a single wrapper for a
specific sensor including the time that
would take to familiarise with the specific
sensor platform.
We propose Automated Sensor Configuration Model For Global Sensor
Network (ASCM4GSN) architecture to address these issues.
Automating Wrapper generation process and share the already
developed wrappers through cloud repository.
Sensor Device Definition
Cloud Repository (SDDCL)
Cloud
2
Major Components:
ASCM4GSN as a solution
Automated
Wrapper
Generation
Layer
Serial
Connector
Sink Node
Base computer Running GSN
Sensor Device
Definition Local
Repository (SDDLR)
1 Sensor Device Definition
File (SDD)
3
Major Components:
Sensor Device Definition (SDD) File
Sensor Device Definition Local Repository (SDDLR)
Sensor Device Definition Cloud Repository (SDDCR)
Automated Wrapper Generation Layer (ASCM4GSN
Tool)
Common Steps in Connecting Sensors to an IoT Middleware:
1. Acquire Manufacturers' APIs
2. Acquire System Configuration Details
3. Initiate the Data Structures
4. Initiate the Communication between IoT Middleware and Sensor Device
5. Data Communication
6. Close the Communication and Release the Resources
ASCM4GSN as a solution
<libraries-collection>
<library package-name="com.sun.spot.io.j2me.radiogram.*"
source="http://gsncloud.com/libraries/spotlib_common.jar"
platform="java" />
<library package-name="om.sun.spot.peripheral.ota.OTACommandServer"
source="http://gsncloud.com/libraries/spotlib_device.jar"
platform="java" />
</libraries-collection>
<data-structure>
<data-field field-name="light" type="int"
description="Presents the light sensor."/>
<data-field field-name="temperature" type="int"
description="Presents the temperature sensor."/>
</data-structure>
<system-configuration class="System" method="setProperty" >
<property name="SERIAL_PORT">/dev/ttyACM1</property>
<system-configuration>
<connection>
<prerequisites builder-class="OTACommandServer" method="start" >
<parameters>null</parameters>
</prerequisites>
<connection-initiation builder-class="Connector" method="open">
<parameters name="scheme">radiogram</parameters>
<parameters name="HOST_PORT">65</parameters>
</connection-initiation>
<data-interface class="RadiogramConnection" method="newDatagram">
<parameters name="size" class="RadiogramConnection"
method="getMaximumLength">10</parameters>
</data-interface>
</connection>
<data-transformation>
<data-retrieval class="RadiogramConnection" method="receive">
<parameters name="packet">Datagram</parameters>
</data-retrieval>
<data-field field-name="light" class="Datagram" method="readInt"/>
<data-field field-name="temperature" class="Datagram" method="readInt"/>
</data-transformation>
import com.sun.spot.io.j2me.radiogram.*;
import com.sun.spot.peripheral.ota.OTACommandServer;
import javax.microedition.io.*;
public class SunSpotsWrapper extends AbstractWrapper {
private DataField[] collection = new DataField[] {
new DataField("light", "int", "Presents the light sensor."),
new DataField("temperature", "int", "Presents the temperature sensor."),
new DataField("packet_type", "int", "packet type")};
public boolean initialize() {
System.setProperty("SERIAL_PORT", "/dev/ttyACM1");
OTACommandServer.start();
rCon = (RadiogramConnection) Connector.open("radiogram://:"+HOST_PORT);
dg = rCon.newDatagram(rCon.getMaximumLength());
}
public void run() {
rCon.receive(dg);
light = dg.readInt();
temperature = dg.readInt()
}
}
Sensor Device Definition File System-generated SunSPOT Wrapper
1
2
3
4
5
We defined the above
steps in XML file called
Sensor Device Definition
(SDD) file
The information attached
to this files were used to
develop the wrapper
automatically.
<libraries-collection>
<library package-name="com.sun.spot.io.j2me.radiogram.*"
source="http://gsncloud.com/libraries/spotlib_common.jar"
platform="java" />
<library package-name="om.sun.spot.peripheral.ota.OTACommandServer"
source="http://gsncloud.com/libraries/spotlib_device.jar"
platform="java" />
</libraries-collection>
<data-structure>
<data-field field-name="light" type="int"
description="Presents the light sensor."/>
<data-field field-name="temperature" type="int"
description="Presents the temperature sensor."/>
</data-structure>
<system-configuration class="System" method="setProperty" >
<property name="SERIAL_PORT">/dev/ttyACM1</property>
<system-configuration>
<connection>
<prerequisites builder-class="OTACommandServer" method="start" >
<parameters>null</parameters>
</prerequisites>
<connection-initiation builder-class="Connector" method="open">
package gsn.wrappers;
import gsn.beans.DataField;
import gsn.beans.StreamElement;
public class XXXXXXXXXXXX extends AbstractWrapper {
private DataField[] collection = new DataField[] {….........};
public boolean initialize() {
setName("TestWrapperMockObject-Thread" + (++threadCounter));
System.setProperty(..............);
return true;
}
public void run() {
}
package gsn.wrappers;
import gsn.beans.DataField;
import gsn.beans.StreamElement;
import com.sun.spot.io.j2me.radiogram.*;
import com.sun.spot.peripheral.ota.OTACommandServer;
import javax.microedition.io.*;
public class SunSpotsWrapper extends AbstractWrapper {
private DataField[] collection = new DataField[] {
new DataField("light", "int", "Presents the light sensor."),
new DataField("temperature", "int", "Presents temperature sensor"),
new DataField("packet_type", "int", "packet type")};
public boolean initialize() {
System.setProperty("SERIAL_PORT", "/dev/ttyACM1");
OTACommandServer.start();
rCon = (RadiogramConnection)
Connector.open("radiogram://:"+HOST_PORT);
dg = rCon.newDatagram(rCon.getMaximumLength());
How Automation Works
<connection-initiation builder-class="Connector" method="open">
<parameters name="scheme">radiogram</parameters>
<parameters name="HOST_PORT">65</parameters>
</connection-initiation>
<data-interface class="RadiogramConnection" method="newDatagram">
<parameters name="size" class="RadiogramConnection"
method="getMaximumLength">10</parameters>
</data-interface>
</connection>
<data-transformation>
<data-retrieval class="RadiogramConnection" method="receive">
<parameters name="packet">Datagram</parameters>
</data-retrieval>
<data-field field-name="light" class="Datagram" method="readInt"/>
<data-field field-name="temperature" class="Datagram" method="readInt"/>
</data-transformation>
}
public DataField[] getOutputFormat() {
return outputFormat;
}
public boolean publishStreamElement(StreamElement se) {
return postStreamElement(se);
}
public void dispose() {
threadCounter--;
}
public String getWrapperName() {
return "TestWrapperMock";
}
}
}
public void run() {
rCon.receive(dg);
light = dg.readInt();
temperature = dg.readInt()
}
public DataField[] getOutputFormat() {
return outputFormat;
}
public boolean publishStreamElement(StreamElement se) {
return postStreamElement(se);
}
public void dispose() {
threadCounter--;
}
public String getWrapperName() {
return "SunSPOTWrapper";
}
}
Sensor Device Definition(SDD)
File for a Specific Sensor
(e.g: SunSPOT Sensor)
Wrapper Template for
Global Sensor Network
Middleware System Generated Wrapper
(e.g: SunSPOTWrapper)
IEEE 1451 standards and SensorML
Californium (Cf) CoAP framework
Web Services Gateways
InterX
Related Work
InterX
Hydra
uMiddle
We have demonstrated that automating the process of
developing sensor drivers/wrappers will improve efficiency and
productivity.
Our future work aims at efficient and effective automation of
connecting things to IoT middleware as well as incorporating
generated extended functionality
Conclusion and Future Work
generated extended functionality
We will combine context capturing and semantic data
technologies with processing of sensor data inside the wrapper
itself.
Reasoner on top of ASCM4GSN to include context discovery,
semantic enrichment while generating wrappers
Thank you !Thank you !
Dr Arkady Zaslavsky, Professor
Science Leader in Semantic
Data Management
Phone: 02 6216 7132
Email: arkady.zaslavsky@csiro.au

Weitere ähnliche Inhalte

Was ist angesagt?

MDM-2013, Milan, Italy, 6 June, 2013
MDM-2013, Milan, Italy, 6 June, 2013MDM-2013, Milan, Italy, 6 June, 2013
MDM-2013, Milan, Italy, 6 June, 2013Charith Perera
 
WF-IOT-2014, Seoul, Korea, 06 March 2014
WF-IOT-2014, Seoul, Korea, 06 March 2014WF-IOT-2014, Seoul, Korea, 06 March 2014
WF-IOT-2014, Seoul, Korea, 06 March 2014Charith Perera
 
WF-IOT-2014, Seoul, Korea, 06 March 2014
WF-IOT-2014, Seoul, Korea, 06 March 2014WF-IOT-2014, Seoul, Korea, 06 March 2014
WF-IOT-2014, Seoul, Korea, 06 March 2014Charith Perera
 
COMPLEX EVENT PROCESSING USING IOT DEVICES BASED ON ARDUINO
COMPLEX EVENT PROCESSING USING IOT DEVICES BASED ON ARDUINOCOMPLEX EVENT PROCESSING USING IOT DEVICES BASED ON ARDUINO
COMPLEX EVENT PROCESSING USING IOT DEVICES BASED ON ARDUINOijccsa
 
Ieeepro techno solutions 2013 ieee embedded project design of a wsn platfor...
Ieeepro techno solutions   2013 ieee embedded project design of a wsn platfor...Ieeepro techno solutions   2013 ieee embedded project design of a wsn platfor...
Ieeepro techno solutions 2013 ieee embedded project design of a wsn platfor...srinivasanece7
 
Introduction to IoT Architectures and Protocols
Introduction to IoT Architectures and ProtocolsIntroduction to IoT Architectures and Protocols
Introduction to IoT Architectures and ProtocolsAbdullah Alfadhly
 
Sensor Data Aggregation using a Cross Layer Framework for Smart City Applicat...
Sensor Data Aggregation using a Cross Layer Framework for Smart City Applicat...Sensor Data Aggregation using a Cross Layer Framework for Smart City Applicat...
Sensor Data Aggregation using a Cross Layer Framework for Smart City Applicat...IRJET Journal
 
Fog computing
Fog computingFog computing
Fog computingAnkit_ap
 
Report-Fog Based Emergency System For Smart Enhanced Living Environment
Report-Fog Based Emergency System For Smart Enhanced Living EnvironmentReport-Fog Based Emergency System For Smart Enhanced Living Environment
Report-Fog Based Emergency System For Smart Enhanced Living EnvironmentKEERTHANA M
 
Towards a World of Ubiquitous Sensors and Actuators
Towards a World of Ubiquitous Sensors and ActuatorsTowards a World of Ubiquitous Sensors and Actuators
Towards a World of Ubiquitous Sensors and ActuatorsLarry Smarr
 
Towards Adaptive Sensor-cloud for Internet of Things
Towards Adaptive Sensor-cloud for Internet of ThingsTowards Adaptive Sensor-cloud for Internet of Things
Towards Adaptive Sensor-cloud for Internet of ThingsTELKOMNIKA JOURNAL
 
Towards internet of things iots integration of wireless sensor network to clo...
Towards internet of things iots integration of wireless sensor network to clo...Towards internet of things iots integration of wireless sensor network to clo...
Towards internet of things iots integration of wireless sensor network to clo...IJCNCJournal
 
grid mining
grid mininggrid mining
grid miningARNOLD
 
IoTSuite: A Framework to Design, Implement, and Deploy IoT Applications
IoTSuite: A Framework to Design, Implement, and Deploy IoT ApplicationsIoTSuite: A Framework to Design, Implement, and Deploy IoT Applications
IoTSuite: A Framework to Design, Implement, and Deploy IoT ApplicationsPankesh Patel
 
SMART Seminar Series: "From cloud-sourced flood mapping to connected communit...
SMART Seminar Series: "From cloud-sourced flood mapping to connected communit...SMART Seminar Series: "From cloud-sourced flood mapping to connected communit...
SMART Seminar Series: "From cloud-sourced flood mapping to connected communit...SMART Infrastructure Facility
 
Fog Computing: Helping the Internet of Things Realize its Potential
Fog Computing: Helping the Internet of Things Realize its PotentialFog Computing: Helping the Internet of Things Realize its Potential
Fog Computing: Helping the Internet of Things Realize its PotentialHarshitParkar6677
 

Was ist angesagt? (20)

MDM-2013, Milan, Italy, 6 June, 2013
MDM-2013, Milan, Italy, 6 June, 2013MDM-2013, Milan, Italy, 6 June, 2013
MDM-2013, Milan, Italy, 6 June, 2013
 
WF-IOT-2014, Seoul, Korea, 06 March 2014
WF-IOT-2014, Seoul, Korea, 06 March 2014WF-IOT-2014, Seoul, Korea, 06 March 2014
WF-IOT-2014, Seoul, Korea, 06 March 2014
 
WF-IOT-2014, Seoul, Korea, 06 March 2014
WF-IOT-2014, Seoul, Korea, 06 March 2014WF-IOT-2014, Seoul, Korea, 06 March 2014
WF-IOT-2014, Seoul, Korea, 06 March 2014
 
COMPLEX EVENT PROCESSING USING IOT DEVICES BASED ON ARDUINO
COMPLEX EVENT PROCESSING USING IOT DEVICES BASED ON ARDUINOCOMPLEX EVENT PROCESSING USING IOT DEVICES BASED ON ARDUINO
COMPLEX EVENT PROCESSING USING IOT DEVICES BASED ON ARDUINO
 
Ieeepro techno solutions 2013 ieee embedded project design of a wsn platfor...
Ieeepro techno solutions   2013 ieee embedded project design of a wsn platfor...Ieeepro techno solutions   2013 ieee embedded project design of a wsn platfor...
Ieeepro techno solutions 2013 ieee embedded project design of a wsn platfor...
 
Introduction to IoT Architectures and Protocols
Introduction to IoT Architectures and ProtocolsIntroduction to IoT Architectures and Protocols
Introduction to IoT Architectures and Protocols
 
Sensor Data Aggregation using a Cross Layer Framework for Smart City Applicat...
Sensor Data Aggregation using a Cross Layer Framework for Smart City Applicat...Sensor Data Aggregation using a Cross Layer Framework for Smart City Applicat...
Sensor Data Aggregation using a Cross Layer Framework for Smart City Applicat...
 
Fog computing
Fog computingFog computing
Fog computing
 
Report-Fog Based Emergency System For Smart Enhanced Living Environment
Report-Fog Based Emergency System For Smart Enhanced Living EnvironmentReport-Fog Based Emergency System For Smart Enhanced Living Environment
Report-Fog Based Emergency System For Smart Enhanced Living Environment
 
Towards a World of Ubiquitous Sensors and Actuators
Towards a World of Ubiquitous Sensors and ActuatorsTowards a World of Ubiquitous Sensors and Actuators
Towards a World of Ubiquitous Sensors and Actuators
 
Towards Adaptive Sensor-cloud for Internet of Things
Towards Adaptive Sensor-cloud for Internet of ThingsTowards Adaptive Sensor-cloud for Internet of Things
Towards Adaptive Sensor-cloud for Internet of Things
 
Towards internet of things iots integration of wireless sensor network to clo...
Towards internet of things iots integration of wireless sensor network to clo...Towards internet of things iots integration of wireless sensor network to clo...
Towards internet of things iots integration of wireless sensor network to clo...
 
grid mining
grid mininggrid mining
grid mining
 
Neuromorphic computing
Neuromorphic computingNeuromorphic computing
Neuromorphic computing
 
IoTSuite: A Framework to Design, Implement, and Deploy IoT Applications
IoTSuite: A Framework to Design, Implement, and Deploy IoT ApplicationsIoTSuite: A Framework to Design, Implement, and Deploy IoT Applications
IoTSuite: A Framework to Design, Implement, and Deploy IoT Applications
 
SMART Seminar Series: "From cloud-sourced flood mapping to connected communit...
SMART Seminar Series: "From cloud-sourced flood mapping to connected communit...SMART Seminar Series: "From cloud-sourced flood mapping to connected communit...
SMART Seminar Series: "From cloud-sourced flood mapping to connected communit...
 
Autonomic computer
Autonomic computerAutonomic computer
Autonomic computer
 
Analisis estadistico en review 9
Analisis estadistico en review   9Analisis estadistico en review   9
Analisis estadistico en review 9
 
Fog Computing: Helping the Internet of Things Realize its Potential
Fog Computing: Helping the Internet of Things Realize its PotentialFog Computing: Helping the Internet of Things Realize its Potential
Fog Computing: Helping the Internet of Things Realize its Potential
 
Grid computing
Grid computingGrid computing
Grid computing
 

Ähnlich wie MobiDE’2012, Phoenix, AZ, United States, 20 May, 2012

1 Object tracking using sensor network Orla Sahi
1       Object tracking using sensor network Orla Sahi1       Object tracking using sensor network Orla Sahi
1 Object tracking using sensor network Orla SahiSilvaGraf83
 
Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.
Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.
Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.IRJET Journal
 
Sensor nets the business of surveillance
Sensor nets the business of surveillanceSensor nets the business of surveillance
Sensor nets the business of surveillanceKaye Beach
 
Io t technologies_ppt-2
Io t technologies_ppt-2Io t technologies_ppt-2
Io t technologies_ppt-2achakracu
 
Towards a Holistic Framework for Secure, Privacy-aware, and Trustworthy Inter...
Towards a Holistic Framework for Secure, Privacy-aware, and Trustworthy Inter...Towards a Holistic Framework for Secure, Privacy-aware, and Trustworthy Inter...
Towards a Holistic Framework for Secure, Privacy-aware, and Trustworthy Inter...Mahmud Hossain
 
Introduction-to-Theft-Automatic-Detection-IoT-Project (1).pptx [Repaired].pptx
Introduction-to-Theft-Automatic-Detection-IoT-Project (1).pptx [Repaired].pptxIntroduction-to-Theft-Automatic-Detection-IoT-Project (1).pptx [Repaired].pptx
Introduction-to-Theft-Automatic-Detection-IoT-Project (1).pptx [Repaired].pptxMkknowledgehub
 
Complex Event Processing Using IOT Devices Based on Arduino
Complex Event Processing Using IOT Devices Based on ArduinoComplex Event Processing Using IOT Devices Based on Arduino
Complex Event Processing Using IOT Devices Based on Arduinoneirew J
 
Ingredients for Semantic Sensor Networks
Ingredients for Semantic Sensor NetworksIngredients for Semantic Sensor Networks
Ingredients for Semantic Sensor NetworksOscar Corcho
 
Reinventing the Share Button for Physical Spaces
Reinventing the Share Button for Physical SpacesReinventing the Share Button for Physical Spaces
Reinventing the Share Button for Physical SpacesDarren Carlson
 
WSN_Data Link Layer _latest development_by_AbhinavAshish.pptx
WSN_Data Link Layer _latest development_by_AbhinavAshish.pptxWSN_Data Link Layer _latest development_by_AbhinavAshish.pptx
WSN_Data Link Layer _latest development_by_AbhinavAshish.pptxAbhinavAshish21
 
K luo bera_poster
K luo bera_posterK luo bera_poster
K luo bera_posterlkcozy
 
Semantically-Enabling the Web of Things: The W3C Semantic Sensor Network Onto...
Semantically-Enabling the Web of Things: The W3C Semantic Sensor Network Onto...Semantically-Enabling the Web of Things: The W3C Semantic Sensor Network Onto...
Semantically-Enabling the Web of Things: The W3C Semantic Sensor Network Onto...Laurent Lefort
 
Voice Enable Blind Assistance System -Real time Object Detection
Voice Enable Blind Assistance System -Real time Object DetectionVoice Enable Blind Assistance System -Real time Object Detection
Voice Enable Blind Assistance System -Real time Object DetectionIRJET Journal
 
wolstencroft-ogf20-astro
wolstencroft-ogf20-astrowolstencroft-ogf20-astro
wolstencroft-ogf20-astrowebuploader
 

Ähnlich wie MobiDE’2012, Phoenix, AZ, United States, 20 May, 2012 (20)

Sinnott Paper
Sinnott PaperSinnott Paper
Sinnott Paper
 
1. GRID COMPUTING
1. GRID COMPUTING1. GRID COMPUTING
1. GRID COMPUTING
 
1 Object tracking using sensor network Orla Sahi
1       Object tracking using sensor network Orla Sahi1       Object tracking using sensor network Orla Sahi
1 Object tracking using sensor network Orla Sahi
 
Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.
Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.
Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.
 
Sensor nets the business of surveillance
Sensor nets the business of surveillanceSensor nets the business of surveillance
Sensor nets the business of surveillance
 
Io t technologies_ppt-2
Io t technologies_ppt-2Io t technologies_ppt-2
Io t technologies_ppt-2
 
FYP PRESENTATION - IOT GARBAGE MONITORING SYSTEM
FYP PRESENTATION - IOT GARBAGE MONITORING SYSTEMFYP PRESENTATION - IOT GARBAGE MONITORING SYSTEM
FYP PRESENTATION - IOT GARBAGE MONITORING SYSTEM
 
Towards a Holistic Framework for Secure, Privacy-aware, and Trustworthy Inter...
Towards a Holistic Framework for Secure, Privacy-aware, and Trustworthy Inter...Towards a Holistic Framework for Secure, Privacy-aware, and Trustworthy Inter...
Towards a Holistic Framework for Secure, Privacy-aware, and Trustworthy Inter...
 
IoTReport
IoTReportIoTReport
IoTReport
 
Introduction-to-Theft-Automatic-Detection-IoT-Project (1).pptx [Repaired].pptx
Introduction-to-Theft-Automatic-Detection-IoT-Project (1).pptx [Repaired].pptxIntroduction-to-Theft-Automatic-Detection-IoT-Project (1).pptx [Repaired].pptx
Introduction-to-Theft-Automatic-Detection-IoT-Project (1).pptx [Repaired].pptx
 
AF-2599-P.docx
AF-2599-P.docxAF-2599-P.docx
AF-2599-P.docx
 
Complex Event Processing Using IOT Devices Based on Arduino
Complex Event Processing Using IOT Devices Based on ArduinoComplex Event Processing Using IOT Devices Based on Arduino
Complex Event Processing Using IOT Devices Based on Arduino
 
Ingredients for Semantic Sensor Networks
Ingredients for Semantic Sensor NetworksIngredients for Semantic Sensor Networks
Ingredients for Semantic Sensor Networks
 
Reinventing the Share Button for Physical Spaces
Reinventing the Share Button for Physical SpacesReinventing the Share Button for Physical Spaces
Reinventing the Share Button for Physical Spaces
 
WSN_Data Link Layer _latest development_by_AbhinavAshish.pptx
WSN_Data Link Layer _latest development_by_AbhinavAshish.pptxWSN_Data Link Layer _latest development_by_AbhinavAshish.pptx
WSN_Data Link Layer _latest development_by_AbhinavAshish.pptx
 
K luo bera_poster
K luo bera_posterK luo bera_poster
K luo bera_poster
 
Semantically-Enabling the Web of Things: The W3C Semantic Sensor Network Onto...
Semantically-Enabling the Web of Things: The W3C Semantic Sensor Network Onto...Semantically-Enabling the Web of Things: The W3C Semantic Sensor Network Onto...
Semantically-Enabling the Web of Things: The W3C Semantic Sensor Network Onto...
 
Dynamix IoT 2012
Dynamix IoT 2012Dynamix IoT 2012
Dynamix IoT 2012
 
Voice Enable Blind Assistance System -Real time Object Detection
Voice Enable Blind Assistance System -Real time Object DetectionVoice Enable Blind Assistance System -Real time Object Detection
Voice Enable Blind Assistance System -Real time Object Detection
 
wolstencroft-ogf20-astro
wolstencroft-ogf20-astrowolstencroft-ogf20-astro
wolstencroft-ogf20-astro
 

Mehr von Charith Perera

SL2College: Undergraduate Research and higher Education, March 2017, Peradeni...
SL2College: Undergraduate Research and higher Education, March 2017, Peradeni...SL2College: Undergraduate Research and higher Education, March 2017, Peradeni...
SL2College: Undergraduate Research and higher Education, March 2017, Peradeni...Charith Perera
 
UCC-2016, 6-9 May December, Shanghai, China
UCC-2016, 6-9 May December, Shanghai, ChinaUCC-2016, 6-9 May December, Shanghai, China
UCC-2016, 6-9 May December, Shanghai, ChinaCharith Perera
 
AAMAS-2017 8-12 May, 2017, Sao Paulo, Brazil
AAMAS-2017 8-12 May, 2017, Sao Paulo, BrazilAAMAS-2017 8-12 May, 2017, Sao Paulo, Brazil
AAMAS-2017 8-12 May, 2017, Sao Paulo, BrazilCharith Perera
 
Building Open Data Markets Using Sensing as a Service Model
Building Open Data Markets Using Sensing as a Service ModelBuilding Open Data Markets Using Sensing as a Service Model
Building Open Data Markets Using Sensing as a Service ModelCharith Perera
 
SEAMS-2016, 16-17 May, 2016, Austin, Texas, United States
SEAMS-2016, 16-17 May, 2016, Austin, Texas, United StatesSEAMS-2016, 16-17 May, 2016, Austin, Texas, United States
SEAMS-2016, 16-17 May, 2016, Austin, Texas, United StatesCharith Perera
 
IS-EUD-2015, Madrid, Spain, 27 May 2015
IS-EUD-2015, Madrid, Spain, 27 May 2015IS-EUD-2015, Madrid, Spain, 27 May 2015
IS-EUD-2015, Madrid, Spain, 27 May 2015Charith Perera
 

Mehr von Charith Perera (6)

SL2College: Undergraduate Research and higher Education, March 2017, Peradeni...
SL2College: Undergraduate Research and higher Education, March 2017, Peradeni...SL2College: Undergraduate Research and higher Education, March 2017, Peradeni...
SL2College: Undergraduate Research and higher Education, March 2017, Peradeni...
 
UCC-2016, 6-9 May December, Shanghai, China
UCC-2016, 6-9 May December, Shanghai, ChinaUCC-2016, 6-9 May December, Shanghai, China
UCC-2016, 6-9 May December, Shanghai, China
 
AAMAS-2017 8-12 May, 2017, Sao Paulo, Brazil
AAMAS-2017 8-12 May, 2017, Sao Paulo, BrazilAAMAS-2017 8-12 May, 2017, Sao Paulo, Brazil
AAMAS-2017 8-12 May, 2017, Sao Paulo, Brazil
 
Building Open Data Markets Using Sensing as a Service Model
Building Open Data Markets Using Sensing as a Service ModelBuilding Open Data Markets Using Sensing as a Service Model
Building Open Data Markets Using Sensing as a Service Model
 
SEAMS-2016, 16-17 May, 2016, Austin, Texas, United States
SEAMS-2016, 16-17 May, 2016, Austin, Texas, United StatesSEAMS-2016, 16-17 May, 2016, Austin, Texas, United States
SEAMS-2016, 16-17 May, 2016, Austin, Texas, United States
 
IS-EUD-2015, Madrid, Spain, 27 May 2015
IS-EUD-2015, Madrid, Spain, 27 May 2015IS-EUD-2015, Madrid, Spain, 27 May 2015
IS-EUD-2015, Madrid, Spain, 27 May 2015
 

Kürzlich hochgeladen

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Kürzlich hochgeladen (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

MobiDE’2012, Phoenix, AZ, United States, 20 May, 2012

  • 1. Connecting Mobile Things to Global Sensor Network Middleware using System-generated Wrappers Charith Perera (ANU), Arkady Zaslavsky (CSIRO), Peter Christen (ANU), Ali Salehi (CSIRO), Dimitrios Georgakopoulos (CSIRO) System-generated Wrappers MobiDE’2012, Phoenix, AZ, 20 May, 2012
  • 2. Outline 1. Introduction 2. Internet of Things and OpenIoT 3. ASCM4GSN 4. Related work 5. Conclusion and future work5. Conclusion and future work
  • 3. 6500+ staff over 55 locations CSIRO today: a snapshot One of the largest & most diverse in the world Australia’s national science agency 3 | CSIRO. Australian Science, Australia's Future 170+ active licences of CSIRO innovation 150+ spin-offs based on our IP & expertise Ranked in top 1% in 14 research fields Building national prosperity and wellbeing
  • 4. Delivering our science: key outcome domains ENERGY OCEANSWATER LANDSCAPES CLIMATE 4 | CSIRO. Australian Science, Australia's Future FOOD & AGRICULTURE PROMOTING HEALTH MANUFACTURING AND MATERIALS UNDERSTANDING THE UNIVERSE SERVICES AND ICT SAFEGUARDING AUSTRALIA MINERAL RESOURCES
  • 5. Light Metals Minerals Down Under Sustainable Agriculture Water for a Healthy Country Climate Adaptation Energy Transformed National Research Flagships 5 | CSIRO. Australian Science, Australia's Future Future Manufacturing Down Under Country Preventative Health Wealth from Oceans Food Futures Transformed
  • 6. based on standard & interoperable communication protocols A dynamic global network infrastructure with self where physical & virtual “things” have identities, physical attributes, Internet of Things (IoT)with self configuring capabilities are seamlessly integrated into the information network. virtual personalities, use intelligent interfaces, and Things (IoT)
  • 7. Origin of IoT in 1998 “The IoT allows people and things to be connected Anytime, Anyplace, with Anything and Anyone, ideally using Any network and Any service" Global market for sensors was around $56.3 billion in 2010, around $62.8 billion in 2011. It is expected to increase up to $91.5 billion by 2016. Introduction 2016. Compound annual growth rate of 7.8%. Increasing trend of developing middleware solutions in order to connect sensors and actuators to the Internet.(E.g: GSN, Hourglass, HiFi, IrisNet, EdgeServers) These middleware solutions support fast and simple deployment of sensor networks.
  • 8. Sensor networks are the major enabler of the IoT A sensor network comprises one or more sensor nodes which communicate between each other using wired and wireless means. Applications of IoT and Sensor Networks Mobile phones as mobile sensors Sensor Networks and IoT Mobile phones as mobile sensors Sensor network deployment has been considered as a difficult task in early days due to the heterogeneity of sensors. Global Sensor Network (GSN) is a middleware solution that enables zero-configuration deployment.
  • 11. OpenIoT experimental test-bed For the High Resolution Plant Phenomics Centre’s Phenonet project • Measure environmental and plant physiology parameters in the field • Improve the quality and scale of data available to plant breeders from grain trial plantings Technical challengesTechnical challenges • Design and programming of sensor network • Testbed for declarative programming of sensor networks • Fast browser-based data display & analysis using reusable components • See http://phenonet.com
  • 12. A platform aimed at providing flexible middleware to address the challenges of sensor data acquisition, integration and distributed query processing It is used widely in over ten EU/Swiss funded research projects We use GSN as the sensor network middleware to exemplify our proposed solution. More information: https://sourceforge.net/apps/trac/gsn/ Global Sensor Networks More information: https://sourceforge.net/apps/trac/gsn/ Internet Cloud (Internet) Computational Rich Device Static Sink Node Computational Rich Device Static Sink Node Sensor Networks (SN1 ) Sensor Networks (SN2 ) Mobile Sink Node Mobile Sink Node GSN Server GSN Server Serial Connector Serial Connector
  • 13. Connectivity and configurability Sensors come with APIs that provide software interfaces to retrieve sensor data to the middleware solutions or applications If we want to retrieve sensor readings, we need to access the sensor hardware through these provided third party libraries. Different middleware solutions use different mechanisms to retrieve data from sensors.(e.g: wrappers, gateways, handlers, proxies, mediators, etc.) The Challenge from sensors.(e.g: wrappers, gateways, handlers, proxies, mediators, etc.) GSN has wrappers Two Problems: First problem is that these wrappers need to be developed manually by the programmers. Each sensor has to have a matching wrapper attached to GSN middleware such as; SunSPOT sensor → SunSPOTWrapper. (Time, Cost, Effort) Second problem is lack of code sharing
  • 14. Evaluation of Existing Approach Common Steps in Connecting Sensors to an IoT Middleware: Acquire Manufacturers' APIs 1. Acquire System Configuration Details 2. Initiate the Data Structures 3. Initiate the Communication between IoT Middleware and Sensor Device 4. Data Communication 5. Close the Communication and Release the Resources (a) (b) Our experiment of developing wrappers manually for Android mobile phones. Android Wrapper is around 400 line of code and the Android application is around 800 line of code. It could take a few days for a developer to develop and debug a single wrapper for a specific sensor including the time that would take to familiarise with the specific sensor platform.
  • 15. We propose Automated Sensor Configuration Model For Global Sensor Network (ASCM4GSN) architecture to address these issues. Automating Wrapper generation process and share the already developed wrappers through cloud repository. Sensor Device Definition Cloud Repository (SDDCL) Cloud 2 Major Components: ASCM4GSN as a solution Automated Wrapper Generation Layer Serial Connector Sink Node Base computer Running GSN Sensor Device Definition Local Repository (SDDLR) 1 Sensor Device Definition File (SDD) 3 Major Components: Sensor Device Definition (SDD) File Sensor Device Definition Local Repository (SDDLR) Sensor Device Definition Cloud Repository (SDDCR) Automated Wrapper Generation Layer (ASCM4GSN Tool)
  • 16. Common Steps in Connecting Sensors to an IoT Middleware: 1. Acquire Manufacturers' APIs 2. Acquire System Configuration Details 3. Initiate the Data Structures 4. Initiate the Communication between IoT Middleware and Sensor Device 5. Data Communication 6. Close the Communication and Release the Resources ASCM4GSN as a solution <libraries-collection> <library package-name="com.sun.spot.io.j2me.radiogram.*" source="http://gsncloud.com/libraries/spotlib_common.jar" platform="java" /> <library package-name="om.sun.spot.peripheral.ota.OTACommandServer" source="http://gsncloud.com/libraries/spotlib_device.jar" platform="java" /> </libraries-collection> <data-structure> <data-field field-name="light" type="int" description="Presents the light sensor."/> <data-field field-name="temperature" type="int" description="Presents the temperature sensor."/> </data-structure> <system-configuration class="System" method="setProperty" > <property name="SERIAL_PORT">/dev/ttyACM1</property> <system-configuration> <connection> <prerequisites builder-class="OTACommandServer" method="start" > <parameters>null</parameters> </prerequisites> <connection-initiation builder-class="Connector" method="open"> <parameters name="scheme">radiogram</parameters> <parameters name="HOST_PORT">65</parameters> </connection-initiation> <data-interface class="RadiogramConnection" method="newDatagram"> <parameters name="size" class="RadiogramConnection" method="getMaximumLength">10</parameters> </data-interface> </connection> <data-transformation> <data-retrieval class="RadiogramConnection" method="receive"> <parameters name="packet">Datagram</parameters> </data-retrieval> <data-field field-name="light" class="Datagram" method="readInt"/> <data-field field-name="temperature" class="Datagram" method="readInt"/> </data-transformation> import com.sun.spot.io.j2me.radiogram.*; import com.sun.spot.peripheral.ota.OTACommandServer; import javax.microedition.io.*; public class SunSpotsWrapper extends AbstractWrapper { private DataField[] collection = new DataField[] { new DataField("light", "int", "Presents the light sensor."), new DataField("temperature", "int", "Presents the temperature sensor."), new DataField("packet_type", "int", "packet type")}; public boolean initialize() { System.setProperty("SERIAL_PORT", "/dev/ttyACM1"); OTACommandServer.start(); rCon = (RadiogramConnection) Connector.open("radiogram://:"+HOST_PORT); dg = rCon.newDatagram(rCon.getMaximumLength()); } public void run() { rCon.receive(dg); light = dg.readInt(); temperature = dg.readInt() } } Sensor Device Definition File System-generated SunSPOT Wrapper 1 2 3 4 5 We defined the above steps in XML file called Sensor Device Definition (SDD) file The information attached to this files were used to develop the wrapper automatically.
  • 17. <libraries-collection> <library package-name="com.sun.spot.io.j2me.radiogram.*" source="http://gsncloud.com/libraries/spotlib_common.jar" platform="java" /> <library package-name="om.sun.spot.peripheral.ota.OTACommandServer" source="http://gsncloud.com/libraries/spotlib_device.jar" platform="java" /> </libraries-collection> <data-structure> <data-field field-name="light" type="int" description="Presents the light sensor."/> <data-field field-name="temperature" type="int" description="Presents the temperature sensor."/> </data-structure> <system-configuration class="System" method="setProperty" > <property name="SERIAL_PORT">/dev/ttyACM1</property> <system-configuration> <connection> <prerequisites builder-class="OTACommandServer" method="start" > <parameters>null</parameters> </prerequisites> <connection-initiation builder-class="Connector" method="open"> package gsn.wrappers; import gsn.beans.DataField; import gsn.beans.StreamElement; public class XXXXXXXXXXXX extends AbstractWrapper { private DataField[] collection = new DataField[] {….........}; public boolean initialize() { setName("TestWrapperMockObject-Thread" + (++threadCounter)); System.setProperty(..............); return true; } public void run() { } package gsn.wrappers; import gsn.beans.DataField; import gsn.beans.StreamElement; import com.sun.spot.io.j2me.radiogram.*; import com.sun.spot.peripheral.ota.OTACommandServer; import javax.microedition.io.*; public class SunSpotsWrapper extends AbstractWrapper { private DataField[] collection = new DataField[] { new DataField("light", "int", "Presents the light sensor."), new DataField("temperature", "int", "Presents temperature sensor"), new DataField("packet_type", "int", "packet type")}; public boolean initialize() { System.setProperty("SERIAL_PORT", "/dev/ttyACM1"); OTACommandServer.start(); rCon = (RadiogramConnection) Connector.open("radiogram://:"+HOST_PORT); dg = rCon.newDatagram(rCon.getMaximumLength()); How Automation Works <connection-initiation builder-class="Connector" method="open"> <parameters name="scheme">radiogram</parameters> <parameters name="HOST_PORT">65</parameters> </connection-initiation> <data-interface class="RadiogramConnection" method="newDatagram"> <parameters name="size" class="RadiogramConnection" method="getMaximumLength">10</parameters> </data-interface> </connection> <data-transformation> <data-retrieval class="RadiogramConnection" method="receive"> <parameters name="packet">Datagram</parameters> </data-retrieval> <data-field field-name="light" class="Datagram" method="readInt"/> <data-field field-name="temperature" class="Datagram" method="readInt"/> </data-transformation> } public DataField[] getOutputFormat() { return outputFormat; } public boolean publishStreamElement(StreamElement se) { return postStreamElement(se); } public void dispose() { threadCounter--; } public String getWrapperName() { return "TestWrapperMock"; } } } public void run() { rCon.receive(dg); light = dg.readInt(); temperature = dg.readInt() } public DataField[] getOutputFormat() { return outputFormat; } public boolean publishStreamElement(StreamElement se) { return postStreamElement(se); } public void dispose() { threadCounter--; } public String getWrapperName() { return "SunSPOTWrapper"; } } Sensor Device Definition(SDD) File for a Specific Sensor (e.g: SunSPOT Sensor) Wrapper Template for Global Sensor Network Middleware System Generated Wrapper (e.g: SunSPOTWrapper)
  • 18. IEEE 1451 standards and SensorML Californium (Cf) CoAP framework Web Services Gateways InterX Related Work InterX Hydra uMiddle
  • 19. We have demonstrated that automating the process of developing sensor drivers/wrappers will improve efficiency and productivity. Our future work aims at efficient and effective automation of connecting things to IoT middleware as well as incorporating generated extended functionality Conclusion and Future Work generated extended functionality We will combine context capturing and semantic data technologies with processing of sensor data inside the wrapper itself. Reasoner on top of ASCM4GSN to include context discovery, semantic enrichment while generating wrappers
  • 20. Thank you !Thank you ! Dr Arkady Zaslavsky, Professor Science Leader in Semantic Data Management Phone: 02 6216 7132 Email: arkady.zaslavsky@csiro.au