SlideShare a Scribd company logo
OCEAN IoT Platform Guide
IoT Platform Startup guide
July 17th, 2016
Youngmin Kim
rladudals02@gmail.com
1
• IoT Platform
– Mobius Yellow Turtle
– &Cube: Thyme (TAS)
• Process (without MQTT)
• MQTT broker
– Mosquitto
• Process (with MQTT)
• Reference
2
IoT Platform
3
IoT Platform
• OCEAN
– Formerly Open alliance for iot standard
– Global partnership based on open source and
IoT standards
– Aims to promote the development and
commercialization of IoT platforms, products,
and services by widespread adoption of IoT
standards-compliant open source.
– http://iotocean.org/
4
IoT Platform
• Mobius – Yellow Turtle
– An open source software of oneM2M-based
IoT Server Platform based on Node.js Java Script.
– The source code and files of Yellow Turtle are
under the OCEAN license terms and conditions,
i.e., 3-clause BSD open source license.
– http://www.iotocean.org/download/?tab1=1&
tab2=20
5
IoT Platform
• &Cube: Thyme
– An open source software of oneM2M-based
IoT Device Platform based on Node.js Java
Script.
– The source code and files of Thyme are under
the OCEAN license terms and conditions, i.e.,
3-clause BSD open source license.
– http://www.iotocean.org/download/?tab1=2
6
IoT Platform Schema
ADN
AE
ADN
AE
ADN
AE
IN
CSE
AE
Mca
Mca Mcc’
Mobius –
Yellow Turtle
&Cube -
Thyme
Mcn
Figure 1. Example (Node. js version)
7
IoT Platform Schema
AE
(Content
s)
IN-CSE
(Mobius:
Yellow
Turtle
Beacon
TAS AE
(&Cube:
Thyme)
Raspberry Pi
CSE-
Mobius
AE
ss_1_ctrl
ss_1
Subscription
Subscription
BLE
8
Process ( without MQTT )
Server
Yellow
Turtle
Database
MySQLRaspberry Pi
Bluez TAS Thyme
Raspberry Pi
Bluez TAS Thyme
Raspberry Pi
Bluez TAS Thyme USER
Application
Beacon
Data
9
Process ( without MQTT )
• Start Mobius
– First implement make CSE ID.
– ER_DUP_ENTRY is because of second implement.
– QnA page
• http://www.iotocean.org/Community/?tab1=2
Figure 4. Console of Mobius ( Pictures can be little different. )
10
Process ( without MQTT )
• Start Thyme
– We must modify conf.xml of Thyme in order to connect
Mobius (cbhost = Mobius server’s IP address).
– Create IDs that can be modified conf.xml
( Pictures can be little different. )
Figure 5. Console of Thyme Figure 6. Console of Mobius
11
Process ( without MQTT )
• Start Thyme_TAS
– We can see data transfer ( TAS -> Thyme -> Mobius ).
– If you want to implement TAS in windows,
http://www.iotocean.org/Community/view.asp?pageNo=
2&tab1=1&tab2=0&tab3=all&sType&word=&idx=1163
Figure 7. Console of TAS Figure 8. Console of Thyme
( Pictures can be little different. )
12
Process ( without MQTT )
• Start Thyme_TAS
– You can see data transfer ( TAS -> Thyme -> Mobius ).
Figure 9. Console of Mobius
( Pictures can be little different. )
13
MQTT broker
14
MQTT Protocol
• MQTT
– Formerly MQ Telemetry Transport
– A lightweight messaging protocol for small
sensors and mobile devices.
– The publish-subscribe messaging
pattern requires a message broker.
– http://mqtt.org/
15
MQTT Method
• MQTT Method
– Connect
• Waits for a connection to be established with the server.
– Disconnect
• Waits for the MQTT client to finish any work it must do,
and for the TCP/IP session to disconnect.
– Subscribe
• Waits for completion of the Subscribe or Unsubscribe
method.
– Unsubscribe
• Requests the server unsubscribe the client from one or
more topics.
– Publish
• Returns immediately to the application thread after
passing the request to the MQTT client.
16
MQTT broker
• Mosquitto
– Open source message broker that
implements the MQTT
– https://mosquitto.org/
• Others
– Emqttd, ActiveMQ, Apollo, HiveMQ, IBM
MessageSight, JoramMQ, RabbitMQ, Solace
Message Routers, and VerneMQ.
17
MQTT broker
• Mosquitto
– Synopsis
• Mosquitto [-c config file] [-d | --daemon][-p port
number][-v]
– Options
• -p, --port
– Listen on the port specified instead of the default
1883.
• -v, --verbose
– Use verbose logging.
18
Process ( with MQTT )
Server
Yellow
Turtle
Server
Mosquitto
broker
Database
MySQL
Raspberry Pi
Bluez TAS Thyme
Raspberry Pi
Bluez TAS Thyme
Raspberry Pi
Bluez TAS Thyme USER
Application
Beacon
Data
MQTT
proxy
Figure 10. Example (Remote MQTT broker)
19
Process ( with MQTT )
• This case implements the former.
• But something different.
– We must implement two js file in Mobius (app.js,
pxymqtt.js).
– We have to change implement file in Thyme (app.js ->
mqtt_app.js).
– We use mosqutto (MQTT broker).
– We must modify TAS conf.xml in order to match
Thyme’s mqtt_conf.xml (parentport = tasport).
– Also we have to assign mqtt proxy (conf.json of Mobius
– mqttproxy = mosquitto’s IP address).
– We need forwarding, so we have to uncomment
function (mqtt_forwarding).
20
Process ( with MQTT )
• Start mosquitto.
– We use this for MQTT broker.
– If we want to use proxy server, we must modify
Mobius conf.json file (mqttproxy = MQTT
server IP address).
– Command : mosquitto.exe -v
Figure 11. Console of Mosquitto
( Pictures can be little different. )
21
Process ( with MQTT )
• Start Mobius - pxymqtt.
– We need forwarding, so we have to uncomment
function (mqtt_forwarding).
Figure 13. Console of Mosquitto ( Pictures can be little different. )
Figure 12. Console of Mobius (pxymqtt)
22
Process ( with MQTT )
• All program start like the former process.
– We can see data transmission.
Figure 14. Console of mosquito ( Pictures can be little different. )
23
TEST Environment
• Raspberry Pi
– node : v0.10.29
– npm : v1.4.21
– Thyme : v1.5
– Thyme TAS : v1.3
• Server (Windows 10, Windows server 2012 R2)
– Node.js : v4.4.4, v4.4.6, v4.4.7
– Nginx : v1.10.1
– Mobius (Yellow Turtle) : v2.0.5
– Mosquitto : v1.3.5
24
Reference
25
Reference
• Web page
– http://iotocean.org
– https://en.wikipedia.org/wiki/MQTT
– http://mqtt.org
– https://mosquitto.org/
• Document
– 『oneM2M 서비스 플랫폼 표준 해설서』, 한국정보통신기술협회, 2014-
11-30
– 『oneM2M 어플리케이션 개발자 가이드 표준 해설서』, 한국정보통신기술
협회, 2015-11-30
– 「MQTT Version 3.1.1」, OASIS, 2014-10-29
– 「Mobius : Yellow Turtle Installation Guide v1.9」, OCEAN, 2016-12
– 「“개방형 사물인터넷 플랫폼(Mobius, &Cube) 기반 서비스 개발 실습” 교
육 과정」, 전자부품연구원
26
July 17th, 2016
Youngmin Kim
rladudals02@gmail.com
27

More Related Content

What's hot

Correlation
CorrelationCorrelation
Correlation
Umme habiba
 
Unit no 03_types of research design
Unit no 03_types of research designUnit no 03_types of research design
Unit no 03_types of research design
Jaipal Dhobale
 
Behavioural Theories in Management
Behavioural Theories in ManagementBehavioural Theories in Management
Behavioural Theories in Management
simplyidontcare
 
equity theory of motivation
equity theory of motivationequity theory of motivation
equity theory of motivation
Jyoti Kandpal
 
SmartPLS presentation
SmartPLS presentationSmartPLS presentation
SmartPLS presentation
unespguara
 
Decision making bias and errors
Decision making bias and errorsDecision making bias and errors
Decision making bias and errors
humaapkeliye
 
Emotions moods and_stress
Emotions moods and_stressEmotions moods and_stress
Emotions moods and_stress
Dhairya Gada
 
Parametric vs Non-Parametric
Parametric vs Non-ParametricParametric vs Non-Parametric
Parametric vs Non-Parametric
Aniruddha Deshmukh
 
6) the nature of secondary data
6) the nature of secondary data6) the nature of secondary data
6) the nature of secondary data
Syed Osama Rizvi
 
Hofstede model
Hofstede model Hofstede model
Hofstede model
Shubham Singhal
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
sristi1992
 
Chapter6and7 motivation 001
Chapter6and7 motivation 001Chapter6and7 motivation 001
Chapter6and7 motivation 001
Trupti Gaikwad
 
Correlation VS Causation
Correlation VS CausationCorrelation VS Causation
Correlation VS Causation
Colleen Carmean
 

What's hot (13)

Correlation
CorrelationCorrelation
Correlation
 
Unit no 03_types of research design
Unit no 03_types of research designUnit no 03_types of research design
Unit no 03_types of research design
 
Behavioural Theories in Management
Behavioural Theories in ManagementBehavioural Theories in Management
Behavioural Theories in Management
 
equity theory of motivation
equity theory of motivationequity theory of motivation
equity theory of motivation
 
SmartPLS presentation
SmartPLS presentationSmartPLS presentation
SmartPLS presentation
 
Decision making bias and errors
Decision making bias and errorsDecision making bias and errors
Decision making bias and errors
 
Emotions moods and_stress
Emotions moods and_stressEmotions moods and_stress
Emotions moods and_stress
 
Parametric vs Non-Parametric
Parametric vs Non-ParametricParametric vs Non-Parametric
Parametric vs Non-Parametric
 
6) the nature of secondary data
6) the nature of secondary data6) the nature of secondary data
6) the nature of secondary data
 
Hofstede model
Hofstede model Hofstede model
Hofstede model
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Chapter6and7 motivation 001
Chapter6and7 motivation 001Chapter6and7 motivation 001
Chapter6and7 motivation 001
 
Correlation VS Causation
Correlation VS CausationCorrelation VS Causation
Correlation VS Causation
 

Similar to Ocean IoT platform guide

Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...
Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...
Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...
Manish Kumar Yadav
 
Network-Connected Development with ZeroMQ
Network-Connected Development with ZeroMQNetwork-Connected Development with ZeroMQ
Network-Connected Development with ZeroMQ
ICS
 
An introduction to MQTT
An introduction to MQTTAn introduction to MQTT
An introduction to MQTT
Alexandre Moreno
 
Tutorial mikrotik step by step anung muhandanu
Tutorial mikrotik step by step  anung muhandanu Tutorial mikrotik step by step  anung muhandanu
Tutorial mikrotik step by step anung muhandanu
Alessandro De Suoodh
 
Blockchain Development
Blockchain DevelopmentBlockchain Development
Blockchain Development
preetikumara
 
Node home automation with Node.js and MQTT
Node home automation with Node.js and MQTTNode home automation with Node.js and MQTT
Node home automation with Node.js and MQTT
Michael Dawson
 
End-to-end IoT solutions with Java and Eclipse IoT
End-to-end IoT solutions with Java and Eclipse IoTEnd-to-end IoT solutions with Java and Eclipse IoT
End-to-end IoT solutions with Java and Eclipse IoT
Benjamin Cabé
 
Introduction MQTT in English
Introduction MQTT in EnglishIntroduction MQTT in English
Introduction MQTT in English
Eric Xiao
 
Messaging for the Internet of Awesome Things
Messaging for the Internet of Awesome ThingsMessaging for the Internet of Awesome Things
Messaging for the Internet of Awesome Things
Andy Piper
 
6. TinyOS_2.pdf
6. TinyOS_2.pdf6. TinyOS_2.pdf
6. TinyOS_2.pdf
Jesus Cordero
 
Using open source for IoT
Using open source for IoTUsing open source for IoT
Using open source for IoT
Ian Skerrett
 
Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Mac...
Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Mac...Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Mac...
Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Mac...
InfluxData
 
Low Latency Mobile Messaging using MQTT
Low Latency Mobile Messaging using MQTTLow Latency Mobile Messaging using MQTT
Low Latency Mobile Messaging using MQTT
Henrik Sjöstrand
 
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
Marcin Bielak
 
Immutant
ImmutantImmutant
Immutant
Norman Richards
 
ONLINE FOOD ORDERS THROUGH WHATSAPP AUTOMATION BOT
ONLINE FOOD ORDERS THROUGH WHATSAPP AUTOMATION BOTONLINE FOOD ORDERS THROUGH WHATSAPP AUTOMATION BOT
ONLINE FOOD ORDERS THROUGH WHATSAPP AUTOMATION BOT
IRJET Journal
 
Mulesoft Pune Meetup Deck - Apr 2020
Mulesoft Pune Meetup Deck - Apr 2020Mulesoft Pune Meetup Deck - Apr 2020
Mulesoft Pune Meetup Deck - Apr 2020
Santosh Ojha
 
SDARPiBot - VLES'16
SDARPiBot - VLES'16SDARPiBot - VLES'16
SDARPiBot - VLES'16
Arun Joseph
 
Pushing Data from S7-1200 to Cloud
Pushing Data from S7-1200 to CloudPushing Data from S7-1200 to Cloud
Pushing Data from S7-1200 to Cloud
DMC, Inc.
 
Ekon25 mORMot 2 Server-Side Notifications
Ekon25 mORMot 2 Server-Side NotificationsEkon25 mORMot 2 Server-Side Notifications
Ekon25 mORMot 2 Server-Side Notifications
Arnaud Bouchez
 

Similar to Ocean IoT platform guide (20)

Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...
Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...
Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...
 
Network-Connected Development with ZeroMQ
Network-Connected Development with ZeroMQNetwork-Connected Development with ZeroMQ
Network-Connected Development with ZeroMQ
 
An introduction to MQTT
An introduction to MQTTAn introduction to MQTT
An introduction to MQTT
 
Tutorial mikrotik step by step anung muhandanu
Tutorial mikrotik step by step  anung muhandanu Tutorial mikrotik step by step  anung muhandanu
Tutorial mikrotik step by step anung muhandanu
 
Blockchain Development
Blockchain DevelopmentBlockchain Development
Blockchain Development
 
Node home automation with Node.js and MQTT
Node home automation with Node.js and MQTTNode home automation with Node.js and MQTT
Node home automation with Node.js and MQTT
 
End-to-end IoT solutions with Java and Eclipse IoT
End-to-end IoT solutions with Java and Eclipse IoTEnd-to-end IoT solutions with Java and Eclipse IoT
End-to-end IoT solutions with Java and Eclipse IoT
 
Introduction MQTT in English
Introduction MQTT in EnglishIntroduction MQTT in English
Introduction MQTT in English
 
Messaging for the Internet of Awesome Things
Messaging for the Internet of Awesome ThingsMessaging for the Internet of Awesome Things
Messaging for the Internet of Awesome Things
 
6. TinyOS_2.pdf
6. TinyOS_2.pdf6. TinyOS_2.pdf
6. TinyOS_2.pdf
 
Using open source for IoT
Using open source for IoTUsing open source for IoT
Using open source for IoT
 
Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Mac...
Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Mac...Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Mac...
Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Mac...
 
Low Latency Mobile Messaging using MQTT
Low Latency Mobile Messaging using MQTTLow Latency Mobile Messaging using MQTT
Low Latency Mobile Messaging using MQTT
 
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
 
Immutant
ImmutantImmutant
Immutant
 
ONLINE FOOD ORDERS THROUGH WHATSAPP AUTOMATION BOT
ONLINE FOOD ORDERS THROUGH WHATSAPP AUTOMATION BOTONLINE FOOD ORDERS THROUGH WHATSAPP AUTOMATION BOT
ONLINE FOOD ORDERS THROUGH WHATSAPP AUTOMATION BOT
 
Mulesoft Pune Meetup Deck - Apr 2020
Mulesoft Pune Meetup Deck - Apr 2020Mulesoft Pune Meetup Deck - Apr 2020
Mulesoft Pune Meetup Deck - Apr 2020
 
SDARPiBot - VLES'16
SDARPiBot - VLES'16SDARPiBot - VLES'16
SDARPiBot - VLES'16
 
Pushing Data from S7-1200 to Cloud
Pushing Data from S7-1200 to CloudPushing Data from S7-1200 to Cloud
Pushing Data from S7-1200 to Cloud
 
Ekon25 mORMot 2 Server-Side Notifications
Ekon25 mORMot 2 Server-Side NotificationsEkon25 mORMot 2 Server-Side Notifications
Ekon25 mORMot 2 Server-Side Notifications
 

Recently uploaded

The Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdfThe Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
kalichargn70th171
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
Reetu63
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
Building API data products on top of your real-time data infrastructure
Building API data products on top of your real-time data infrastructureBuilding API data products on top of your real-time data infrastructure
Building API data products on top of your real-time data infrastructure
confluent
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
Alina Yurenko
 
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
kalichargn70th171
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Peter Caitens
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
Penify - Let AI do the Documentation, you write the Code.
Penify - Let AI do the Documentation, you write the Code.Penify - Let AI do the Documentation, you write the Code.
Penify - Let AI do the Documentation, you write the Code.
KrishnaveniMohan1
 
Optimizing Your E-commerce with WooCommerce.pptx
Optimizing Your E-commerce with WooCommerce.pptxOptimizing Your E-commerce with WooCommerce.pptx
Optimizing Your E-commerce with WooCommerce.pptx
WebConnect Pvt Ltd
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
kgyxske
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
Zycus
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
vaishalijagtap12
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
Alberto Brandolini
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
Patrick Weigel
 
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery FleetStork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
Vince Scalabrino
 
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
campbellclarkson
 

Recently uploaded (20)

The Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdfThe Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
Building API data products on top of your real-time data infrastructure
Building API data products on top of your real-time data infrastructureBuilding API data products on top of your real-time data infrastructure
Building API data products on top of your real-time data infrastructure
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
 
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
Penify - Let AI do the Documentation, you write the Code.
Penify - Let AI do the Documentation, you write the Code.Penify - Let AI do the Documentation, you write the Code.
Penify - Let AI do the Documentation, you write the Code.
 
Optimizing Your E-commerce with WooCommerce.pptx
Optimizing Your E-commerce with WooCommerce.pptxOptimizing Your E-commerce with WooCommerce.pptx
Optimizing Your E-commerce with WooCommerce.pptx
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
 
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery FleetStork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
 
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
 

Ocean IoT platform guide

  • 1. OCEAN IoT Platform Guide IoT Platform Startup guide July 17th, 2016 Youngmin Kim rladudals02@gmail.com 1
  • 2. • IoT Platform – Mobius Yellow Turtle – &Cube: Thyme (TAS) • Process (without MQTT) • MQTT broker – Mosquitto • Process (with MQTT) • Reference 2
  • 4. IoT Platform • OCEAN – Formerly Open alliance for iot standard – Global partnership based on open source and IoT standards – Aims to promote the development and commercialization of IoT platforms, products, and services by widespread adoption of IoT standards-compliant open source. – http://iotocean.org/ 4
  • 5. IoT Platform • Mobius – Yellow Turtle – An open source software of oneM2M-based IoT Server Platform based on Node.js Java Script. – The source code and files of Yellow Turtle are under the OCEAN license terms and conditions, i.e., 3-clause BSD open source license. – http://www.iotocean.org/download/?tab1=1& tab2=20 5
  • 6. IoT Platform • &Cube: Thyme – An open source software of oneM2M-based IoT Device Platform based on Node.js Java Script. – The source code and files of Thyme are under the OCEAN license terms and conditions, i.e., 3-clause BSD open source license. – http://www.iotocean.org/download/?tab1=2 6
  • 7. IoT Platform Schema ADN AE ADN AE ADN AE IN CSE AE Mca Mca Mcc’ Mobius – Yellow Turtle &Cube - Thyme Mcn Figure 1. Example (Node. js version) 7
  • 8. IoT Platform Schema AE (Content s) IN-CSE (Mobius: Yellow Turtle Beacon TAS AE (&Cube: Thyme) Raspberry Pi CSE- Mobius AE ss_1_ctrl ss_1 Subscription Subscription BLE 8
  • 9. Process ( without MQTT ) Server Yellow Turtle Database MySQLRaspberry Pi Bluez TAS Thyme Raspberry Pi Bluez TAS Thyme Raspberry Pi Bluez TAS Thyme USER Application Beacon Data 9
  • 10. Process ( without MQTT ) • Start Mobius – First implement make CSE ID. – ER_DUP_ENTRY is because of second implement. – QnA page • http://www.iotocean.org/Community/?tab1=2 Figure 4. Console of Mobius ( Pictures can be little different. ) 10
  • 11. Process ( without MQTT ) • Start Thyme – We must modify conf.xml of Thyme in order to connect Mobius (cbhost = Mobius server’s IP address). – Create IDs that can be modified conf.xml ( Pictures can be little different. ) Figure 5. Console of Thyme Figure 6. Console of Mobius 11
  • 12. Process ( without MQTT ) • Start Thyme_TAS – We can see data transfer ( TAS -> Thyme -> Mobius ). – If you want to implement TAS in windows, http://www.iotocean.org/Community/view.asp?pageNo= 2&tab1=1&tab2=0&tab3=all&sType&word=&idx=1163 Figure 7. Console of TAS Figure 8. Console of Thyme ( Pictures can be little different. ) 12
  • 13. Process ( without MQTT ) • Start Thyme_TAS – You can see data transfer ( TAS -> Thyme -> Mobius ). Figure 9. Console of Mobius ( Pictures can be little different. ) 13
  • 15. MQTT Protocol • MQTT – Formerly MQ Telemetry Transport – A lightweight messaging protocol for small sensors and mobile devices. – The publish-subscribe messaging pattern requires a message broker. – http://mqtt.org/ 15
  • 16. MQTT Method • MQTT Method – Connect • Waits for a connection to be established with the server. – Disconnect • Waits for the MQTT client to finish any work it must do, and for the TCP/IP session to disconnect. – Subscribe • Waits for completion of the Subscribe or Unsubscribe method. – Unsubscribe • Requests the server unsubscribe the client from one or more topics. – Publish • Returns immediately to the application thread after passing the request to the MQTT client. 16
  • 17. MQTT broker • Mosquitto – Open source message broker that implements the MQTT – https://mosquitto.org/ • Others – Emqttd, ActiveMQ, Apollo, HiveMQ, IBM MessageSight, JoramMQ, RabbitMQ, Solace Message Routers, and VerneMQ. 17
  • 18. MQTT broker • Mosquitto – Synopsis • Mosquitto [-c config file] [-d | --daemon][-p port number][-v] – Options • -p, --port – Listen on the port specified instead of the default 1883. • -v, --verbose – Use verbose logging. 18
  • 19. Process ( with MQTT ) Server Yellow Turtle Server Mosquitto broker Database MySQL Raspberry Pi Bluez TAS Thyme Raspberry Pi Bluez TAS Thyme Raspberry Pi Bluez TAS Thyme USER Application Beacon Data MQTT proxy Figure 10. Example (Remote MQTT broker) 19
  • 20. Process ( with MQTT ) • This case implements the former. • But something different. – We must implement two js file in Mobius (app.js, pxymqtt.js). – We have to change implement file in Thyme (app.js -> mqtt_app.js). – We use mosqutto (MQTT broker). – We must modify TAS conf.xml in order to match Thyme’s mqtt_conf.xml (parentport = tasport). – Also we have to assign mqtt proxy (conf.json of Mobius – mqttproxy = mosquitto’s IP address). – We need forwarding, so we have to uncomment function (mqtt_forwarding). 20
  • 21. Process ( with MQTT ) • Start mosquitto. – We use this for MQTT broker. – If we want to use proxy server, we must modify Mobius conf.json file (mqttproxy = MQTT server IP address). – Command : mosquitto.exe -v Figure 11. Console of Mosquitto ( Pictures can be little different. ) 21
  • 22. Process ( with MQTT ) • Start Mobius - pxymqtt. – We need forwarding, so we have to uncomment function (mqtt_forwarding). Figure 13. Console of Mosquitto ( Pictures can be little different. ) Figure 12. Console of Mobius (pxymqtt) 22
  • 23. Process ( with MQTT ) • All program start like the former process. – We can see data transmission. Figure 14. Console of mosquito ( Pictures can be little different. ) 23
  • 24. TEST Environment • Raspberry Pi – node : v0.10.29 – npm : v1.4.21 – Thyme : v1.5 – Thyme TAS : v1.3 • Server (Windows 10, Windows server 2012 R2) – Node.js : v4.4.4, v4.4.6, v4.4.7 – Nginx : v1.10.1 – Mobius (Yellow Turtle) : v2.0.5 – Mosquitto : v1.3.5 24
  • 26. Reference • Web page – http://iotocean.org – https://en.wikipedia.org/wiki/MQTT – http://mqtt.org – https://mosquitto.org/ • Document – 『oneM2M 서비스 플랫폼 표준 해설서』, 한국정보통신기술협회, 2014- 11-30 – 『oneM2M 어플리케이션 개발자 가이드 표준 해설서』, 한국정보통신기술 협회, 2015-11-30 – 「MQTT Version 3.1.1」, OASIS, 2014-10-29 – 「Mobius : Yellow Turtle Installation Guide v1.9」, OCEAN, 2016-12 – 「“개방형 사물인터넷 플랫폼(Mobius, &Cube) 기반 서비스 개발 실습” 교 육 과정」, 전자부품연구원 26
  • 27. July 17th, 2016 Youngmin Kim rladudals02@gmail.com 27