M2M - Machine to Machine MCU - Microcontroller MOTT - Message Queuing Telemetry Transport NFC - Near Field Communication PaaS - plalfortn as a service PAN - Personal Arca Network REST
Trang 1TOÃO FILITPE OFIGO
STUDY ON INTERNET OF THINGS
MASTER OF SCIENCE
HANOI — 2016
AND TECHNOLOGY
Trang 2JOAO FILIPE OFIGO
STUDY ON INTERNET OF TITINGS
MAJOR : ‘TELECOMMUNICA TIONS
MASTER TIIESIS IN SCIENCE
SCIENTIFIC SUPERVISOR:
Tr TRƯƠNG THU HƯƠNG
Hà Nội — 2016
Trang 3
CỘNG HÒA XÃ HỘI CHỦ NGHĨA VIỆT NAM
Độc lận— Tự do— Hạnh phúc
BẢN XÁC NHẬN CHỈNH SỬA LUẬN VĂN THẠC SĨ
Ho va tén tae gia ludn van : Jodo Filipe Ofigo
TP tài luận hiển cứu về internet của Van vật
Chuyên ngành: Kỹ thuật viễn thông
Mã số SV: CB141072
Tác giả, Người hướng dẫn khoa học và Hội đồng chấm luận văn xác nhận tác
giả đã sửa chữa, bỏ sung luận văn theo biên bản họp Hội đồng ngảy 24/08/2016 Yới các nội dung, sau:
1) Thay đỗi đoạn 3.2 thành “M2M standard and protocols”
2) Luan an đã gần như tuân theo đúng chuẩn yêu cầu của một luận ân thạc sĩ
cần có Nhưng gác liên kết giữa các tiểu mục tong luận án cần được chính sửa chính xác hơn
3) Cần thay đổi tiêu để của luận án thành “Nghiên cửu về internet của Vạn
val”
4) Cần xem xét và chính sữa các lỗi ngữ pháp trong luận án
Ngày 26 tháng 08 năm 2016
CHỦ TỊCH HỘI ĐÔNG
PGS.TS Nguyễn Hữn Thanh
Trang 4#igure 2.6: Electric Imp and Thủng Spealc LeT [14] -.- sec LÔ Figure 2.7: Digital Service Cloud IoT foundation [10] - - 17
Figure 2.8: Dala streaming from Galeway to cloud by Armazon Kinesis [10] 18
Figure 2.9: À4Icrosoft lợi foandation [1 5] ào cseecesree 20
Tigure 2.12: Applications of IøT [6] - co 02ctceesrrecee 33
Figure 3.1: Three basic stages of M2M technology [26] - - 36
Figure 3.2: M2M Protocot Stack and Techricat Challenges |29} 42 Figure 3.3: Architecture of M2M system [30] 45
Figure 3.4: Examples of components of M2M system [30] 45
Figure 4.1; House design with distribution of the smart devices im cach area
Figure 4.2: Structure of the Internet of ‘Things sysiem "
Figure 4.4: PIR S€TSOF nh Hh HH Home sine
Figure 4.5; Raspberry Pi 3 [33] tennis ã" SA
Figure 4.7: Connection diagram of Arduino LED and Motion sensor [38] 57
Figure 1.8: Bluetooth connection hetween smart devices with Gateway 68
Wigure 4.10: PLR sensor data à che —
Figure 4.12: Login [or aecess the interface RockMongo - - 73
Trang 5M2M - Machine to Machine
MCU - Microcontroller
MOTT - Message Queuing Telemetry Transport
NFC - Near Field Communication
PaaS - plalfortn as a service
PAN - Personal Arca Network
REST - Representation State Transfer
RF - Radio Frequency
RF4CE - Radio Frequency for Consumer Electronics
RFTD- Radio frequency Indentification
ROM - Read-Only Memory
RTOS — Real Tine Operating System
TCP - Transmission Control Protocol
TIA - Telecommunications Industry Association
‘UDP - User Datagram Protocol
‘UL- Unique Identifier
URL - Universal Resource Locator
WiMAX - Worldwide Interoperability for Microwave Access
WPAN - Wireless Personal Area Network
WSN - Wireless Sensor Network
XML- Extensible Markup Language
Trang 6ABSTRACT
‘this work aims to explain the concepts of the M2M communication and lol’ comecpl, reference mudels, archileclures and protocols used in the Internet of
‘Things My thesis intends to give an overview on the Internet of ‘Things, as well as
helps beginners build Internet of Things applications by their own
In this research, the IoT and M2M communication will be discussed, terms that
have arisen with the creation of devices that can access the network to communicate
and exchange information ‘Those can optimize and facilitate tasks like collecting
information of things and of the environments where they are
The implementation of this thesis aims to build an infrastructure for an IoT
ecosystem with the server responsible for collecting, stormg dala and also to allow
the viewing of the data generated by the motion sensors and cloud, which are
responsible for light monitoring Despite some difficulties encountered during the work, the defined goals were mel.
Trang 7me during my master degree study abroad Without their support, I could not have
had the opportunity to even start my studies.
Trang 8me during my master degree study abroad Without their support, I could not have
had the opportunity to even start my studies.
Trang 10#igure 2.6: Electric Imp and Thủng Spealc LeT [14] -.- sec LÔ Figure 2.7: Digital Service Cloud IoT foundation [10] - - 17
Figure 2.8: Dala streaming from Galeway to cloud by Armazon Kinesis [10] 18
Figure 2.9: À4Icrosoft lợi foandation [1 5] ào cseecesree 20
Tigure 2.12: Applications of IøT [6] - co 02ctceesrrecee 33
Figure 3.1: Three basic stages of M2M technology [26] - - 36
Figure 3.2: M2M Protocot Stack and Techricat Challenges |29} 42 Figure 3.3: Architecture of M2M system [30] 45
Figure 3.4: Examples of components of M2M system [30] 45
Figure 4.1; House design with distribution of the smart devices im cach area
Figure 4.2: Structure of the Internet of ‘Things sysiem "
Figure 4.4: PIR S€TSOF nh Hh HH Home sine
Figure 4.5; Raspberry Pi 3 [33] tennis ã" SA
Figure 4.7: Connection diagram of Arduino LED and Motion sensor [38] 57
Figure 1.8: Bluetooth connection hetween smart devices with Gateway 68
Wigure 4.10: PLR sensor data à che —
Figure 4.12: Login [or aecess the interface RockMongo - - 73
Trang 12ABSTRACT
‘this work aims to explain the concepts of the M2M communication and lol’ comecpl, reference mudels, archileclures and protocols used in the Internet of
‘Things My thesis intends to give an overview on the Internet of ‘Things, as well as
helps beginners build Internet of Things applications by their own
In this research, the IoT and M2M communication will be discussed, terms that
have arisen with the creation of devices that can access the network to communicate
and exchange information ‘Those can optimize and facilitate tasks like collecting
information of things and of the environments where they are
The implementation of this thesis aims to build an infrastructure for an IoT
ecosystem with the server responsible for collecting, stormg dala and also to allow
the viewing of the data generated by the motion sensors and cloud, which are
responsible for light monitoring Despite some difficulties encountered during the work, the defined goals were mel.
Trang 13Figure 4.13: Intorface RockKMongo (mauagement softwaro MongoDB)
dS
Vigure 4.14: Testbed for the Usecase 1loosysleTa
in
Trang 14me during my master degree study abroad Without their support, I could not have
had the opportunity to even start my studies.
Trang 15M2M - Machine to Machine
MCU - Microcontroller
MOTT - Message Queuing Telemetry Transport
NFC - Near Field Communication
PaaS - plalfortn as a service
PAN - Personal Arca Network
REST - Representation State Transfer
RF - Radio Frequency
RF4CE - Radio Frequency for Consumer Electronics
RFTD- Radio frequency Indentification
ROM - Read-Only Memory
RTOS — Real Tine Operating System
TCP - Transmission Control Protocol
TIA - Telecommunications Industry Association
‘UDP - User Datagram Protocol
‘UL- Unique Identifier
URL - Universal Resource Locator
WiMAX - Worldwide Interoperability for Microwave Access
WPAN - Wireless Personal Area Network
WSN - Wireless Sensor Network
XML- Extensible Markup Language
Trang 16me during my master degree study abroad Without their support, I could not have
had the opportunity to even start my studies.
Trang 17Figure 4.13: Intorface RockKMongo (mauagement softwaro MongoDB)
dS
Vigure 4.14: Testbed for the Usecase 1loosysleTa
in
Trang 18#igure 2.6: Electric Imp and Thủng Spealc LeT [14] -.- sec LÔ Figure 2.7: Digital Service Cloud IoT foundation [10] - - 17
Figure 2.8: Dala streaming from Galeway to cloud by Armazon Kinesis [10] 18
Figure 2.9: À4Icrosoft lợi foandation [1 5] ào cseecesree 20
Tigure 2.12: Applications of IøT [6] - co 02ctceesrrecee 33
Figure 3.1: Three basic stages of M2M technology [26] - - 36
Figure 3.2: M2M Protocot Stack and Techricat Challenges |29} 42 Figure 3.3: Architecture of M2M system [30] 45
Figure 3.4: Examples of components of M2M system [30] 45
Figure 4.1; House design with distribution of the smart devices im cach area
Figure 4.2: Structure of the Internet of ‘Things sysiem "
Figure 4.4: PIR S€TSOF nh Hh HH Home sine
Figure 4.5; Raspberry Pi 3 [33] tennis ã" SA
Figure 4.7: Connection diagram of Arduino LED and Motion sensor [38] 57
Figure 1.8: Bluetooth connection hetween smart devices with Gateway 68
Wigure 4.10: PLR sensor data à che —
Figure 4.12: Login [or aecess the interface RockMongo - - 73
Trang 19ABSTRACT
‘this work aims to explain the concepts of the M2M communication and lol’ comecpl, reference mudels, archileclures and protocols used in the Internet of
‘Things My thesis intends to give an overview on the Internet of ‘Things, as well as
helps beginners build Internet of Things applications by their own
In this research, the IoT and M2M communication will be discussed, terms that
have arisen with the creation of devices that can access the network to communicate
and exchange information ‘Those can optimize and facilitate tasks like collecting
information of things and of the environments where they are
The implementation of this thesis aims to build an infrastructure for an IoT
ecosystem with the server responsible for collecting, stormg dala and also to allow
the viewing of the data generated by the motion sensors and cloud, which are
responsible for light monitoring Despite some difficulties encountered during the work, the defined goals were mel.
Trang 20M2M - Machine to Machine
MCU - Microcontroller
MOTT - Message Queuing Telemetry Transport
NFC - Near Field Communication
PaaS - plalfortn as a service
PAN - Personal Arca Network
REST - Representation State Transfer
RF - Radio Frequency
RF4CE - Radio Frequency for Consumer Electronics
RFTD- Radio frequency Indentification
ROM - Read-Only Memory
RTOS — Real Tine Operating System
TCP - Transmission Control Protocol
TIA - Telecommunications Industry Association
‘UDP - User Datagram Protocol
‘UL- Unique Identifier
URL - Universal Resource Locator
WiMAX - Worldwide Interoperability for Microwave Access
WPAN - Wireless Personal Area Network
WSN - Wireless Sensor Network
XML- Extensible Markup Language
Trang 21me during my master degree study abroad Without their support, I could not have
had the opportunity to even start my studies.
Trang 22M2M - Machine to Machine
MCU - Microcontroller
MOTT - Message Queuing Telemetry Transport
NFC - Near Field Communication
PaaS - plalfortn as a service
PAN - Personal Arca Network
REST - Representation State Transfer
RF - Radio Frequency
RF4CE - Radio Frequency for Consumer Electronics
RFTD- Radio frequency Indentification
ROM - Read-Only Memory
RTOS — Real Tine Operating System
TCP - Transmission Control Protocol
TIA - Telecommunications Industry Association
‘UDP - User Datagram Protocol
‘UL- Unique Identifier
URL - Universal Resource Locator
WiMAX - Worldwide Interoperability for Microwave Access
WPAN - Wireless Personal Area Network
WSN - Wireless Sensor Network
XML- Extensible Markup Language
Trang 23Figure 4.13: Intorface RockKMongo (mauagement softwaro MongoDB)
dS
Vigure 4.14: Testbed for the Usecase 1loosysleTa
in
Trang 24ABSTRACT
‘this work aims to explain the concepts of the M2M communication and lol’ comecpl, reference mudels, archileclures and protocols used in the Internet of
‘Things My thesis intends to give an overview on the Internet of ‘Things, as well as
helps beginners build Internet of Things applications by their own
In this research, the IoT and M2M communication will be discussed, terms that
have arisen with the creation of devices that can access the network to communicate
and exchange information ‘Those can optimize and facilitate tasks like collecting
information of things and of the environments where they are
The implementation of this thesis aims to build an infrastructure for an IoT
ecosystem with the server responsible for collecting, stormg dala and also to allow
the viewing of the data generated by the motion sensors and cloud, which are
responsible for light monitoring Despite some difficulties encountered during the work, the defined goals were mel.
Trang 25M2M - Machine to Machine
MCU - Microcontroller
MOTT - Message Queuing Telemetry Transport
NFC - Near Field Communication
PaaS - plalfortn as a service
PAN - Personal Arca Network
REST - Representation State Transfer
RF - Radio Frequency
RF4CE - Radio Frequency for Consumer Electronics
RFTD- Radio frequency Indentification
ROM - Read-Only Memory
RTOS — Real Tine Operating System
TCP - Transmission Control Protocol
TIA - Telecommunications Industry Association
‘UDP - User Datagram Protocol
‘UL- Unique Identifier
URL - Universal Resource Locator
WiMAX - Worldwide Interoperability for Microwave Access
WPAN - Wireless Personal Area Network
WSN - Wireless Sensor Network
XML- Extensible Markup Language
Trang 26#igure 2.6: Electric Imp and Thủng Spealc LeT [14] -.- sec LÔ Figure 2.7: Digital Service Cloud IoT foundation [10] - - 17
Figure 2.8: Dala streaming from Galeway to cloud by Armazon Kinesis [10] 18
Figure 2.9: À4Icrosoft lợi foandation [1 5] ào cseecesree 20
Tigure 2.12: Applications of IøT [6] - co 02ctceesrrecee 33
Figure 3.1: Three basic stages of M2M technology [26] - - 36
Figure 3.2: M2M Protocot Stack and Techricat Challenges |29} 42 Figure 3.3: Architecture of M2M system [30] 45
Figure 3.4: Examples of components of M2M system [30] 45
Figure 4.1; House design with distribution of the smart devices im cach area
Figure 4.2: Structure of the Internet of ‘Things sysiem "
Figure 4.4: PIR S€TSOF nh Hh HH Home sine
Figure 4.5; Raspberry Pi 3 [33] tennis ã" SA
Figure 4.7: Connection diagram of Arduino LED and Motion sensor [38] 57
Figure 1.8: Bluetooth connection hetween smart devices with Gateway 68
Wigure 4.10: PLR sensor data à che —
Figure 4.12: Login [or aecess the interface RockMongo - - 73
Trang 27M2M - Machine to Machine
MCU - Microcontroller
MOTT - Message Queuing Telemetry Transport
NFC - Near Field Communication
PaaS - plalfortn as a service
PAN - Personal Arca Network
REST - Representation State Transfer
RF - Radio Frequency
RF4CE - Radio Frequency for Consumer Electronics
RFTD- Radio frequency Indentification
ROM - Read-Only Memory
RTOS — Real Tine Operating System
TCP - Transmission Control Protocol
TIA - Telecommunications Industry Association
‘UDP - User Datagram Protocol
‘UL- Unique Identifier
URL - Universal Resource Locator
WiMAX - Worldwide Interoperability for Microwave Access
WPAN - Wireless Personal Area Network
WSN - Wireless Sensor Network
XML- Extensible Markup Language
Trang 29ABSTRACT
‘this work aims to explain the concepts of the M2M communication and lol’ comecpl, reference mudels, archileclures and protocols used in the Internet of
‘Things My thesis intends to give an overview on the Internet of ‘Things, as well as
helps beginners build Internet of Things applications by their own
In this research, the IoT and M2M communication will be discussed, terms that
have arisen with the creation of devices that can access the network to communicate
and exchange information ‘Those can optimize and facilitate tasks like collecting
information of things and of the environments where they are
The implementation of this thesis aims to build an infrastructure for an IoT
ecosystem with the server responsible for collecting, stormg dala and also to allow
the viewing of the data generated by the motion sensors and cloud, which are
responsible for light monitoring Despite some difficulties encountered during the work, the defined goals were mel.
Trang 30LIST OF ACRONYMS
GLOWPAN - IPvG over Low-power Wireless Personal Arca Networks
API- Application Programming Interface
ARAT — Active Reader active lap,
AWS -— Amazon Web Service
BLE - Bluetooth Low Frergy
BSS - Billing Support sysiem
CoAP - Constrained Application Protocol
DSC - Digital service cloud
DSI - Digital Subscriber Tine
FC2 — amazon Cloud Compute
ETSI - European Telecommurncalions Standards Institute
GSM - The Global System for Mobile Communication
IITTP - Uyper-Text Transfer Protocol
IEEE — Institute of electrical and electronics Engineers
IETF — Internet Engineering Task Force
IoT - Internet of Things
1Ð - Internet Protocol
IPvG - Internet Protocol version 6
ISM - Industrial, Scientific and Medical radio band
ISON - JavaScript Object Notation
LAN- Loval Area Network
LYE - Long-Term Evolution
iv
Trang 31LIST OF ACRONYMS
GLOWPAN - IPvG over Low-power Wireless Personal Arca Networks
API- Application Programming Interface
ARAT — Active Reader active lap,
AWS -— Amazon Web Service
BLE - Bluetooth Low Frergy
BSS - Billing Support sysiem
CoAP - Constrained Application Protocol
DSC - Digital service cloud
DSI - Digital Subscriber Tine
FC2 — amazon Cloud Compute
ETSI - European Telecommurncalions Standards Institute
GSM - The Global System for Mobile Communication
IITTP - Uyper-Text Transfer Protocol
IEEE — Institute of electrical and electronics Engineers
IETF — Internet Engineering Task Force
IoT - Internet of Things
1Ð - Internet Protocol
IPvG - Internet Protocol version 6
ISM - Industrial, Scientific and Medical radio band
ISON - JavaScript Object Notation
LAN- Loval Area Network
LYE - Long-Term Evolution
iv
Trang 32ABSTRACT
‘this work aims to explain the concepts of the M2M communication and lol’ comecpl, reference mudels, archileclures and protocols used in the Internet of
‘Things My thesis intends to give an overview on the Internet of ‘Things, as well as
helps beginners build Internet of Things applications by their own
In this research, the IoT and M2M communication will be discussed, terms that
have arisen with the creation of devices that can access the network to communicate
and exchange information ‘Those can optimize and facilitate tasks like collecting
information of things and of the environments where they are
The implementation of this thesis aims to build an infrastructure for an IoT
ecosystem with the server responsible for collecting, stormg dala and also to allow
the viewing of the data generated by the motion sensors and cloud, which are
responsible for light monitoring Despite some difficulties encountered during the work, the defined goals were mel.
Trang 34LIST OF ACRONYMS
GLOWPAN - IPvG over Low-power Wireless Personal Arca Networks
API- Application Programming Interface
ARAT — Active Reader active lap,
AWS -— Amazon Web Service
BLE - Bluetooth Low Frergy
BSS - Billing Support sysiem
CoAP - Constrained Application Protocol
DSC - Digital service cloud
DSI - Digital Subscriber Tine
FC2 — amazon Cloud Compute
ETSI - European Telecommurncalions Standards Institute
GSM - The Global System for Mobile Communication
IITTP - Uyper-Text Transfer Protocol
IEEE — Institute of electrical and electronics Engineers
IETF — Internet Engineering Task Force
IoT - Internet of Things
1Ð - Internet Protocol
IPvG - Internet Protocol version 6
ISM - Industrial, Scientific and Medical radio band
ISON - JavaScript Object Notation
LAN- Loval Area Network
LYE - Long-Term Evolution
iv
Trang 35me during my master degree study abroad Without their support, I could not have
had the opportunity to even start my studies.
Trang 36#igure 2.6: Electric Imp and Thủng Spealc LeT [14] -.- sec LÔ Figure 2.7: Digital Service Cloud IoT foundation [10] - - 17
Figure 2.8: Dala streaming from Galeway to cloud by Armazon Kinesis [10] 18
Figure 2.9: À4Icrosoft lợi foandation [1 5] ào cseecesree 20
Tigure 2.12: Applications of IøT [6] - co 02ctceesrrecee 33
Figure 3.1: Three basic stages of M2M technology [26] - - 36
Figure 3.2: M2M Protocot Stack and Techricat Challenges |29} 42 Figure 3.3: Architecture of M2M system [30] 45
Figure 3.4: Examples of components of M2M system [30] 45
Figure 4.1; House design with distribution of the smart devices im cach area
Figure 4.2: Structure of the Internet of ‘Things sysiem "
Figure 4.4: PIR S€TSOF nh Hh HH Home sine
Figure 4.5; Raspberry Pi 3 [33] tennis ã" SA
Figure 4.7: Connection diagram of Arduino LED and Motion sensor [38] 57
Figure 1.8: Bluetooth connection hetween smart devices with Gateway 68
Wigure 4.10: PLR sensor data à che —
Figure 4.12: Login [or aecess the interface RockMongo - - 73
Trang 37Figure 4.13: Intorface RockKMongo (mauagement softwaro MongoDB)
dS
Vigure 4.14: Testbed for the Usecase 1loosysleTa
in