constructing home network system and integrated services using legacy home appliances and web...
TRANSCRIPT
Constructing Home Network System and Integrated
Services Using Legacy Home Appliances and Web Services
International Journal of Web Service Research, January-March 2008
Outline
• INTRODUCTION• PRELIMINARIES• ADAPTING LEGACY HOME
APPLIANCES TO HNS• IMPLEMENTATION: NAIST-HNS• CONCLUSION
Introduction
• Home Network System(HNS)• HNS Integrated Services• Networked Appliance• Networked Appliance Not Spread• Adapts Legacy Appliances to HNS• Smart Adaptor
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
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
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
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
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)
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
PRELIMINARIES
• Home Network System(HNS)• Home Server• Service-Oriented Framework for
HNS• Software Controller for Legacy
Appliances
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
Home Network System
Home Server
• An application server which manages various value-added services
• Plays a role of the gateway to the external network
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
Architecture of Networked Appliance Based on SOA
Service withopen interface
Logic feature
Software Controller
• user can control legacy appliances from a PC or a handheld device
HNS02.avi HNS01.avi
Soft-controller for a legacy TV
UI : user interface
IrRC : Infrared Remote Controller for home appliances
IrRC I/F : IrRC interface
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
ADAPTING LEGACY HOME APPLIANCES TO HNS
• Requirements• Proposed Architecture• IR Device Layer• Service layer• Supplementary Service• Web Service Layer• HNS Integrated Services
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
Proposed Architecture for Adapting Legacy Appliances
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
Conventional HNS Architecture
Proposed HNS Architecture
Service Layer
• The service layer aggregates several Ir-API calls within a service method
• Every service method must be self-contained
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
Service Method ON() for TVA
Service Method setVolume() for TVA
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
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
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
Integrated Service (DVD theater)
IMPLEMENTATION: NAIST-HNS• Legacy Appliances Used• Implementation of Legacy Adapter• NAIST-HNS Integrated Services• User Interfaces
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
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
NAIST-HNS Implementation
Ir-APIs
Crossam Serial COM Library
StatesLog
Crossam ProgrammableRemote Controllers
NAIST-HNS Integrated Services• DVD Theater• Air Cleaning• Wakeup Support• Auto illumination
HNS Experimental Room
User Interfaces for NAIST HNS
Response Time of Integrated Services
STR: service response timeDRT: device response time
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
END
• 謝謝大家 !!