Sau day la cac bl1CfCdl1(fcthlJChi~n khi xay dlJng h~ thongthong tin co thi dung IC;Zima ph6n mil1J Rational Rose cung cap (hlnh 19 va 20):
Dgu tieD trong giai do;;tn phan tich yell cgu, chung ta bat dgu vdi so
d6 Use Case. Tit cac Use Case chung ta co th€ phat sinh cac so d6 tugn tl!, so d6 cQng tac, so d6 tr;;tngthai, va sail do la phat sinh ra so d6 !dp.,
Cang Cl;lRose giup chung ta t;;to mQt !dp don, them vao do cac thuQc tinh, cac phu'ong thlic va ti€p tl;lCb6 sung chung trong qua trlnh phan tich.
Khi chuy€n tu giai do;;tnphan tich sang thie't k€, chung ta se Dang cao cha't lu'Qngcua so d6 !dp va cling luc nay chung ta se quay trd l;;tiva
md rQng so d6 tugn t1,1'd€ ki€m tra tinh cha't dQng cua ling dl;lng.
Cu6i cling, chung ta se phat sinh ra cac so d6 goi, so d6 thanh to' va so d6 tri€n khai.
4.1 Citi d~t mc)t khung mfiu cho h~ th6ng qmin Iy cae giao dich d~t tnioc :
D€ Kay d1,1'ngh~ th6ng- qucln 1:9cac giao dich d~t tru'dc thanh mQt ling dl;lng co th€ dling l;;tivdi dgy du cac chi ti€t phan tich, thie't k€ va cac so d6 minh hQa, chung ta se sa dl;lng cang Cl;lphgn m~m Rational Rose 2000 d€ cai d~t mQt khung m~u vdi ten gQi la "qlgd.mdl".
Cae yell eftu Philo tieh
So d6 tr~ng thai
\ b~:\
Cae sOd6 Use Case va cae ma tel
So d6 tu~n tt;1'
ChUng ta co th~ ehuy~n ma tu cae so de; Use Case de'n cae so de; tu~n t\(, so de; lop
ChUng ta co th~ ma rQng nhanh va niing eao ehilt hlQng eua so de; trong giai do\ln thie't ke'
~(*) (*)
~ BQ so\ln thao cilu true d6i tt(Qngligan eMn chung ta ve cae so de; sai ho~e kh6ng ehinh xae . (**) ~~ ~ \ . ! ..-., --L \y-'...\- e So d6 cQng tac
Hinh 19. Bi~u dieD cac so 06 chilc Dang va cac moi quail h~ giil'a chung trong giai o°<.tn phan tIch yell du va phan tIch h~ thong thong tin.
So d6 tri€n khai
B
MCirQng nhanh va Dang caD chill hlQng cila so d6 tu.1n t1/ trang giai do'fn thie't ke' tu giai do'fn phan rich
(*)(**) (**) Thie't ke' So d6 thanh to' ~ Chung La Slt d\lng so d6 tri~n khai va so d6 thanh t6 d~ cling ciip tl1li~u vi: thie't ke' v~t 19 cho ling' d\1Dg Clla chung ta .
Ma, ki~m tra, Va cai dijt
Co sa dITli~u quail h~
D
Hinh 20~Bi~u di~n cae so 06 chile nang va cae m6i quan h<$gifi'achung trong giai ooi;lnthie't ke', ma, ki~m tra va cai o~t h<$th6ng thong tin.
So d6 d6ng g6i [J" ''c I j.: } . - - ~-, i I I ThiC"t kC" cac so d6 g6i d€ chI ra cac nh6m logic cua cac ldp tJ ! [iiJ - D So d6 thl!Cth€ ~ g~ gI m6i kC"th<;1pcho ~ co sa dIT li~u quailM S6d6 lop I ~ ~ I
Khung m~u "qlgd.mdl" trong Rational Rose la mQt mo hlnh vdi cac ph~n tu duQc dinh nghla trudc, chung duQc Kay dlfng bang Gong Cl;! Framework Wizard, chung chua Ult ca cac kSt qua cua qua trlnh phan Hch yell c~u, phan tich h~ thO'ngva thiSt kS h~ thO'ng. Khung m~u nay se duQc
dung lam m~u cho mQt ph~n cua h~ thO'ng IOn.
4.1.1 Phan tich yell diu cua h~ thO'ng :
Budc nay la mQt trong nhung budc kh6 nha't khi phan tich h~ thO'ng, d~u lien, chung ta c~n phai nh~n biSt cac yell c~u cua h~ thO'ngqUail ly cac giao dich d~t trudc, d~ tu d6 xac dinh nhung lo;;ti thong tin nao ma
Gong vi~c yell c~u, hlnh thUGcua chung, ten gQi va dn sO'xua't hi~n nhu thS nao va nhung dap ung nao la c~n thi~t ? KStiSp la chung ta phai thu
xac dinh cac kha nang xu ly thong tin yell c~u cho m6i h~ thO'ngho;;ttdQng (nh~p, xu ly, xua't, lliu tru, ki~m tra) d~ tha'y duQc nhung thong tin c~n thiSt
nay.
San day lit cae yell cfiu cua h~ thO'ng qUaD Iy cae giao dich dijt tru'dc :
* Quan tri giao dich :
- T;;to mQt giao dich mdi, buy mQt giao dich, c~p nh~t thong tin v~mQt giao dich. mQt giao dich.
* H~ thO'ng dang ky khach hang:
- H~ thO'ngnay cho phep trlnh bay ta't ca cac thong tin cua khach hang ho~c dang ~y khach hang mdi, c~p nh~t thong tin khach
* H~ th6ng co lien quail (ma rQng) :
- H~ th6ng ke' tmin: cho phep l~p hoa don thanh tmln khi mQt giao
dich du'<;jccoi la h<;jpl~,
Sa dlJng cac so d6 Us'e Case va di~n giai d~ phan tkh cac yeti cftu cua h~ th6ng, Cac yeti cftu nay chinh la cac dli li~u se du'<;jcngu'di sa dlJng du'avao h~ th6ng qua cac giao di~n man hlnh va chd nh~n Calitra Idi tu h~ th6ng, Hlnh 21 bi~u di~n so d6 Use Case cua h~ th6ng qUail 19 cac giao
dich d~ t tru'dc. r- ~, "\/ ~ / /7 / ThemmotGIAODICH /,/ ~~~"'\ ""~"'\,~,-- )
Hethon!\-Da ngk yHoso KhachHa ng
/"// // / " ~'-I'- - - , ~" " CapnhatmotGIAODICH " //'--~-'~~" - -, '7>( \ \~" I NguoiquanlriGIAODICH ~ HuymotGIAODICH ~ .~ C-')--.-- ,/-, I \ ,-j 7 ---:- /~, " Goigdhople HethongKctoan
Hlnh 21. So d<5Use Case cua ht%th6ng qmln ly cae giao dich d~t tru'oc
Trong goc nhln cua Use Case (Use Case View) - eae Use Caseva cac tac nhan (Actor) chi r6 hanh vi va moi tru'dng Kungquanh cua h~ th6ng bell trong chling. Theo nhu' m~c dinh, goc nhln cua Use Case co chua mQt so d6 Use Case du'<;jcg9i l~ Main d~ bi~u di~n so d6 Use Case cua h~
th6ng.
Khi phan tich mQtUse Case c~n lam ra 3 ye'u to' : - Mo ta ho?t dQngcua Use Case.
- Xac dinh cac ldp phan tich c~n thie't d~ thtfc hi~n Use Case. - Phac h9a cac yell c~u d~c bi~t cua Use Case (ne'u co).
Phiin tich cae Use Case cua yeu cflu Quan.trt giao dtch :
Trong ph~n nay, 3 Use Case se du'Qcdinh nghla :