Part 2 Multimedia Representation Control MediaLisp Interpreter

Slides:



Advertisements
Similar presentations
2 Introduction A central issue in supporting interoperability is achieving type compatibility. Type compatibility allows (a) entities developed by various.
Advertisements

Chapter 3 Functional Programming. Outline Introduction to functional programming Scheme: an untyped functional programming language.
Identity Management Based on P3P Authors: Oliver Berthold and Marit Kohntopp P3P = Platform for Privacy Preferences Project.
CPSC Compiler Tutorial 9 Review of Compiler.
VBA Modules, Functions, Variables, and Constants
The Analytical Engine Module 6 Program Translation.
1 Ivan Lanese Computer Science Department University of Bologna Italy Concurrent and located synchronizations in π-calculus.
C++ for Engineers and Scientists Third Edition
CIS607, Fall 2005 Semantic Information Integration Article Name: Clio Grows Up: From Research Prototype to Industrial Tool Name: DH(Dong Hwi) kwak Date:
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Advanced Database CS-426 Week 2 – Logic Query Languages, Object Model.
CSE 341, S. Tanimoto Concepts 1- 1 Programming Language Concepts Formal Syntax Paradigms Data Types Polymorphism.
1 Chapter 4: Selection Structures. In this chapter, you will learn about: – Selection criteria – The if-else statement – Nested if statements – The switch.
Copyright © 2006 Addison-Wesley. All rights reserved.1-1 ICS 410: Programming Languages.
Object-Oriented Program Development Using Java: A Class-Centered Approach, Enhanced Edition.
We are learning to write expressions using variables. (8-1)
8-1 Compilers Compiler A program that translates a high-level language program into machine code High-level languages provide a richer set of instructions.
The Interpreter Pattern (Behavioral) ©SoftMoore ConsultingSlide 1.
1/33 Basic Scheme February 8, 2007 Compound expressions Rules of evaluation Creating procedures by capturing common patterns.
CS412/413 Introduction to Compilers Radu Rugina Lecture 11: Symbol Tables 13 Feb 02.
Chapter 29: Program Security Dr. Wayne Summers Department of Computer Science Columbus State University
The PLA Model: On the Combination of Product-Line Analyses 강태준.
Introduction to OOAD and UML
1 CASE Computer Aided Software Engineering. 2 What is CASE ? A good workshop for any craftsperson has three primary characteristics 1.A collection of.
Auditing Concepts.
Control Structures I Chapter 3
Chapter 15 Finalizing Design Specifications
Chapter 15 Finalizing Design Specifications
SysML-Modelica: A Redefinition & Modification Use Case
Eyad Alshareef, Edited by: Mostafa Ali
VBA - Excel VBA is Visual Basic for Applications
Working in the Forms Developer Environment
Policy-oriented Enterprise Management for SAP Business Modeling
Chapter 14: System Protection
Compiler Construction (CS-636)
Compilers Principles, Techniques, & Tools Taught by Jing Zhang
CS 326 Programming Languages, Concepts and Implementation
Chapter 11: Usability © Len Bass, Paul Clements, Rick Kazman, distributed under Creative Commons Attribution License.
Representation, Syntax, Paradigms, Types
University of Central Florida COP 3330 Object Oriented Programming
Array Array is a variable which holds multiple values (elements) of similar data types. All the values are having their own index with an array. Index.
Topics The if Statement The if-else Statement Comparing Strings
Anatomy of a Class & Method
Chapter 12 Outline Overview of Object Database Concepts
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Chapter 10: Process Implementation with Executable Models
Software Connectors – A Taxonomy Approach
Topics The if Statement The if-else Statement Comparing Strings
Logical architecture refinement
Chapter 15 Finalizing Design Specifications
A System Design for Multimedia Augmented Transition Network in Lisp
Instance Model Structure
Chapter 9 Use Cases.
Multiple Aspect Modeling of the Synchronous Language Signal
ISC321 Database Systems I Chapter 10: Object and Object-Relational Databases: Concepts, Models, Languages, and Standards Spring 2015 Dr. Abdullah Almutairi.
Chapter 20 Object-Oriented Analysis and Design
ece 627 intelligent web: ontology and beyond
Electrical and Computer Engineering Department
Representation, Syntax, Paradigms, Types
An Introduction to Software Architecture
Representation, Syntax, Paradigms, Types
Chapter 14: Protection.
Chapter 29: Program Security
Contents Preface I Introduction Lesson Objectives I-2
Representation, Syntax, Paradigms, Types
Review of C++ Language Basics
The Selection Structure
Supporting High-Performance Data Processing on Flat-Files
Programming Languages, Preliminaries, History & Evolution
Ponder policy toolkit Jovana Balkoski, Rashid Mijumbi
Presentation transcript:

Part 2 Multimedia Representation Control MediaLisp Interpreter System Demonstration Conclusion

Multimedia Representation Control System & Phase User Selection Automatic Selection Example

System Media lisp maintains a set of system properties. Those properties can be used to configure the behavior of the overall environment for the multimedia presentation. System properties include a basic set of preserved properties and user customnized properties.

System Preserved Properties The set of system properties contain at least : Physical time Interval Error handling policy Supported multimedia types and corresponding media players

System Property Semantics Each entry of system property is “name-value” pair, it can be can be referenced by its unique name (GetSProperty property_name) (SetSProperty property_name property_value …)

Phase Phase provides much detailed control over multimedia presentation. A phase is a sub runtime environment under environment MediaLisp. Similarly, the system can be regarded as an overall phase over the whole multimedia presentation. When a phase is bound to a some specific multimedia objects, MediaLisp will use the properties of the phase specified in the phase instead of the system proterties.

Operations Related to Phase To declare a phase To set the Phase properties To retrieve the Phase properties To bind multimedia objects in the presentation to phase.

Selection The most prominent feature of MATN model is the support of selections. The selection can be classified as: User Selection: In the middle of presentation, the choice needs to by made by user involvement Automatic Selection: The decision is conducted by the specification in the “Condition Table”

Case The semantics of “Case” is designed for user selection, its semantics includes: A prompt (string array) that will be displayed at presentation time for interactively accepting user selections A sequence of multimedia objects correspond to the prompt strings respectively

Select “Select” is used to specify the “Condition Table”. Each entry in the condition table consists of a boolean clause to describe arbitrarily complex condition and the underlying action or the media object. A select clause contains a list of the condition-action pairs. The condition must in the condition table consists of a boolean

Example of User Selection <Script> (setq T1(@ "T1")) (duration "T1" 10) …………... (setq A1 (@ "A1")) (duration "A1" 10) (setq A2 (@ "A2")) (duration "A2" 10) (setq A3 (@ "A3")) (duration "A3" 10) (setq Prompt (Prompt ”Select audoi-1" " Select audoi-2" " Select audoi-3")) (setq C (case Prompt A1 A2 A3 )) (@ "V1") (duration "V1" 30) (present (<< T1 C (? "V1")))

MATN and Running Result of the Example

Multimedia Lisp Interpreter To support multimedia related functionality, MediaLisp must provide: Multi-threaded execution and management support. Network communication ability Real-time management and synchronization. Intelligence to handle the semantic heterogeneity of multimedia representation. The ability to display various multimedia objects via various devices.

Steps Involved in Interpretion To invoke common lisp compiler/interpreter to accomplish syntax and semantic check, process all pure lisp aspects (Arithmetic operation, common variable & clause evaluation). An extra procedure to process all multimedia presentation related semantics to generate a MATM like data structure. This data structure will be used to direct the multimedia presentation.

System Demonstration The following example is used to give a rough outlook of the design idea.

<script> (setq m1 (@ "mm_1" ))(setq m2 (@ "mm_2"))(setq m3 (@ "mm_3")) (setq m11 (@ "m11" ))(setq m12 (@ "m12"))(setq m13 (@ "m13")) (Duration m11 10) (Duration m12 40)(Duration m13 30) (setq m91 (@ "m91" ))(setq m92 (@ "m92"))(setq m93 (@ "m93")) (Duration m91 10)(Duration m92 5)(Duration m93 5) (setq m911 (@ "m81" )) (setq m922 (@ "mm82")) (setq m933 (@ "mm83")) (setq yy (prompt "option #1" "option #2" "option #3" )) (setq cc (case yy (|| m91 m911) (<< m92 m922) (|| m93 m933) )) (setq ww1 (<< m1 m2 m3 cc)) (setq ww2 (|| m11 m12 m13)) (present (<< ww1 ww2))

Parsed MATN

Media Object Property Set

Presentation Simulation

Summary It’s expressive enough to describe arbitrarily complex temporal relationship among multimedia objects in a presentation It provides a practicable way to encode condition tables and user selection. It also provides a concrete evidence to prove that the MATN model is both feasible and practicable.