SlideShare a Scribd company logo
oneM2M : Protocol Binding
Jun-Hawn Huh
ijhhuh@mobile.re.kr
Mobile Networking and Computing Lab.
Dept. of Electronics, Electrical and Computer Science and Engineering
1
INDEX
oneM2M : Protocol BInding
This presentation is about the protocol specific
part of communication protocol used by oneM2M
compliant systems as ‘ MQTT, HTTP, CoAP
binding ’
1 Introduction : Meaning of Binding
2
3 oneM2M : Primitive
4 oneM2M : Binding Function
5
2
Overview
oneM2M : Binding protocol
▪︎ binding with HTTP
▪︎ binding with CoAP
▪︎ binding with MQTT
Introduction :
Meaning of Binding
Binding / Bridging
Binding : Binding may refer to persons or
places with naming from a variety of origins, or
to the concept of bridging or holding two or
more separate things together.
Different Shape
=
3
Resource Exchange
= Different Interface
Introduction :
oneM2M _Meaning of Binding
oneM2M
: Its aim is to develop technical specifications for a
common M2M Service Layer that can be
embedded within various hardware and software
to connect the wide range of devices worldwide
with M2M application servers.
oneM2M World
HTTP
World
MQTT
World
CoAP
World
Binding
4
Application
/ Service Layer
Transport Layer
Network Layer
DataLink Layer
PHY Layer
application
oneM2M Service
HTTP
TCP
IPv6
IEEE
802.15.4
Bluetooth4.0
LowEnergy
3GPP
application application
MQTT CoAP
TCP/UDP
ZigBee
6LoWPAN
RPL
Overview : Where is oneM2M ?
5
Wi-Fi
CSE(Common Service Entity)
CSFs(Common Service Function)
oneM2M procedure
Overview : oneM2M_Composition
of CSE( Common Service Entity )
Manipulation of oneM2M resource
OneM2M : primitive
<Method>
Create
Read
Update
Delete
Notify
Mca Mcc Mcn
6

Application and
Service Laye
Management

Device
Management

Communication
Management /
Delivery Handling
 and more …
<Common Service functions >
reference point
: provide API
oneM2M
: Primitive
Primitive
- A control part, which contains parameters specifying the processing of the primitive
- An optional content part, which represents resource data, either the complete
resource or only part of resource (i.e. values of one or more resource attributes ) in
the partial addressing case.
7
Content part
Control part
Primitive
< Request Primitive Parameters > < Response Primitive Parameters >
oneM2M
: Binding Function
8
Primitive
other protocols message
Binding Function ()
oneM2M : Protocol Binding
Purpose
1 HTTP Protocol 2 MQTT Protocol
3 CoAP Protocol 4 Future ETC..
- Websocket
- etc
9
- Web transfer protocol.
- Compose of request & response
- One of the protocol implementation
RESTful architecture
- A lightweight messaging protocol for small
sensors and mobile devices,
- optimized for high-latency or unreliable networks
- web transfer protocol for use with
constrained nodes and constrained
networks
- designed to easily translate to HTTP
for simplified integration with the
web
GET /site/firstPoint?user=admin HTTP/1.1
Host: http://siteMap.com
Accept : Text/html
Content-Length : 65
<xml>
<content>
<xPoint>3</xPoint>
<yPoint>5</yPoint>
</content>
</xml>
oneM2M : Protocol Binding
: binding with HTTP
- Binding oneM2M Protocol primitive types to HTTP method.
- Binding oneM2M response status codes(successful/unsuccessful) to HTTP
response codes.
- Binding oneM2M RESTful resources to HTTP resources.
HTTP 1.1 Message
TS-0009 Scope
Status Line
HTTP 1.1 Overview
version status code
HTTP/1.1 200 OK
Date : Mon, 20 Nov 2015 12:00:10 GMT
Server: Apache/1.3.0 (Unix)
Last-Modified: Mon 22 2015 …
Content-Length : 6821
Content-Type : Text/html
<xml>
……….
</xml>
Request Line
Header Field
Body Message
각 라인에 대한 간단한 설명.+ request 메시지도...

Query string
oneM2M : Protocol Binding
: binding with HTTP
11
oneM2M Prameter Mapping HTTP Element
Exist in
Request &
Response
primitive type n/a
To Request-Target
From From (header)
Request Identifier
Originating TimeStamp
Result Expiration Timestamp
Event Category
(new extension headers)
Content Message-body
Exist only
Request
Operation Method (POST/GET/PUT/DELETE)
ResponseType Content-Type (header)
Name
Request Expiration Timestamp
Operation Execution Time
Response Type
Result Persistence
Result Content
Delivery Aggregation
Group Request Identifier
Filter Criteria
Discovery Result Type
Query-String
Exist only
Response
Response Status Code (new extension header)
Mandatory Conditional OptionalETC
oneM2M Type HTTP Method
Create POST
Retrieve GET
Update PUT
Delete DELETE
Notify POST
Example
12
oneM2M : Protocol Binding
: binding with HTTP _ Example
13
- Binding oneM2M primitives to CoAP messages
- Binding oneM2M Response Status Codes to CoAP Response Codes
- Defining behaviour of a CoAp Client and Server depending on oneM2M
parameter
CoAP message
TS-0008 Scope
oneM2M : Protocol Binding
: binding with CoAP
0 1 2 3
Ver T TKL Code Message ID
Token( if any, TKL bytes )
Options (if any ) …
Payload (if any)…
CoAP overview
Type : message Type( Confirmable, NonConfirmable…)
Token
Code : include Method
oneM2M Type CoAP Method
Create POST
Retrieve GET
Update PUT
Delete DELETE
Notify POST
14
oneM2M : Protocol Binding
: binding with CoAP
Mandatory Conditional OptionalETC
oneM2M Prameter Mapping CoAP Element
pointOfAccess Uri-Host & Port
To Uri-Path
ResourceType Uri-Query( include Response Type, FilterCriteria….)
Request Identifier Token
From
Name
Originating TimeStamp
Result Expiration Timestamp
Event Category
…(Etc Option)…
(CoAP Option)
Content Payload
Operation Method (POST/GET/PUT/DELETE)
Response Status Code CoAp Response Status Code
Example
15
oneM2M : Protocol Binding
: binding with CoAP _ Example
< oneM2M CoAP binding example - AE Registration>
16
- How a CSE or AE connects to MQTT
- How an Originator( CSE or AE ) formulates a Request as an MQTT messages,
and transmits it to its intended Receiver
- How a Receiver listen or incoming Requests.
- How that Receiver can formulate and transmit a Response.
TS-0010 Scope
oneM2M : Protocol Binding
: binding with MQTT
< Message format of MQTT Control Packet >
MQTT overview
MQTT message
Packet type
Flags
Packet length
Topic
Content
17
oneM2M : Protocol Binding
: binding with MQTT
< oneM2M , MQTT binding example - request >
< oneM2M , MQTT binding example - response >
123
/oneM2M/req/ <to>
/oneM2M/res/ <from>
oneM2M request primitive
oneM2M response primitive
<->
<->
CSE-ID
or
AE-ID( )
other
primitive
prameter
is in here!
( )
< Message format of MQTT Control Packet >
To or From
paramer
is in here!
( )
Example
18
oneM2M : Protocol Binding
: binding with MQTT _ Example
< Initiating Process in MQTT binding >
< Request/Response message delivery over MQTT >
Summary
19
❖ oneM2M CSE(Common Service Entity) binding with application layer
protocol HTTP, CoAP, MQTT
• but i think oneM2M out of consideration about each protocols
characteristics
❖ Study about how translate oneM2M primitive to other protocols
message
Thank you
20
Extra Page
21
oneM2M : Protocol Binding
: binding with HTTP
- Binding oneM2M Protocol primitive types to HTTP method.
- Binding oneM2M response status codes(successful/unsuccessful) to HTTP
response codes.
- Binding oneM2M RESTful resources to HTTP resources.
HTTP 1.1 Message
TS-0009 Scope
HTTP 1.1 Overview
0 1 2 3
method Sp URL Sp Version Cr if
Header field name : value Cr If
:
Header field name : value Cr If
Cr If
Entity Body
Status Line
Header Line
0 1 2 3
Version Sp Status Code Sp Phrase Cr if
Header field name : value Cr If
:
Header field name : value Cr If
Cr If
Entity Body
Status Line
Header Line
23
❖ MQTT server co-located within a node
oneM2M : Protocol Binding
: binding with MQTT
_ Scenarios depending on location
< MQTT server independently located scenario >
24
❖ MQTT server located independently from nodes
oneM2M : Protocol Binding
: binding with MQTT
_ Scenarios depending on location (1)
< MQTT server co-located scenario >
25
oneM2M : Protocol Binding
: binding with CoAP _ Example
< CoAP mapping for nonBlocking Synchronous Access>
26
oneM2M : Protocol Binding
: binding with CoAP _ Example
< CoAP mapping for nonBlocking Asynchronous Access>
27
oneM2M : Protocol Binding
: binding with CoAP _ Example
< CoAP mapping for Blocking Access>
oneM2M
: Primitive detail
Request Primitive
28
Mandatory /
Conditioanl
Optional Optional
To Role Result Persistence
From Name Request Identifier
Operation
Originating
Timestamp
Operation
Execution Time
Content
Request Expiration
Timestamp
Event Category
ResourceType
Result Expiration
Timestamp
Delivery
Aggregation
Response Type
Group Request
Identifier
Result Content Filter Criteria
Discovery Result
Type
oneM2M
: Primitive detail
Response Primitive
Mandatory /
Conditioanl
Optional
Response Code To
Request Identifier From
Content
Originating
Timestamp
Result Expiration
Timestamp
Event Category
Status Code

More Related Content

What's hot

OneM2M - Views on Platform Interoperability
OneM2M - Views on Platform InteroperabilityOneM2M - Views on Platform Interoperability
OneM2M - Views on Platform InteroperabilityAALForum
 
oneM2M - how standardization enables the next internet evolution
oneM2M -  how standardization enables the next internet evolutiononeM2M -  how standardization enables the next internet evolution
oneM2M - how standardization enables the next internet evolutiononeM2M
 
oneM2M security summary
oneM2M security summaryoneM2M security summary
oneM2M security summaryJongseok Choi
 
oneM2M webinar (2014)
oneM2M webinar (2014)oneM2M webinar (2014)
oneM2M webinar (2014)Marc Jadoul
 
IoT Seminar (Jan. 2016) - (1) dr omar elloumi - onem2m interworking and seman...
IoT Seminar (Jan. 2016) - (1) dr omar elloumi - onem2m interworking and seman...IoT Seminar (Jan. 2016) - (1) dr omar elloumi - onem2m interworking and seman...
IoT Seminar (Jan. 2016) - (1) dr omar elloumi - onem2m interworking and seman...Open Mobile Alliance
 
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
 
The enterprise differentiator of mq on zos
The enterprise differentiator of mq on zosThe enterprise differentiator of mq on zos
The enterprise differentiator of mq on zosMatt Leming
 
MQ Infrastructure of Today and Tomorrow
MQ Infrastructure of Today and TomorrowMQ Infrastructure of Today and Tomorrow
MQ Infrastructure of Today and TomorrowProlifics
 
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
 
HHM-3481: IBM MQ for z/OS: Enhancing Application and Messaging Connectivity ...
 HHM-3481: IBM MQ for z/OS: Enhancing Application and Messaging Connectivity ... HHM-3481: IBM MQ for z/OS: Enhancing Application and Messaging Connectivity ...
HHM-3481: IBM MQ for z/OS: Enhancing Application and Messaging Connectivity ...Matt Leming
 
Connecting mq&amp;kafka
Connecting mq&amp;kafkaConnecting mq&amp;kafka
Connecting mq&amp;kafkaMatt Leming
 
CTU 2017 - I168 IBM MQ in the cloud
CTU 2017 - I168 IBM MQ in the cloudCTU 2017 - I168 IBM MQ in the cloud
CTU 2017 - I168 IBM MQ in the cloudRobert Parker
 
Where is My Message
Where is My MessageWhere is My Message
Where is My MessageMatt Leming
 
Movimento Management Protocols
Movimento Management ProtocolsMovimento Management Protocols
Movimento Management ProtocolsLeo Dumov
 
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
 
HHM-2833: Where is My Message?: Using IBM MQ Tools to Work Out What Applicati...
HHM-2833: Where is My Message?: Using IBM MQ Tools to Work Out What Applicati...HHM-2833: Where is My Message?: Using IBM MQ Tools to Work Out What Applicati...
HHM-2833: Where is My Message?: Using IBM MQ Tools to Work Out What Applicati...Matt Leming
 

What's hot (20)

OneM2M - Views on Platform Interoperability
OneM2M - Views on Platform InteroperabilityOneM2M - Views on Platform Interoperability
OneM2M - Views on Platform Interoperability
 
oneM2M - how standardization enables the next internet evolution
oneM2M -  how standardization enables the next internet evolutiononeM2M -  how standardization enables the next internet evolution
oneM2M - how standardization enables the next internet evolution
 
oneM2M security summary
oneM2M security summaryoneM2M security summary
oneM2M security summary
 
oneM2M webinar (2014)
oneM2M webinar (2014)oneM2M webinar (2014)
oneM2M webinar (2014)
 
IoT Seminar (Jan. 2016) - (1) dr omar elloumi - onem2m interworking and seman...
IoT Seminar (Jan. 2016) - (1) dr omar elloumi - onem2m interworking and seman...IoT Seminar (Jan. 2016) - (1) dr omar elloumi - onem2m interworking and seman...
IoT Seminar (Jan. 2016) - (1) dr omar elloumi - onem2m interworking and seman...
 
Eclipse OM2M: Standardized M2M service platform
Eclipse OM2M: Standardized M2M service platformEclipse OM2M: Standardized M2M service platform
Eclipse OM2M: Standardized M2M service platform
 
One m2m 4- identifier_resoruce structure
One m2m 4- identifier_resoruce structureOne m2m 4- identifier_resoruce structure
One m2m 4- identifier_resoruce structure
 
IBM MQ Series For ZOS
IBM MQ Series For ZOSIBM MQ Series For ZOS
IBM MQ Series For ZOS
 
The enterprise differentiator of mq on zos
The enterprise differentiator of mq on zosThe enterprise differentiator of mq on zos
The enterprise differentiator of mq on zos
 
MQ Infrastructure of Today and Tomorrow
MQ Infrastructure of Today and TomorrowMQ Infrastructure of Today and Tomorrow
MQ Infrastructure of Today and Tomorrow
 
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
 
Generic mac
Generic macGeneric mac
Generic mac
 
HHM-3481: IBM MQ for z/OS: Enhancing Application and Messaging Connectivity ...
 HHM-3481: IBM MQ for z/OS: Enhancing Application and Messaging Connectivity ... HHM-3481: IBM MQ for z/OS: Enhancing Application and Messaging Connectivity ...
HHM-3481: IBM MQ for z/OS: Enhancing Application and Messaging Connectivity ...
 
Connecting mq&amp;kafka
Connecting mq&amp;kafkaConnecting mq&amp;kafka
Connecting mq&amp;kafka
 
CTU 2017 - I168 IBM MQ in the cloud
CTU 2017 - I168 IBM MQ in the cloudCTU 2017 - I168 IBM MQ in the cloud
CTU 2017 - I168 IBM MQ in the cloud
 
Where is My Message
Where is My MessageWhere is My Message
Where is My Message
 
Movimento Management Protocols
Movimento Management ProtocolsMovimento Management Protocols
Movimento Management Protocols
 
Lightweight M2M
Lightweight M2MLightweight M2M
Lightweight M2M
 
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
 
HHM-2833: Where is My Message?: Using IBM MQ Tools to Work Out What Applicati...
HHM-2833: Where is My Message?: Using IBM MQ Tools to Work Out What Applicati...HHM-2833: Where is My Message?: Using IBM MQ Tools to Work Out What Applicati...
HHM-2833: Where is My Message?: Using IBM MQ Tools to Work Out What Applicati...
 

Similar to 허준환 One m2m-protocol binding

Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of thingsCharles Gibbons
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of thingsCharles Gibbons
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of thingsCharles Gibbons
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of thingsCharles Gibbons
 
Internet of Things: Protocols for M2M
Internet of Things: Protocols for M2MInternet of Things: Protocols for M2M
Internet of Things: Protocols for M2MCharles Gibbons
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of thingsCharles Gibbons
 
IoT Communication Protocols
IoT Communication ProtocolsIoT Communication Protocols
IoT Communication ProtocolsPradeep Kumar TS
 
IoT Communication Protocols.pdf
IoT Communication Protocols.pdfIoT Communication Protocols.pdf
IoT Communication Protocols.pdfEshwar Prasad
 
Internet of Things (IoT) protocols COAP MQTT OSCON2014
Internet of Things (IoT) protocols  COAP MQTT OSCON2014Internet of Things (IoT) protocols  COAP MQTT OSCON2014
Internet of Things (IoT) protocols COAP MQTT OSCON2014Vidhya Gholkar
 
M2M Protocols for Constrained Environments in the Context of IoT: A Compariso...
M2M Protocols for Constrained Environments in the Context of IoT: A Compariso...M2M Protocols for Constrained Environments in the Context of IoT: A Compariso...
M2M Protocols for Constrained Environments in the Context of IoT: A Compariso...Edielson P. Frigieri
 
Network protocols
Network protocolsNetwork protocols
Network protocolsAbiud Orina
 
Datacom_Section_2_-_Protocols.ppt
Datacom_Section_2_-_Protocols.pptDatacom_Section_2_-_Protocols.ppt
Datacom_Section_2_-_Protocols.pptKristopher Hefner
 
Introduction to EMQ X Enterprise
Introduction to EMQ X EnterpriseIntroduction to EMQ X Enterprise
Introduction to EMQ X EnterpriseEMQ
 
Ipso smart object seminar
Ipso smart object seminarIpso smart object seminar
Ipso smart object seminarMichael Koster
 
Introduction to Building Communication Protocols
Introduction to Building Communication Protocols Introduction to Building Communication Protocols
Introduction to Building Communication Protocols Mahmoud Ahmed
 
Introduction to OMA LightweightM2M by OMA Device Management Chairman (IoT Wor...
Introduction to OMA LightweightM2M by OMA Device Management Chairman (IoT Wor...Introduction to OMA LightweightM2M by OMA Device Management Chairman (IoT Wor...
Introduction to OMA LightweightM2M by OMA Device Management Chairman (IoT Wor...Open Mobile Alliance
 

Similar to 허준환 One m2m-protocol binding (20)

Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of things
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of things
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of things
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of things
 
Internet of Things: Protocols for M2M
Internet of Things: Protocols for M2MInternet of Things: Protocols for M2M
Internet of Things: Protocols for M2M
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of things
 
IoT Communication Protocols
IoT Communication ProtocolsIoT Communication Protocols
IoT Communication Protocols
 
IoT Communication Protocols.pdf
IoT Communication Protocols.pdfIoT Communication Protocols.pdf
IoT Communication Protocols.pdf
 
Internet of Things (IoT) protocols COAP MQTT OSCON2014
Internet of Things (IoT) protocols  COAP MQTT OSCON2014Internet of Things (IoT) protocols  COAP MQTT OSCON2014
Internet of Things (IoT) protocols COAP MQTT OSCON2014
 
M2M Protocols for Constrained Environments in the Context of IoT: A Compariso...
M2M Protocols for Constrained Environments in the Context of IoT: A Compariso...M2M Protocols for Constrained Environments in the Context of IoT: A Compariso...
M2M Protocols for Constrained Environments in the Context of IoT: A Compariso...
 
T3UC_PresentationT3UC2012_Rajesh
T3UC_PresentationT3UC2012_RajeshT3UC_PresentationT3UC2012_Rajesh
T3UC_PresentationT3UC2012_Rajesh
 
Network protocols
Network protocolsNetwork protocols
Network protocols
 
Datacom_Section_2_-_Protocols.ppt
Datacom_Section_2_-_Protocols.pptDatacom_Section_2_-_Protocols.ppt
Datacom_Section_2_-_Protocols.ppt
 
Introduction to EMQ X Enterprise
Introduction to EMQ X EnterpriseIntroduction to EMQ X Enterprise
Introduction to EMQ X Enterprise
 
Ipso smart object seminar
Ipso smart object seminarIpso smart object seminar
Ipso smart object seminar
 
Introduction to Building Communication Protocols
Introduction to Building Communication Protocols Introduction to Building Communication Protocols
Introduction to Building Communication Protocols
 
Introduction to OMA LightweightM2M by OMA Device Management Chairman (IoT Wor...
Introduction to OMA LightweightM2M by OMA Device Management Chairman (IoT Wor...Introduction to OMA LightweightM2M by OMA Device Management Chairman (IoT Wor...
Introduction to OMA LightweightM2M by OMA Device Management Chairman (IoT Wor...
 
TCP Vs UDP
TCP Vs UDP TCP Vs UDP
TCP Vs UDP
 
Bt0076, tcpip
Bt0076, tcpipBt0076, tcpip
Bt0076, tcpip
 
MQTT and CoAP
MQTT and CoAPMQTT and CoAP
MQTT and CoAP
 

Recently uploaded

Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxAbida Shariff
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Product School
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...Product School
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀DianaGray10
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Product School
 
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»QADay
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...Product School
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...Elena Simperl
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backElena Simperl
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsExpeed Software
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesThousandEyes
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1DianaGray10
 

Recently uploaded (20)

Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 

허준환 One m2m-protocol binding

  • 1. oneM2M : Protocol Binding Jun-Hawn Huh ijhhuh@mobile.re.kr Mobile Networking and Computing Lab. Dept. of Electronics, Electrical and Computer Science and Engineering 1
  • 2. INDEX oneM2M : Protocol BInding This presentation is about the protocol specific part of communication protocol used by oneM2M compliant systems as ‘ MQTT, HTTP, CoAP binding ’ 1 Introduction : Meaning of Binding 2 3 oneM2M : Primitive 4 oneM2M : Binding Function 5 2 Overview oneM2M : Binding protocol ▪︎ binding with HTTP ▪︎ binding with CoAP ▪︎ binding with MQTT
  • 3. Introduction : Meaning of Binding Binding / Bridging Binding : Binding may refer to persons or places with naming from a variety of origins, or to the concept of bridging or holding two or more separate things together. Different Shape = 3 Resource Exchange = Different Interface
  • 4. Introduction : oneM2M _Meaning of Binding oneM2M : Its aim is to develop technical specifications for a common M2M Service Layer that can be embedded within various hardware and software to connect the wide range of devices worldwide with M2M application servers. oneM2M World HTTP World MQTT World CoAP World Binding 4
  • 5. Application / Service Layer Transport Layer Network Layer DataLink Layer PHY Layer application oneM2M Service HTTP TCP IPv6 IEEE 802.15.4 Bluetooth4.0 LowEnergy 3GPP application application MQTT CoAP TCP/UDP ZigBee 6LoWPAN RPL Overview : Where is oneM2M ? 5 Wi-Fi
  • 6. CSE(Common Service Entity) CSFs(Common Service Function) oneM2M procedure Overview : oneM2M_Composition of CSE( Common Service Entity ) Manipulation of oneM2M resource OneM2M : primitive <Method> Create Read Update Delete Notify Mca Mcc Mcn 6  Application and Service Laye Management  Device Management  Communication Management / Delivery Handling  and more … <Common Service functions > reference point : provide API
  • 7. oneM2M : Primitive Primitive - A control part, which contains parameters specifying the processing of the primitive - An optional content part, which represents resource data, either the complete resource or only part of resource (i.e. values of one or more resource attributes ) in the partial addressing case. 7 Content part Control part Primitive < Request Primitive Parameters > < Response Primitive Parameters >
  • 8. oneM2M : Binding Function 8 Primitive other protocols message Binding Function ()
  • 9. oneM2M : Protocol Binding Purpose 1 HTTP Protocol 2 MQTT Protocol 3 CoAP Protocol 4 Future ETC.. - Websocket - etc 9 - Web transfer protocol. - Compose of request & response - One of the protocol implementation RESTful architecture - A lightweight messaging protocol for small sensors and mobile devices, - optimized for high-latency or unreliable networks - web transfer protocol for use with constrained nodes and constrained networks - designed to easily translate to HTTP for simplified integration with the web
  • 10. GET /site/firstPoint?user=admin HTTP/1.1 Host: http://siteMap.com Accept : Text/html Content-Length : 65 <xml> <content> <xPoint>3</xPoint> <yPoint>5</yPoint> </content> </xml> oneM2M : Protocol Binding : binding with HTTP - Binding oneM2M Protocol primitive types to HTTP method. - Binding oneM2M response status codes(successful/unsuccessful) to HTTP response codes. - Binding oneM2M RESTful resources to HTTP resources. HTTP 1.1 Message TS-0009 Scope Status Line HTTP 1.1 Overview version status code HTTP/1.1 200 OK Date : Mon, 20 Nov 2015 12:00:10 GMT Server: Apache/1.3.0 (Unix) Last-Modified: Mon 22 2015 … Content-Length : 6821 Content-Type : Text/html <xml> ………. </xml> Request Line Header Field Body Message 각 라인에 대한 간단한 설명.+ request 메시지도... Query string
  • 11. oneM2M : Protocol Binding : binding with HTTP 11 oneM2M Prameter Mapping HTTP Element Exist in Request & Response primitive type n/a To Request-Target From From (header) Request Identifier Originating TimeStamp Result Expiration Timestamp Event Category (new extension headers) Content Message-body Exist only Request Operation Method (POST/GET/PUT/DELETE) ResponseType Content-Type (header) Name Request Expiration Timestamp Operation Execution Time Response Type Result Persistence Result Content Delivery Aggregation Group Request Identifier Filter Criteria Discovery Result Type Query-String Exist only Response Response Status Code (new extension header) Mandatory Conditional OptionalETC oneM2M Type HTTP Method Create POST Retrieve GET Update PUT Delete DELETE Notify POST
  • 12. Example 12 oneM2M : Protocol Binding : binding with HTTP _ Example
  • 13. 13 - Binding oneM2M primitives to CoAP messages - Binding oneM2M Response Status Codes to CoAP Response Codes - Defining behaviour of a CoAp Client and Server depending on oneM2M parameter CoAP message TS-0008 Scope oneM2M : Protocol Binding : binding with CoAP 0 1 2 3 Ver T TKL Code Message ID Token( if any, TKL bytes ) Options (if any ) … Payload (if any)… CoAP overview Type : message Type( Confirmable, NonConfirmable…) Token Code : include Method
  • 14. oneM2M Type CoAP Method Create POST Retrieve GET Update PUT Delete DELETE Notify POST 14 oneM2M : Protocol Binding : binding with CoAP Mandatory Conditional OptionalETC oneM2M Prameter Mapping CoAP Element pointOfAccess Uri-Host & Port To Uri-Path ResourceType Uri-Query( include Response Type, FilterCriteria….) Request Identifier Token From Name Originating TimeStamp Result Expiration Timestamp Event Category …(Etc Option)… (CoAP Option) Content Payload Operation Method (POST/GET/PUT/DELETE) Response Status Code CoAp Response Status Code
  • 15. Example 15 oneM2M : Protocol Binding : binding with CoAP _ Example < oneM2M CoAP binding example - AE Registration>
  • 16. 16 - How a CSE or AE connects to MQTT - How an Originator( CSE or AE ) formulates a Request as an MQTT messages, and transmits it to its intended Receiver - How a Receiver listen or incoming Requests. - How that Receiver can formulate and transmit a Response. TS-0010 Scope oneM2M : Protocol Binding : binding with MQTT < Message format of MQTT Control Packet > MQTT overview MQTT message Packet type Flags Packet length Topic Content
  • 17. 17 oneM2M : Protocol Binding : binding with MQTT < oneM2M , MQTT binding example - request > < oneM2M , MQTT binding example - response > 123 /oneM2M/req/ <to> /oneM2M/res/ <from> oneM2M request primitive oneM2M response primitive <-> <-> CSE-ID or AE-ID( ) other primitive prameter is in here! ( ) < Message format of MQTT Control Packet > To or From paramer is in here! ( )
  • 18. Example 18 oneM2M : Protocol Binding : binding with MQTT _ Example < Initiating Process in MQTT binding > < Request/Response message delivery over MQTT >
  • 19. Summary 19 ❖ oneM2M CSE(Common Service Entity) binding with application layer protocol HTTP, CoAP, MQTT • but i think oneM2M out of consideration about each protocols characteristics ❖ Study about how translate oneM2M primitive to other protocols message
  • 22. oneM2M : Protocol Binding : binding with HTTP - Binding oneM2M Protocol primitive types to HTTP method. - Binding oneM2M response status codes(successful/unsuccessful) to HTTP response codes. - Binding oneM2M RESTful resources to HTTP resources. HTTP 1.1 Message TS-0009 Scope HTTP 1.1 Overview 0 1 2 3 method Sp URL Sp Version Cr if Header field name : value Cr If : Header field name : value Cr If Cr If Entity Body Status Line Header Line 0 1 2 3 Version Sp Status Code Sp Phrase Cr if Header field name : value Cr If : Header field name : value Cr If Cr If Entity Body Status Line Header Line
  • 23. 23 ❖ MQTT server co-located within a node oneM2M : Protocol Binding : binding with MQTT _ Scenarios depending on location < MQTT server independently located scenario >
  • 24. 24 ❖ MQTT server located independently from nodes oneM2M : Protocol Binding : binding with MQTT _ Scenarios depending on location (1) < MQTT server co-located scenario >
  • 25. 25 oneM2M : Protocol Binding : binding with CoAP _ Example < CoAP mapping for nonBlocking Synchronous Access>
  • 26. 26 oneM2M : Protocol Binding : binding with CoAP _ Example < CoAP mapping for nonBlocking Asynchronous Access>
  • 27. 27 oneM2M : Protocol Binding : binding with CoAP _ Example < CoAP mapping for Blocking Access>
  • 28. oneM2M : Primitive detail Request Primitive 28 Mandatory / Conditioanl Optional Optional To Role Result Persistence From Name Request Identifier Operation Originating Timestamp Operation Execution Time Content Request Expiration Timestamp Event Category ResourceType Result Expiration Timestamp Delivery Aggregation Response Type Group Request Identifier Result Content Filter Criteria Discovery Result Type
  • 29. oneM2M : Primitive detail Response Primitive Mandatory / Conditioanl Optional Response Code To Request Identifier From Content Originating Timestamp Result Expiration Timestamp Event Category Status Code