Multimedia Databases
Multimedia Databases
2 MM Database
What are Issues and challenges
3 MM Database
Application areas
4 MM Database
Like the traditional DBMS, MM-DBMS should address requirements:
Integration
Data items do not need to be duplicated for different programs
Data independence
Separate the database and the management from the application
programs
Concurrency control
allows concurrent transactions
5 MM Database
Requirements of Multimedia DBMS
Persistence
Data objects can be saved and re-used by different
transactions and program invocations
Privacy
Access and authorization control
Integrity control
Ensures database consistency between transactions
Recovery
Failures of transactions should not affect the persistent data
storage
Query support
Allows easy querying of multimedia data
6 MM Database
Requirements of Multimedia DBMS (cont.)
In addition, an MM-DBMS should:
have the ability to uniformly query data (media data, textual data)
represented in different formats.
have the ability to simultaneously query different media sources and
conduct classical database operations across them.
query support
have the ability to retrieve media objects from a local storage device in a
smooth jitter-free (i.e. continuous) manner.
storage support
have the ability to take the answer generated by a query and develop a
presentation of that answer in terms of audio-visual media.
have the ability to deliver this presentation in a way that satisfies various
Quality of Service requirements.
presentation and delivery support
7 MM Database
BLOB
A Binary Large OBject (BLOB) is a collection of
binary data stored as a single entity in a
database management system. Blobs are typically
images, audio or other multimedia objects, though
sometimes binary executable code is stored as a blob.
Database support for blobs is not universal.
8 MM Database
Video On demand
Video on demand (display) (VOD) are systems which allow
users to select and watch/listen to video or audio content
when they choose to, rather than having to watch at a specific
broadcast time. IPTV technology is often used to bring video
on demand to televisions and personal computers.
VoD has historically suffered from a lack of
available network bandwidth, resulting inbottlenecks and
long download times. VoD can work well over a wide
geographic region or on asatellite-based network as long as
the demand for programming is modest. However, when
large numbers of consumers demand multiple programs on a
continuous basis, the total amount of data involved (in terms
ofmegabytes) can overwhelm network resources.
9 MM Database
A Sample Multimedia Scenario
Consider a police investigation of a large-scale drug operation. This
investigation may generate the following types of data
Video data captured by surveillance cameras that record the
activities taking place at various locations.
Audio data captured by legally authorized telephone wiretaps.
Image data consisting of still photographs taken by investigators.
Document data seized by the police when raiding one or more
places.
Structured relational data containing background information, back
records, etc., of the suspects involved.
Geographic information system data remaining geographic data
relevant to the drug investigation being conducted.
10 MM Database
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”
12 MM Database
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
13 MM Database
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:
SELECT M
FROM smds video1, videodb video2
WHERE M IN smds:FindObjWithFeature(Big Spender)
OR
M IN videodb:FindVideoWithObject(Big
Spender)
14 MM Database