Top Banner
Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March 2008
42

Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Mar 28, 2015

Download

Documents

Yessenia Acey
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Constructing Home Network System and Integrated

Services Using Legacy Home Appliances and Web Services

International Journal of Web Service Research, January-March 2008

Page 2: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Outline

• INTRODUCTION• PRELIMINARIES• ADAPTING LEGACY HOME

APPLIANCES TO HNS• IMPLEMENTATION: NAIST-HNS• CONCLUSION

Page 3: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Introduction

• Home Network System(HNS)• HNS Integrated Services• Networked Appliance• Networked Appliance Not Spread• Adapts Legacy Appliances to HNS• Smart Adaptor

Page 4: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Home Network System (HNS)

• TVs, DVD players, lights, ventilators, refrigerators, air conditioners, blinds and curtains, to be connected with a local area network at home

• A system consisting of such networked appliances

Page 5: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

HNS Integrated Services

• DVD theater service• lights become dark• curtain is closed• 5.1ch speakers are selected• sound volume is adjusted• contents are played with the DVD

player HNS03.avi

Page 6: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Networked Appliance

• Equipped with smart embedded devices• A processor and storage• A network interface

• In order to provide and execute the appliance features required for various HNS application and services

Page 7: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Networked Appliances Not Spread

• The network appliance are still quite expensive

• Types of available appliance are limited

• Lack of programmatic interoperability

• Users want to keep using the legacy appliances

Page 8: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Adapts Legacy Appliances to HNS

• Legacy appliances with the conventional infrared remote controllers (IrRC)

• Smart adapter on a PC• Web service layer • Service layer• IR device layer

• Service-oriented architecture(SOA)

Page 9: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Smart Adaptor

• Web service layer• Services are deployed in the HNS as

Web services• Service layer

• Aggregates multiple Ir-API call within self-contained services

• IR device layer• Ir-APIs : PC can send any infrared signals

to appliances

Page 10: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

PRELIMINARIES

• Home Network System(HNS)• Home Server• Service-Oriented Framework for

HNS• Software Controller for Legacy

Appliances

Page 11: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Home Network System(HNS)• One or more networked appliances

connected to LAN at home• Each network appliances has a set

of control APIs• The user or software agents can

control the appliance via the network

Page 12: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Home Network System

Page 13: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Home Server

• An application server which manages various value-added services

• Plays a role of the gateway to the external network

Page 14: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

SOA for HNS

• Service layer• Export the features to the network as

the self-contained services with open interface

• Aggregates the control APIs according to the logical features of the device

• Device layer• Hardware• control APIs

Page 15: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Architecture of Networked Appliance Based on SOA

Service withopen interface

Logic feature

Page 16: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Software Controller

• user can control legacy appliances from a PC or a handheld device

HNS02.avi HNS01.avi

Page 17: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Soft-controller for a legacy TV

UI : user interface

IrRC : Infrared Remote Controller for home appliances

IrRC I/F : IrRC interface

Page 18: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Software Controller Use Case

• user controls a single appliance at a time

• Not supposed to be invoked by other applications

• To be orchestrated by other appliances via the network

• The same controller cannot be used directly for other appliances

Page 19: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

ADAPTING LEGACY HOME APPLIANCES TO HNS

• Requirements• Proposed Architecture• IR Device Layer• Service layer• Supplementary Service• Web Service Layer• HNS Integrated Services

Page 20: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Requirements

• Achieve easy creation of HNS integrated service

• Using generic PCs and IrRC devices• Applicable to a wide range of types

and vendors of the appliances

Page 21: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Proposed Architecture for Adapting Legacy Appliances

Page 22: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

IR Device Layer

• Ir-APIs on the top of the IrRC driver• A set of generic interfaces• Relatively low-level but generic APIs

• Typical Ir-APIs must include• Initialize IrRC• Set signal type• Send signal• Start sending burst signal• Stop sending burst signal

Page 23: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Conventional HNS Architecture

Page 24: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Proposed HNS Architecture

Page 25: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Service Layer

• The service layer aggregates several Ir-API calls within a service method

• Every service method must be self-contained

Page 26: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Service Method Condition

• Method is executable by itself, independent of the context of other services or appliances

• Method achieves by itself a consistent logical feature of the appliance

Page 27: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Service Method ON() for TVA

Page 28: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Service Method setVolume() for TVA

Page 29: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Supplementary Service

• Stores the current state of the appliance according to the history of service execution

• Every appliance have a database(state DB)

• When a service method is executed updated in the state DB

• Return the current state upon the request from the external applications

Page 30: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Web Service Layer

• Standard SOA framework• The interface definition by WSDL• An external application first

interprets the interface definition and invokes a Web-API via network

Page 31: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

HNS Integrated Services

• The legacy appliances is Distributed components

• A client application consisting of invocations of the Web-APIs and a control flow among the APIs

Page 32: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Integrated Service (DVD theater)

Page 33: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

IMPLEMENTATION: NAIST-HNS• Legacy Appliances Used• Implementation of Legacy Adapter• NAIST-HNS Integrated Services• User Interfaces

Page 34: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Legacy Appliances Used

• Plasma display: NEC PX-50XM2• DVD/HDD recorder: Toshiba RF-XS46• Wireless LCD TV: Sony KLV-17WS1• Ceiling light: Panasonic HHFZ5310• Curtains with actuator: NAVIO Powertrack• Air cleaner: Hitachi EP-V12• Air circulator: MORITA MCF-257NR• Power plug with IrRC: HORIBA IS-100• Climate monitor (sensor): IT Watchdogs WxGoods-1

Page 35: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Implementation of Legacy Adapter

• PC: Celeron, 512MB, 80GB, WinXP Pro• IrRC I/F: Sugiyama Electron – Crossam2+USB• IrRC Driver: Serial COM library for

Crossam2+USB

• Ir-API: Java Native Interface(JNI)Wrapper• Service Layer: J2SE 5.0• Web Service Layer: Apache AXIS 1.3

Page 36: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

NAIST-HNS Implementation

Ir-APIs

Crossam Serial COM Library

StatesLog

Crossam ProgrammableRemote Controllers

Page 37: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

NAIST-HNS Integrated Services• DVD Theater• Air Cleaning• Wakeup Support• Auto illumination

Page 38: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

HNS Experimental Room

Page 39: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

User Interfaces for NAIST HNS

Page 40: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

Response Time of Integrated Services

STR: service response timeDRT: device response time

Page 41: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

CONCLUSION

• A framework that adapts the legacy home appliances to the emerging home network system

• Features of the legacy appliances are exposed as self-contained Web-APIs with Web service

• Future work includes the security issues and the feature interaction management

Page 42: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.

END

• 謝謝大家 !!