SlideShare a Scribd company logo
1 of 31
Download to read offline
CCT: Connect and Control Things
A Novel Mobile Application to Manage M2M Devices and
Endpoints
Soumya Kanti Datta
Research Engineer, EURECOM, France
Email: soumya-kanti.datta@eurecom.fr
IEEE Ninth International Conference on Intelligent Sensors, Sensor Networks
and Information Processing (ISSNIP 2014)
Contents
• Introduction
– M2M & IoT
– Sensor Markup Language
• Extending SenML Capabilities
• Architectural Design and Novel Capabilities
• Prototype Android Application
• Performance Evaluation and Optimization
• Use Cases
• Conclusion
22-Apr-14 CCT: Connect and Control Things 2
Introduction
22-Apr-14 CCT: Connect and Control Things 3
M2M Communication
• Communication between two or more
entities that do not necessarily need
any direct human intervention [ETSI].
• Information exchange between a
Subscriber station and a Server in the
core network (through a base station)
or between Subscriber station, which
may be carried out without any human
interaction [IEEE 802.16p].
IoT
• A global network infrastructure, linking
physical and virtual objects through the
exploitation of data capture and
communication capabilities [EU FP7
CASAGRAS].
• A global infrastructure for the
information society, enabling advanced
services by interconnecting (physical
and virtual) things based on, existing
and evolving, interoperable
information and communication
technologies [ITU-T Y.2060]
Sensor Markup Language (SenML)
• Represents simple sensor measurements and
device parameters.
• Implemented using JSON/XML/EXI.
22-Apr-14 CCT: Connect and Control Things 4
Source: Media Types for Sensor Markup Language (SENML) draft-jennings-senml-10
Introducing CCT: Connect and Control Things
• It enables real time interaction
with M2M devices.
– Each device manages a sensor
and/or an actuator.
• One possible deployment scenario
– CCT interacts with the M2M devices
via the M2M gateway.
22-Apr-14 CCT: Connect and Control Things 5
Clients running CCT
M2M Gateway
Device with sensor
and actuator
Functionalities
• Dynamic discovery
– Devices and endpoints attached to the M2M gateway
• Real time interaction
• Connecting to both smart and legacy things
• Subscription to receive push notifications
• SenML implementation
• Actuator control
– Sensing based actuation
– SenML extensions
22-Apr-14 CCT: Connect and Control Things 6
Contents
• Introduction
• Extending SenML Capabilities
– For actuator control
• Architectural Design and Novel Capabilities
• Prototype Android Application
• Performance Evaluation and Optimization
• Use Cases
• Conclusion
22-Apr-14 CCT: Connect and Control Things 7
SenML Extensions for Actuators
• An Interface Definition
– Necessary to distinguish between a sensor and an actuator.
• Name of actuator
– Unique name that identifies the actuator and represented by base name.
• Type of actuator (Optional)
– Defines various types of actuator e.g. temperature controlling actuator.
• Allowed range of values
– The mobile clients must know the allowed range of values in order to control the actuators.
– The range could be continuous (e.g. for a motor) or discreet values (e.g. 0/1 for LED).
• Unit
– The unit of the values.
• Capabilities (Optional)
– It signifies whether an actuator is smart or legacy endpoint.
– In case of a legacy actuator, another M2M device must translate the instructions to machine executable
form.
• Semantic (Optional)
– It is used to associate a semantic notion of the actuator operation and can be pre-configured for the
actuators.
822-Apr-14 CCT: Connect and Control Things
Contents
• Introduction
• Extending SenML Capabilities
• Architectural Design and Novel Capabilities
• Prototype Android Application
• Performance Evaluation and Optimization
• Use Cases
• Conclusion
22-Apr-14 CCT: Connect and Control Things 9
Gateway Centric IoT Architecture
22-Apr-14 CCT: Connect and Control Things 10
Software Architecture of CCT
22-Apr-14 CCT: Connect and Control Things 11
Device and Endpoint Discovery Module
• Based on CoRE link approach and performed in two
steps
– GET request to retrieve the descriptions of M2M Devices.
• resource type and attributes including location, id, name, and
software version of the device.
– GET request to retrieve the descriptions of M2M endpoints
attached to those devices.
• id – the resource identifier
• Name – human readable name
• Device – link to the connected M2M device
• Location – URI of the endpoint
• Senml – senml metadata
22-Apr-14 CCT: Connect and Control Things 12
User Interface Module
• Parses the metadata from the
gateway and displays to users.
• Certain components of the user
interface can be dynamically
configured.
– The value to be sent to an actuator could
be implemented using a slider, input text
box or checkbox with numeric values.
• The motivation behind this is to drive
the user interface components from
the M2M gateway depending on
different types of endpoints.
22-Apr-14 CCT: Connect and Control Things 13
Receive Sensor Measurement Module
• Receive the most recent sensor metadata.
– Subscribe to the receive push notification
– Poll the metadata using GET request
• Notification based on predefined rules
– alarms (vibration, sound) or alerts (SMS)
22-Apr-14 CCT: Connect and Control Things 14
Actuator Control Module
• Supports the implementation of SenML
extensions for actuators.
• Generates the SenML representation of the
command
– name, value, unit, location of actuator.
• Metadata is then sent to the M2M gateway using
POST over HTTP
– The metadata is forwarded to the M2M device
containing the actuator.
– HTTP response 204 is sent back as a feedback.
22-Apr-14 CCT: Connect and Control Things 15
Contents
• Introduction
• Requirement Analysis
• Extending SenML Capabilities
• Architectural Design and Novel Capabilities
• Prototype Android Application
• Performance Evaluation and Optimization
• Use Cases
• Conclusion
22-Apr-14 CCT: Connect and Control Things 16
Prototype Implementation
• Connect and Control Things (CCT)
– developed using cross platform tools PhoneGap
2.9.0 and JQuery Mobile 1.3.1.
• M2M gateway is running in a Google App Engine
• Tested with real and simulated M2M devices and
Endpoints
22-Apr-14 CCT: Connect and Control Things 17
CCT
22-Apr-14 CCT: Connect and Control Things 18
Contents
• Introduction
• Extending SenML Capabilities
• Architectural Design and Novel Capabilities
• Prototype Android Application
• Performance Evaluation and Optimization
– CPU usage & power consumption
– Proposed optimization
• Use Cases
• Conclusion
22-Apr-14 CCT: Connect and Control Things 19
CPU Usage Results
22-Apr-14 CCT: Connect and Control Things 20
Android
Device
Device and
Endpoint
Discovery
Parsing
Sensor
Values
Sensor & Actuator
Data Representation
in UI
Archos
Tablet
32% 37% 4%
Nexus S 41% 40% 8%
Nexus 7 35% 36% 3%
Power Consumption Results
• Measured using Power Tutor
22-Apr-14 CCT: Connect and Control Things 21
Device Power Consumption (mW)
Mobile Data Wi-Fi
Archos Tablet 723 592
Nexus S 819 718
Nexus 7 (Wi-Fi only) -- 479
Optimization Techniques
• Intelligent filtering at Gateway
• Reducing metadata content
• MQTT based implementation
22-Apr-14 CCT: Connect and Control Things 22
Contents
• Introduction
• Extending SenML Capabilities
• Architectural Design and Novel Capabilities
• Prototype Android Application
• Performance Evaluation and Optimization
• Use Cases
• Conclusion
22-Apr-14 CCT: Connect and Control Things 23
Use Cases
• Gateway Centric IoT architecture suitable for
– Smart Agriculture
– E-Health
– Smart Home
22-Apr-14 CCT: Connect and Control Things 24
Contents
• Introduction
• Extending SenML Capabilities
• Architectural Design and Novel Capabilities
• Prototype Android Application
• Performance Evaluation and Optimization
• Use Cases
• Conclusion
22-Apr-14 CCT: Connect and Control Things 25
Conclusion
• Presented a mobile application for real time
interaction with smart and legacy endpoints.
• Application performs automatic discovery of
devices and benefits from SenML based
implementations.
• Support for actuators through SenML
implementation.
• Performance evaluation and optimization
techniques.
22-Apr-14 CCT: Connect and Control Things 26
22-Apr-14 CCT: Connect and Control Things 27
Back up slides
22-Apr-14 CCT: Connect and Control Things 28
Example of SenML Extensions
<senml bn=urn:dev:mac:6399877
xbif="a">
<e n="temp" t="0" v=“25" u="Cel"
uism="slider" xar="10:40/>
</senml>
22-Apr-14 CCT: Connect and Control Things 29
• Temperature controlling
actuator
• Allowed range is 10-40
degree Celsius
• The allowed range is
represented using a slider
• Requesting a change to 25
degree Celsius
PUSH Notification
22-Apr-14 CCT: Connect and Control Things 30
Operational flow of CCT
22-Apr-14 CCT: Connect and Control Things 31

More Related Content

What's hot

M2m communication in smart grid ppt
M2m communication in smart grid pptM2m communication in smart grid ppt
M2m communication in smart grid pptPoornimagugale
 
China Mobile - OpenStack Summit 2016/Red Hat Mini NFV Summit
China Mobile - OpenStack Summit 2016/Red Hat Mini NFV Summit China Mobile - OpenStack Summit 2016/Red Hat Mini NFV Summit
China Mobile - OpenStack Summit 2016/Red Hat Mini NFV Summit kimw001
 
How oneM2M fits into the IoT Landscape - enabling cross vertical domain inter...
How oneM2M fits into the IoT Landscape - enabling cross vertical domain inter...How oneM2M fits into the IoT Landscape - enabling cross vertical domain inter...
How oneM2M fits into the IoT Landscape - enabling cross vertical domain inter...oneM2M
 
Overview Of I E C61850 Presentation..... W S M
Overview Of  I E C61850  Presentation..... W S MOverview Of  I E C61850  Presentation..... W S M
Overview Of I E C61850 Presentation..... W S Mginquesada
 
Smart M2M gateway based architecture for m2m device and endpoint management
Smart M2M gateway based architecture for m2m device and endpoint managementSmart M2M gateway based architecture for m2m device and endpoint management
Smart M2M gateway based architecture for m2m device and endpoint managementSoumya Kanti Datta
 
Will SCADA Systems Survive? The Future of Distributed Management Systems
Will SCADA Systems Survive? The Future of Distributed Management SystemsWill SCADA Systems Survive? The Future of Distributed Management Systems
Will SCADA Systems Survive? The Future of Distributed Management SystemsTibbo
 
Eclipse OM2M: Standardized M2M service platform
Eclipse OM2M: Standardized M2M service platformEclipse OM2M: Standardized M2M service platform
Eclipse OM2M: Standardized M2M service platformMahdi Ben Alaya
 
Skt.2013.innovation technology for future convergence network
Skt.2013.innovation technology for future convergence networkSkt.2013.innovation technology for future convergence network
Skt.2013.innovation technology for future convergence networkson6971
 
Open platform communications (opc) server from tibbo technology
Open platform communications (opc) server from tibbo technologyOpen platform communications (opc) server from tibbo technology
Open platform communications (opc) server from tibbo technologyTibbo
 
Cyber Security in Substation Automation (IEC 61850)
Cyber Security in Substation Automation (IEC 61850)Cyber Security in Substation Automation (IEC 61850)
Cyber Security in Substation Automation (IEC 61850)Nikandrov Maxim
 
oneM2M Introduction and security
oneM2M Introduction and securityoneM2M Introduction and security
oneM2M Introduction and securityJongseok Choi
 
oneM2M - taking a look inside
oneM2M -  taking a look insideoneM2M -  taking a look inside
oneM2M - taking a look insideoneM2M
 
The AUTOWARE project
The AUTOWARE projectThe AUTOWARE project
The AUTOWARE projectAUTOWARE
 
Centralized Emergency Traffic Optimizer NEV SDK
Centralized Emergency Traffic Optimizer NEV SDKCentralized Emergency Traffic Optimizer NEV SDK
Centralized Emergency Traffic Optimizer NEV SDKMichelle Holley
 
MoreauMulumeCV_Profile07012015
MoreauMulumeCV_Profile07012015MoreauMulumeCV_Profile07012015
MoreauMulumeCV_Profile07012015Moreau Mulume
 
Graduation Project Presentation
Graduation Project PresentationGraduation Project Presentation
Graduation Project PresentationMostafa Elhoushi
 
OneM2M - Views on Platform Interoperability
OneM2M - Views on Platform InteroperabilityOneM2M - Views on Platform Interoperability
OneM2M - Views on Platform InteroperabilityAALForum
 
Intro to IoT & the role of LwM2M Technologies (Internet of Things World 2017,...
Intro to IoT & the role of LwM2M Technologies (Internet of Things World 2017,...Intro to IoT & the role of LwM2M Technologies (Internet of Things World 2017,...
Intro to IoT & the role of LwM2M Technologies (Internet of Things World 2017,...Open Mobile Alliance
 

What's hot (18)

M2m communication in smart grid ppt
M2m communication in smart grid pptM2m communication in smart grid ppt
M2m communication in smart grid ppt
 
China Mobile - OpenStack Summit 2016/Red Hat Mini NFV Summit
China Mobile - OpenStack Summit 2016/Red Hat Mini NFV Summit China Mobile - OpenStack Summit 2016/Red Hat Mini NFV Summit
China Mobile - OpenStack Summit 2016/Red Hat Mini NFV Summit
 
How oneM2M fits into the IoT Landscape - enabling cross vertical domain inter...
How oneM2M fits into the IoT Landscape - enabling cross vertical domain inter...How oneM2M fits into the IoT Landscape - enabling cross vertical domain inter...
How oneM2M fits into the IoT Landscape - enabling cross vertical domain inter...
 
Overview Of I E C61850 Presentation..... W S M
Overview Of  I E C61850  Presentation..... W S MOverview Of  I E C61850  Presentation..... W S M
Overview Of I E C61850 Presentation..... W S M
 
Smart M2M gateway based architecture for m2m device and endpoint management
Smart M2M gateway based architecture for m2m device and endpoint managementSmart M2M gateway based architecture for m2m device and endpoint management
Smart M2M gateway based architecture for m2m device and endpoint management
 
Will SCADA Systems Survive? The Future of Distributed Management Systems
Will SCADA Systems Survive? The Future of Distributed Management SystemsWill SCADA Systems Survive? The Future of Distributed Management Systems
Will SCADA Systems Survive? The Future of Distributed Management Systems
 
Eclipse OM2M: Standardized M2M service platform
Eclipse OM2M: Standardized M2M service platformEclipse OM2M: Standardized M2M service platform
Eclipse OM2M: Standardized M2M service platform
 
Skt.2013.innovation technology for future convergence network
Skt.2013.innovation technology for future convergence networkSkt.2013.innovation technology for future convergence network
Skt.2013.innovation technology for future convergence network
 
Open platform communications (opc) server from tibbo technology
Open platform communications (opc) server from tibbo technologyOpen platform communications (opc) server from tibbo technology
Open platform communications (opc) server from tibbo technology
 
Cyber Security in Substation Automation (IEC 61850)
Cyber Security in Substation Automation (IEC 61850)Cyber Security in Substation Automation (IEC 61850)
Cyber Security in Substation Automation (IEC 61850)
 
oneM2M Introduction and security
oneM2M Introduction and securityoneM2M Introduction and security
oneM2M Introduction and security
 
oneM2M - taking a look inside
oneM2M -  taking a look insideoneM2M -  taking a look inside
oneM2M - taking a look inside
 
The AUTOWARE project
The AUTOWARE projectThe AUTOWARE project
The AUTOWARE project
 
Centralized Emergency Traffic Optimizer NEV SDK
Centralized Emergency Traffic Optimizer NEV SDKCentralized Emergency Traffic Optimizer NEV SDK
Centralized Emergency Traffic Optimizer NEV SDK
 
MoreauMulumeCV_Profile07012015
MoreauMulumeCV_Profile07012015MoreauMulumeCV_Profile07012015
MoreauMulumeCV_Profile07012015
 
Graduation Project Presentation
Graduation Project PresentationGraduation Project Presentation
Graduation Project Presentation
 
OneM2M - Views on Platform Interoperability
OneM2M - Views on Platform InteroperabilityOneM2M - Views on Platform Interoperability
OneM2M - Views on Platform Interoperability
 
Intro to IoT & the role of LwM2M Technologies (Internet of Things World 2017,...
Intro to IoT & the role of LwM2M Technologies (Internet of Things World 2017,...Intro to IoT & the role of LwM2M Technologies (Internet of Things World 2017,...
Intro to IoT & the role of LwM2M Technologies (Internet of Things World 2017,...
 

Similar to Connect and control things

An IoT gateway centric architecture to provide novel m2m services
An IoT gateway centric architecture to provide novel m2m servicesAn IoT gateway centric architecture to provide novel m2m services
An IoT gateway centric architecture to provide novel m2m servicesSoumya Kanti Datta
 
5G Cloud RAN & IoT Architecture
5G Cloud RAN & IoT Architecture5G Cloud RAN & IoT Architecture
5G Cloud RAN & IoT ArchitectureSathiya keerthi
 
Using Kubernetes to make cellular data plans cheaper for 50M users
Using Kubernetes to make cellular data plans cheaper for 50M usersUsing Kubernetes to make cellular data plans cheaper for 50M users
Using Kubernetes to make cellular data plans cheaper for 50M usersMirantis
 
Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?Eurotech
 
Pushing the Boundaries of Data Visualization
Pushing the Boundaries of Data VisualizationPushing the Boundaries of Data Visualization
Pushing the Boundaries of Data VisualizationInductive Automation
 
IoT and the Oil & Gas industry at M2M Oil & Gas 2014 in London
IoT and the Oil & Gas industry at M2M Oil & Gas 2014 in LondonIoT and the Oil & Gas industry at M2M Oil & Gas 2014 in London
IoT and the Oil & Gas industry at M2M Oil & Gas 2014 in LondonEurotech
 
Stop Wasting Energy on M2M
Stop Wasting Energy on M2MStop Wasting Energy on M2M
Stop Wasting Energy on M2MEurotech
 
Arpan pal uworld2013
Arpan pal uworld2013Arpan pal uworld2013
Arpan pal uworld2013Arpan Pal
 
Encapsulating Complexity in IoT Solutions
Encapsulating Complexity in IoT SolutionsEncapsulating Complexity in IoT Solutions
Encapsulating Complexity in IoT SolutionsEurotech
 
High Scalability Network Monitoring for Communications Service Providers
High Scalability Network Monitoring for Communications Service ProvidersHigh Scalability Network Monitoring for Communications Service Providers
High Scalability Network Monitoring for Communications Service ProvidersCA Technologies
 
Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...
Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...
Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...Francisco José Gómez López
 
Towards CIM-Compliant Model-Based Cyber-Physical Power System Design and Simu...
Towards CIM-Compliant Model-Based Cyber-Physical Power System Design and Simu...Towards CIM-Compliant Model-Based Cyber-Physical Power System Design and Simu...
Towards CIM-Compliant Model-Based Cyber-Physical Power System Design and Simu...Luigi Vanfretti
 
Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...
Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...
Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...Eurotech
 
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...Rick G. Garibay
 
RECAP at ETSI Experiential Network Intelligence (ENI) Meeting
RECAP at ETSI Experiential Network Intelligence (ENI) MeetingRECAP at ETSI Experiential Network Intelligence (ENI) Meeting
RECAP at ETSI Experiential Network Intelligence (ENI) MeetingRECAP Project
 

Similar to Connect and control things (20)

An IoT gateway centric architecture to provide novel m2m services
An IoT gateway centric architecture to provide novel m2m servicesAn IoT gateway centric architecture to provide novel m2m services
An IoT gateway centric architecture to provide novel m2m services
 
5G Cloud RAN & IoT Architecture
5G Cloud RAN & IoT Architecture5G Cloud RAN & IoT Architecture
5G Cloud RAN & IoT Architecture
 
Using Kubernetes to make cellular data plans cheaper for 50M users
Using Kubernetes to make cellular data plans cheaper for 50M usersUsing Kubernetes to make cellular data plans cheaper for 50M users
Using Kubernetes to make cellular data plans cheaper for 50M users
 
Sgcp12 cochrane-cyan
Sgcp12 cochrane-cyanSgcp12 cochrane-cyan
Sgcp12 cochrane-cyan
 
Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?
 
Pushing the Boundaries of Data Visualization
Pushing the Boundaries of Data VisualizationPushing the Boundaries of Data Visualization
Pushing the Boundaries of Data Visualization
 
IoT and the Oil & Gas industry at M2M Oil & Gas 2014 in London
IoT and the Oil & Gas industry at M2M Oil & Gas 2014 in LondonIoT and the Oil & Gas industry at M2M Oil & Gas 2014 in London
IoT and the Oil & Gas industry at M2M Oil & Gas 2014 in London
 
Stop Wasting Energy on M2M
Stop Wasting Energy on M2MStop Wasting Energy on M2M
Stop Wasting Energy on M2M
 
Arpan pal uworld2013
Arpan pal uworld2013Arpan pal uworld2013
Arpan pal uworld2013
 
Encapsulating Complexity in IoT Solutions
Encapsulating Complexity in IoT SolutionsEncapsulating Complexity in IoT Solutions
Encapsulating Complexity in IoT Solutions
 
High Scalability Network Monitoring for Communications Service Providers
High Scalability Network Monitoring for Communications Service ProvidersHigh Scalability Network Monitoring for Communications Service Providers
High Scalability Network Monitoring for Communications Service Providers
 
Meet up#2v0.2
Meet up#2v0.2Meet up#2v0.2
Meet up#2v0.2
 
INTERNET OF THINGS.pptx
INTERNET OF THINGS.pptxINTERNET OF THINGS.pptx
INTERNET OF THINGS.pptx
 
Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...
Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...
Towards CIM Compliant Model-Based Cyber-Physical Power System Design and Simu...
 
Towards CIM-Compliant Model-Based Cyber-Physical Power System Design and Simu...
Towards CIM-Compliant Model-Based Cyber-Physical Power System Design and Simu...Towards CIM-Compliant Model-Based Cyber-Physical Power System Design and Simu...
Towards CIM-Compliant Model-Based Cyber-Physical Power System Design and Simu...
 
1.pptx
1.pptx1.pptx
1.pptx
 
Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...
Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...
Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...
 
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
 
RECAP at ETSI Experiential Network Intelligence (ENI) Meeting
RECAP at ETSI Experiential Network Intelligence (ENI) MeetingRECAP at ETSI Experiential Network Intelligence (ENI) Meeting
RECAP at ETSI Experiential Network Intelligence (ENI) Meeting
 
M2M Day Two
M2M Day TwoM2M Day Two
M2M Day Two
 

More from Soumya Kanti Datta

Survey, comparison & evaluation of cross platform mobile application developm...
Survey, comparison & evaluation of cross platform mobile application developm...Survey, comparison & evaluation of cross platform mobile application developm...
Survey, comparison & evaluation of cross platform mobile application developm...Soumya Kanti Datta
 
Minimizing energy expenditure in smart devices
Minimizing energy expenditure in smart devicesMinimizing energy expenditure in smart devices
Minimizing energy expenditure in smart devicesSoumya Kanti Datta
 
Android power management, current and future trends
Android power management, current and future trendsAndroid power management, current and future trends
Android power management, current and future trendsSoumya Kanti Datta
 
Personalized power saving profiles generation analyzing smart device usage pa...
Personalized power saving profiles generation analyzing smart device usage pa...Personalized power saving profiles generation analyzing smart device usage pa...
Personalized power saving profiles generation analyzing smart device usage pa...Soumya Kanti Datta
 
Self adaptive battery and context aware mobile application development
Self adaptive battery and context aware mobile application developmentSelf adaptive battery and context aware mobile application development
Self adaptive battery and context aware mobile application developmentSoumya Kanti Datta
 
Usage patterns based security attacks for smart devices
Usage patterns based security attacks for smart devicesUsage patterns based security attacks for smart devices
Usage patterns based security attacks for smart devicesSoumya Kanti Datta
 
M2M communications and internet of things for smart cities
M2M communications and internet of things for smart citiesM2M communications and internet of things for smart cities
M2M communications and internet of things for smart citiesSoumya Kanti Datta
 

More from Soumya Kanti Datta (8)

WoT framework and use cases
WoT framework and use casesWoT framework and use cases
WoT framework and use cases
 
Survey, comparison & evaluation of cross platform mobile application developm...
Survey, comparison & evaluation of cross platform mobile application developm...Survey, comparison & evaluation of cross platform mobile application developm...
Survey, comparison & evaluation of cross platform mobile application developm...
 
Minimizing energy expenditure in smart devices
Minimizing energy expenditure in smart devicesMinimizing energy expenditure in smart devices
Minimizing energy expenditure in smart devices
 
Android power management, current and future trends
Android power management, current and future trendsAndroid power management, current and future trends
Android power management, current and future trends
 
Personalized power saving profiles generation analyzing smart device usage pa...
Personalized power saving profiles generation analyzing smart device usage pa...Personalized power saving profiles generation analyzing smart device usage pa...
Personalized power saving profiles generation analyzing smart device usage pa...
 
Self adaptive battery and context aware mobile application development
Self adaptive battery and context aware mobile application developmentSelf adaptive battery and context aware mobile application development
Self adaptive battery and context aware mobile application development
 
Usage patterns based security attacks for smart devices
Usage patterns based security attacks for smart devicesUsage patterns based security attacks for smart devices
Usage patterns based security attacks for smart devices
 
M2M communications and internet of things for smart cities
M2M communications and internet of things for smart citiesM2M communications and internet of things for smart cities
M2M communications and internet of things for smart cities
 

Connect and control things

  • 1. CCT: Connect and Control Things A Novel Mobile Application to Manage M2M Devices and Endpoints Soumya Kanti Datta Research Engineer, EURECOM, France Email: soumya-kanti.datta@eurecom.fr IEEE Ninth International Conference on Intelligent Sensors, Sensor Networks and Information Processing (ISSNIP 2014)
  • 2. Contents • Introduction – M2M & IoT – Sensor Markup Language • Extending SenML Capabilities • Architectural Design and Novel Capabilities • Prototype Android Application • Performance Evaluation and Optimization • Use Cases • Conclusion 22-Apr-14 CCT: Connect and Control Things 2
  • 3. Introduction 22-Apr-14 CCT: Connect and Control Things 3 M2M Communication • Communication between two or more entities that do not necessarily need any direct human intervention [ETSI]. • Information exchange between a Subscriber station and a Server in the core network (through a base station) or between Subscriber station, which may be carried out without any human interaction [IEEE 802.16p]. IoT • A global network infrastructure, linking physical and virtual objects through the exploitation of data capture and communication capabilities [EU FP7 CASAGRAS]. • A global infrastructure for the information society, enabling advanced services by interconnecting (physical and virtual) things based on, existing and evolving, interoperable information and communication technologies [ITU-T Y.2060]
  • 4. Sensor Markup Language (SenML) • Represents simple sensor measurements and device parameters. • Implemented using JSON/XML/EXI. 22-Apr-14 CCT: Connect and Control Things 4 Source: Media Types for Sensor Markup Language (SENML) draft-jennings-senml-10
  • 5. Introducing CCT: Connect and Control Things • It enables real time interaction with M2M devices. – Each device manages a sensor and/or an actuator. • One possible deployment scenario – CCT interacts with the M2M devices via the M2M gateway. 22-Apr-14 CCT: Connect and Control Things 5 Clients running CCT M2M Gateway Device with sensor and actuator
  • 6. Functionalities • Dynamic discovery – Devices and endpoints attached to the M2M gateway • Real time interaction • Connecting to both smart and legacy things • Subscription to receive push notifications • SenML implementation • Actuator control – Sensing based actuation – SenML extensions 22-Apr-14 CCT: Connect and Control Things 6
  • 7. Contents • Introduction • Extending SenML Capabilities – For actuator control • Architectural Design and Novel Capabilities • Prototype Android Application • Performance Evaluation and Optimization • Use Cases • Conclusion 22-Apr-14 CCT: Connect and Control Things 7
  • 8. SenML Extensions for Actuators • An Interface Definition – Necessary to distinguish between a sensor and an actuator. • Name of actuator – Unique name that identifies the actuator and represented by base name. • Type of actuator (Optional) – Defines various types of actuator e.g. temperature controlling actuator. • Allowed range of values – The mobile clients must know the allowed range of values in order to control the actuators. – The range could be continuous (e.g. for a motor) or discreet values (e.g. 0/1 for LED). • Unit – The unit of the values. • Capabilities (Optional) – It signifies whether an actuator is smart or legacy endpoint. – In case of a legacy actuator, another M2M device must translate the instructions to machine executable form. • Semantic (Optional) – It is used to associate a semantic notion of the actuator operation and can be pre-configured for the actuators. 822-Apr-14 CCT: Connect and Control Things
  • 9. Contents • Introduction • Extending SenML Capabilities • Architectural Design and Novel Capabilities • Prototype Android Application • Performance Evaluation and Optimization • Use Cases • Conclusion 22-Apr-14 CCT: Connect and Control Things 9
  • 10. Gateway Centric IoT Architecture 22-Apr-14 CCT: Connect and Control Things 10
  • 11. Software Architecture of CCT 22-Apr-14 CCT: Connect and Control Things 11
  • 12. Device and Endpoint Discovery Module • Based on CoRE link approach and performed in two steps – GET request to retrieve the descriptions of M2M Devices. • resource type and attributes including location, id, name, and software version of the device. – GET request to retrieve the descriptions of M2M endpoints attached to those devices. • id – the resource identifier • Name – human readable name • Device – link to the connected M2M device • Location – URI of the endpoint • Senml – senml metadata 22-Apr-14 CCT: Connect and Control Things 12
  • 13. User Interface Module • Parses the metadata from the gateway and displays to users. • Certain components of the user interface can be dynamically configured. – The value to be sent to an actuator could be implemented using a slider, input text box or checkbox with numeric values. • The motivation behind this is to drive the user interface components from the M2M gateway depending on different types of endpoints. 22-Apr-14 CCT: Connect and Control Things 13
  • 14. Receive Sensor Measurement Module • Receive the most recent sensor metadata. – Subscribe to the receive push notification – Poll the metadata using GET request • Notification based on predefined rules – alarms (vibration, sound) or alerts (SMS) 22-Apr-14 CCT: Connect and Control Things 14
  • 15. Actuator Control Module • Supports the implementation of SenML extensions for actuators. • Generates the SenML representation of the command – name, value, unit, location of actuator. • Metadata is then sent to the M2M gateway using POST over HTTP – The metadata is forwarded to the M2M device containing the actuator. – HTTP response 204 is sent back as a feedback. 22-Apr-14 CCT: Connect and Control Things 15
  • 16. Contents • Introduction • Requirement Analysis • Extending SenML Capabilities • Architectural Design and Novel Capabilities • Prototype Android Application • Performance Evaluation and Optimization • Use Cases • Conclusion 22-Apr-14 CCT: Connect and Control Things 16
  • 17. Prototype Implementation • Connect and Control Things (CCT) – developed using cross platform tools PhoneGap 2.9.0 and JQuery Mobile 1.3.1. • M2M gateway is running in a Google App Engine • Tested with real and simulated M2M devices and Endpoints 22-Apr-14 CCT: Connect and Control Things 17
  • 18. CCT 22-Apr-14 CCT: Connect and Control Things 18
  • 19. Contents • Introduction • Extending SenML Capabilities • Architectural Design and Novel Capabilities • Prototype Android Application • Performance Evaluation and Optimization – CPU usage & power consumption – Proposed optimization • Use Cases • Conclusion 22-Apr-14 CCT: Connect and Control Things 19
  • 20. CPU Usage Results 22-Apr-14 CCT: Connect and Control Things 20 Android Device Device and Endpoint Discovery Parsing Sensor Values Sensor & Actuator Data Representation in UI Archos Tablet 32% 37% 4% Nexus S 41% 40% 8% Nexus 7 35% 36% 3%
  • 21. Power Consumption Results • Measured using Power Tutor 22-Apr-14 CCT: Connect and Control Things 21 Device Power Consumption (mW) Mobile Data Wi-Fi Archos Tablet 723 592 Nexus S 819 718 Nexus 7 (Wi-Fi only) -- 479
  • 22. Optimization Techniques • Intelligent filtering at Gateway • Reducing metadata content • MQTT based implementation 22-Apr-14 CCT: Connect and Control Things 22
  • 23. Contents • Introduction • Extending SenML Capabilities • Architectural Design and Novel Capabilities • Prototype Android Application • Performance Evaluation and Optimization • Use Cases • Conclusion 22-Apr-14 CCT: Connect and Control Things 23
  • 24. Use Cases • Gateway Centric IoT architecture suitable for – Smart Agriculture – E-Health – Smart Home 22-Apr-14 CCT: Connect and Control Things 24
  • 25. Contents • Introduction • Extending SenML Capabilities • Architectural Design and Novel Capabilities • Prototype Android Application • Performance Evaluation and Optimization • Use Cases • Conclusion 22-Apr-14 CCT: Connect and Control Things 25
  • 26. Conclusion • Presented a mobile application for real time interaction with smart and legacy endpoints. • Application performs automatic discovery of devices and benefits from SenML based implementations. • Support for actuators through SenML implementation. • Performance evaluation and optimization techniques. 22-Apr-14 CCT: Connect and Control Things 26
  • 27. 22-Apr-14 CCT: Connect and Control Things 27
  • 28. Back up slides 22-Apr-14 CCT: Connect and Control Things 28
  • 29. Example of SenML Extensions <senml bn=urn:dev:mac:6399877 xbif="a"> <e n="temp" t="0" v=“25" u="Cel" uism="slider" xar="10:40/> </senml> 22-Apr-14 CCT: Connect and Control Things 29 • Temperature controlling actuator • Allowed range is 10-40 degree Celsius • The allowed range is represented using a slider • Requesting a change to 25 degree Celsius
  • 30. PUSH Notification 22-Apr-14 CCT: Connect and Control Things 30
  • 31. Operational flow of CCT 22-Apr-14 CCT: Connect and Control Things 31