Multimedia Database Chapter 9, Principles of Multimedia Database Systems. V.S. Subrahmanian, 1998.

Slides:



Advertisements
Similar presentations
TOPIC : MIME (Multipurpose Internet Mail Extensions ) By: Cecilia Gomes COSC 541,DATA COMMUNICATION SYSTEMS & NETWORKS Instructor: Prof. Anvari (SEU)
Advertisements

CLEARSPACE Digital Document Archiving system INTRODUCTION Digital Document Archiving is the process of capturing paper documents through scanning and.
CHAPTER OBJECTIVE: NORMALIZATION THE SNOWFLAKE SCHEMA.
Chapter 10: Designing Databases
Ch 4 : Multimedia Database Science and Technology Faculty Informatics Arini, ST, MT Com
1 Multimedia Databases n How to represent and organize the databases containing a mix of media types? n MM DB architectures u The Principle of Autonomy:
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Technical Architectures
1 Multimedia Information Systems Vijay Atluri Office 200R Ackerson Hall Phone: Office Hours: 2 hours after the class and.
Spring 2008MMDB - Introduction1 Introduction: Multimedia Databases.
Internet Resources Discovery (IRD) IBM DB2 Digital Library Thanks to Zvika Michnik and Avital Greenberg.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Introduction to Databases Transparencies
Dr. Kalpakis CMSC 461, Database Management Systems Introduction.
RIZWAN REHMAN, CCS, DU. Advantages of ORDBMSs  The main advantages of extending the relational data model come from reuse and sharing.  Reuse comes.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
Chapter 10 Architectural Design
ADVANCED DATABASES WITH ORACLE 11g FOR ADDB7311 LEARNING UNIT 1 of 7.
Introduction to Databases
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
The Worlds of Database Systems Chapter 1. Database Management Systems (DBMS) DBMS: Powerful tool for creating and managing large amounts of data efficiently.
© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management.
Multimedia Databases (MMDB)
CST203-2 Database Management Systems Lecture 2. One Tier Architecture Eg: In this scenario, a workgroup database is stored in a shared location on a single.
Chapter 7 Web Content Mining Xxxxxx. Introduction Web-content mining techniques are used to discover useful information from content on the web – textual.
Database System Concepts and Architecture
Introduction: Databases and Database Users
CIS750 – Seminar in Advanced Topics in Computer Science Advanced topics in databases – Multimedia Databases V. Megalooikonomou Introduction.
© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
The Worlds of Database Systems From: Ch. 1 of A First Course in Database Systems, by J. D. Pullman and H. Widom.
Chapter 18 Object Database Management Systems. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Motivation for object.
Query Processing. 2 Basic Concepts Query Processing – activities involved in retrieving and manipulating data from the database: SQL query translation.
Chapter 1 Introduction to Databases. 1-2 Chapter Outline   Common uses of database systems   Meaning of basic terms   Database Applications  
DATABASE MANAGEMENT SYSTEMS CMAM301. Introduction to database management systems  What is Database?  What is Database Systems?  Types of Database.
Database Environment Chapter 2. Data Independence Sometimes the way data are physically organized depends on the requirements of the application. Result:
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
Data and Applications Security Developments and Directions Dr. Bhavani Thuraisingham The University of Texas at Dallas Lecture #15 Secure Multimedia Data.
Search Engine using Web Mining COMS E Web Enhanced Information Mgmt Prof. Gail Kaiser Presented By: Rupal Shah (UNI: rrs2146)
Introduction.  Administration  Simple DBMS  CMPT 454 Topics John Edgar2.
Digital Video Library Network Supervisor: Prof. Michael Lyu Student: Ma Chak Kei, Jacky.
Mr.Prasad Sawant, MIT Pune India Introduction to DBMS.
Session 1 Module 1: Introduction to Data Integrity
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
1 Chapter 2 Database Environment Pearson Education © 2009.
E0262 MIS - Multimedia Playback Systems Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India.
Text TCS INTERNAL Oracle PL/SQL – Introduction. TCS INTERNAL PL SQL Introduction PLSQL means Procedural Language extension of SQL. PLSQL is a database.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Multimedia Retrieval Architecture Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Retrieval Architecture.
1 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
Database System Concepts Introduction Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Transaction.
1 Section 1 - Introduction to SQL u SQL is an abbreviation for Structured Query Language. u It is generally pronounced “Sequel” u SQL is a unified language.
1 Software Requirements Descriptions and specifications of a system.
Understanding the Value and Importance of Proper Data Documentation 5-1 At the conclusion of this module the participant will be able to List the seven.
Multimedia Database.
Introduction To DBMS.
Outline Types of Databases and Database Applications Basic Definitions
Introduction Multimedia initial focus
Introduction to Databases Ashima wadhwa
Chapter 1: Introduction
Multimedia Database Chapter 9,
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Chapter 9 Database and Information Management.
The ultimate in data organization
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Presentation transcript:

Multimedia Database Chapter 9, Principles of Multimedia Database Systems. V.S. Subrahmanian, 1998

MM Database2 What is a Multimedia DBMS? §A multimedia database management system (MM-DBMS) is a framework that manages different types of data potentially represented in a wide diversity of formats on a wide array of media sources. §Like the traditional DBMS, MM-DBMS should address requirements: l Integration Data items do not need to be duplicated for different programs l Data independence Separate the database and the management from the application programs l Concurrency control allows concurrent transactions

MM Database3 Requirements of Multimedia DBMS l Persistence Data objects can be saved and re-used by different transactions and program invocations l Privacy Access and authorization control l Integrity control Ensures database consistency between transactions l Recovery Failures of transactions should not affect the persistent data storage l Query support Allows easy querying of multimedia data

MM Database4 Requirements of Multimedia DBMS (cont.) §In addition, an MM-DBMS should: l have the ability to uniformly query data (media data, textual data) represented in different formats. l have the ability to simultaneously query different media sources and conduct classical database operations across them.  query support l have the ability to retrieve media objects from a local storage device in a smooth jitter-free (i.e. continuous) manner.  storage support l have the ability to take the answer generated by a query and develop a presentation of that answer in terms of audio-visual media. l have the ability to deliver this presentation in a way that satisfies various Quality of Service requirements.  presentation and delivery support

MM Database5 Major Issues: Query Support §Allow easy query of multimedia data l What is query by content? l Can query be specified as a combination of media (examples) and text description? l How to handle different MM objects? l What query language should be used? §Allow efficient query of multimedia data l What algorithms can be used to efficiently retrieve media data on the basis of similarity? l How should we index the content of different MM objects? §How to provide traditional DBMS supports?

MM Database6 Major Issues: Storage Support §How do the following (standard) storage devices work? l disk systems l CD-ROM systems l tape systems and tape libraries §How is data laid out on such devices? §How do we design disk/CD-ROM/tape servers so as to optimally satisfy different clients concurrently when these clients execute the following operations l playback l rewind l fast forward l pause

MM Database7 Major Issues: Presentation & Delivery Support §How do we specify the content of multimedia presentations? §How do we specify the form (temporal/spatial layout) of this content? §How do we create a presentation schedule that satisfies these temporal/spatial presentation requirements? §How can we deliver a multimedia presentation to users when there is l a need to interact with other remote servers to assemble the presentation (or parts of it) l a bound on the buffer, bandwidth, load, and other resources available on the system l a mismatch between the host server's capabilities and the customers machine capabilities? §How can such presentations optimize Quality of Service (QoS)?

MM Database8 A Sample Multimedia Scenario §Consider a police investigation of a large-scale drug operation. This investigation may generate the following types of data l Video data captured by surveillance cameras that record the activities taking place at various locations. l Audio data captured by legally authorized telephone wiretaps. l Image data consisting of still photographs taken by investigators. l Document data seized by the police when raiding one or more places. l Structured relational data containing background information, back records, etc., of the suspects involved. l Geographic information system data remaining geographic data relevant to the drug investigation being conducted.

MM Database9 Possible Queries Image Query (by example): §Police officer Rocky has a photograph in front of him. §He wants to find the identity of the person in the picture. §Query: “Retrieve all images from the image library in which the person appearing in the (currently displayed) photograph appears” Image Query (by keywords): §Police officer Rocky wants to examine pictures of “Big Spender”. §Query: "Retrieve all images from the image library in which “Big Spender” appears."

MM Database10 Possible Queries (cont.) Video Query: §Police officer Rocky is examining a surveillance video of a particular person being fatally assaulted by an assailant. However, the assailant's face is occluded and image processing algorithms return very poor matches. Rocky thinks the assault was by someone known to the victim. §Query: “Find all video segments in which the victim of the assault appears.” §By examining the answer of the above query, Rocky hopes to find other people who have previously interacted with the victim. Heterogeneous Multimedia Query: §Find all individuals who have been photographed with “Big Spender” and who have been convicted of attempted murder in South China and who have recently had electronic fund transfers made into their bank accounts from ABC Corp.

MM Database11 MM Database Architectures Based on Principle of Autonomy §Each media type is organized in a media-specific manner suitable for that media type §Need to compute joins across different data structures §Relatively fast query processing due to specialized structures §The only choice for legacy data banks

MM Database12 MM Database Architectures (cont.) Based on Principle of Uniformity §A single abstract structure to index all media types §Abstract out the common part of different media types (difficult!) - metadata §One structure - easy implementation §Annotations for different media types

MM Database13 MM Database Architectures (cont.) Based on Principle of Hybrid Organization §A hybrid of the first two. Certain media types use their own indexes, while others use the "unified" index §An attempt to capture the advantages of the first two §Joins across multiple data sources using their native indexes

MM Database14 Organizing Multimedia Data Based on the Principle of Uniformity §Consider the following statements about media data and they may be made by a human or may be produced by the output of an image/video/text content retrieval engine. l The image photol.gif shows Jane Shady, “Big Spender” and an unidentified third person, in Sheung Shui. The picture was taken on January 5, l The video-clip videol.mpg shows Jane Shady giving “Big Spender” a briefcase (in frames ). The video was obtained from surveillance set up at Big Spender’s house in Kowloon Tong, in October, l The document bigspender.txt contains background information on Big Spender, a police’s file.

MM Database15 Metadata and Media Abstraction §All these statements are Meta-data statements. Associate, with each media object o i, some meta-data, md ( o i ) If our archive contains objects o 1,..., o n, then index the meta data md ( o 1 ),..., md ( o n ) in a way that provides efficient ways of implementing the expected accesses that users will make. §We expect to take use of a single data structure to represent metadata §This can be achieved via media abstractions §Media abstractions are mathematical structure representing such media content. Let’s consider a simple multimedia database system (SMDS) hereafter!

MM Database16 Querying SMDSs (Uniform Representation) Querying SMDS based on top of SQL. Basic functions include:  FindType(Obj): This function takes a media object Obj as input, and returns the output type of the object. For example, FindType(iml.gif) = gif. FindType(moviel.mpg) = mpg.  FindObjWithFeature(f): This function takes a feature f as input and returns as output, the set of all media objects that contain that feature. For example, FindObjWithFeature(john)= {iml.gif,im2.gif,im3.gif,videol.mpg:[1,5]}. FindObjWithFeature(mary)= {videol.mpg:[1,5],videol.mpg:[15,50]}.

MM Database17 Querying SMDSs (Uniform Representation) (cont.)  FindObjWithFeatureandAttr(f,a,v): This function takes as input, a feature f, an attribute name a associated with that feature, and a value v. It returns as output, all objects obj that contain the feature and such the value of the attribute a in object obj is v. E.g. FindObjWithFeatureandAttr(Big Spender,suit,blue): This query asks to find all media objects in which Big Spender appears in a blue suit.  FindFeaturesinObj(Obj): This query asks to find all features that occur within a given media object. It returns as output, the set of all such features. For example, FindFeaturesinObj (iml.gif): This asks for all features within the image file iml.gif. It may return as output, the objects John, and Lisa. FindFeaturesinObj(videol.mpg:[1,15]): This asks for all features within the first 15 frames of the video file videol.mpg. The answer may include objects such as Mary and John.

MM Database18 Querying SMDSs (Uniform Representation) (cont.)  FindFeaturesandAttrinObj(Obj) : This query is exactly like the previous query except that it returns as output, a relation having the scheme ( Feature,Attribute,Value ) where the triple ( f,a,v ) occurs in the output relation iff feature f occurs in the query FindFeaturesinObj(Obj) and feature f 's attribute a is defined and has value v. For example, l FindFeaturesandAttrinObj(iml.gif) may return as answer, the table

MM Database19 Querying SMDS by SMDS-SQL §All ordinary SQL statements are SMDS-SQL statements. In addition: §The SELECT statement may contain media-entities. A media entity is defined as follows: l If m is a continuous media object, and i, j are integers, then m:[i, j] is a media-entity denoting the set of all frames of media object m that lie between (and inclusive of) segments i, j. l If m is not a continuous media object, them m is a media entity. l If m is a media entity, and a is an attribute of m, then m.a is a media- entity. §The FROM statement may contain entries of the form which says that only media-objects associate with the named media type and named data source are to be considered when processing the query, and that M is a variable ranging over such media objects.

MM Database20 Querying SMDS by SMDS-SQL (cont) §The WHERE statement allows (in addition to standard SQL constructs), expressions of the form term IN func_ca11 where term is either a variable (in which case it ranges over the output type of func_call) or an object having the same output type as func_call and func_call is any of the five function calls stated above

MM Database21 Sample SMDS-SQL Statements §Find all image/video objects containing both Jane Shady and Big Spender. This can be expressed as the SMDS-SQL query: SELECTM FROMsmds source1 M WHERE(FindType(M)=Video OR FindType(M)=Image) AND M IN FindObjWithFeature(Big Spender) AND M IN FindObjWithFeature(Jane Shady).

MM Database22 Sample SMDS-SQL Statements (cont.) §Find all image/video objects containing Big Spender wearing a purple suit. This can be expressed as the SMDS-SQL query: SELECTM FROMsmds sourcel M WHERE(FindType(M)=Video OR FindType(M)=Image) AND M IN FindObjWithFeatureandAttr(Big Spender, suit, purple)

MM Database23 Sample SMDS-SQL Statements (cont.) §Find all images containing Jane Shady and a person who appears in a video with Big Spender. Unlike the preceding queries this query involves computing a "join" like operations across different data domains. In order to do this, we use existential variables such as the variable "Person" in the query below, which is used to refer to the existence of an unknown person whose identity is to be determined. SELECTM,Person FROMsmds sourcel M,M1 WHERE(FindType(M)=Image) AND (FindType(M1)=Video) AND M IN FindObjWithFeature(Jane Shady) AND M1 IN FindObjWithFeature(Big Spender) AND Person IN FindFeaturesinObj (M) AND Person IN FindFeaturesinObj (M1) AND Person  Jane Shady AND Person  Big Spender

MM Database24 Querying SMDSs (Hybrid Representation) §SMDS-SQL may be used to query multimedia objects which are stored in the uniform representation. §“What is it about the hybrid representation that causes our query language to change?” §In the uniform representation, all the data sources being queried are SMDSs, while in the hybrid representation, different (non- SMDS) representations may be used. §A hybrid media representation basically consists of two parts - a set of media objects that use the uniform representation (which we have already treated in the preceding section), and a set of media-types that use their own specialized access structures and query language.

MM Database25 Querying SMDSs (Uniform Representation) (cont.) §To extend SMDS-SQL to Hybrid-Multimedia SQL (HM-SQL for short), we need to do two things: l First, HM-SQL, must have the ability to express queries in each of the specialized languages used by these non-SMDS sources l Second, HM-SQL, must have the ability to express “joins” and other similar binary algebraic operations between SMDS sources and non-SMDS sources

MM Database26 HM-SQL HM-SQL is exactly like SQL except that the SELECT, FROM, WHERE clauses are extended as follows: §the SELECT and FROM clauses are treated in exactly the same way as in SMDS-SQL. §The WHERE statement allows (in addition to standard SQL constructs) expressions of the form term IN MS:func_call where 1. term is either a variable (in which case it ranges over the output type of func_call) or an object having the same output type as func_call as defined in the media source MS and

MM Database27 HM-SQL (cont.) 2. either MS=SMDS and func_call is one of the five SMDS functions described earlier, or 3. MS is not an SMDS-media source., and func_call is a query in QL(MS). §Thus, there are 2 differences between HM-SQL and SMDS- SQL: 1. func_calls occurring in the WHERE clause must be explicitly annotated with the media-source involved, and 2. queries from the query languages of the individual (non- SMDS) media-source implementations may be embedded within an HM-SQL query. This latter feature makes HM-SQL very powerful indeed as it is, in principle, able to express queries in other, third-party, or legacy media implementations.

MM Database28 Sample HM-SQL Statements §Find all video clips containing Big Spender, from both the video sources, videol, and video2, where the former is implemented via an SMDS and the latter is implemented via a legacy video database: SELECTM FROMsmds video1, videodb video2 WHERE M IN smds:FindObjWithFeature(Big Spender) OR M IN videodb:FindVideoWithObject(Big Spender)

MM Database29 Sample HM-SQL Statements (cont.) §Find all people seen with Big Spender in either video1, video2, or idb. (SELECTP1 FROMsmds video1 V1 WHEREV1 IN smds:FindObjWithFeature(Big Spender)AND P1 IN smds:FindFeaturesinObj(V1) AND Pl  Big Spender)UNION (SELECTP2 FROMvideodb video2 V2 WHEREV2 IN videodb:FindVideoWithObject(Big Spender) AND P2 IN videodb:FindObjectsinVideo(V2) AND P2  Big Spender)UNION (SELECTP3 FROMimagedb idb I3 WHEREI3 IN imagedb:getpic(Big Spender) AND P3 IN imagedb:getfeatures(I3) AND P3  Big Spender)

MM Database30 Connective Summary When faced with the problem of creating a multimedia database, we must take into account the following two questions: §What kinds of media data should this MM database provide access to? §Do legacy algorithms already exist (and are they available) to index this data reliably and accurately using content-based indexing methods?  determine the use of uniform representation or hybrid representation !! In the text, the author has also shown how to index SMDSs with enhanced inverted indices (an easy-to-implement mechanism for indexing large document bases).