1. Trang chủ
  2. » Thể loại khác

Information system development modelling system requirement (1)

60 46 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 60
Dung lượng 21,02 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

User Goals, Events, and Use Cases• Use Case -- An activity the system performs in response to a user request • Techniques for identifying use cases • Each goal at the elementary busines

Trang 1

Topic 4 Modelling System

Requirement

Matakuliah : M0054 Information System Development

Tahun : 2012

Trang 2

Read assignments On time!

Trang 3

Bina Nusantara

Requirements

On time! PERMISSION TO LEAVE PROHIBITED

BEHAVIOUR

Trang 4

Modelling System Requirement

Points to discuss :

• User Goals, Events, and Use Cases

• Procedure for Developing an

Initial List of Things

• The Entity Relationship diagram

• Where You Are Headed

Trang 5

User Goals, Events, and Use Cases

• Use Case An activity the system performs in

response to a user request

• Techniques for identifying use cases

• Each goal at the elementary business process (EBP) level is a use case

• EBP – a task performed by one user, in one place in response to a business event, that adds measurable business value, and leaves system and data in consistent state

Systems Analysis and Design in a Changing World, 5th

Edition

5

Trang 6

User Goals, Events, and Use Cases

(continued)

Trang 7

Identifying Use Cases Based on User

Trang 8

Use Case Based on CRUD Technique

Figure 5-2

Trang 9

Event Decomposition Technique

• Event – an occurrence at a specific time and place and which needs to be remembered

• Business events trigger elementary business

processes (EBPs)

• EBPs are at correct level of analysis for use cases

• Identify business events to decompose system into activities/use cases

Systems Analysis and Design in a Changing World, 5th

Edition

9

Trang 10

• State

Trang 11

Events Affecting a Charge Account Processing System that Lead to Use Cases

Systems Analysis and Design in a Changing World, 5th

Edition

11

Figure 5-3

Trang 12

External Event Checklist

Figure 5-4

Trang 13

Temporal Event Checklist

Systems Analysis and Design in a Changing World, 5th

Edition

13

Figure 5-5

Trang 14

Identifying Events

• Can be difficult to determine

• Often confused with conditions and responses

• May be useful to trace a transaction’s life cycle

• Certain events left to design phase

Trang 15

Sequence of Actions that Lead Up to Only

One Event Affecting the System

Systems Analysis and Design in a Changing World, 5th

Edition

15

Figure 5-6

Trang 16

Sequence of “Transactions”

for One Specific Customer Resulting in Many Events

Figure 5-7

Trang 17

Events Deferred Until the Design

Trang 18

Events in the RMO case

• Important external events involve customers

customer changes or cancels order

• Other external events involve departments

customer, merchandising updates catalog

• Temporal events include periodic reports

fulfillment summary reports

Trang 19

RMO External Events

Systems Analysis and Design in a Changing World, 5th

Edition

19

Figure 5-9

Trang 20

RMO Temporal Events

Figure 5-10

Trang 21

Events and Use Cases

• Event Table – a catalog of use cases listed by event Contains detailed information

data for the event

Systems Analysis and Design in a Changing World, 5th

Edition

21

Trang 22

Information about Each Event

in an Event Table

Figure 5-11

Trang 23

RMO Event Table

Systems Analysis and Design in a Changing World, 5th

Edition

23

Figure 5-12

Trang 24

Use Case Descriptions

• Use case description – a description of the

processing steps for a use case

• Actor – a person or thing that uses the system

Actors have contact with the system

• Scenario or Instance – a particular set of internal steps that represent a unique path of the use case

• Three types of descriptions

Trang 26

Intermediate Description

Figure 5-14

Trang 27

Fully Developed

Trang 28

“Things” in the Problem Domain

• Define system requirements by understanding

system information that needs to be stored

• Store information about things in the problem

domain that people deal with when they do their work

Trang 30

Procedure for Developing an

Initial List of Things

• Step 1: Using the event table and information

about each use case, identify all nouns

• Step 2: Using other information from existing

systems, current procedures, and current reports

or forms, add items or categories of information needed

• Step 3: Refine list and record assumptions or

issues to explore

Trang 31

RMO Example

Trang 32

Characteristics of Things

• Relationship

• Binary, unary, ternary, n-ary

• Attribute

Trang 33

Relationships Naturally Occur

Trang 34

Cardinality/Multiplicity of

Relationships

Figure 5-21

Trang 35

Attributes and Values

Systems Analysis and Design in a Changing World, 5th

Edition

35

Figure 5-22

Trang 36

Data Entities

• Things system needs to store data about in

traditional IS approach

• Modeled with entity-relationship diagram (ERD)

• Requirements model used to create the database design model for relational database

Trang 37

The Entity-Relationship Diagram

Trang 38

Cardinality Symbols of Relationships

for ERD

Figure 5-24

Trang 39

Expanded ERD with Attributes Shown

Systems Analysis and Design in a Changing World, 5th

Edition

39

Figure 5-25

Trang 40

Customers, Orders, and Order Items

Figure 5-26

Trang 41

ERD with Many-to-Many Relationship

Systems Analysis and Design in a Changing World, 5th

Edition

41

Figure 5-27

Trang 42

Many-to-Many Relationship Converted to

Associative Entity to Store Grade Attribute

Figure 5-28

Trang 43

RMO Customer Support System ERD

Systems Analysis and Design in a Changing World, 5th

Edition

43

Figure 5-29

Trang 44

The Domain Model Class Diagram

• Unified Modeling Language (UML) diagram

• Domain model class diagram

entities in ERD)

Trang 45

UML Class Symbol

Systems Analysis and Design in a Changing World, 5th

Edition

45

Figure 5-30

Trang 46

Simple Domain Model Class Diagram

Figure 5-31

Trang 47

Simple Domain Model Class Diagram

(continued)

 No methods shown in domain model

 Very similar to ERD

Systems Analysis and Design in a Changing World, 5th

Edition

47

Trang 48

Multiplicity of Associations

Figure 5-32

Trang 49

University Course Enrollment Domain

Model Class Diagram

Systems Analysis and Design in a Changing World, 5th

Edition

49

Figure 5-33

Trang 50

Refined Model with Association Class

and Grade Attribute

Figure 5-34

Trang 51

More Complex Class Concepts

• Generalization/specialization hierarchies

their superclasses

Systems Analysis and Design in a Changing World, 5th

Edition

51

Trang 52

A Generalization/Specialization Class Hierarchy for Motor Vehicles

Figure 5-35

Trang 53

A Generalization/Specialization Class Hierarchy for RMO Orders

Systems Analysis and Design in a Changing World, 5th

Edition

53

Figure 5-36

Trang 54

• Composition – whole-part relationships between and object and its non-removable parts.

Trang 55

Whole-Part Aggregation Relationships

Systems Analysis and Design in a Changing World, 5th

Edition

55

Figure 5-37

Trang 56

RMO Domain

Model Class Diagram

Figure 5-38

Trang 57

Where You Are Headed

Systems Analysis and Design in a Changing World, 5th

Edition

57

Figure 5-39

Trang 58

• Analysis phase – defines system requirements

• Models created to further learning process, reduce complexity, communicate with team members,

and document requirements

• Key early step in modeling is to identify and list

Trang 59

• Event table records event, trigger, source, use

case, response, and destination

Systems Analysis and Design in a Changing World, 5th

Edition

59

Trang 60

Summary (continued)

• “Things” are what user deals with and system

remembers, such as customer placing an order

• Traditional approach uses entity-relationship

diagrams (ERD) for data entities, attributes of data entities, and relationships between entities

• Object-oriented approach uses UML class diagrams for classes, attributes, methods of class, and

associations among classes

Ngày đăng: 17/09/2020, 15:05