Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web...
-
Upload
yessenia-acey -
Category
Documents
-
view
212 -
download
0
Transcript of Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web...
![Page 1: Constructing Home Network System and Integrated Services Using Legacy Home Appliances and Web Services International Journal of Web Service Research, January-March.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/1.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/2.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/3.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/4.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/5.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/6.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/7.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/8.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/9.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/10.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/11.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/12.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/13.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/14.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/15.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/16.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/17.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/18.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/19.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/20.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/21.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/22.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/23.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/24.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/25.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/26.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/27.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/28.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/29.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/30.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/31.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/32.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/33.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/34.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/35.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/36.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/37.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/38.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/39.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/40.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/41.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022070306/551666c9550346a2698b53ab/html5/thumbnails/42.jpg)
END
• 謝謝大家 !!