ipv6 deployment status in taiwan the 1st global ipv6 ... · 1 黃能富教授,...

18
1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 IPv6 物聯網智慧應用計畫」 IPv6 enable Sensors

Upload: others

Post on 29-Oct-2019

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

1

黃能富教授, 國立清華大學資訊工程系

26 March, 2013

「IPv6 物聯網智慧應用計畫」

IPv6 enable Sensors

Page 2: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Outline

• IPSO introduction

• Software stack

– Contiki O.S. introduction

– uIPv6 library introduction

– CoAP Protocol introduction

• System component

– Sensor platform

– Plug-in module

• Application scenario

Page 3: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Introduction

• Internet of Things represented as

– "Worldwide network inter connecting Things/Objects"

• Objects/Things could be sensor, RFID tag, mobile

devices etc.

• IoT will improve ultimately the quality of life

Page 4: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Introduction

• Internet of Things brings out

– New services and applications

• M2M, remote management

– New Markets

• Process Control for factories

• Control and Automation for home, building, cities

– Larger Core Market

• Open standards to the sensor

– Lower cost

– More connected devices and new applications

– A wider Internet

Page 5: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Introduction

• System architecture

Page 6: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Software stack-Contiki

• Contiki O.S. introduction

– Open source-BSD license

• C programming language

– Released in March 2003 by Adam Dunkels

– Highly portable

• Tmote sky, Jcreate, TelosB, MSB, ESB… sensor

devices

• Simulators: Cooja, MSPsim, AvroraZ, netsim

• Native platform

– Dynamic program loading

Page 7: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Software stack-Contiki

• Contiki O.S. features

– Multitasking kernel

– Preemptive scheduling

– Managed memory allocator

– Proto-threads

– TCP/IP networking, including IPv6

– Support CoAP protocol

Page 8: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Software stack-uIP

• uIP introduction

– An open source TCP/IP stack for wireless sensor object.

– Widely used in the embedded systems and several

platforms

– Provide IPv6 stack for wireless sensor device.

– Support by

Page 9: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Software stack-uIP

• uIP features

– World’s smallest TCP/IP stack

– Open source project

– 4 KB code, 1 KB RAM

– Fully RFC compliant

– IP, ICMP, UDP, TCP

Page 10: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Software stack-CoAP

• CoAP introduction

– A software protocol intended to be used in very

simple electronics devices that allows them to

communicate interactively over the Internet.

– CoAP is an application layer protocol that is

intended for use in resource-constrained internet

devices, such as WSN nodes.

Page 11: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Software stack-CoAP

• CoAP features

– RESTful protocol design minimizing the

complexity of mapping with HTTP.

– Low header overhead and parsing complexity.

– URI and content-type support.

– Support for the discovery of resources provided by

known CoAP services.

– Simple subscription for a resource, and resulting

push notifications.

– Simple caching based on max-age.

Page 12: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Hardware Components

• Sensor device

– Octopus II platform

• CC2420-IEEE 802.15.4 wireless transceiver

• MSP430-8MHz Core microcontroller

• Expandable flash memory – up to 1 MB

• External oscillator – For the deep sleep mode

• A connector with expansion I/O pins

• Sensor devices

– Light sensors

– Temperature-humidity sensor

Page 13: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Hardware Components

• Octopus II

Page 14: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Hardware Components

• Plug-in module

– Speaker module

• Speech synthesizer bee

• Xbee pin spec.

• Connected with Octopus II through UART

Page 15: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Hardware Components

Page 16: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Application Scenario

• Safe building system

– Prevent some accident on a building

• Such as: fire accident, earthquake

– Developed program on IPv6 sensor

• Accident detection algorithm

• Escaping algorithm

– Placed IPv6 sensor devices in a building.

– Speaker guides people to escape from building.

Page 17: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Application Scenario

Page 18: IPv6 Deployment Status in Taiwan The 1st Global IPv6 ... · 1 黃能富教授, 國立清華大學資訊工程系 26 March, 2013 「IPv6 物聯網智慧應用計畫」 IPv6 enable

Software stack