You are on page 1of 9

ATM System

Requirement

Created

Use case diagram

ThangPC005

Approved

Updated

1. Use case diagram

Validate card

Enter card detail

Authenticate User

View balance

Customer

Modify the validity


of card

Withdraw money

Withdrawal
information

Change PIN

Bank officer

Includes

Get bill

Approved

ATM System

Requirement

Created

Use case scenario - Validate card

ThangPC005

Approved

1. Use case scenario

Use case name:


Actor(s)
Description:

Validate card
Customer
Kim tra s hp l ca th ATM

Trigger event:
Trigger type:
Precondition:
Step performed:
1
2
3
4
5

Ngi dng a th vo my ATM


x
Extenal
Ngi dng c th ngn hng

Ngi dng a th vo khe nhn th trn my ATM


H thng hin th bng chn ngn ng
Ngi dng chon ngn ng hin th
H thng kim tra tnh hp l ca th v a ra thng bo tng ng

Hin th thng bo v tnh hp l ca th

Assumptions

Th khng hp l c nh ra hoc ngi dng bm thot ly li th

Outstanding issues

Priority

Risk

Temporal (Timing)

Hin th bng chn ngn ng

Chuyn sang Use case sau

Post condition

Requirement met

ID

ATM-UC01

Updated

Approved

ATM System

Requirement

Created

Use case scenario - Authenticate User

ThangPC005

Approved

1. Use case scenario

Use case name:


Actor(s)
Description:

Trigger event:
Trigger type:
Precondition:

Authenticate user
Customer
Kim tra tnh xc thc ca ngi s dng

ID

Khch hng nhp m PIN


Extenal

Step performed:
1
Khch hng nhp m PIN vo mt khu
2
H thng kim tra tnh xc thc ca ngi dng v chuyn n ca s tng ng
3
4
5

Post condition

Chuyn n ca s tng ng theo role ca qu trnh xc thc

Assumptions

Ngidng bm thot ly li th

Requirement met

Nhp PIN khng qu 3 ln, qu 3 ln nhp khng chnh x c b thu hi th

Outstanding issues

Priority

Risk

Temporal (Timing)

Th c kim tra l hp l

Hin th nhp PIN, m PIN gm 6 k t


Chuyn n Use case tip theo

ATM-UC02

Updated

Approved

ATM System

Requirement

Created

Use case scenario - View balance

ThangPC005

Approved

1. Use case scenario

Use case name


View balance
Actor(s)
Customer
Description:
Cho php khch hng xem s d ti khon tng ng vi th

Trigger event:
Trigger type:
Precondition:

Assumptions

Requirement met

Outstanding issues

Risk

ATM-UC03

Khch hng yu cu kim tra s d ti khon


Ngi dng c xc thc l hp l

Step performed:
1
Khch hng yu cu kim tra thng tin s d ti khon
2
H thng kim tra s d ti khon tng ng vi th v a ra thng tin
3
4
5
6
7
8
9
10
11
Post condition
Hin th thng tin s d ti khon cho khch hng

Priority

ID

Sau khi giao dch thnh cng, ngi dng bm thot ly li th

Hin th bng chn cc chc nng


Chuyn n Use case tip theo

Updated

Approved

ATM System

Requirement

Created

Use case scenario - Withdraw money

ThangPC005

Approved

1. Use case scenario

Use case name


Withdraw money
Actor(s)
Customer
Description:
Cho php ngi dng rt tin

Trigger event:
Trigger type:
Precondition:

ID

ATM-UC04

Khch hng yu cu rt tin


Th c xc thc l hp l

Step performed:
1
Khch hng yu cu hnh ng rt tin
2
H thng a ra bng chn cho khch hng chn s tin mun rt
3
Khch hng nhp vo s tin mun rt
4
HT kim tra tnh hp l v a ra kt qu tng ng
5
Chuyn n Use case tip theo
6
7
8
9
10
11
Post condition Nu s tin ph hp iu kin, xut tin cho khch hng, ngc li a ra thng bo khng th rt tin
Assumptions

Giao dch thnh cng, bm thot ly li th

Requirement met

Outstanding issues

Priority

Risk

Kim tra s tin rt nh hn s d ti khon, nh hn s tin c trong my v khng vt qu Over Draft cho php l lnh rt hp l

Updated

Approved

ATM System

Requirement

Created

Use case scenario - Withdrawal information

ThangPC005

Approved

1. Use case scenario

Use case name


Withdrawal Information
Actor(s)
Customer
Description:
Khch hng xem thng tin sau khi giao dch, s dng cho ln giao dch sau

Trigger event:
Trigger type:
Precondition:

Sau khi khch hng thc hin giao dch


Ngi dng thc hin xong lnh rt tin hoc lnh kim tra s d ti khon

Step performed:
1
Ngi dng yu cu xut thng tin ti khon lu tr
2
H thng kim tra thng tin ti khon tng ng v tr li kt qu cho ngi dng
3
4
5
6
7
8
9
10
11
Post condition
Tr ra ha n giao dch cho khch hng
Assumptions

Requirement met

Outstanding issues

Priority

Risk

ID

Bm thot ly li th

Chuyn n Use case tip theo

ATM-UC05

Updated

Approved

ATM System

Requirement

Created

Use case scenario - Change PIN

ThangPC005

Approved

1. Use case scenario

Use case name


Actor(s)
Description:

Change PIN
Customer
Cho php khch hng i m PIN ca th

Trigger event:
Trigger type:
Precondition:

Khch hng chn chc nng i m PIN

ID

Ngi dng c xc thc l hp l

Step performed:
1
Khch hng chn chc nng i m PIN
2
H thng a n mn hnh i m PIN
3
Ngi dng nhp m PIN c v mi
4
H thng kim tra tnh hp l v tr ra kt qu tng ng
5
Chuyn n Use case tip theo
6
7
8
9
10
11
Post condition
a ra thng bo thnh cng nu i PIN hp l, ngc li bo khng thnh cng
Assumptions

Requirement met

Outstanding issues

Priority

Risk

Thay i thnh cng, bm thot ly li th

ATM- UC06

Updated

Approved

ATM System

Requirement

Created

Use case scenario - Enter card detail

ThangPC005

Approved

1. Use case scenario

Use case name


Actor(s)
Description:

Enter card detail


Bank officer
Nhn vin ngn hng nhp thng tin khch hng mi lm th ATM

Trigger event:
Trigger type:
Precondition:

Nhn vin yu cu nhp thng tin khch hng mi - Click vo button Create
Nhn vin c xc thc l hp l

Step performed:
1
Nhn vin nhp thng tin khch vo form nhp liu v click button save
2
H thng kim tra tnh hp l ca thng tin nhp vo
3
Ghi vo CSDL v thng bo thnh cng nu thng tin hp l
4
Thng bo khng thnh cng nu thng tin khng hp l
5
6
7
8
9
10
11
Post condition
Ghi li thng tin khch hng mi v hin thng bo tng ng
Assumptions

Requirement met

Outstanding issues

Priority

Risk

ID

Chuyn n use case sau

ATM-UC07

Updated

Approved

ATM System

Requirement

Created

Use case scenario - Modify the validity of card

ThangPC005

Approved

1. Use case scenario

Use case name


Actor(s)
Description:

Modify the validity of card


Bank officer
Cho php nhn vin ngn hng thay i tnh hp l ca th(Kha hay m kha th)

Trigger event:
Trigger type:
Precondition:

Nhn vin ngn hng click vo button edit


Xc thc nhn vin l hp l

Step performed:
1
Nhn vin thay i tnh hp l ca th trong form v click Save
2
H thng lu thng tin thay i vo CSDL v hin th thng bo
3
4
5
6
7
8
9
10
11
Post condition
Lu thng tin thay i v hin th thng bo tng ng cho ngi dng
Assumptions

Requirement met

Outstanding issues

Priority

Risk

ID

ATM-UC08

Updated

Approved

You might also like