Multimedia Services based on Mobile Agent

Slides:



Advertisements
Similar presentations
System Integration and Performance
Advertisements

Mobile Agents Mouse House Creative Technologies Mike OBrien.
CarTorrent ® : Cars get to have fun too Kevin C. Lee and Ian S. Yap TA: Uichin Lee Prof Mario Gerla.
TCP/IP MODEL Maninder Kaur
OSI MODEL Maninder Kaur
User Control of Streaming Media: RTSP
 Introduction Originally developed by Open Software Foundation (OSF), which is now called The Open Group ( Provides a set of tools and.
Rheeve: A Plug-n-Play Peer- to-Peer Computing Platform Wang-kee Poon and Jiannong Cao Department of Computing, The Hong Kong Polytechnic University ICDCSW.
Edward Tsai – CS 239 – Spring 2003 Strong Security for Active Networks CS 239 – Network Security Edward Tsai Tuesday, May 13, 2003.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Department of Computer Science and Engineering, CUHK 1 Final Year Project 2003/2004 LYU0302 PVCAIS – Personal Video Conference Archives Indexing System.
Nasca Internet Ch. 5Internet Ch. 8 Networking and Security Ch. 6 Networking and Security Ch. 8.
EEC-681/781 Distributed Computing Systems Lecture 3 Wenbing Zhao Department of Electrical and Computer Engineering Cleveland State University
An Overlay Multicast Infrastructure for Live/Stored Video Streaming Visual Communication Laboratory Department of Computer Science National Tsing Hua University.
Tcl Agent : A flexible and secure mobile-agent system Paper by Robert S. Gray Dartmouth College Presented by Vipul Sawhney University of Pennsylvania.
1 Final Year Project 2003/2004 LYU0302 PVCAIS – Personal Video Conference Archives Indexing System Supervisor: Prof Michael Lyu Presented by: Lewis Ng,
DISTRIBUTED PROCESS IMPLEMENTAION BHAVIN KANSARA.
Introduction to Streaming © Nanda Ganesan, Ph.D..
SSH Secure Login Connections over the Internet
Distributed Process Implementation Hima Mandava. OUTLINE Logical Model Of Local And Remote Processes Application scenarios Remote Service Remote Execution.
Distributed Process Implementation
RTSP Real Time Streaming Protocol
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Presentation on Osi & TCP/IP MODEL
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
6.1. Transport Control Protocol (TCP) It is the most widely used transport protocol in the world. Provides reliable end to end connection between two hosts.
Department of Computer Science and Engineering, CUHK 1 Final Year Project 2003/2004 LYU0302 PVCAIS – Personal Video Conference Archives Indexing System.
Jozef Goetz, Application Layer PART VI Jozef Goetz, Position of application layer The application layer enables the user, whether human.
Advanced Computer Networks Lecture 3 Distributed Multimedia Systems.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
Outline Overview Video Format Conversion Connection with An authentication Streaming media Transferring media.
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
Chapter 5.4 DISTRIBUTED PROCESS IMPLEMENTAION Prepared by: Karthik V Puttaparthi
Department of Computer Science and Engineering, CUHK 1 Final Year Project 2003/2004 LYU0302 PVCAIS – Personal VideoConference Archives Indexing System.
MP 2: Audio/ Video Streaming
An Overlay Network Providing Application-Aware Multimedia Services Maarten Wijnants Bart Cornelissen Wim Lamotte Bart De Vleeschauwer.
Lecture 6: Sun: 8/5/1435 Distributed Applications Lecturer/ Kawther Abas CS- 492 : Distributed system & Parallel Processing.
Code Migration Russell T. Potee, III. Overview Why Code Migration? Code Migration Models Migration and Handling Resources Heterogeneous Systems Migration.
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
ECI – electronic Commerce Infrastructure “ An application to the Shares Market ” Demetris Zeinalipour ( Melinos Kyriacou
D’Agents 1 Presented by Haiying Tan May, 2002 D’Agents: Security in a multiple-language, mobile-agent system Robert S. Gary, David Kotz, George Cybenko,
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
MP 2: Audio/ Video Streaming CS414: Multimedia System Instructor: Klara Nahrstedt March 16, 2012.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
SOCSAMS e-learning Dept. of Computer Applications, MES College Marampally FILE SYSTEM.
Multimedia Retrieval Architecture Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Retrieval Architecture.
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
Mobility support in IP v4. Internet Computing (CS-413) 2.
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
Chapter 9: Transport Layer
IP Telephony (VoIP).
Instructor Materials Chapter 9: Transport Layer
Supervisor: Prof Michael Lyu Presented by: Lewis Ng, Philip Chan
Lecturer, Department of Computer Application
DEPARTMENT OF COMPUTER SCIENCE
Multimedia and Networks
OSI Model OSI MODEL.
Chapter 2: Operating-System Structures
Outline Chapter 2 (cont) OS Design OS structure
System calls….. C-program->POSIX call
Chapter 2: Operating-System Structures
Presentation transcript:

Multimedia Services based on Mobile Agent Presenter : Lee Chi Wai, Anson Supervisors : Prof. Michael Lyu, Prof. Irwin King Markers : Prof. Ng Kam Wing, Prof. Leung Ho Fung Date : 28 Apr 2000

Outline of the presentation Introduction Survey of agent environments Distributed Multimedia Services System Agent based applications Conclusion Question and Answer Session

Introduction(1) Distributed multimedia services systems tend to be heterogeneous The heterogeneous environments differ in underlying hardware architecture Main problems: Discovery of remote resources and services Configuration of the remote client or servers Solutions: Scripting language can cover the heterogeneity of environments

Introduction(2) Use of script: Retrieve multimedia data in distributed environment Create a common configuration between the communication parties Reconfigure the systems which is already running Mobile agent can provide flexibility to adapt themselves in heterogeneous environment

Introduction(3) Multimedia Transportable Agent System Multimedia agent platform provides an agent transport protocol for agent migration provides an agent communication environment Multimedia applications retrieve multimedia data transfer of various audio or video data

Survey of Agent Environments Agent Tcl support agents written in Tcl, Java, C and C++ agent server is multi-threaded each agent is executed in a separate process agent communication uses inter-process communication

D’Agents(Agent Tcl) Agent Tcl agent server uses public-key cryptography to authenticate the identity of an incoming agent’s owner resource manager agents assign access rights to agents based on authentication enforcement modules enforce the access rights

Similarities and differences(1) Same general architecture: a server on each machine accepts incoming agents start up an execution environment for each incoming agent load agent’s state information into the environment resume agent execution

Similarities and differences(2) Multi-threaded servers and run each agent in a thread of the server process itself Multi-process servers and run each agent in a separate interpreter process

Similarities and differences(3) Nearly all mobile agent systems either interpret their language directly Or compile their languages into bytecodes and interpret the bytecodes Java is the most popular agent language portable and efficient existing security mechanisms allow safe execution of un-trusted code wide-spread market penetration

Similarities and differences(4) Two kinds of migration approach: Captures agent object state, code and control state, allowing it to continue execution from the exact point at which it left off Captures only agent object state and code, and restart execution on some known entry point inside its code

Similarities and differences(5) Protecting an individual machine against malicious agents Do not provide any protection for the agent All systems are suitable for distributed information retrieval Decision should be based on implementation language, level of security and performance

Distributed Multimedia Service System The agent structure transport header agent header agent script

Agent Structure AG-ID Type name the directory where the agent and the load are stored used as a reference when an agent or any files is lost in the network Type determines the type of the file distinguish between agent files and different media files in agent load

Agent Structure Name Size Load length name of the file in agent load size of the file in agent load Load length indicates the total number of files in the agent load

Agent Header Sender Identification Mission Information Agent State user name, e-mail address Mission Information describes the mission, parameter needed for the mission Agent State stores number of sites already visited, type of information found Route Info a list of service site addresses that guide the agent during its mission

Multimedia Server Infrastructure(1) Implementation Language: Agent Tcl/Tk, C System Specification: Redhat Linux 6.2 Pentium II 333MHz w128MB RAM 4.3GB Harddisk Tasks: Search and retrieval multimedia data based on title matching Delivery multimedia data including audio and video to end user

Multimedia Server Infrastructure(2) An extension module : the Multimedia Agent Platform Starting, executing, accessing multimedia data and management of agents Code of multimedia server doesn’t need to be changed server doesn’t need to understand any MAP related request any changes in MAP requests don’t affect the server implementation

Multimedia Server Infrastructure(3)

Multimedia Server Infrastructure(5) Working Principle Agent startup and configuration phase 1. connect to multimedia server 2. request to start an agent 3. Server redirect request to MAP 4. MAP initializes and starts an agent Agent service phase 1. communicate with other agent 2. migrate to other multimedia servers to access their multimedia data

Agent Startup

MAP Architecture(1) Five components: Agent Execution Environment Migration Facilitator QoS & multimedia module Service Location Module Agent Communication Module

MAP Architecture(2) Agent Execution Environment Agent Tcl 2.0 interpreter recognizes the structure of the agent and extracts information necessary to run the agent script Agent scripts are written in Agent Tcl able to execute on any platform

Migration Facilitator(1) Agent Tcl 2.0 daemon listens to port 6138 Transport of the agent and its load For incoming agent: 1. read the agent header 2. create a directory in the agent data store 3. stores agent and load files 4. activates the Agent Execution Environment 5. waits for new incoming agent

Migration Facilitator(2) For departing agent: 1. it connects another migration facilitator in the destination machine 2. Transfers the agent file and all the files in the agent load

Migration Facilitator(3)

QoS and Multimedia Module Problem in multimedia document delivery: a media stream is continuous and of high bandwidth need huge amount of data to transport Solution: get feedback from the receiver, e.g. available buffer space, network bandwidth modify or change the coding scheme to lower or raise the quality and bandwidth needs for the stream

Service Location Module Eliminates the need for a mobile agent to travel to destination which doesn’t have the requested resources Working principle: 1. register itself with a service agent 2. supplies a set of attributes which describe the service 3. get information about destination, such as next hop address

Agent Communication Module Get the AG-ID from the service agent Make a connection

Agent Based Applications Audio Delivery System Specification Pentium II 333 MHz with 128M RAM 4.3GB harddisk Compression Algorithm MPEG 1 layer III at 128kbps Layer III most complex but offers the best audio quality bit rates around 64kbps per channel

Audio Decoder deciphers the encoded bitstream restores the quantized values reconstruct the audio signal

Transmission Plan pseudo code : sleep interval t’=0.03125sec; while (server buffer not empty){ record the start time; transmit audio packet; record the stop time; sleep for t’ sec; compute next sleep interval t’; }

Transmission Plan

Buffer Management in Client Side use a leaky bucket model to keep the bit rate of audio data at 128kbps consists of a finite queue when a packet arrives, append it at the end of queue if buffer is available otherwise, discards the packet at every clock tick, one packet is transmitted to decoder

Leaky Bucket Model

Video Delivery same system specification use MPEG 1 decoder from http://www.mpegtv.com similar transmission plan as audio delivery, differ in bit rate requirement (1.5Mbps in MPEG 1 standard) can modify it to some advanced bandwidth smoothing algorithms similar buffer management strategy as audio delivery

Conclusion Discuss similarities and differences of different agent environments Propose to use mobile agent in searching and retrieving multimedia data Discuss the system architecture and prototype of multimedia server Present two multimedia data delivery application build on the top of MAP

Future Work Finish the implementation of MAP Try to protect the multimedia server against malicious agent Try to protect agent against malicious host