You are on page 1of 7

Chapter 8

Structuring system Data requirements


In Chapter 7, you learned how to model and analyze two important views of an information
system: (1) the flow of data between manual or automated steps and (2) the decision logic of
processing data. None of the techniques discussed so far, however, has concentrated on the
data that must be retained in order to support the data flows and processing described. For
example, you learned how to show data stores, or data at rest, in a data flow diagram (DFD).
The natural structure of data, however, was not shown. DFDs, use cases, and various
processing logic techniques show how, where, and when data are used or changed in an
information system, but these techniques do not show the definition, structure, and
relationships within the data. Data modeling develops these missing, and crucial, descriptive
pieces of a system.

A conceptual data model is a representation of organizational data. The purpose of a


conceptual data model is to show as many rules about the meaning and interrelationships
among data as are possible.
 Conceptual data modeling is typically done in parallel with other requirements analysis
and structuring steps during systems analysis
 Conceptual data modeling: a detailed model that captures the overall structure of data in
an organization
 Independent of any database management system (DBMS) or other
implementation considerations
The Conceptual Data Modeling Process
 Develop a data model for the current system.
 Develop (or purchase) a new conceptual data model that includes all requirements of the
new system.
 In a design stage, the conceptual data model is translated into a physical design.
 Project repository links all design and data modeling steps performed during SDLC

1
Relationship between data modeling and the SDLC

Conceptual data modeling is one kind of data modeling and database design carried out
throughout the systems development process. Figure 8-2 shows the different kinds of data
modeling and database design that go on during the whole systems development life cycle
(SDLC).
The planning phase of the SDLC addresses issues of system scope, general requirements, and
content independent of technical implementation. E-R and class diagramming are suited for this
phase because these diagrams can be translated into a wide variety of technical architectures for
data, such as relational, network, and hierarchical architectures. A data model evolves from the
early stages of planning through the analysis phase as it becomes more specific and is validated
by more detailed analyses of system needs.
In the design phase, the final data model developed in analysis is matched with designs for
systems inputs and outputs and is translated into a format from which physical data storage
decisions can be made. After specific data storage architectures are selected, then files and
databases are defined as the system is coded during implementation. Through the use of the
project repository, a field in a physical data record can, for example, be traced back to the
conceptual data attribute that represents it on a data model diagram. Thus, the data modeling and
design steps in each of the SDLC phases are linked through the project repository.
Relationship between data modeling and the SDLC

Deliverables and Outcome from process of data structuring

2
 Primary deliverable is an entity-relationship (E-R) diagram or UML class diagram.
 Second deliverable is a set of entries about data objects to be stored in repository or
project dictionary.
 Repository links data, process, and logic models of an information system
 Data elements included in the DFD must appear in the data model and vice versa
 Each data stored in a process model must related to business objects represented in
the data model

FI
GURE 8-3 Sample conceptual data model

Gathering Information for Conceptual Data Modeling:


 Two perspectives on data modeling:
 Top-down approach for a data model is derived from an intimate understanding of
the business.
 Bottom-up approach for a data model is derived by reviewing specifications and
business documents.
 Requirements Determination Questions for Data Modeling:
 What are subjects/objects of the business?

3
 Data entities and descriptions
 What unique characteristics distinguish between subjects/objects of the same type?
 Primary keys
 What characteristics describe each subject/object?
 Attributes and secondary keys
 How do you use the data?
 Security controls and user access privileges
 What characteristics describe each subject/object?
 Attributes and secondary keys
 How do you use the data?
 Security controls and user access privileges
 Over what period of time are you interested in the data?
 Cardinality and time dimension
 Are all instances of each object the same?

 Supertypes, subtype, and aggregations


 What events occur that imply associations between objects?
 Relationships and cardinalities
 Are there special circumstances that affect the way events are handled?
 Integrity rules, cardinalities, time dimensions

Representing Supertypes and Subtypes:


 Subtype: a subgrouping of the entities in an entity type
 Is meaningful to the organization
 Shares common attributes or relationships distinct from other subgroupings
 Supertype: a generic entity type that has a relationship with one or more subtypes

4
Figure 8-18 Supertype/subtype relationships in a hospital

Business Rules for Supertype/subtype Relationships:

 Total specialization specifies that each entity instance of the supertype must be a
member of some subtype in the relationship.
 Partial specialization specifies that an entity instance of the supertype does not have to
belong to any subtype, and may or may not be an instance of one of the subtypes.
 Disjoint rule specifies that if an entity instance of the supertype is a member of one
subtype, it cannot simultaneously be a member of any other subtype.
 Overlap rule specifies that an entity instance can simultaneously be a member of two
(or more) subtypes.
 Business rules: specifications that preserve the integrity of the logical data model
 Captured during requirements determination
 Stored in CASE repository as they are documented

5
 Business rules: specifications that preserve the integrity of the logical data model
 Captured during requirements determination
 Stored in CASE repository as they are documented
Four basic types of business rules are:
 Entity integrity: unique, non-null identifiers
 Referential integrity constraints: rules governing relationships between entity
types
 Domains: constraints on valid values for attributes
 Triggering operations: other business rules that protect the validity of attribute
values

6
7

You might also like