OCEAN 오픈소스활용디바이스개발소개 개방형 IoT 플랫폼모비우스와엔큐브 KETI (Korea Electronic Technology Institute) 안일엽책임 (iyahn@keti.re.kr)
1. 사물인터넷서비스구조및플랫폼동향 2. onem2m 개요및 OCEAN Open Sources 3. 디바이스개발방법 4. 플랫폼활용사물인터넷서비스사례
사물인터넷서비스구조및플랫폼동향 사물인터넷기술의가치와중요성 가트너 2016 년 Hype Cycle of IoT Platform 가트너 2015 년 Hype Cycle of The Internet of Things IoT Platform 2012 년 2
사물인터넷서비스구조및플랫폼동향 사물인터넷시대의서비스모델 From vertical to horizontal integration model (by ITU-T) 3
사물인터넷서비스구조및플랫폼동향 사물인터넷서비스참조구조 사물연결플랫폼사물데이터플랫폼 IoT 서비스 Internet Internet Internet Mashup (IoT Data Platform) Connectivity (IoT Connectivity Platform) Data Analysis (IoT Data Platform) Internet 4 Semantic & Interoperability (IoT Data Platform) 3 Cloud Internet Knowledge (IoT Data Platform) Internet Connectivity (IoT Connectivity Platform) Internet Internet 2 디바이스플랫폼 Gateway Platform (IoT Gateway) 1 Internet Internet Internet Gateway Platform (IoT Gateway) Device Platform Device Platform Device Platform Device Platform Device Platform Device Platform (IoT Device) (IoT Device) 서비스도메인 A (IoT Device) (IoT Device) (IoT Device) 서비스도메인 B (IoT Device) 4
사물인터넷생태계 (IoT 서비스시나리오 ) App/Web 등록 Open API Site Physical World IoT Device 설치 검색 App Device Profile 등록 ( 제품 ID, 위치, 보안설정등 ) Device 서비스등록 IoT 정보 Download 판매 / 구입 접근권한 5
1. 사물인터넷서비스구조및플랫폼동향 2. onem2m 개요및 OCEAN Open Sources 3. 디바이스개발방법 4. 플랫폼활용사물인터넷서비스사례
사물인터넷표준기술 Standards High fragmentation of existing platforms Missing interoperability Common Platforms Platforms is typically dedicated to a single application/service Slow development of the IoT market Open IoT Platform 7
onem2m 개요 ETSI 의주도로국제공동사물인터넷서비스계층표준개발을목적으로 2012 년 1 월 onem2m 확정, 2012 년 7 월발족 3GPP 표준화단체와유사하게 ARIB, ATIS, CCSA, ETSI, TIA, TTA, TTC, TSDSI 의 8 개의 SDO 가공동으로운영하는조직 다양한 M2M 애플리케이션에걸쳐공통의요구사항을발견하고이를바탕으로 M2M 공통서비스계층 표준개발 수직구조 공통서비스계층기반수평구조 8
onem2m 표준규격 WG 기술규격 TR 0001 Usecase TR WG1 ( 요구사항 ) TS 0002 Requirements TS TS 0011 Definitions and Acronyms TS WG2 ( 아키텍쳐 ) TS 0001 Architecture TS TS 0004 Core Protocol TS TS 0008 CoAP Protocol Binding TS WG3 ( 프로토콜 ) TS 0009 HTTP Protocol Binding TS TS 0010 MQTT Protocol Binding TS TS 0020 Websocket Protocol Binding TS WG4 ( 보안 ) WG5 (MAS) WG5 ( 장치관리, 추상화, 시맨틱 ) TS 0003 Security Solutions TS TS 0005 Management Enablement (OMA) TS TS 0006 Management Enablement (BBF) TS TR 0007 Study of Abstraction and Semantics Enablement 9
OCEAN Open Sources http://www.iotocean.org Have more platforms become complicated 10
오픈소스종류 오픈소스종류별 onem2m 표준지원여부 ncube CSE AE Framework ASN MN IN Mobius O Node.js Rosemary O Node.js Lavender O Node.js O Java Thyme O Node.js Mint O Latest Release onem2m Release 1 Software name Framework version Publication date Standard Server(IN-CSE) Gateway(MN-CSE) Mobius &Cube: Rosemary Node.js Node.js r2-2.2.2 r2-2.3.1 2017.7 2017.7 TS-0001 Functional Architecture v2.10.0 TS-0004 Service Layer Core Protocol v2.7.1 TS-0009 HTTP Protocol Binding v2.6.1 Device(ASN-CSE) &Cube: Lavender Node.js r2-2.3.1 2017.7 TS-0010 MQTT Protocol Binding v2.4.1 TS-0020 Websocket Protocol Binding v2.0.0 &Cube: Thyme Node.js, Java 2.1.0 2017.7 Application(AE) &Cube: Mint C/C++ 1.0.0 2017.7 11
Select open source platform in OCEAN to build the use case with onem2m IoT/M2M Device IoT/M2M Gateway IoT/M2M Server Service &Cube : Mint &Cube : Thyme IoT 공통서비스기능 &Cube : Rosemary Mobius &Cube : Lavender 12
How IoT Devices Work? Things IoT device platform IoT service platform IoT application Thing Adaptation Software (TAS) REST API Data upload Send command &Cube REST API Data retrieve Control request 13
&Cube:Thyme 활용디바이스개발방법 Product = Idea + H/W + &CUBE + TAS IoT Server = Server(H/W) + Mobius &Cube:Thyme Rosemary water pump Thyme Core Lavender temperature sensor &CUBE-Thyme Thyme Yellow Turtle idea! led light H/W (Open Platform) Product humidity sensor TAL S/W supporting S/W Product design 14
모비우스활용어플리케이션개발방법 [Data] [Data] [Control] [Control] [Things] [Applications] [Platforms] [User] 15
모비우스활용어플리케이션개발방법 OPEN API! [Data] [Data] [Control] [Control] [Things] [Applications] [Platforms] [Developer] 16
모비우스활용어플리케이션개발방법 OPEN API!! [1:1]!! [1:n] [Developer] 17
Mobius - &Cube 연동구조 Bulb Raspberry Pi TAS TAS AE-Bulb (&Cube:Thyme) SmartPhone Laptop IN-CSE AE 디바이스등록센서연결데이터업로드데이터조회디바이스제어 (Mobius: Yellow Turtle) CSE-Mobius AE-Bulb CNT_Status CNT_control (Remote Lighting Service) Subscription contentinstance contentinstance contentinstance contentinstance Subscription 18 contentinstance
1. 사물인터넷서비스구조및플랫폼동향 2. onem2m 개요및 OCEAN Open Sources 3. 디바이스개발방법 4. 플랫폼활용사물인터넷서비스사례
How to Develop Software for IoT Devices? Install &Cube Develop TAS Test Device Download &Cube Install Node.js Configure &Cube Run &Cube Download TAS sample Develop TAS Configure TAS Run TAS Download Mobius API collection Install test program Test device 20
아두이노기반동작실습및시연 ncube:mint Adafruit Feather M0 WiFi - ATSAMD21 + ATWINC1500 Cortex M0 프로세서 12-bit ADC, 10-bit DAC, SPI, I2C, UART 지원 총 6 개의 SERCOM, native USB 지원, 802.11bgn 지원 (Atmel WINC1500 WiFi) CM1106 Co2 센서 대기중의 Co2 값을측정하여 UART 포트를이용해 Arduino 로업로드 https://www.adafruit.com/product/3010 참조 FE-RGB 3 색 LED 각 R, G, B 핀의입력에따라 Red, Green, Blue LED 동작 입력값에따라하나이상의빛 (2^3-1=7 가지 ) 조합 21
아두이노기반동작실습및시연 ncube:mint Yellow Turtle Service ncube:mint AE (Basic Monitoring Service) CO2 Sensor LED 22
라즈베리파이기반 ToT (Tweet of Thing) 구현 ncube:thyme Raspberry Pi 3 Model B 영국의라즈베리파이재단이개발 기초컴퓨터과학교육을증진시키기위해만든싱글보드컴퓨터 Raspbian (Debian 계열 Linux) 운영체제사용 기타운영체제포팅가능 상세정보는 http://www.raspberrypi.org/ 홈페이지에서확인가능 CM1106 CO2 Sensor 공기 CO2 평균농도값측정 UART 통신방식지원 PL2303 USB UART Board UART 데이터 USB로변경 3.3v 5v 출력 RGB 3 Color LED Red, Green, Blue 동시표시가능 Pi Cam 스틸이미지촬영 23
라즈베리파이기반 ToT (Tweet of Thing) 구현 ncube:thyme Yellow Turtle CO2 Sensor ncube:thyme ncube:thyme-tweet Camera LED 24
Configuration for ToT (Tweet of Thing) Camera Raspberry Pi TAS (cnt-cam) CO2 Sensor &Cube:Thyme _Tweet IN-CSE Laptop SmartPhone TAS (cnt-co2) TAS (cnt-led) ae-edu0 (&Cube:Thyme) mobius-yt (mobius-yt) LED ae-edu0 cnt-cam Subscription contentinstance contentinstance cnt-led Subscription cnt-co2 contentinstance contentinstance contentinstance contentinstance 25
1. 사물인터넷서비스구조및플랫폼동향 2. onem2m 개요및 OCEAN Open Sources 3. 디바이스개발방법 4. 플랫폼활용사물인터넷서비스사례
개방형 IoT 플랫폼적용서비스예시 Mobius 기반상용화 SKT ThingPlug (Jun. 2015) 27
개방형 IoT 플랫폼적용서비스예시 Busan Smart City Busan Smart City 스마트파킹 스마트매장에너지관리 스마트사회적약자안전관리 스마트가로등 미아방지서비스해상안전서비스스마트횡단보도 비콘기반소상공인마케팅서비스 스마트빌딩에너지관리 상황인지형대피안내시스템 현재의인프라 1 단계플랫폼구축 / 실증 2 단계디바이스확대 / 서비스확대 3 단계상용화 / 확산, 신규서비스창출 파편적서비스 기개발국제표준공통플랫폼 기존 U-City 인프라 D-Platform (SDK, API ) D-Platform ( 타표준디바이스 ) Legacy 시스템연계글로벌플랫폼연계 상용디바이스 (All of Things) City-to-City 연계 28
개방형 IoT 플랫폼적용서비스예시 Smart farming Seedream, Maxfor IoT Smart Farm 29
개방형 IoT 플랫폼적용서비스예시 사물음성제어 : ithing 동영상 : http://youtu.be/6pe1hdpuona 30
개방형 IoT 플랫폼적용서비스예시 사물간의대화 : TTEO 동영상 : http://youtu.be/9veka6c2fre 31
Global Interworking Interfaces in Drone application 32
Global Interworking onem2m Showcase Event (9 December 2014, Sophia-Antipolis, France) 33
onem2m Interworking - AllJoyn, OIC, and Legacy systems Legacy devices Interworking Proxy Legacy system interface Protocol/message translation Resource mapping AllJoyn interface OIC interface onem2 M devices 34 34
Interworking with Other IoT Systems - ConnecThing Configuration Jawbone Non-oneM2M NEST IN-AE (onepass App) IPE onem2m IN-AE (ConnecThing Client) Mca IN-CSE Mcc onem2m Showcase (ETSI, 2014) Mcc IPE MN-CSE Mca 35 35
ConnecThing Demo - All-in-one app (onem2m, AllJoyn, Legacy) Video Source: https://youtu.be/fngoyncrhcm 36 36
ConnecThing Demo - Interworking scenarios (onem2m, AllJoyn, Legacy) Video Source: https://youtu.be/zhfiqwlbpsm 37 37
Conclusion - OCEAN (Open alliance for iot standard) http://iotocean.org 표준기반사물인터넷오픈소스얼라이언스 : 650 개멤버사가입 (2017. 5. 기준 ) 38
감사합니다.