gs1 standards and oliot open source project for the internet of things

52
GS1 Standards and Oliot Open Source Project for the Internet of Things Daeyoung Kim June 23, 2014 Director of Auto-ID Lab at KAIST Professor, Computer Science Department, KAIST [email protected] http://resl.kaist.ac.kr http://autoidlabs.org http://autoidlab.kaist.ac.kr http://oliot.org

Upload: daeyoung-kim

Post on 16-Apr-2017

2.206 views

Category:

Software


3 download

TRANSCRIPT

GS1 Standards and Oliot Open Source

Project for the Internet of Things

Daeyoung Kim

June 23, 2014 Director of Auto-ID Lab at KAIST

Professor, Computer Science Department, KAIST

[email protected] http://resl.kaist.ac.kr http://autoidlabs.org

http://autoidlab.kaist.ac.kr http://oliot.org

(CASE I) Healthcare Application

- KAIST Dr. M Project

Health

Monitoring Medical Assistance

DrM Database

20132012

2011

Real-time Monitoring Data

Historical Data

DrM Database

Bio Optic Sensor

Bio Optic Sensor

Healthcare

Watch

Healthcare

Watch

EEG biotelemetry

Blood

Pressure

Blood

Pressure

stick-onHeart Rate Sensor

Virus Monitoring

Virus Monitoring

Foot SensorFoot Sensor

Smart SensorsSmart Sensors

ECG SensorECG Sensor

EEG biotelemetry

stick-onHeart Rate Sensor

Machine LearningMachine LearningBig AnalyticsBig Analytics

Prediction

Disease knowledge

Sensors Communications, IoT Platform

Analysis

Prediction

Discover

Knowledge

FDA/GS1 UDI

(CASE II ) Smart Agriculture and Food Safety

- Food Traceability System (Now)

4

(CASE II ) Smart Agriculture and Food Safety

- Food Traceability System (Now)

[1] Track & Tracing & Recall [2] Smart Agriculture (Sensors & Actuators)

[3] Global Access

[4] Processed

Foods [5] Smart Services &

BigData

(CASE II ) Smart Agriculture and Food Safety

- Food Traceability System (Future)

Future Internet ?

New Internet Society

Internet of Things

– Which is right direction?

Internet of Things

– Which is right direction?

Internet of Things

– Which is right direction?

Positioning Baseline Infrastructure

GS1 Philosophy and Internet of Things

Humans and things

GS1 a long time ago …

Home of Internet of Things

GS1 & Auto-ID Labs

In 1999, the Internet of Things" was first

coined by Kevin Ashton who cofounded

the Auto-ID Center at the MIT

Business Processes

and Applications

Software and Network

Hardware

GS1 Member Organizations

GS1 - Essentials

GS1 – Who do we represent?

Regulation EU No 1169/2011

Food Information Regulation

GS1 – UDI Code for Medical Devices

Toward GS1 Internet of Things Platform

We will cover bellows, but not limited

Passive Things Active Things Wireless Sensors/Actuators

Smart Devices

Consumer Electronics

Knowledge

Internet of Things Conceptual Architecture

Future IT Eco-System

Human Information

Thing Information

Context-aware

Services

Social Network Service

M2M networking of

Home Devices

Internet Browsing

Entertainment

(Multimedia & Game)

Home Surveillance

Augmented Reality

Big DataAnalysis

Cloud Computing

Internet of Things

Cloud Computing

Internet of Things

User log, Business

activity logs, etc.

Internet contents,

SNS, etc.

Everyday objects Multimedia (video,

audio), etc.

Social Network Service for IoT

Three Musketeers; One for All, and All for One

GS1 Standards &

Internet of Things Research

Based on GS1 Philosophy and

Technology at Auto-ID Lab KAIST

Oliot, (Snail, Seahaven, Lilliput

IoTMaaS, GPUCLOUD, CRADHN)

Food SCM and Safety System Project,

(Dr. M Project, SoC Management System Project)

GS1/EPCglobal Standards

• Integrating Data Carriers to Business Applications

• Enabled by code systems

• Global Product Classification (GPC)

• GS1 Keys

• Electronic Product Code (EPC)

GS1/EPCglobal Standards

- Global Product Classification (GPC)

• Global Product Classification (GPC)

– http://www.gs1.org/1/productssolutions/gdsn/gpc/browser/index.html

Category selection

Code for bananas classes with

different attribute

• GTIN Global Trade Item Number

• LGTIN GTIN + Lot/Batch

• SSCC Serial Shipping Container Code

• SGLN Global Location Number + optional Extension

• GRAI Global Returnable Asset Identifier

• GIAI Global Individual Asset Identifier

• GSRN Global Service Relation Number

• GDTI Global Document Type Identifier

• SGCN Serialized Global Coupon Number

GS1/EPCglobal Standards

- GS1 Keys

• GTIN (Global Trade Item Number)

• The GTIN Family of Data Structures

UPC: Universal Product Code

EAN: European Article Number

UCC: Uniform Code Council

ITF: Interleaved Two of Five

GS1/EPCglobal Standards

- GS1 Keys

• GLN, GTIN, and SSCC

GS1/EPCglobal Standards

- GS1 Keys

• GRAI (Global Returnable Asset Identifier)

– used to identify returnable assets, re-usable packages, or transport equipment, such as a tray, pallet, or beer keg.

– the asset being used for the purpose of tracking its location and return.

– as part of a lease or rental system.

• GIAI (Global Individual Asset Identifier)

– e.g., office equipment, transport equipment, IT equipment, vehicles, etc.

• GSRN (Global Service Relation Number)

– e.g., club membership, loyalty programmes, a patient in a hospital, or employees

ECG measurement device (GRAI)

Surgical equipment (GIAI)

Membership ID (GSRN)

Patient ID in hospital

(GSRN) Surgical tools (GIAI)

GS1/EPCglobal Standards

- GS1 Keys

• EPC

– universal identifier that provides a unique identity for any physical

object

GS1/EPCglobal Standards

- Electronic Product Code (EPC)

• SGTIN (Serialized Global Trade Item Number)

GS1/EPCglobal Standards

- Electronic Product Code (EPC)

• EPC Binary encoding

• EPC Tag URI

• EPC Pure Identity URI

• GS1 Element String

GS1/EPCglobal Standards

- EPC Encodings

Examples of GTIN and Serial Number (SGTIN) in Different

Syntaxes

• EPC global Architectural framework

GS1/EPCglobal Standards GS1/EPCglobal Architectural Framework

Identification

& sensing

Data filtering

& grouping

Data store and

share

Item Discovery &

Information search

Frédéric Thiesse, Christian Floerkemeier, Mark Harrison, Florian Michahelles, Christof Roduner, "Technology, Standards, and Real-World Deployments of the EPC Network," IEEE Internet Computing, vol. 13, no. 2, pp. 36-43, March-April 2009

Bar Code

Scanner

Output

GS

1 E

lem

en

t S

trin

g

01

80

61

41

41

12

345

821

678

9

GS1/EPCglobal Standards GS1/EPCglobal Architectural Framework

with Supply Chain Example

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

duct q

uery

Korea

Japan China

Taiwan

Australia

USA

Brazil

Switzerland

England

Object Name Service

(ONS) Server

ONS query

EPCIS

repository

F&C

middleware

Capturing Applications

DS query

Application

Real-time feedback

Smart

RFID

reader

Discovery Service (DS)

Object Name Service for Internet of Things

Manual Service Object Name Service

(ONS)

manual

html

epcis

ONS 2.0 Architecture

ONS Application

GS1 ID AUS

ONS Client

FQDN NAPTR

RecursiveName Server

EPCIS Server

ONS Peer Roots

(1)(2)

(3)(4)

(5) (6)

(7)

(8)

Federated ONS Architecture

ONS Query response

• ONS Query for ONS Query Responses for the domain name

• ONS Query Response contains a set of Naming Authority PoinTeR (NAPTR) Records

ONS Query

0.0.6.2.2.3.1.4.1.4.1.6.0.gtin.gs1.id.onsepc.com

Globally Federated ONS Peer Roots

Pilot Testbed Plan for Federated

ONS

Korea

Japan China

Taiwan

Australia

USA

Brazil

Switzerland

England

Sunchon

Univ.

GS1 Korea

Samsung

KAIST

Local ONS Name Servers

onsepc.kr

EPCIS (EPC Information Service)

Internet of Things Global Data Repository

35

RFID Reader

& Antenna

Barcode

Reader

ALE – Event Capturing

Everyday

Object

EPCIS – Visibility Event Data

TDS – Unification of GS1 Codes

Attaching

EPC Tag

Attaching

Bar Code

Capturing Interface

Query Interface

Business Apps.

GS1 Source

GS1 Source is a framework for

Sharing product information in the

Digital world.

• Comparison between two Search Engines

GS1 Digital in standardization now

What can you find on Internet now?

Schick quattro titanium razor

Schick quattro titanium razor

Missing

retailers Missing reviews

Different

image

Different

name

Different

highlight

Different

pricing

Source: Enabling the “digital” revolution in retail (McKinsey, 2013)

Improved search by GS1 Digital

Source: Enabling the “digital” revolution in retail (McKinsey, 2013)

SE sees GTIN in HTML

Search engine (SE) finds

initial search term on 1st

retailer's webpage

SE switches from text-

based to GTIN-based

search, and finds 2nd

retailer’s webpage

SE returns all results,

regardless of initial search

term

1 2 3 4

Retailer Retailer 1

Product Dixie combo pack 168

Price $12.59

<html>

<meta name=“GTIN”

content=“0012345678901”>

</html> Retailer Retailer 2

Product Dixie combo box 168

Price $10.21

<html>

<meta name=“GTIN”

content=“0012345678901”>

</html> Retailer 1

Dixie combo pack 168

$12.59

Retailer 2

Dixie combo set 168

$10.21

ILLUSTRATIVE PROCESS Dixie combo pack 168

Retailer

Product

Price

Retailer

Product

Price

Oliot for GS1 based Open Source IoT Platform (Open Language for Internet of Things)

• GS1 EPCglobal Network on the Cloud

for Groceries Trace Framework since 2013

– Complete Implementation of GS1

EPCglobal Network

– EPCIS Enhanced with NOSQL DB

– Cloud Support

– ELFIN: Enhanced LLRP- enabling

Framework for the INternet of Things

– Geo-discovery Service

– ONS 2.0.1 implemented

• Smart Thing Information Service

(STIS) since 2005, 2011

– Expand GS1 EPCglobal Network to

integrate various sensor network protocols

– Successor of EPC Sensor Network

– ZigBee, 6LoWPAN/CoAP integration

– Obix integration, etc.

Open Language for the Internet of Things

• Open Language for IoT (Oliot) is an ID-based IoT framework.

– Based on GS1 standard ID (e.g., URI-convertible GTIN)

• Goal

– Is to build a ID-based framework to identify, capture, control and share

information about smart things

Passive Tags

(e.g., passive

tags, barcode)

Sensor & Actuator Networks(e.g., ZigBee, 6LoWPAN, Mobile phone, BLE,

AllJoyn, lwM2M etc.)

Active Tags (e.g.,

Wireless ID and Sensor

Networks)

RFID Middleware

LLRP LLRP Sensor & actuator protocols Sensor & actuator protocols

Domain-specific capturing application

Domain-specific accessing applications

Sensor Interface

Sensor interface

EPC Information Service

(static and dynamic information)

ALE

Actuation Interface

Sensor & Actuator Middleware

Object

Name

Service

Discovery

Service

ZigBee6LoWPAN/

CoAPMQTT

Web

service-*REST

Other

Comm.

RFID stream processing

Logical RFID

reader

Reader

Management

Sensor stream

processing

Sensor & actuator

Management

ID-Sensor stream

processing

Oliot Scope Smart Things’ Control & Data Acquisition

• Enabling searches for an item or a class of items that satisfies

certain sensor values or attributes.

Se

nso

r tag

(e.g

., Inte

l WIS

P)

e.g., cool juice A Patient with her states

20dB 50dB 40dB

70dB 50dB 25dB

silent tables

4인 3T,

소근소근

Full, 시끄러움

Full, 조용,

몬순 커피

2인2T

테이블 4, 조용

휴업

2인

4T

4인

2T

4인

2T

8인 2T, 조용

4인 3T, 시끄러움

∆t

Sensor stream Processing

& actuation Distributed

Storage

Interacting with

Smart Things Search &

discovery

Actuators (e.g.,

appliances)

Passive Tags

(e.g., passive

tags)

Sensor & Actuator Networks(e.g., ZigBee, 6LoWPAN, Mobile phone, etc.)

Active Tags (e.g.,

Wireless ID and Sensor

Networks)

RFID Middleware

LLRP LLRP Sensor & actuator protocols Sensor & actuator protocols

Object orchestration and organization management

Domain-specific applications

Sensor Interface

Sensor interface

Smart Things Information Service

(static and dynamic information)

ALE

Actuation Interface

Sensor & Actuator Middleware

ONS

Discovery

Service

ZigBee6LoWPAN/

CoAPMQTT

Web

service-*REST

Other

Comm.

RFID stream processing

Logical RFID

reader

Reader

Management

Sensor stream processingSensor & actuator

Management

Oliot Scope Smart Things’ Control & Data Acquisition

• RFID networks

– Passive & active tags

• Wireless Identification and Sensor

Networks (WISN)

– Active tag networks

– Leverage features of Wireless mesh netw

orks

• Sensor and actuator networks

– LLRP, CoAP/6LoWPAN, ZigBee, MQTT,

Alljoyn, lwM2M, etc.

RFID Reader

Ant1 Ant2 Ant3

Conventional RFID networks Wireless ID and sensor networks

EPC

EPCEPC

EPC

EPC

EPC EPC

EPC

EPC

Active

tagEPC

Mobilephone sensing Barcode

Stream processing

Oliot Scope

ID & sensor stream processing

• RFID, sensor, and actuator

• adaptation

Complexity of

heterogeneity and

network distribution

∆t

#1441

Door 1

Window 1

Door 2

Window 2

RFID & sensor stream △

Heterogeneous

sensors ▷

∆t

Sensor stream Processing

& actuation Distributed

Storage

Interacting with

Smart Things Search &

discovery

Oliot Scope

ID & sensor stream processing • Object abstraction via Sensor & actuator

device framework adaptation

• RFID stream processing & interfaces

– Filtering & Grouping

• RFID data report & management

• Sensor stream processing & interfaces

– Heterogeneous sensor stream adaptation

– Composite sensors streams

Composite sensors

(e.g., human detector)

*Source: http://www.cs.duke.edu/~kmoses/cps516/dstream.html

Stream filtering & grouping*

Direct interaction

Middleware Abstraction

Passive Tags

(e.g., passive

tags, barcode)

Sensor & Actuator Networks(e.g., ZigBee, 6LoWPAN, Mobile phone, BLE,

AllJoyn, lwM2M etc.)

Active Tags (e.g.,

Wireless ID and Sensor

Networks)

RFID Middleware

LLRP LLRP Sensor & actuator protocols Sensor & actuator protocols

Domain-specific capturing application

Domain-specific accessing applications

Sensor Interface

Sensor interface

EPC Information Service

(static and dynamic information)

ALE

Actuation Interface

Sensor & Actuator Middleware

Object

Name

Service

Discovery

Service

ZigBee6LoWPAN/

CoAPMQTT

Web

service-*REST

Other

Comm.

RFID stream processing

Logical RFID

reader

Reader

Management

Sensor stream

processing

Sensor & actuator

Management

ID-Sensor stream

processing

Oliot Scope

Smart Thing Information Services

• Diverse types of information for (smart) things

*Source: http://www.sas.com/en_us/insights/big-data/data-visualization.html

Data analysis

Context extraction

Visualization & Interpretation*

Profile

Historical data

∆t

Sensor stream Processing

& actuation Distributed

Storage

Interacting with

Smart Things Search &

discovery

Passive Tags

(e.g., passive

tags, barcode)

Sensor & Actuator Networks(e.g., ZigBee, 6LoWPAN, Mobile phone, BLE,

AllJoyn, lwM2M etc.)

Active Tags (e.g.,

Wireless ID and Sensor

Networks)

RFID Middleware

LLRP LLRP Sensor & actuator protocols Sensor & actuator protocols

Domain-specific capturing application

Domain-specific accessing applications

Sensor Interface

Sensor interface

EPC Information Service

(static and dynamic information)

ALE

Actuation Interface

Sensor & Actuator Middleware

Object

Name

Service

Discovery

Service

ZigBee6LoWPAN/

CoAPMQTT

Web

service-*REST

Other

Comm.

RFID stream processing

Logical RFID

reader

Reader

Management

Sensor stream

processing

Sensor & actuator

Management

ID-Sensor stream

processing

Oliot Scope

Smart Thing Information Services

• Historical events data storage

– Time-series event data

• ID, location, time, sensor values, etc.

• Static master data storage

– Master data for ID interpretation

e.g., GLN id => location (x, y) and address

• Data analysis and visualization

– Offline learning with historical data

1 Source: http://docs.oracle.com/cd/E13197_01/rf

id/enterprise_server/docs20/epcis/master.html

Time series data Data analysis & visualization Static Master data

Oliot Scope

Object Name Service

• Product and devices (i.e., Smart Things) Information

∆t

Sensor stream Processing

& actuation Distributed

Storage

Interacting with

Smart Things Search &

discovery

Passive Tags

(e.g., passive

tags, barcode)

Sensor & Actuator Networks(e.g., ZigBee, 6LoWPAN, Mobile phone, BLE,

AllJoyn, lwM2M etc.)

Active Tags (e.g.,

Wireless ID and Sensor

Networks)

RFID Middleware

LLRP LLRP Sensor & actuator protocols Sensor & actuator protocols

Domain-specific capturing application

Domain-specific accessing applications

Sensor Interface

Sensor interface

EPC Information Service

(static and dynamic information)

ALE

Actuation Interface

Sensor & Actuator Middleware

Object

Name

Service

Discovery

Service

ZigBee6LoWPAN/

CoAPMQTT

Web

service-*REST

Other

Comm.

RFID stream processing

Logical RFID

reader

Reader

Management

Sensor stream

processing

Sensor & actuator

Management

ID-Sensor stream

processing

Oliot Scope

Object Name Service

ONS Application

GS1 ID AUS

ONS Client

FQDN NAPTR

RecursiveName Server

EPCIS Server

ONS Peer Roots

(1)(2)

(3)(4)

(5) (6)

(7)

(8)

Federated ONS Architecture

• Object tagging and product information

retrieval

Korea

Japan China

Taiwan

Australia

USA

Brazil

Switzerland

England

ONS Query response

Oliot Scope

Discovery Service

• Search for product history

• Search for retailer locations which sell the desired EPC products.

Supply chain

1km

Nearby product discovery

∆t

Sensor stream Processing

& actuation Distributed

Storage

Interacting with

Smart Things Search &

discovery

Passive Tags

(e.g., passive

tags, barcode)

Sensor & Actuator Networks(e.g., ZigBee, 6LoWPAN, Mobile phone, BLE,

AllJoyn, lwM2M etc.)

Active Tags (e.g.,

Wireless ID and Sensor

Networks)

RFID Middleware

LLRP LLRP Sensor & actuator protocols Sensor & actuator protocols

Domain-specific capturing application

Domain-specific accessing applications

Sensor Interface

Sensor interface

EPC Information Service

(static and dynamic information)

ALE

Actuation Interface

Sensor & Actuator Middleware

Object

Name

Service

Discovery

Service

ZigBee6LoWPAN/

CoAPMQTT

Web

service-*REST

Other

Comm.

RFID stream processing

Logical RFID

reader

Reader

Management

Sensor stream

processing

Sensor & actuator

Management

ID-Sensor stream

processing

Oliot Scope

Discovery Service

• Search for any smart things with ID

• To search for items with given attribute

information

• Federated architecture for scalable

discovery

Discovery Service

ONS

Client

EPCIS A EPCIS B EPCIS C

Query DS address

Use API

Query location information

Register location Information

KAIST

Discovery

Service

ONS

Client

Qu

ery

for

ad

dre

ss o

f

DS

Ad

dre

ss o

f

DS

My lost thing

Passive Tags

(e.g., passive

tags, barcode)

Sensor & Actuator Networks(e.g., ZigBee, 6LoWPAN, Mobile phone, BLE,

AllJoyn, lwM2M etc.)

Active Tags (e.g.,

Wireless ID and Sensor

Networks)

RFID Middleware

LLRP LLRP Sensor & actuator protocols Sensor & actuator protocols

Domain-specific capturing application

Domain-specific accessing applications

Sensor Interface

Sensor interface

EPC Information Service

(static and dynamic information)

ALE

Actuation Interface

Sensor & Actuator Middleware

Object

Name

Service

Discovery

Service

ZigBee6LoWPAN/

CoAPMQTT

Web

service-*REST

Other

Comm.

RFID stream processing

Logical RFID

reader

Reader

Management

Sensor stream

processing

Sensor & actuator

Management

ID-Sensor stream

processing

• July 7 2014 – oliot 1.0 (latest implementation of EPCglobal framework, run on any cloud and supporting mysql and cassandra)

• 4Q 2014 – oliot 1.1 (provide EPCIS 1.1, strengthened to support food industry)

• 2015 – oliot 2.0 (support internet of things, merging auto-id lab, KAIST’s Epc sensor network, STIS and more)

Oliot Release Plan

Smart Agriculture and Food Safety

Systems Pilot Project