soscon2016 daeyoungkim-kaist - final

50
오픈 데이터, 오픈 프로세스, 오픈 서비스를 위한 사물인터넷 플랫폼 - Oliot 오픈소스 프로젝트 - 20161118Professor, School of Computing, KAIST Director, Auto-ID Labs, KAIST Director, Center for Internet of Things, KAIST [email protected] , http://oliot.org, http://autoidlab.kaist.ac.kr , http://resl.kaist.ac.kr http://autoidlabs.org http://gs1.org

Upload: daeyoung-kim

Post on 14-Apr-2017

105 views

Category:

Software


3 download

TRANSCRIPT

오픈 데이터, 오픈 프로세스, 오픈

서비스를 위한 사물인터넷 플랫폼

- Oliot 오픈소스 프로젝트 -

김 대 영

2016년 11월 18일

Professor, School of Computing, KAIST

Director, Auto-ID Labs, KAIST

Director, Center for Internet of Things, KAIST

[email protected], http://oliot.org, http://autoidlab.kaist.ac.kr, http://resl.kaist.ac.kr http://autoidlabs.org http://gs1.org

© Auto-ID Lab Korea / KAIST

Slide 2

슈퍼맨은 지구에서 무슨 일이 일어나는지 알고 싶다.

© Auto-ID Lab Korea / KAIST

Slide 3

사물인터넷은 슈퍼맨의 눈과 귀가 된다

© Auto-ID Lab Korea / KAIST

Slide 4 Internet of Things

Digital Skin of Earth 사물인터넷의 궁극적인 가치와 방향 디지털 스킨 생태계 과 슈퍼 파워

슈퍼인간 슈퍼 소프트웨어

© Auto-ID Lab Korea / KAIST

Slide 5

(Big) Data Technology Era finally arrived

“unstructured data flowing from sensors, RFID…”

We need to transform unstructured one to (semi-) structured one for AI(Watson)

Watson eats data

© Auto-ID Lab Korea / KAIST

Slide 6

사물인터넷 생성 데이터 기록, 공유, 이해

Internet 시대 : 영어, 한글, 일본어, HTML … Internet of Things 시대 : GS1 / Oliot 언어

© Auto-ID Lab Korea / KAIST

Slide 7

협의의 사물 – 스마트 디바이스

Active Things

Wireless Sensors/Actuators

Wearable Mobile Devices

Consumer Electronics

Connected Cars

© Auto-ID Lab Korea / KAIST

Slide 8

광의의 (당연한) 사물 – 수동형 사물 / 인지되는 사물

Passive Things

© Auto-ID Lab Korea / KAIST

Slide 9

광의의 (당연한) 사물 – 사람 / 글(정보) / Virtual Things

Virtual information People Document

© Auto-ID Lab Korea / KAIST

Slide 10

다양한 산업 분야의 Old Boys 사물과 표준들

© Auto-ID Lab Korea / KAIST

Slide 11

Internet of Things in standard and industry landscape (누가 이들을 엮어야 하나요?)

© Auto-ID Lab Korea / KAIST

Slide 12

GS1 (International Standards Organization)

http://gs1.org

GS1 (Global Standards 1)

전세계 155개 국가가 가입한 표준기구

15,000,000 이상의 기업 멤버

IoT 개념 최초 정립 (1999년 Auto-ID Labs)

In 1999, the Internet of Things" was first coined by Kevin Ashton who cofounded the Auto-ID Center(Labs) at the MIT

GS1 Research Partner

Auto-ID Labs (MIT, KAIST, Cambridge, ETH Zurich,

Fudan, Keio)

© Auto-ID Lab Korea / KAIST

Slide 13

Case I : Connected Car : Internet of Things; + Cloud, and + Big Data

• Connected Car World Record Race by HP

© Auto-ID Lab Korea / KAIST

Slide 14

Case II : Healthcare: Internet of Things; + Cloud, and + Big Data

• Withings(Nokia) : Bood Pressure, Scale, wearable sensors

© Auto-ID Lab Korea / KAIST

Slide 15

Observations & Challenges (Analyze Behavior)

Departure?

Replace Tire!

Location? Slippery?

standardized

• Events of vehicles from production to disposal involving replacement, accident, performance, etc.

• Events of vehicles be common from the vehicles of every companies in the world.

© Auto-ID Lab Korea / KAIST

Slide 16

Observations & Challenges (Share Data)

Car Infotainment

Withings

Car Infotainment

Withings

How to standardize

data format in each

industry? Health data? Car data?

How to share data? Withings? VW(Hellion)?

??? (Some Application to

analyze withings data and car data)

Open API

© Auto-ID Lab Korea / KAIST

Slide 17

Observations & Challenges (Dispatch Service)

I want to show driver’s

heart rate from smart

watch in my screen!!

Car Infotainment

How to discover

service? Withings

Fitbit

How to mashup

service? Android Auto

Withings

Withings

??? (How to discover service

and mashup service)

© Auto-ID Lab Korea / KAIST

Slide 18

Requirement: (1) Open Process

Standard Lifecycle Monitoring and Management - Thing itself oriented, not Service oriented - Standard vocabulary

© Auto-ID Lab Korea / KAIST

Slide 19

Requirement: (2) Open Data

Standard Data Contents, Format, Storages, Sharing, and Understanding

Repository data

Repository data

Reposi

tory

refinin

g

Mid

dle

ware

Different Data Contents, Format

Federated repository

Repository data

Standardized Format, Storages Sharing, Understanding

Any third party

Application/service

© Auto-ID Lab Korea / KAIST

Slide 20

Requirement: (3) Open Service

Standard Service Registration, Discovery, and Access - Country, Language support

Hyundai Genesis

Korea Service Discovery

System

U.S. Service Discovery

System

Global Infrastructure

Car ID – H-G-128273

Korean in U.S.

KOR

Register Services

U.S.

Register Services

Car clean?

Car parts?

Ko.part Ko.repair Ko.Bt En.part En.repair En.clean En.oil Ko.clean

Ko.part Ko.clean

Access Services

Discover Services

Register and Manage Services

© Auto-ID Lab Korea / KAIST

Slide 21

Federation

© Auto-ID Lab Korea / KAIST

Slide 22

Open Language for the IoT Federation

KTX169(Things ID) Seoul-Station(Location ID) Depart 19:30(Time) Busan-Station Arrive 22:08, total 20 cars, 2 locomotives, 18 passenger cars(Attributes). Depart from Seoul-Station at 19:30(Event).

KTX169(Things ID) 18:28(Time) Daejeon-Station(Location ID) Arrive(Event), Front locomotive (Things ID) Temperature of first wheel over 100°C(Attribute) Event occurs.

© Auto-ID Lab Korea / KAIST

Slide 23

Magic IoT Book written in Standard Open Language

Human’s History, Knowledge, Social info. are recorded and shared by using various languages.

Then.. How to record and share Internet of Things’ History, Knowledge, Social info?

Open Language Infrastructure for the Federation = Open Process + Open Data + Open Service

© Auto-ID Lab Korea / KAIST

Slide 24

GS1 Standards and Oliot Open Source Project

© Auto-ID Lab Korea / KAIST

Slide 25

GS1 in Healthcare/Medical, Food Safety

• Food Safety Modernization Act (FSMA) was signed on January 4, 2011and aims to ensure the U.S. food supply is safe by shifting the focus from responding to contamination to preventing it

© Auto-ID Lab Korea / KAIST

Slide 26

GS1 in Logistics, Railway

© Auto-ID Lab Korea / KAIST

Slide 27

GS1 Philosophy and Internet of Things

Humans and things

© Auto-ID Lab Korea / KAIST

Slide 29

GS1/EPCglobal Standards GS1/EPCglobal Architectural Framework and Evolution

Applications

Manufacturer Distributor Retailer

Product info.• Technical spec.

• Warranty spec.

• Instruction manual

• etc.

Product history

• Genuine or Imitation

• Freshness

• Where this is from?

• Etc.

Manufacturer EPCIS server

Pro

du

ct q

uery

Korea

JapanChina

Taiwan

Australia

USA

Brazil

Switzerland

England

Object Name Service

(ONS) Server

ONS query

EPC Information Service repository

Filtering &Collection middleware

Capturing Applications

DS query

Application

Real-time feedback

Smart RFID reader

Discovery Service (DS)

EPCIS

ALE

ONS DS GS1 Source

© Auto-ID Lab Korea / KAIST

Slide 30

• Oliot Open Source Project

• Reference implementation of the latest GS1

Standards and IoT enhancements

• GS1 Source • Pedigree • Traceability & Recall • ONS • DS • EPCIS • F&C • IoT connectivity Layer • Dashboard

• http://oliot.org

Oliot Project

© Auto-ID Lab Korea / KAIST

Slide 31

GS1 Railway & MRO

© Auto-ID Lab Korea / KAIST

Slide 32

GS1 Railway & MRO

© Auto-ID Lab Korea / KAIST

Slide 33

GS1 Railway & MRO

© Auto-ID Lab Korea / KAIST

Slide 34

GS1 Moves to B2C from B2B

© Auto-ID Lab Korea / KAIST

Slide 35

Identification Systems

How will you globally identify? Codes

ID Keys : Used to Identify

Global Trade Item Number (GTIN) : Products and services (Can of soup, chocolate bar, music album)

Global Location Number (GLN) : Parties and locations (Companies, warehouses, factories, stores)

Serial Shipping Container Code (SSCC) : Logistics units (Unit loads on pallets, roll cages, parcels)

Global Returnable Asset Identifier (GRAI) : Returnable assets (Pallet cases, crates, totes)

Global Individual Asset Identifier (GIAI) : Assets (Medical, manufacturing, transport and IT equipment)

Global Service Relation Number (GSRN) : Service provider and recipient relationships (Loyalty scheme members, doctors at a hospital, library members)

Global Document Type Identifier (GDTI) : Documents (Tax demands, shipment forms, driving licenses)

Global Identification Number for Consignment (GINC) : Consignments (Logistics units transported together in an ocean container)

Global Shipment Identification Number (GSIN) : Shipments (Logistics units delivered to a customer together)

Global Coupon Number (GCN) : Coupons (Digital coupons)

Component/Part Identifier (CPID) : Components and parts (Automobile parts)

Medical Devices (GTIN)

Rent Car (GRAI)

Train (GIAI)

Section (GLN)

Container (SSCC)

Worker (GSRN)

Certification (GDTI)

Consignment (GINC)

Coupon (GCN)

Shipment (GSIN)

© Auto-ID Lab Korea / KAIST

Slide 36

Global Product Classification (GPC)

A common language for classifying products(things) in the same way

globally

An Industry segmentation or vertical

Categories of like products

Segment

Attribute 1

Attribute 2

Value 1

Value 2

Family A broad division of

a segment

Class

Brick

A group of like categories

© Auto-ID Lab Korea / KAIST

Slide 37

Common Business Vocabulary (CBV)

CBV provides identifiers that may be used as values for EPCIS event data elements.

CBV

Standard Vocabularies

User Vocabularies

Business step

Disposition

Business transaction types

Source/Destination types

Objects

Locations

Business transactions

Source/Destination identifiers

Transformation identifiers

Master Data Attributes and Values for Physical Locations • Site Location • Sub-Site Type • Sub-Site Attributes • Sub-Site Detail

Business step

accepting

arriving

assembling

collecting

commissioning

Consigning

- - - + [32]

urn:epcglobal:cbv:bizstep: accepting

Stored in EPCIS in the form of URI

Also adopted by ISO/IEC ISO/IEC 19987:2015 standard

© Auto-ID Lab Korea / KAIST

Slide 38

EPC Information Service

• EPC Information Service (EPCIS)

• Current Version 1.2, Oct. 2016

• Also adopted by ISO/IEC

ISO/IEC 19987:2015 standard

• Capture standardized visibility data

4 core event data type

1 vocabulary data type

• Share with standardized query interface

Filtering: e.g., object, location

Comparing: e.g., events after a specific time

Sorting: e.g., events sorted by their occurrence time

Limiting: the number of events

© Auto-ID Lab Korea / KAIST

Slide 39

EPC Information Service

EPCIS Capturing Application

Capture Service Listener (Sync/Async)

Capt

ure

Laye

r

Object-Relational Mapper

(POJO Storage Unit)

Document Validator(XSD)

Document Validator(JSON Schema)

JAXB Marshaller(XMLPOJO)

JSON-to-BSON Converter

EPCIS-Client Lib.

REST/HTTPBSON

EPCIS Document[Event Data , Master Data]

SOAP/HTTPREST/HTTPXML/JSON

XML JSON BSON

capture API

• EPCIS 기능 확장 및 성능 향상. • 캡쳐 성능 향상을 위한 경량 캡쳐 인터페이스 (BSON) 설계 및 개발 • 실시간 모니터링을 위한 EPCIS Query Callback Interface 재해석 및

개발 (트리거 기능 지원)

© Auto-ID Lab Korea / KAIST

Slide 40

ONS (Object Naming Service) Internet of Things Service Discovery

Manual Service Object Name Service

(ONS)

manual

html

epcis

Repair Service

© Auto-ID Lab Korea / KAIST

Slide 41

Federated Object Naming Services

Korea

Japan China

Taiwan

Australia

USA

Brazil

France

German

Sunchon Univ.

GS1 Korea

Samsung

KAIST

Local ONS Name Servers

onsepc.kr

Globally Federated ONS Peer Roots

UAE, Saudi Arabia

© Auto-ID Lab Korea / KAIST

Slide 42

Object Name Service support Internationalization

• Object Name Service (ONS) • ONS uses the Domain Name System (DNS) for Service Registration, Discovery, and Access

The GS1 Identification Key will be converted to a domain name and the results must be a valid DNS Resource Record (RR).

Discover Country and Language matched IoT services.

Korea

Japan China

Taiwan

Australia

USA

Brazil

France

German

Sunchon Univ.

GS1 Korea Samsung

KAIST

Local ONS Name Servers

onsepc.kr

Globally Federated ONS Peer Roots

UAE, Saudi Arabia

Withings GS1 ID key - US (02) 061 4141 322602

Withings Application Unique Sting (AUS) – Korean ko | kr | gtin | 00614141322602

Withings Application Unique Sting (AUS) - American en | us | gtin | 00614141322602

Withings Application Unique Sting (AUS) - Australian en | at | gtin | 00614141322602

Heart rate English Australia

Heart rate service?

Country-kr Language-ko

Heart rate Korean Korea

Heart rate English United States

© Auto-ID Lab Korea / KAIST

Slide 43

GS1 Source – Future IoT Meta Data Standards

Today, over 50% of consumers own a smartphone and 70% use their smartphone while shopping in stores.

More and more people are using smartphone to scan product data information.

Source: “Mobile-savvy shopper report”, GS1 UK and Cranfield School of Management

© Auto-ID Lab Korea / KAIST

Slide 44

GS1 Source – Future IoT Meta Data Standards

• GS1 Source is a framework for sharing product information in the digital world.

Application Developers

Brand Owners

Consumers

Data Aggregators

Brand Owners

Trusted Source of Data Framework Architecture

The aim of the TSD framework is to support the communication of authentic and accurate product data by brand owners to consumers/shoppers, retailers, internet applications, and government using internet and mobile devices.

© Auto-ID Lab Korea / KAIST

Slide 45

Trusted Source of Data (TSD) Framework Standards

• MongoDB 3.0

• Spring Framework

• Tomcat 7.0

© Auto-ID Lab Korea / KAIST

Slide 46

We remodel GS1 Architecture for IoT

© Auto-ID Lab Korea / KAIST

Slide 47

• Oliot Open Source Project

• Reference implementation of the latest GS1

Standards and IoT enhancements

• GS1 Source • Pedigree • Traceability & Recall • ONS • DS • EPCIS • F&C • IoT connectivity Layer • Dashboard

• http://oliot.org

Oliot Project

© Auto-ID Lab Korea / KAIST

Slide 48

Oliot Industrial Application Projects

© Auto-ID Lab Korea / KAIST

Slide 49

Conclusion

Internet of Things in Data Technology Viewpoint - Openness, Scalability, Globalization - Open Process, Open Data, and Open Service - Building IoT Federation is important (eg. GS1, oneM2M, OCF, FIWARE, Apple, Google…)

© Auto-ID Lab Korea / KAIST

Slide 50

오픈소스 커뮤니티 초대 (2017년 활성화)

오픈소스 개발자 산업 분야 표준 개발 (스마트팜,푸드서비스,헬스케어,자동차,스마티시티, 스마트팩토리 …) 서비스 개발 https://www.facebook.com/groups/oliot/ http://oliot.org http://gs1.org http://autoidlabs.org http://autoidlab.kaist.ac.kr http://resl.kaist.ac.kr Contact : 김대영 [email protected]