34
(QGWRHQG ,R7 VROXWLRQV ZLWK -DYD DQG WKH (FOLSVH ,R7 VWDFN

End-to-end IoT solutions with Java and the Eclipse IoT stack

Embed Size (px)

DESCRIPTION

The Internet of Things market is poised for exponential growth, but there are still lots of barriers that prevent building a real open Internet of Things. Over the last few years, Eclipse has been growing an ecosystem of open source projects for the Internet of Things that are used in real-world solutions, from smart gateways bridging sensors to the cloud to device management infrastructures or home automation systems. Java is a key enabler for the Internet of Things, and this session provides you with concrete examples of how to build end-to-end solutions with the Eclipse Internet of Things Java stack and projects such as Paho, Kura, SmartHome, Californium, OM2M, Eclipse SCADA, and Concierge.

Citation preview

Page 1: End-to-end IoT solutions with Java and the Eclipse IoT stack

(QG�WR�HQG�,R7�VROXWLRQVZLWK�-DYD�DQG�WKH(FOLSVH�,R7�VWDFN

Page 2: End-to-end IoT solutions with Java and the Eclipse IoT stack

+Q6�KU�$KI

Page 3: End-to-end IoT solutions with Java and the Eclipse IoT stack
Page 4: End-to-end IoT solutions with Java and the Eclipse IoT stack

1RGP�+Q6�5VCEM�HQT�,CXC

Page 5: End-to-end IoT solutions with Java and the Eclipse IoT stack

'PF�VQ�GPF�+Q6!

$FWXDWRUV�6HQVRUV�

*DWHZD\�

>�&ORXG�@��

8VHU�IURQW�HQG

Page 6: End-to-end IoT solutions with Java and the Eclipse IoT stack

�� 5GPUQTU�#EVWCVQTU

䚉 6HQVH�WKH�SK\VLFDO�HQYLURQPHQW䚉 $FW�RQ�LW

Page 7: End-to-end IoT solutions with Java and the Eclipse IoT stack

�� 5GPUQTU�#EVWCVQTU

䚉 0DQLSXODWH�V\VIV�GLUHFWO\䚉 8VH�3L�-�WR�KDYH�IXOO�VXSSRUW�RI�

*3,2�,�&�63,䚉 8VH�0,'OHWV�ZLWK�-DYD�0(�HPEHGGHG�

Page 8: End-to-end IoT solutions with Java and the Eclipse IoT stack

5GPUQTU�#EVWCVQTU

䚉 3L�-�̰�KWWS���SL�M�FRP�䘟 &RPSOHWH�DFFHVV�WR�*3,2V�,�&�63,䘟 9HU\�PDWXUH�FRGHEDVH��EDVHG�RQ�:LULQJ3L䘟 6XSSRUW�IRU�SRSXODU�VKLHOGV��3L)DFH��

*HUWERDUG��̿�䘟 /RWV�RI�FRGH�VDPSOHV

Page 9: End-to-end IoT solutions with Java and the Eclipse IoT stack

2K�,�KP�CEVKQP

*QǴPǫPOǹǸPǷǷFǸ�dzQǴP�ȅ�*QǴP)BDZǹPǸǻ�dzFǹ,OTǹBODZF���

*QǴP3ǴO'ǴdzǴǹBǷ2VǹQVǹ�QǴO�ȅ�dzQǴP�QǸPǺǴTǴPO'ǴdzǴǹBǷ2VǹQVǹ3ǴO�

����5BTQǴ3ǴO�*3,2A�����0ǻ/('���3ǴO6ǹBǹF�+,*+��

7IǸFBE�TǷFFQ�������

QǴO�ǷPX���

7IǸFBE�TǷFFQ�������

QǴO�ǹPdzdzǷF���

dzQǴP�TIVǹEPXO���

Page 10: End-to-end IoT solutions with Java and the Eclipse IoT stack

)CVGYC[

%QPPGEVUGPUQTU�VQ�VJG�YQTNF

0DQDJH�WKH�KDUGZDUH�DQG�VRIWZDUH�UXQQLQJ�DW�

WKH�HGJH

Page 11: End-to-end IoT solutions with Java and the Eclipse IoT stack

%QPPGEV!

䚉 &R$3䘟 m�+773�RYHU�8'3�}䘟 ([SRVH�\RXU�GHYLFH�DV�D�UHVRXUFH�WR�WKH�

,QWHUQHW�RI�7KLQJV䚉 0477

䘟 3XEOLVK�6XEVFULEH�PRGHO䘟 0RUH�URRP�IRU�ORFDO�SURFHVVLQJ

Page 12: End-to-end IoT solutions with Java and the Eclipse IoT stack

$P"1��5IF�XFC�PG�UIJOHT

ȇ4�)(ȇ%�+!ȇ)"#1ȇ/�&0"ȇ"6"ȇ-& 12/"

ȇ,+ȇ/"!ȇ$/""+ȇ�)2"ȇ*1�#

ȇ,+

ȇ,+

ȇ�211,+0ȇ�211,+0ȇǐȇ-20%ȇ��1Ǹ)"3")

ȇ"+$&+"ȇ01�120ȇ-,0&1&,+ȇ#2") ȇ��Ǒ

ȇ+,&0"ȇ)&$%10ȇ,+

Page 13: End-to-end IoT solutions with Java and the Eclipse IoT stack

'ENKRUG�%CNKHQTPKWO

䚉 )RFXV�RQ�VFDODELOLW\�DQG�XVDELOLW\䚉 7R�EH�XVHG�LQ�,R7�FORXG�VHUYHUV�RU�

0�0�,R7�GHYLFHV�UXQQLQJ�-DYD䚉 ,QFOXGHV�'7/6�LPSOHPHQWDWLRQ�

�6FDQGLXP��+773�&R$3�EULGJH��3OXJWHVWV��̿

Page 14: End-to-end IoT solutions with Java and the Eclipse IoT stack

%CNKHQTPKWO����

ǫPBQ6FǸǺFǸ��ǫPBQ5FTPVǸDZF��ǫPBQ(YDZIBOdzF

�� ,PSOHPHQW�FXVWRP�UHVRXUFHV��H[WHQG�ǫPBQ5FTPVǸDZF�

�� $GG�UHVRXUFHV�WR�WKH�&R$3�VHUYHU�� 6WDUW�WKH�VHUYHU

Page 15: End-to-end IoT solutions with Java and the Eclipse IoT stack

%CNKHQTPKWO����ǴNQPǸǹ�TǹBǹǴDZ�PǸdz�FDZǷǴQTF�DZBǷǴDzPǸOǴVN�DZPǸF�DZPBQ�ǫP$3�5FTQPOTFǫPEF� �����TIPǸǹDZVǹTQVCǷǴDZ�DZǷBTT�0ǻ5FTPVǸDZF�FYǹFOET�ǫPBQ5FTPVǸDZF�\��#2ǺFǸǸǴEF��QVCǷǴDZ�ǺPǴE�IBOEǷF*(7�ǫPBQ(YDZIBOdzF�FYDZIBOdzF��\

FYDZIBOdzF�ǸFTQPOE��IFǷǷP�XPǸǷE�������ǸFQǷǻ�XǴǹI������QBǻǷPBE��ǹFYǹ�QǷBǴO���^��#2ǺFǸǸǴEF��QVCǷǴDZ�ǺPǴE�IBOEǷF3267�ǫPBQ(YDZIBOdzF�FYDZIBOdzF��\

FYDZIBOdzF�BDZDZFQǹ�������NBǶF�Ǵǹ�B�TFQBǸBǹF�ǸFTQPOTFǴDz��FYDZIBOdzF�dzFǹ5FRVFTǹ2QǹǴPOT��������\

�� ���EP�TPNFǹIǴOdz�TQFDZǴDzǴDZ�ǹP�ǹIF�ǸFRVFTǹ�PQǹǴPOT^FYDZIBOdzF�ǸFTQPOE�ǫ5($7('������ǸFQǷǻ�XǴǹI�ǸFTQPOTF�DZPEF�POǷǻ��TIPǸǹDZVǹ�

��^^

Page 16: End-to-end IoT solutions with Java and the Eclipse IoT stack

.255��1VCMJTI���4VCTDSJCF

�2��������ǑǒǑȇȗ�2��������ǑǒǑȇ1"*-

������6),�!ǥ�Ǒǐɶ�

�2��������ǑǒǑȇ1"*-

������6),�!ǥ�Ǒǐɶ�#30,&3

Page 17: End-to-end IoT solutions with Java and the Eclipse IoT stack

'ENKRUG�2CJQ

䚉 2SHQ�VRXUFH�0477�FOLHQWV䚉 3LFN�\RXU�ODQJXDJH�

䘟 -DYD䘟 -DYD6FULSW䘟 &�&����2EMHFWLYH�&䘟 *R䘟 /XD䘟 3\WKRQ�̿

Page 18: End-to-end IoT solutions with Java and the Eclipse IoT stack

2CJQ�����,CXC�0RǹǹǫǷǴFOǹ�DZ�ȅ�OFX�0RǹǹǫǷǴFOǹ��ǹDZQ���N�N�FDZǷǴQTF�PǸdz���������0RǹǹǫǷǴFOǹ�dzFOFǸBǹFǫǷǴFOǹ,E����NRǹǹǫǷǴFOǹ�TFǹǫBǷǷCBDZǶ�OFX�0RǹǹǫBǷǷCBDZǶ���\��#2ǺFǸǸǴEF��QVCǷǴDZ�ǺPǴE�NFTTBdzF$ǸǸǴǺFE�6ǹǸǴOdz�ǹPQǴDZ��0Rǹǹ0FTTBdzF�NFTTBdzF���ǹIǸPXT�(YDZFQǹǴPO�\�������QǸPDZFTT�ǸFDZFǴǺFE�NFTTBdzF������������^^��NRǹǹǫǷǴFOǹ�DZPOOFDZǹ���NRǹǹǫǷǴFOǹ�TVCTDZǸǴCF��NǻdzBǹFXBǻ�ȃ���

Page 19: End-to-end IoT solutions with Java and the Eclipse IoT stack

/366�DTQMGTU

䚉 (FOLSVH�0RVTXLWWR䘟 &�LPSOHPHQWDWLRQ䘟 6FDODEOH�������FOLHQWV� ��0%�5$0�

䚉 (FOLSVH�0RTXHWWH䘟 -DYD�LPSOHPHQWDWLRQ䘟 %DVHG�RQ�1HWW\�DQG�/0$;�GLVUXSWRU

Page 20: End-to-end IoT solutions with Java and the Eclipse IoT stack

/CPCIG!

䚉 *DWHZD\�LWVHOI䘟 ZLUHOHVV�PRGHP��ILUHZDOO��̿

䚉 $SSOLFDWLRQV䘟 ,QVWDOO�8QLQVWDOO�VRIWZDUH�SDFNDJHV䘟 6WDUW�6WRS�DSSOLFDWLRQV

䚉 6HQVRUV䘟 +�:�DEVWUDFWLRQ�OD\HU

Page 21: End-to-end IoT solutions with Java and the Eclipse IoT stack

-DYD�9026*L�$SSOLFDWLRQ�&RQWDLQHU�

'HYLFH�$EVWUDFWLRQ

*DWHZD\�%DVLF�6HUYLFHV

1HWZRUN�&RQILJXUDWLRQ1HWZRUN�0DQDJHPHQW )LHOG�3URWRFROV

&RQQHFWLYLW\�DQG�'HOLYHU\

$GPLQLVWUDWLRQ�*8,

2SHUDWLR

Q��0DQDJHP

HQW

/LQX[+DUGZDUH

$SS�� $SS�� $SS�Q�������������������$SSOLFDWLRQV

'ENKRUG�-WTC

Page 22: End-to-end IoT solutions with Java and the Eclipse IoT stack

+PUVCNNKPI�-WTCDZE�_

TVEP�BQǹ�dzFǹ�VQEBǹF

XdzFǹ�IǹǹQT���T��BNB[POBXT�DZPN�ǶVǸBAEPXOǷPBET�ǸBTQCǴBO�ǸFǷFBTF��������?������������������������������ǶVǸBA�����AǸBTQCFǸǸǻ�QǴABǸNǺ��EFC

TVEP�EQǶdz��Ǵ�ǶVǸBA�����AǸBTQCFǸǸǻ�QǴABǸNǺ��EFC

TVEP�BQǹ�dzFǹ�ǴOTǹBǷǷ��Dz

TVEP�ǸFCPPǹ

Page 23: End-to-end IoT solutions with Java and the Eclipse IoT stack

(KTUV�UVGRU�YKVJ�-WTC

䚉 1HWZRUN�PDQDJHPHQW䘟 &HOOXODU�0RGHP��:L)L䘟 )LUHZDOO䘟 1$7

䚉 26*L�DQG�V\VWHP�DGPLQLVWUDWLRQ䚉 ,R7�VHUYHU�FRPPXQLFDWLRQ�VHWWLQJV

Page 24: End-to-end IoT solutions with Java and the Eclipse IoT stack

-WTC�#2+

䚉 26*L�VHUYLFHV�WKDW�\RX�FDQ�UH�XVH�LQ�\RXU�RZQ�FRPSRQHQWV䘟 ǫǷPDZǶ6FǸǺǴDZF䘟 'BǹB6FǸǺǴDZF��ǫǷPVE6FǸǺǴDZF䘟 ǫǸǻQǹP6FǸǺǴDZF��$(6��EDVH����6+$���䘟 3PTǴǹǴPO6FǸǺǴDZF��JHRORFDWLRQ�䘟 ̿�DQG�PDQ\�RWKHUV

Page 25: End-to-end IoT solutions with Java and the Eclipse IoT stack

&GOQ�VKOGК

Page 26: End-to-end IoT solutions with Java and the Eclipse IoT stack

2TCEVKECN�GZCORNG��)TGGPJQWUG

䚉 $�6FOTPǸ6FǸǺǴDZF�LPSOHPHQWDWLRQ�OHYHUDJLQJ�3L�-�IRU�*3,2�,�&

䚉 $�FRQILJXUDEOH�*ǸFFOIPVTF3VCǷǴTIFǸ�FRPSRQHQW�WKDW�䘟 FRQVXPHV�D�6FOTPǸ6FǸǺǴDZF��*3,2�PDQLSXODWLRQ�䘟 FRQVXPHV�D�'BǹB6FǸǺǴDZF��0477�FRPPXQLFDWLRQ�䘟 H[SRVHV�D�6FOTPǸǫIBOdzFE/ǴTǹFOFǸ��EH�QRWLILHG�RI�

H[WHUQDO�*3,2�XSGDWHV�䘟 H[SRVHV�FRQILJXUDWLRQ�PHWDGDWD��:HE�8,�FRQILJ�

Page 27: End-to-end IoT solutions with Java and the Eclipse IoT stack

6CNM�KU�EJGCRų5JQY�OG�VJG�EQFGК

Page 28: End-to-end IoT solutions with Java and the Eclipse IoT stack

#PF�JQY�CDQWV�%Q#2!

䚉 &DOLIRUQLXP�FDQ�HDVLO\�EH�HPEHGGHG�LQ�D�.XUD�EXQGOH

䚉 $QRWKHU�26*L�FRPSRQHQW�FDQ�䘟 FRQVXPH�WKH�6FOTPǸ6FǸǺǴDZF�䘟 H[SRVH�&R$3�UHVRXUFHV

უ�;QW�PGGF�VQ�QRGP�RQTV������KP�-WTCЏ

Page 29: End-to-end IoT solutions with Java and the Eclipse IoT stack

'PF�WUGT�KPVGTCEVKQP

䚉 -DYD);�&KDUWV

䚉 (FOLSVH�%,57

䚉 6PDUWSKRQH�DSS��H�J�$QGURLG�䘟 KWWSV���ZZZ�HFOLSVH�RUJ�SDKR�FOLHQWV�DQGURLG�

䚉 0477���:HE6RFNHWV� �䘁䘟 KWWSV���ZZZ�HFOLSVH�RUJ�SDKR�FOLHQWV�MV

Page 30: End-to-end IoT solutions with Java and the Eclipse IoT stack

+H�[QW�JCF�VQ�TGOGODGT�QPN[���VJKPIU���

.XUD�LV�DZHVRPH�*R�GRZQORDG�LW�QRZ�KWWS���HFOLSVH�RUJ�NXUD

��

Page 31: End-to-end IoT solutions with Java and the Eclipse IoT stack

+H�[QW�JCF�VQ�TGOGODGT�QPN[���VJKPIU���

%XLOG�\RXU�RZQ�JUHHQKRXVH�IROORZ�WKH�WXWRULDO

KWWS���LRW�HFOLSVH�RUJ�MDYD�WXWRULDO�

��

Page 32: End-to-end IoT solutions with Java and the Eclipse IoT stack

+H�[QW�JCF�VQ�TGOGODGT�QPN[���VJKPIU���

(FOLSVH�2SHQ�,R7�6WDFN�IRU�-DYD�LV�PXFK�PRUH�WKDQ�.XUDKWWS���LRW�HFOLSVH�RUJ�MDYD

��

Page 33: End-to-end IoT solutions with Java and the Eclipse IoT stack

)GV�+PXQNXGFК

Page 34: End-to-end IoT solutions with Java and the Eclipse IoT stack

6JCPM�[QW�3WGUVKQPU!

DGPLCOKP"GENKRUG�QTI�"MCTVDGP

OKMG"GENKRUG�QTI�"OOKNKPMQX

JVVR���KQV�GENKRUG�QTI�