12
Copyright 2014 FUJITSU LIMITED Service platform with Web based interface to control devices 25 June 2014 Ryuichi Matsukura, Jun Kakuta Fujitsu Limited / Fujitsu Laboratories Limited [email protected] W3C Workshop on the Web of Things

Service platform with Web based interface to control devices › 2014 › 02 › wot › slides › matsukura.pdf · 2014-06-30 · Service platform can flexibly connect with multi

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Service platform with Web based interface to control devices › 2014 › 02 › wot › slides › matsukura.pdf · 2014-06-30 · Service platform can flexibly connect with multi

Copyright 2014 FUJITSU LIMITED

Service platform with Web based

interface to control devices

25 June 2014

Ryuichi Matsukura, Jun Kakuta

Fujitsu Limited / Fujitsu Laboratories Limited

[email protected]

W3C Workshop on the Web of Things

Page 2: Service platform with Web based interface to control devices › 2014 › 02 › wot › slides › matsukura.pdf · 2014-06-30 · Service platform can flexibly connect with multi

Background

Many devices connect to Network

Home appliances

Housing devices

Sensors

Electric vehicle

M2M services are newly released

Home Energy Management System

Home Security

Healthcare

Service platform is required for multi devices and multi service

Our work is applied for mainly home devices and some shop facilities

Copyright 2014 FUJITSU LIMITED

Home

appliance

Housing

devices

sensors

Electric

vehicle

Service platform

HEMS Healthcare

Home security

1

Page 3: Service platform with Web based interface to control devices › 2014 › 02 › wot › slides › matsukura.pdf · 2014-06-30 · Service platform can flexibly connect with multi

What is service platform?

Advantage of Service Platform

If service platform dose not exit, (LEFT)

different applications depend on different device interfaces.

Service platform (RIGHT)

- provides common interfaces for developers.

- makes developing application easier.

Copyright 2014 FUJITSU LIMITED

Application

Interface

Device

Interface

LAN Wireless UART

RS-485

Home Controller

Application B

Home Controller

Device 1 Device 2

LAN

Home Controller

Device 4

Service platform

Device 3

Application A Application C

Device 1 Device 2 Device 4 Device 3

Application B Application A Application C

2

Page 4: Service platform with Web based interface to control devices › 2014 › 02 › wot › slides › matsukura.pdf · 2014-06-30 · Service platform can flexibly connect with multi

Deployment of service platform

2 types of deployment for service platform

Copyright 2014 FUJITSU LIMITED

Cloud

Internet Appli-

cation A

Appli-

cation B

Device 1 Device 2

Appli-

cation C

Device 3

e.g. Home controller

Device 1 Device 2 Device 3

e.g. Home gateway

Appli-

cation A

Appli-

cation B

Appli-

cation C

e.g. Middleware on cloud

Service

Platform

【Aggregate type】

All functions run on one computer

【Distribute type】

Application interface and Device interface

run on Cloud and Gateway separately

3

Page 5: Service platform with Web based interface to control devices › 2014 › 02 › wot › slides › matsukura.pdf · 2014-06-30 · Service platform can flexibly connect with multi

Home network

Functional architecture

Functions are composed of 3 categories

Application execution with Web based interface

Device remote operation with Standardized device interface

Remote management with device and local network

Copyright 2014 FUJITSU LIMITED

Cloud Internet

Management

HTTP/IP

conversion

Application

s

Management PF HGW

Virtual

device

Device

Object

IP Packets

Processing

Home Energy

Management

Home

Security

Healthcare Ap

plic

ation

In

terf

ace

WAN WAN IP HN

Command Application interface Command

Resource Info.

Collector Management

Data Format

Conversion

Application for

disconnect

Managed

agent Resource

management

Management

Applications Management

Applications

management

HTTP

Processing

Application Execution with

Web based interface

Device Operation with

Standardized device interface

Management with Device and

network management protocol

Device /

Adapter

4

Page 6: Service platform with Web based interface to control devices › 2014 › 02 › wot › slides › matsukura.pdf · 2014-06-30 · Service platform can flexibly connect with multi

Devices applicable to service platform

Basic devices as regular device for service platform

logical model of internal status and control item for device mechanical functions

same models for same categories even if different manufacturers produce them

Model is extensible according to special feature for manufacturers

Basic devices support standardized interface such as ECHONET Lite, KNX, SEP 2.0 …

ECHONET Lite: logical models of more than 80 devices are already defined

Copyright 2014 FUJITSU LIMITED

Property Value

Operating status ON/OFF

Operating mode Auto/Cooling/Heating/ …

Temperature setting Temperature value, e.g. 28℃

Fault occurrence status Fault YES/NO

・・・

Example: Air conditioner class

5

Page 7: Service platform with Web based interface to control devices › 2014 › 02 › wot › slides › matsukura.pdf · 2014-06-30 · Service platform can flexibly connect with multi

Basic device operation

HGW convert device command between local network and Internet

Tuple of <property, value> is data format for controlling device

Device command transfers this tuple with IP on local and HTTP on Internet

Virtual device on Management PF corresponds to device object of basic device

If property of Virtual device is modified by application, then property of basic device is also modified and status of real device is changed

Application interface is Web based interface

Virtual devices is treated as Web resources in our implementation

Copyright 2014 FUJITSU LIMITED

XML based tuple

transferred on HTTP

Dedicated format of

tuple transferred on IP

HTTP / IP

Conversion

Management PF HGW Basic Device

Virtual device Device object

IP packet

processing Applic

atio

n

Inte

rfac

e

WAN IP HN

Command Command Data Format

Conversion

HTTP

processing

HEMS

Home

security

Web based

interface

6

Page 8: Service platform with Web based interface to control devices › 2014 › 02 › wot › slides › matsukura.pdf · 2014-06-30 · Service platform can flexibly connect with multi

Device operation without device object

Non basic device can also connect to service platform

Adapter have device object instead of non basic device.

Device interface conversion on adapter communicate with device on dedicated protocol and convert non basic device to device object.

HGW and Non basic device can get all functions of adapter in them.

Copyright 2014 FUJITSU LIMITED

HTTP / IP

Conversion

Management PF HGW Adapter

Virtual device Device object

IP packet

processing

Applic

atio

n

Inte

rfac

e

WAN IP HN

Command Command Data Format

Conversion

HTTP

processing

Non Basic Device

L2 frame

processing Non-IP HN

Device

interface

conversion

L2 frame

processing

7

Page 9: Service platform with Web based interface to control devices › 2014 › 02 › wot › slides › matsukura.pdf · 2014-06-30 · Service platform can flexibly connect with multi

Sample applications for service platform

24 facilities with 28 kinds of 820 devices

ECHONET Lite is used as a communications protocol

Copyright 2010 FUJITSU LIMITED

Internet

Service provider

Experimental smart home

Shops ( Gas station )

Schools

Residential buildings

Sample application for home

Sample application for school

200 devices connected

Home appliances (e.g. air conditioner,

lighting), power equipment (e.g.

photovoltaic generation, storage

battery, fuel cell), Interior (e.g.

controllable windows, curtain), 10

kinds of sensors, smart meter

connected with ECHONET Lite

350 devices connected in 15 houses

Air conditioner and lighting with

ECHONET Lite, 4 kinds of sensors

with dedicated protcol

220 devices connected in 3 shops

Air conditioner, lighting in yard, power

equipment, 10 kinds of sensors with

ECHONET Lite using adapters

40 devices connected in 5 schools

Lighting, 5 kinds of sensors with

dedicated protocol

8

Page 10: Service platform with Web based interface to control devices › 2014 › 02 › wot › slides › matsukura.pdf · 2014-06-30 · Service platform can flexibly connect with multi

Conclusion

Service platform can flexibly connect with multi services and multi devices

Platform provide Web based interface to control device on local network

ECHONET Lite is used in our implementation. Other standard can be also applied to this service platform

Framework for Web of things should support existing devices

Lots of devices have no Web based interfaces.

One of the framework for WoT should include the idea of this service platform

Copyright 2014 FUJITSU LIMITED 9

Page 11: Service platform with Web based interface to control devices › 2014 › 02 › wot › slides › matsukura.pdf · 2014-06-30 · Service platform can flexibly connect with multi

Copyright 2013 FUJITSU LIMITED

Demonstration Structure

Air conditioner and lighting in the experimental house located in Kanazawa, Japan will be controlled from here (ITU meeting room) with the HEMS application through the Management PF and the HGW.

Experimental House

Server located

in Nagoya, Japan

Appli-

cation

Management

PF HGW

Adapter Non-Basic

Device

IP Basic

Device

Inside the home (Home Network) Outside the home (Internet)

P-A

Non-IP

Basic

Device

IP

Network

Appli-

cation

Appli-

cation

P-N P-D

Non-Basic

Device

P-H1

P-H2

P-D

Air conditioner

and lighting 100 miles

10

Page 12: Service platform with Web based interface to control devices › 2014 › 02 › wot › slides › matsukura.pdf · 2014-06-30 · Service platform can flexibly connect with multi

Copyright 2010 FUJITSU LIMITED 11