Presentation is loading. Please wait.

Presentation is loading. Please wait.

TranService: Service and Media Translation System for Small Devices Graduate School of Media and Governance, Keio University Jun’ichi Yura

Similar presentations


Presentation on theme: "TranService: Service and Media Translation System for Small Devices Graduate School of Media and Governance, Keio University Jun’ichi Yura"— Presentation transcript:

1 TranService: Service and Media Translation System for Small Devices Graduate School of Media and Governance, Keio University Jun’ichi Yura yurayura@ht.sfc.keio.ac.jp

2 Outline Background and Goal System Overview Implementation Evaluation Future works Conclusion

3 Background Variation of Services Web, Database, news... Variation of Devices PC/WS, PDA, WC … web DB news PC PDA Phone → Can not use the services. → Can not get data suitable for the devices. Need to consider the difference of devices and services

4 Goal Service and media translation system, which consider the difference of devices and services. Movie ServerCellular Phone POWERED BY

5 Device Transparency Consider the difference among devices Translation based on device QoS profile PC/WS PDA Phone Web Server

6 Service Transparency Consider the difference among services Translation based on service QoS profile Web Client web movie mail

7 QoS Profile Request contents of QoS(Quality of Service) Data profile Data type, Data format, Data quality E.g.,image/gif (depth: 8bit, size: 180x180) audio/au (frequency: 44.1KHz) Protocol profile Protocol type, Protocol information E.g.,HTTP (Accept: image/gif)

8 TS-Proxy Is proxy server for TranService Data transcoding Protocol conversion Automatic and dynamic transcoding Loads modules dynamically Controller Device Module Part Service Module Part Translation Module Part Service Device Request C Reply C Request S Reply S TS-Proxy

9 Controller HTTP RTSP POP SMTP Action Sequence Controller Device Module Part Service Module Part Translation Module Part HTTP RTSP POP SMTP HTTP SMTP TEXT JPEG GIF MPEG JPEG ClientSMTP Server HTTP Request Context SMTP Data Context ’ Convert protocols from HTTP to SMTP

10 Design of QoS Profile Created by device/service module part Used by translation module part for deciding transcoding path XML for sending and receiving Tree construction in this system QOS + DATA | + IMAGE | | + TBMP | | + COLOR=1 | | + DEPTH=0x02 | | + WIDTH=180 | | + HEIGHT=180 | + TEXT | + DEFAULT | + CHARSET=shift-jis + PROTOCOL + HTTP + VERSION=1.1

11 Transcoding Types Protocol conversion HTTP → POP, SMTP → HTTP Data transcoding image/jpeg → image/gif image/au → text/plain Multiple transcoding text/html → audio/au = text/html → text/plain + text/plain → audio/au

12 Implementation Implementation environment JDK1.2 / Windows 2000 Whole system about 5000 lines Implemented modules (extracts) Device modules HTTP device module Translation modules HTTP to POP3 protocol translation module text/html to text/plain data translation module Service modules HTTP service module POP3 service module

13 Application Example (1) Controlling networked appliances Switching from video inputs to projectors Use PDA as Universal Controller PDA Matrix Switcher Projectors Video InputsTS-Proxy SerialHTTP/TCP/IP CommandsHTML

14 Application Example (2) Browsing support for video streaming Celluar phone:GIF(8bit-GlayScale, 100x80) PC: JPEG(24bit-Color, 320x240) Internet-ready cellular phone PC

15 Related Works WMTDS Service Transparency Dynamic adaptationNo Yes Extended functionalityNo Yes Multiple transcodingNo Same Platform independencyYes No Yes Device Transparency Dynamic adaptation Same Yes NoYes Extended functionalityYes Multiple transcoding Same No Yes Platform independencyYes No Yes W:WBI, M:KMSF-MCAP, T:TranSend, D:DeleGate, S:tranService

16 Measurement 1: Measure entire time A: Receiving data from client, create QoS profile D: Receiving data from server 2: Measure time taken by transcoding Transcoding time: 1.2 msec/num Decision time: 0.7 msec/num 0 50 100 150 200 01020304050 Whole Transcoding Decision Numbers of modules Time (msec) Graph 1Graph 2

17 Future Works Use distributed modules Load balancing, fault tolerance Interoperability to other QoS profiles MPEG7, CC/PP, HTTP-UserAgent Categorize service characteristics State-less or state-full Number of connections

18 Conclusion Construct tranService system, which is media transcoding system based on QoS requirements of devices and services Design Realize device transparency and service transparency Implementation Implemented on JDK1.2 Evaluation Measurement Comparison

19

20 Application Example (2) Web mail reader Users can read web pages by mail-reader TS-Proxy convert from SMTP to HTTP PDA TS-Proxy HTTP/TCP/IPSMTP/TCP/IP Web Server

21 Example of Module import jp.ac.keio.sfc.ht.tranService.*; public class TextHtmltoTextPlainTranslationModule extends TranslationWorkerModule { public TextHtmltoTextPlainTranslationModule() { // Translation type is Data translation setTranslationType(TranslationServerModule.TRANSLATION_TYPE_DATA) ; // Input type is "text/html" setInputType(new MimeType("text", "html").toString()); // Output type is "text/plain" setOutputType(new MimeType("text", "plain").toString()); } public void execute() { try { // Receiving context Data data = getNextData(); // Here is a transcoding code... Omitted... // Sending context sendData(data); } catch(InterruptedException ie) {... Ommited... } }

22 Context Data set sent/received between module parts Content Request from client / reply from server Content profile A meta-information of content Device QoS profile QoS profile that refer to device Service QoS profile QoS profile that refer to service

23 System Overview Controller Device Module Part Service Module Part Translation Module Part Service Device Request C Reply C Request S Reply S TS-Proxy

24 Related Works Dynamic adaptation Ability to consider changes of environment dynamically Extended functionality Ability to accept for new devices and services Multiple transcoding Ability to transcode continuously Platform independency Ability to use system on any platform


Download ppt "TranService: Service and Media Translation System for Small Devices Graduate School of Media and Governance, Keio University Jun’ichi Yura"

Similar presentations


Ads by Google