 2009 Qing Li Application of Object Orientation.

Slides:



Advertisements
Similar presentations
MediaView -- Towards a “Semantic” Multimedia Database Model
Advertisements

Three-Step Database Design
Limitations of the relational model 1. 2 Overview application areas for which the relational model is inadequate - reasons drawbacks of relational DBMSs.
Chapter 10: Designing Databases
1 Enviromatics Spatial database systems Spatial database systems Вонр. проф. д-р Александар Маркоски Технички факултет – Битола 2008 год.
SMM5101 (ADVANCED MULTIMEDIA PROGRAMMING) Review of Multimedia Programming.
Object-Oriented Databases v OO systems associated with – graphical user interface (GUI) – powerful modeling techniques – advanced data management capabilities.
OBJECTS Object Oriented ???????. OBJECTS Object-Oriented n OO convenient label for a collection of interconnected ideas n OO approach views computer.
©Silberschatz, Korth and Sudarshan8.1Database System Concepts Chapter 8: Object-Oriented Databases Need for Complex Data Types The Object-Oriented Data.
Understanding Networked Applications: A First Course Chapter 15 by David G. Messerschmitt.
Chapter 14 (Web): Object-Oriented Data Modeling
Object-Oriented Databases
ICS (072)Database Systems Background Review 1 Database Systems Background Review Dr. Muhammad Shafique.
Chapter 2: Entity-Relationship Model (Continued)
Object-oriented design CS 345 September 20,2002. Unavoidable Complexity Many software systems are very complex: –Many developers –Ongoing lifespan –Large.
Chapter 4 Object and Object-Relational Databases (Part ½: Object-Oriented Concepts) Lecturer: H.Ben Othmen Department of Computer Science, Umm Al-Qura.
Chapter 14: Object-Oriented Data Modeling
Multimedia Databases Prepared by Pradeep Konduri Instructor: Dr. Yingshu Li Georgia State University.
Chapter 14: Object-Oriented Data Modeling
Modern Information Retrieval Chap. 02: Modeling (Structured Text Models)
Chapter 24 Introduction to Object DBMSs Prepared by Kai Huang CS157B Prof Sin-Min Lee.
Chapter 4 The Relational Model.
C++ Object Oriented 1. Class and Object The main purpose of C++ programming is to add object orientation to the C programming language and classes are.
11 1 Object oriented DB (not in book) Database Systems: Design, Implementation, & Management, 6 th Edition, Rob & Coronel Learning objectives: What.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Database Management System Prepared by Dr. Ahmed El-Ragal Reviewed & Presented By Mr. Mahmoud Rafeek Alfarra College Of Science & Technology Khan younis.
DBSQL 3-1 Copyright © Genetic Computer School 2009 Chapter 3 Relational Database Model.
M Taimoor Khan Course Objectives 1) Basic Concepts 2) Tools 3) Database architecture and design 4) Flow of data (DFDs)
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
CHAPTER 13 (ONLINE): OBJECT-ORIENTED DATA MODELING © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition.
1 © Prentice Hall, 2002 Chapter 14: Object-Oriented Data Modeling Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R.
7-1 © Prentice Hall, 2007 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 15: Object-Oriented Data Modeling Modern Database Management 9 h Edition Jeffrey A.
Unit 3 Conceptual Data Modeling. Key Concepts Conceptual data modeling process Classes and objects Attributes Identifiers, candidate keys, and primary.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 13 (Online): Object-Oriented Data Modeling Modern Database Management 10 th Edition.
CHAPTER 13: OBJECT-ORIENTED DATA MODELING (OVERVIEW) © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition.
Week 11 - Monday.  What did we talk about last time?  Binomial theorem and Pascal's triangle  Conditional probability  Bayes’ theorem.
Object-Oriented Data Modeling
1 CS457 Object-Oriented Databases Chapters as reference.
Map overlays & Geoprocessing Learn about spatial analysis functions overlays, clipping & buffering Use overlays to analyze multiple spatial criteria Understand.
ITEC 3220A Using and Designing Database Systems Instructor: Gordon Turpin Course Website: Office: CSEB3020.
Levels of Image Data Representation 4.2. Traditional Image Data Structures 4.3. Hierarchical Data Structures Chapter 4 – Data structures for.
GIS Data Types. GIS technology utilizes two basic types of data 1. Spatial Data Describes the absolute and relative location of geographic features.
WIGOS Data model – standards introduction.
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
Graphs Basic properties.
Fundamentals, Design, and Implementation, 9/e Appendix B The Semantic Object Model.
Towards Unifying Vector and Raster Data Models for Hybrid Spatial Regions Philip Dougherty.
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
Object Modeling THETOPPERSWAY.COM. Object Modelling Technique(OMT)  Building a model of an application domain and then adding implementation.
ITEC0724 Modern Related Technology on Mobile Devices Lecture Notes #2 1.
Class Diagrams. Terms and Concepts A class diagram is a diagram that shows a set of classes, interfaces, and collaborations and their relationships.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
Spatial Data Models Geography is concerned with many aspects of our environment. From a GIS perspective, we can identify two aspects which are of particular.
Introduction to GIS All materials by Austin Troy © 2003, except where noted Lecture 8: Site Selection and Suitability Analysis and Criterion- based mapping.
Enhanced Entity-Relationship and UML Modeling. 2.
1 © 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the.
High-level Database Models Prof. Yin-Fu Huang CSIE, NYUST Chapter 4.
What is a database? (a supplement, not a substitute for Chapter 1…) some slides copied/modified from text Collection of Data? Data vs. information Example:
COP Introduction to Database Structures
Conceptual Design & ERD Modelling
Object-Oriented Database Management System (ODBMS)
Data Models.
Lecture 2 The Relational Model
Datamining : Refers to extracting or mining knowledge from large amounts of data Applications : Market Analysis Fraud Detection Customer Retention Production.
Lec 3: Object-Oriented Data Modeling
LECTURE 34: Database Introduction
Chapter 20 Object-Oriented Analysis and Design
LECTURE 33: Database Introduction
Concepts of Computation
Presentation transcript:

 2009 Qing Li Application of Object Orientation

 2009 Qing Li 1.CAD/CAM (Design Engineering) applications

 2009 Qing Li 1.CAD/CAM (Design Engineering) applications(cont.) Both versions can have the same interface corresponding to the same commands: pick up objects stretch the arm rotate the hand …… OO representation and abstraction closely/directly model such complex, multi- version engineering objects only operations are relational algebra, using comparators from base types

 2009 Qing Li 2.Office Information Systems Office information systems are inherently complex, dynamic, and goal-oriented (requiring knowledge-level processing and management) OO Techniques are especially suited to OISs: (i) Office Objects: forms -> new forms (inheritance between form types) documents => Chapters =>Sections => paragraphes (part hierarchy: “part inheritance” between object structure) mailboxes Editors spreadsheets <= also potential for exploiting class inheritance …

 2009 Qing Li 2.Office Information Systems(Cont.) (ii) Office Procedures: -- the routine sequences of operations that are used to manipulate office objects -- often ill-defined and exhibit large number of exceptions; furthermore, they expand in scope and evolve in time => can be supported by object methods! (iii) Knowledge Management -- the organizational regulations, rules -- constraints, migrations, … => call for rule-level processing and management

 2009 Qing Li 3. Geographic Information Systems Characterized by - mixture of traditional data with non-traditional data (maps, satellite pictures)  How do we integrate them?  Long fields for nonstandard data such as images: >> Relation can get very large? >> Non-standard size for tuples? - fractals: multiple representations (multi-resolution) due to cartographic generalization (ratio change):  new details become apparent at the larger scale  lines behave as if they have properties of phenomena whose dimension is somewhere between that of a line and an area

 2009 Qing Li 3. Geographic Information Systems(cont.) - spatial-temporal query processing:  Queries about line segments >> all segments that intersect a given point or set of points >> all segments that have a given set of endpoints >> segments that intersect a given line segment >> …  Proximity queries >> The nearest line segment to a given point >> All segments within a given distance from a given point (“range/window query”) >> …

 2009 Qing Li 3. Geographic Information Systems(cont.) - spatial-temporal query processing:  Queries about line segments >> all segments that intersect a given point or set of points >> all segments that have a given set of endpoints >> segments that intersect a given line segment >> …  Proximity queries >> The nearest line segment to a given point >> All segments within a given distance from a given point (“range/window query”) >> …  Queries involving attributes of line segments >> Given a point, find the closest line segment of a particular type >> Given a point, find all the polygons that are incident on it >> …

 2009 Qing Li 3. Geographic Information Systems(cont.) -Special indexing techniques needed:  Need an implicit rather than explicit index >> Cannot foresee all possible queries in advance  New indexing techniques such as: >> Quadtree, >> R-tree >> Pyramid >> …

 2009 Qing Li 3. Geographic Information Systems(cont.) -Special operators needed:  Operations on the special indices >> E.g., set operations on Quadtrees (Union, Intersect, etc.)  Operations on Maps >> Spatial join (like map overlay) >> Semi spatial join (“identity overlay”) E.g. Find the soil type in the counties (Impose partition of space induced by County Map on feature values in Soil Map ignoring portion of space induced by the Soil Map) OO Techniques work better for GIS?!

 2009 Qing Li 4. Multimedia Information Systems Characterized by - mixture of traditional data with media data (image, audio, video, free-text, animation, etc.)  How do we integrate them? - MM objects are complex in structure:  E.g., Video consists of audio and moving/continues images; an MM document can contain everything!  What data model to use?

 2009 Qing Li 4. Multimedia Information Systems(Cont.) -spatial-temporal query processing:  Similar to GIS, MM objects are of rich spatial-temporal semantics (think of a video clip!)  Impossible (too costly) to have static, explicit indices on all possible features Would OO Techniques be useful for MMIS

 2009 Qing Li 4. Multimedia Information Systems(Cont.) Answer is YES! Here, we look at MediaView – an object-oriented semantic model for MMIS

 2009 Qing Li “Semantic Gap” Problem:

 2009 Qing Li Semantic modeling of multimedia -- Why hard?

 2009 Qing Li Why hard? (cont.)

 2009 Qing Li MediaView – A “Semantic Bridge”

 2009 Qing Li Architecture

Fundamentals of MediaView Basic concepts – class vs. MV View operators – basic functions of MV View algebra – derivations of MV Comparison – other “dynamic” object models

 2009 Qing Li Basic Concepts Definition 1: Set C as the set of base classes. A base class Ci  C has a unique class name, a type description, and a set of objects associated with it. The type of Ci is referred to as type(Ci), which defines a set of properties as the common interface of all the instances of Ci. The set of properties are referred to as properties(Ci), and each property in it can be a value of a simple type, an instance of a certain class, or a method. The set of objects associated with Ci is defined as extent(Ci)= {o | o  Ci}.

 2009 Qing Li Basic Concepts (cont’d) Definition 2: A media view MVi is a virtual class that has a unique view name, a type description, and a set of objects associated with it. The type of MVi is referred to as type(MVi), which defines a set of properties properties (MVi) as the common interface of all its instances. Similarly, a property can be a value of a simple type, an instance of a media view, or a method. The set of objects associated with MVi is defined as extent(MVi)= {o | o  MVi}.

 2009 Qing Li Basic Concepts (cont’d) So, a media view MVi can be represented as a tuple of 4 elements: MVi= Where: Mi - a set of objects that are included into MVi as its members. Each object o ∈ Mi belongs to a certain source class, and different members of MVi may belong to different source classes. Piv - a set of view-level properties (attributes and methods) applied on MVi itself. Pim - a set of member-level properties (attributes and methods), which are applied on all the members of MVi. Ri - a set of relationships, and each r ∈ Ri is in the form of, which denotes a relationship of type t between member oj and ok in MVi.

 2009 Qing Li Basic Concepts (cont’d) Definition 3: A base class Ci is defined as a subclass of another base class Cj if and only if the following two conditions hold: (1) properties(Cj)  properties(Ci), and (2) extent(Ci)  extent(Cj). If Ci is the subclass of Cj, we also say that there is an is-a relationship from Ci to Cj. A base schema (BS) is a directed acylic graph G=(V, E), where V is a finite set of vertices and E is a finite set of edges as a binary relation defined on V×V. Each element in V corresponds to a base class Ci. Each edge in the form of e=  E represents an is-a relationship from

 2009 Qing Li Basic Concepts (cont’d) Definition 4: A media view MVi is a subview of another media view MVj (or there is an is-a relationship from MVi to MVj) if and only if properties(MVj)  properties(MVi) and extent(MVi)  extent(MVj). A view schema (VS) is a directed acylic graph G={V, E}, where a vertex in V corresponds to a media view MVi, and an edge e=  E represents an is-a relationship from MVi to MVj (or MVi is a subview of MVj).

 2009 Qing Li Basic Concepts (cont’d) An example…

 2009 Qing Li Basic Concepts (cont’d) Semantics-based data reorganization via media views

 2009 Qing Li Basic Concepts (cont’d) Definition 5: The semantic graph (SG) is an undirected graph G={V, E}, where V is a finite set of vertices and E is a finite set of edges. Each element Vi  V corresponds to a multimedia object Oi in the database. E is a ternary relation defined on V×V×N. Each e=  E represents a semantic link of degree n between object Oi and Oj, where n is the number of media views to which both objects belong. We define n as the correlation factor between Oi and Oj. Definition 6: The correlation matrix M=[Mij] is an adjacency matrix of the semantic graph. Specifically, each element Mij contains the correlation factor between Oi and Oj, with all the diagonal elements set to zero.

 2009 Qing Li Basic Concepts (cont’d) Semantic Graph Model

 2009 Qing Li View Operators A set of operators that take media views and view instances as operands. Our intension is not to come up with a complete set of operators, but to focus on those that are indispensable in supporting queries and navigation over multimedia objects.

 2009 Qing Li View Operators

 2009 Qing Li View Operators (cont’d)

 2009 Qing Li View Algebra Functions -- derivation of new MVs from existing MVs Heuristic Enumeration Blind enumeration Content-based enumeration Semantics-based enumeration

 2009 Qing Li View Algebra

 2009 Qing Li View Algebra

 2009 Qing Li Comparison (vs. class)

 2009 Qing Li Comparison (vs. class)

 2009 Qing Li Comparison (vs. class)

 2009 Qing Li 5. Internet/Web Databases Sometime also called as “Virtual Databases (VDBs)”  VDBs can make the WWW behave as an extension of an enterprise’s existing DBMSs  VDB information can be characterized by:  all the requirements imposed by MISs, plus extra…  Large numbers of data sources which are autonomous (without centralized control)  Data sources can have a mixture of structured data and semi- structured data (e.g., HTML pages)  Dynamism in almost every aspect:  Content  Structure  Links  Formats  …

 2009 Qing Li 5. Internet/Web Databases(Cont’) An increasingly hot-area, with a lot of commercial potentials from the E-commerce application’s point of view But, is OO the best technology for VDBs?