KHẢO SÁT CÁCH TIẾP CẬN COMPONENT ĐỂ ỨNG DỤNG TRONG LĨNH VỰC PHÂN TÍCH THIẾT KẾ HỆ THỐNG THÔNG TIN
NGUYỄN LÂM KIM THY
Trang nhan đề
Mục lục
Chương 1: Dẫn nhập.
Chương 2: Khảo sát cách tiếp cận thành tố.
Chương 3: Ứng dụng cách tiếp cận thành tố trong phân tích, thiết kế hệ thống thông tin: thử nghiệm với hệ thống quản lý các giao dịch đặt trước (giữ chỗ).
Chương 4: Cài đặt một khung mẫu cho hệ thống quản lý các giao dịch đặt trước.
Chương 5: Đánh giá kết quả thực hiện và hướng phát triển.
Phụ lục
Tài liệu tham khảo
27 trang |
Chia sẻ: maiphuongtl | Lượt xem: 1602 | Lượt tải: 0
Bạn đang xem trước 20 trang tài liệu Luận án Khảo sát cách tiếp cận component (Patterns-Frameworks) để ứng dụng trong lĩnh vực phân tích thiết kế hệ thống thông tin, để xem tài liệu hoàn chỉnh bạn click vào nút DOWNLOAD ở trên
Trang 29
Chtidng3
UNG DUNG CACH TIEP C!N THANH TO TRONG PHAN TicH,
,.!' "~",.!',, ?" ~ "
THIET KE H~ THONG THONG TIN: THU NGHI~M VOl H~
THONG QUAN LY CAC GIAODfCHD~T TRUOC(GIU CHch
3.1 MQtsfieachtie'pc~ntruy~nthfingai phantich,thie'tke'mQth~
thfingthongtin
H~thO'ngthongtinla mQth~thO'ngthuth~pthongtin,qUaily chung
vat~oracacsanph~mthongtinphl;!cVl;!chongu'C5isadl;!ng.
Khi phantichthie'tk~mQth~thO'ngthongtin theocachti~pc~n
truy~nthO'ng[11],ngu'C5ita thu'C5ngsuyfighTtheohu'dng"lamthe'naGdi
ddpztngcaeyeucdud(itra"vad€ giaiquye'tcongvi~cnay,quatrlnhphan
tichthi~tke'h~thO'ngphaitraiquacacbu'dcnhu'sau:
- Batd~uvaki~nthi~th~thO'ngthongtinquacachti~pc~nt6chuc
- h~thO'ng.
- Phantichvamohlnhh6acacyetic~ud~tracuah~thO'ng.
- Thi~tk~h~thongtinmaytinhthoamancacyetic~ud~fa.
- T6 chli'cthljchi~nquatrlnhphattri€n h~thO'ngquavi~ccaid~t
vabaatrlh~thO'ng.
Khi d~t va'nd~phantichthi~tk~mQth~thO'ngthongtin,cacyeti
c~ud€ d<:ltd~nml;!clieuKaydtfngmQth~thO'ngthongtinkhongphailuc
naoclingdu'cjcxacdinhd~yduvar6rangngaytud~u.Di~unaylamnay
sinhffiQtsO'va'nd~nhu'sau:
Trang30
- Ngu'oisli'dl;lllgkhongbie'tli~unhaphantichc6 thtjcstjhi€u ta"tca
cacva"nd~va doi h6i cuahQhaykhong(dadu'QctrlnhbaymQtcachtu'ong
minhhaynggmdinh)bdi vi h9khongtha"ydu'QcngaycacchucnangmahQ
yell cgu,maphaicho dQide'nhic h~thO'ngthongtin du'QcKay dtjngtu'ong
dO'ihoanchinh.
- Thayd6i la di~ukhongth€ tranhkh6i.C6 th€ la moitru'ongkinh
doanhthayd6i,clingc6th€ ngu'oisli'd\lnghaycachnh~nbie'tcuangu'oisli'
d\lngthayd6i.Ban cha"tcuavi~clamtu'li~utheophu'ongphaptruy~n
thO'ngaykh6khanchovi~ctheod6ih~uquacuamQithayd6ivadi;icta
chucnangyell cguphaidu'Qcvie'tl~i.
Trong khi qua trlnhphan.tich chI cgn mQtsO'it cac congC\l va ky
thu~t,chu ye'udanhcho Kay dtjngca"utrucdi;icta yell cgu thi qua trlnh
thie'tke'chuanhi~uki€u congC\lkhacnhauhonch~ngh~n: congC\lc6 ten. .
gQila : Mo hinhdi~ukhi€n du'ongdi (mohinhboatieu)[ll], sod6phan
tichdu'ongdi clingca"phinhanhv~vi~csli'd\lngdii'li~uchomQiquatrlnh
I cuah~thO'ngdu'Qcd~xua"t,nhu'ngclingcgnc6mQtbuctranhloancanhv~
vi~csli'd\lngdii'li~uxuyensuO'th~thO'ng,va chI lien th€ hi~nn6 trenmQt
tranggia"y.Mo hinhdi~ukhi€n du'ongdi du'Qcthie'tke'd€ lam di~ud6.Mo
hinhnayt~phQpthongtin v~ta"tca cacdu'ongtruyc~priengIe tu cacqua
trlnhkhacnhauva gallchungvaomohinhdii'li~u,(c6du'Qctugiaido~n
phantich).Hoi;icmQtcongC\lc6 tenla : "Sdciadongdillifu (DataFlow
Diagram- DFD) maytinh"[11].Bay la mQtki€u mohinhchinhd€ mota
choca"utruccuah~thO'ngdtjatrenmaytinh.Sod6dongdii'li~umaytinh
lamQtDFD v~tly hoanloan,congC\lnayclingc6khanangxli'ly cactinh
Trang31
hu6ngtheo10vatrt!ctuye"n, va connhi~ucongC\lkhacnua...
M~cdutronggiaido~nthie"tke"co r3'tnhi~ucongC\lnhungkhong
phait3'tcachungd~uduejcsad\lngtrongmQiht%th6ng,khi sad\lngquait
congC\lthlset~oramQth~th6ngkernch3't1uejng,nguejcl~isad\lngqua
nhi~ucong C\l se lam cho ht%th6ngtra lien qua c6ngk~nh.Tli do, nha
phantichchill tnichnhit%mphattri~nphaidungeachdanhgia cuamlnhd~
quye"tdinhchinhxacxernliendungky thu~tnaovac§napd\lngchung(5
mucdQnaod~lamdinb~nggiuahainguycotren.
VI the",khi phan tich mQtht%th6ngthongtin theo cach tie"pc~n
truy~nth6ngdoi h6i nguoiphantich phai co kinh nghit%mtrongcac lInh
vt!cmahQphantich,ne"umQtnguoiphantichkhongco kinhnghit%mthl
cachphantichnhanhnh3't1~hQct~pkinhnghit%mcuanhungchuyengia,
tac1asad\lngl~inhunggl manhfi'ngchuyengianaydaKaydt!ng.Quan
di~mnaydahuangchungtade"nmQtcachtie"pc~nmaido1a: cachtie"p
c~nthanhto',vai cach tie"pc~nthanhto',khi phantich thie"tke"mQtht%
th6ngthongtin chungtakhongnh3'thie"tphaiKaydt!nght%th6ngthongtin
tlld§u,macoth~dungl~icacthanhph§ndaduejcphantich,thie"tke"trong
cungmQtph~mvi ungd\lng,saildo tichhejpcacthanhph§nnayl~ivai
nhau,b6 sungd~phuhejpvai cacyell c§u cuaht%th6ng.
I 3.2Xay dt;ingh~thO'ngthongtin theoeachtie'pd)n thanhto':
I
Khi phan tich thie"t"ke"mQt ht%th6ng thong tin theo cach tie"pc~n
huangd6i tuejngtuc 1achungta da tinh de"nvit%c"dung l~i" cac thanh
ph§nduejcKaydt!ngtronght%th6ng.Tuy nhien,d~Kaydt!ngmQtht%th6ng
Trang32
I thongtin co th€ dungI~i trongnhi€u IInh vlfc khac nhauchungta khong
nhfi'ngphai ChIr6 ph~mvi va"nd€ ma con t6ngquathoa cac va"nd€, cac
yellc~utrongtuanglai va cachd€ giaiquye'tchung.
Nhudii khaosattrongchuang2, cachtie'pc~nthanhto'ra"tphuhQp
d€ giaiquye'tcacva"nd€ ki€u nay,bangcachduaraph~mvi ling dIJngva
eachgiaiqlly~tcacyell C~llcuah~th6ngquacaemftuphantich,mftuthi~t
ke'va sod6thanhto'.
Nham minh hQatinh kha thi cua cach tie'pc~nthanhto' trongh<$
th6ngthongtin,h<$th6ngquailIy cacgiaodichd~ttrudcduQcchQnvdi Iy
do co ra"tnhi€u h<$th6ngthongtin khac nhauco th€ duQcxe'pmQtcach
t6ngquatvaoh<$th6ngnay.
3.2.1Ph~mvi dog dt;logcuah~th6ogqUaDIy caegiaodichdijt tru'8c:
Khi xay dlfngcac h<$th6ngthongtin, chungta thuongg~pcac yell
c~unhula:khachd~tmilahang,sinhviendangky manhQc,khachd~tve
dulich, ... nhfi'ngva"nd€ naytuynamtrongcach<$th6nglingdIJngkhac
nhaunhungchungco cungmQtbancha"t,do chinhla nhfi'ngcacgiaodich
d~trudc.Va cacIInhvlfclingdIJngkhacnhaudotheocachtie'pc~nthanh
to'duQcgQila pht;lmvi zingdl;lngcuahf th6'ng.
Sail dayla ph~mvi ling dIJngcuah<$th6ngquailIy cacgiaodichd~t
tru'dc:
£)~tve xemphim,dangky h~nkhamb<$nh,d~tve chomQtchuye'n
dulich,d~tphongkhachs~n,d~tti<$clienhoan,dangky muQnsach,dang
kythamdlf hQinghi,dangky thuenha,dangky ghidanhmOllhQc,d~t
Trang33
milahang,qmlnly cacgiaodichmilabancuamQtdonvi kinhdoanh,...
Ph~mvi cualing dl;}ngcuah~th6ngco th~du'Qcstl'ad6i,b6 sungd~
phuhQpcacva'nd~,cacyellc~umah~th6ngda:du'ara cachgiaiquy€t.
N€u ph~mvi lingdl;}ngcuah~th6ngcangd~yduthlkhanangdungl~i
cuah~th6ngcangcao.
Sailkhidu'araph~mvi lingdl;}ngcuah~th6ngquailly cacgiaodich
d~t tru'dc,chungta sedu'ara cacml;}ctieuc~nphaigiai quy€t chocacling
dl;}ngtrongtu'onglai thuQcph~mvi ling dl;}ngnay (xemtrlnhbay chi ti€t
trongml;}c4.1),va cachti€p c~nthanht6da:du'aramftu phantkh d~h6
trQchogiaido~nphantichh~th6ngquailly cacgiaodichd~tru'dc.
3.2.2Xay dt;ingmftuphilotiehtronggiaido~nphilotiehh~th6ngqmin
Iycaegiaodiehd~ttrdde:
MQtthi€t k€luon luond~thi~uquakhiffiOhinhphantkh r6rangva
logicnha't,bC'5iVInhungmohinhr6rangluonchongu'oitanh~ntha'ydu'Qc
cohaykhongcaimahQc~n.
Tronggiaido~nphantkh,vdi ffil;}Ctieuphaid~tdu'Qcuah~th6ng,
dl;l'avao mo hinhphantkh cuaffiQts6 h~th6ngling dl;}ng[10]va mQts6
chi€n lu'Qcva mftuphantkh cua [3],chungtasedu'ara mQtmftuphantkh
d~ydunha'tchoh~th6ng.Trongmftuphantkh nay,khaini~mrangbuQc
t6ngquathoava chuyenbi~thoa(ngl;}yr~ngcacldpconk€ thuaduli~u
vacacphu'ongthliccualdpcha)du'Qcdu'arad~nh~nbitt comQth~th6ng
ca'pb~cchuyenbi~thoagiualdpchala :CHITIETGIAODICH va ldpcon
la: CBH_CHITIETGIAODICH. Khai ni~ffinay du'Qcd~c~pc'5daydo nhu
(II1II""
Trang 34
c~utrongth\lc t€ v€ ffiQtchi ti€t giao d~chco th~hoanloan kbac nhal
trongillQtgiao dich dl1qcd~t,yi 011-'-
chuy€n baytrongffiQtch
d~ttntdc:
KHACHHANG
«ClassModule» «Class Module» «CI.", Module»
GlAODICH ,---~---~- ~ NOICHON
I_A
1..*
- I
Khacthang
«ClassModule»
KhaCrang
«Class Module»
CA_NHAN TAP_THE
«ClassModule»
CHITIETGIAODICH
1..*
«ClassModule»
CBH_CHITIETGIAODICH
,
,
L:
«ClassModule»
HANGHOA
* I «Class Module»
HANGHOACT
ffinh6. Mftuphantichcuah~th6ngqUail1ycaegiaodichd~ttnioc.
Trang34
c~u trongtht;l'cte'"v~illQt chi tie'"tgiao dich co th~hO~lllloan khac nhau
trongillQt giao dich du'<;1cd~t,VI dl;!nhu'd~tphongkhach s(;lnva d~tve
chuye'"nbaytrongillQtchuye'"ndu lich, di~unaychochungtatha'yr5 : "chi
tie'"tcuagiaodichcoth~coclingillQtlo(;liho~cchungtacoth~phanchia
chungthanhillQtvai lo(;li(chuyenbi~thoa)".Tu'dngtt;l',chungtaco illQth~
th6ngca'pb~cchuyenbi~thoagiualOpchala: KHACHHANG va lOpcon
la:CA_NHAN, TAP_THE.
Hlnh6 trlnhbayill~Uphantichcuah~th6ngqmlnly cacgiaodich
d~tru'oc:
«ClassModule»
KHACHHANG,- ----
«ClassModule» «ClassModule»
GlAODICH , -- NOICHON
r-
Khacthang
1\
T -
1..*I I
«ClassModule»
Khacihang
«ClassModule»
CA_NHAN TAP_THE
«ClassModule»
CHlTlETGlAODICH
CHlTlETClIAODICH
«Class Module»
CBH_CHlTlETGlAODICH
-""
\*
«ClassModule»
HANGHOA
* I «Class Module»
HANGHOACT
Hlnh6. M~uphantichcuah~th6ngqmlnly cacgiaodichd~tru'oc.
Trang35
Cackyhi~utfensod6:
Ky hi~u *
bi€u di~nbansf)cuamO'ik~thQpla 1.
bi€u di~nbansO'cuamO'ik€t hQpla n.
Ky hi~u 1
Ky hi~u 1..* bi€u di~nbansO'cuamO'ik~thQpla 1hayn.
Ky hi~u t bi€u di~nfangbuQCt6ngquathoavachuyen
bi~thoa,d~umlii tenchi d~nlOpcha,bell dudimlii tenla lOpcon.
Sail khi duafa mfiuphantich,chungtaseKaydlfngmQtbangdc}cta
mfiuphantich choh~thO'ng.(trlnhbay chi ti~ttfongphl:lll:lcA) d€ ma ta
ph~mvi ho~tdQngva cacmahlnhthanhph~nclingnhucacbangrang
buQccuacaclOpdO'ituQngcotfongh~thO'ng.Bangdc}ctamfiuphantich
segiupchochungtadungl~ih~thO'ngmQtcachd~danghall.
Vdi cackhiac~nhkhacnhaucuah~thO'ng,bangdc}cta mfiuphan
tichdua fa t~pcac Calihoi [10] d€ giup chungta nh~nbi~tcac lOp dO'i
tuQngduQcsedungl~ikhi KaydlfngmQtli'ngdl;lngCl;lth€. Sail day la cae
calihoi duQcdc}tfa:
1).Mlii giaodtchdzt(lCd(itbdimi)tngztilihaymi)ttli chllc ?
«Class Module»
KHACHHANG
«Class Module»
GIAODICH
«Class Module»
TAP_THE
«Class Module»
CA_NHAN
Hinh 7. Giaodichdu<;1cd~tbdi ffiQtcanhanho~cffiQtt~ptht
Trang36
2). Giaodtchdli(Jcd{itbaDg6m:
a).Mf)tdol tli(Jng.
hay b).Mf)tvaidol tli(Jng.
a)
GIAODICH
b)
Hlnh 8.Lva chQngiai phapa)ho~cb)saucauh6i thilhai
Ne'utachQnGIAODICH baag6mmQtd6i tu<jngthl sod68a)du<jc
chQnngu<jclC;line'uGIAODICHbaag6mmQtvaid6itu<jngthlsod68b)se
du<jchQn.Ne'uchungtad~tthemdiu hoi :
3).GIAODICH lienquanden:
a) Mf)t(nhiiu)doltli(JngCl;lthi.
b) Mf)t (nhiiu) dol tli(Jngcocungho{ickhaccacd{ictinh.
So d6 9a) va 9b) du<jc hQncho diu hoi a) va so d6 9c) du<jc hQn
chodiu hoi b).
Nhu v~y,b~ngcachnaychungtase19nlu<jtdt!avaGcacdiu hoi dS
xaydt!ngmQtsod6 hoanthi~nchomQth~th6ngthongtinCl;!thS.
GIAODICH CHITIETGIAODICH
l-<n 1
J
Trang37
GIAODICH
GIAODICH CHITIETGIAODICH
l..n
*
HANGHOACT
CBH-
CHITIETGIAODlCH
n
HANGHOACT
a) b)
GIAODICH CHITIETGIAODICH
l..n
l..n
CBH-
CHITIETGIAODICH
n
HANGHOA
c)
Hlnh 9. Lt;1'achQngiiii phapsailCalihoi thliba
Tom l~i,bangd~cta m~uphantfchse giupngu'oiphantfchnh~n
bie'tml;!ctieuvacacd~ctru'ngcuah~th6ngd~h1achQncacldpd6itu'Qng
thfchhQpkhi KaydljngmQtt1ngdl;!ngCl;!th~.
Sail khi hoanta'tgiaido~nphantfchchungtachuy~nsanggiai do~n
thie'tke'h~th6ng.
Trang38
3.2.3Thie'tke'h~th6ngqminly caegiaodiehd~ttrtide:
Khi chuy~ntu giaido~nphantichsangthie'tke',chungta se nang
caocha'thi<JngcuacaclOpd6i tu<Jngco trongm~uphantich(tucla b6
sungcacthuQctinh,caephuongthuedu<Jcnh~nbie'ttronggiaido~nthie't
ke'...),vab6sungthemcaclopmanhlnhlamvi~e.Hlnh10trlnhbaysod6
m~uthie'tke'euah~th6ngqmlnly caegiaodiehd~trudc.
«Form»
Nhap_khachhang,-
-Khll
«Class Module»
TAP_THE
-K"cn
~I«Class Module»
CA_NHAN
«Form»
Nhap_GIAODICH
-KhdatGD «Class Module»
KHACHHANG
-------------
-- 1 n
«1""111»
I
I
Nhap_HHCf(;IAODICH -- -+-
-gddat I
' 0
-gdhhcl «Class MmJulc»
NOICHON
\..* I' -
«Class Module»
HANGHOACf
1)
«Form»
Nhap_L1-IITIETGIAODICH
-ctgddat «Gass Module»
3>1CHITIETGIAODICH
CHITIETdlAODICH
«Class Module:->
CBH_CHITIETGIAODICH "
«Class Module»
HANGHOA
Hlnh 10. Sod6 m~uthie'tke'cuaht%th6ngqUail1ycaegiaodichd~ttntoc.
Trang39
Nhuda khaosattrongchudng2, mftuthie'tke'segiupchungtanh~n
bie'tst!thamdt!cuacac lOpva cacd6i tuQngcungvdi cacvai tro, st!cQng
lac,va cacrangbuQcGuachungd~du'ara mohinhthie'tke'd~ydunh§t
chov§n d~machungta c~ngiai quye't,VI the'tronggiai do:;tnthie'tke'
chungtacoth~b6sungnhunglOpphatsinhtunhungmftuthie'tke'duQcstl'
dl;}ngtrongquatrlnhthie'tke'chitie't.
Gamma[5]daduaracacmftuthie'tke'th~t6ngquatd~khigi;lpphai
cacv§n d~tudngtt!c~ngiiii quye't,chungtacoth~chQnfa,dungl:;ticac
mftuthie'tke'thichhQp.Trongh~th6ngquail1ycacgiaodichdi;lttrudc,
mQtv§n d~duQcdi;ltrakhithie'tke'chitie'tcaclOpmanhinhlamvi<%c,Cl;}
th~1a:trongmanhinhnh~pgiaodich(xemhinh11),stl'dl;}ngd6i tuQnghQp
1i~tke daubsach(ListBox) d~trlnhbay thongtin t§t ca cac chi tie'tgiao
dich(cacdonggiaodichduQcdi;lt);khi kichvaonutl~nhThemd~nh~p
thongtinchitie'tgiaodichthlmanhinhnh~pchitie'tgiaodich(hinh12)
duQctrlnhbay.Khi nguoistl'dl;}ngnh~pd~yduthongtinv~mQtchi tie't
giaodichthlhQpli~tke daubsachphaiduQcc~pnh~tl:;tid~phananhst!
thayd6itrongctl'as6trlnhbay.D~giaiquye'tv§n nay,mftuthie'tke'thich
hQpnh§tdu'Qcdungl:;titrongh~th6ngquail1ycacgiaodichdi;lt rudcdo
1a:Observerpattern[5] t:;tmdich1a"mdu.quansatcacphl:lthuQccua d6'i
"
I tl1(Jng .
(Hlnh14)trlnhbaysdd6lOpcuamftuquailsatcacphl;}thuQccua
d6ituQng,chungduQcdungl:;titusdd6lOpcuaObserverpattern[5],VIthe'
tengQicuacaclOpd6i tuQng,cacthuQcHnh,phudngthucduQcstl'ad6i cho
philhQpvdi h~th6ngquail1ycacgiaodichdi;lttruoc:
Trang40
- Ldp «Abstract» SubjectdU<;1cdungl(;liva d6i ten1a: CHUTHE (mOt
..
d6itu<;1ngtruu tu<;1ng).
. .
- Ldp «Abstract» Observerdu'<;1cdungl(;liva d6i ten1a: DTQS (mOt
giaodi~nngu'didungtruutU<;1ng).
- Ldp ConcreteSubjectdu<;1cdungl(;liva d6i ten1a:
>CHITIETG IA 0 DICH.
- Ldp ConcreteObserverdti<;1Cdungl(;liva d6i ten1a:«DTQSCUTHE»
MANHINHN GU0 ID UN G.
Cac n6ik€t tuonglingclingdu<;1cd6i tenchophuh<;1p.
Sail day1aph~ntrlnhbay chi ti€t m~u"Quansatcacphl;lthuQccua
doitu(lng"quacacy€u to': di~ngiai,dOngco,tru'dngapdl;1ng,sod6!dp,
thanhvien,phu'ongthliccOngtac,sod6tuongtac,h~uqua.
~ Mfiu "QuansatcacphQ.thuQcuadolttiqng":
a).Di~ngiai :
M~u "Quan sat cac phl;1thuOccua d6i tu<;1ng"dinh nghlamOtphl;1
thuOcmOt- nhi~ugifi'acacd6i tu<;1ng.N€u mOtd6i tu<;1ngthayd6i tr(;lng
thaithl t[(tca cacd6i tu<;1ngphl;1thuOcsedu<;1cthongbaava du<;1cc~pnh~t
I tu'dong.I . .
b).IJ{)ngcd :
Khi phanchia mOth~th6ngthanhmOtt~ph<;1pcac !dpcOngtacthl
chungtac~nphaibaatrl cacm6i lien k€t gifi'acacd6i tu<;1ngco lien quail
(di~unaynh~mdambaadOantoancuah~th6ng).Nhungchungtakhong
mu6nd(;ltdu<;1cdOantoanb~ngcachcOtch~tcac!dpvdi nhaubdi VI di~u
Trang41
nayselamgiamkhanangdungl(;licuachung.
Vi d~:Tronggiaodi~nngudi-mayb~ngd6hQa,giaodi~nnh~pgiao
dich(xemhlnh11),sad~ngd6i tuQng"h(>pli~tke danhsach"(ListBox)
d~trlnhbaythongtinta-tcacacchitie'tgiaodich(cacdonggiaodichduQc
d~t);khikichvaonutl~nhThemdSnh~pthongtinchitie'tgiaodichthl
"giaodi~nnh~pchitie'tgiaodich"(hlnh12)duQctrlnhbay.Nhuthe',sail
khingudisad~ngnh~pd§yduthongtinv~m(>tchitie'tgiaodich thl "h(>p
li~tkSdanhsach"seduQctlf d(>ngc~pnh~tl(;liva phananhslf thayd6i
trongcli'as6 trlnhbay.
Hlnh 11.Giao di~nnh~pm(>tgiaodichmdi.
Trang42
Di~unaynglJY r~ng,Celhaid6itu<jng"hQPli~tke danhsach"cuagiao
di~nnh~pmQtgiao dich mdi va "giao di~nnh~pmQtchi ti€t" cua giao
dichclingphlJthuQcvaomQtd6itu<jngduli~ula CHITIETGIAODICH, do
do chungsedu<jcthongbaakhi coba'tky s1fthayd6i tr£;ingthaicuad6i
tu<jngCHITIETGIAODICH.
M~u"QuansatcacphlJthuQccuad6i tu<jng"motitcachthi€t l~p
cac m6i quailh~giuamQtd6i tu<jngva cac d6i tu<jngphlJ thuQcvao
chung.Cac d6i tu<jngchinhtrongm~unayla "CHITIETGIAODICH" va
cacd6i tu<jng: "hi)pli~tkedanhslich"va "giaodi~nnhl)pchi tielgiao
djch" du<jcg9i chungla "MANHINHNGUOIDUNG".
MQtd6i tu<jng"CHITIETGIAODICH" co th6co mQts61u<jngba'tky
cacd6i tu<jng"MANHINHNGUOIDUNG" phlJ thuQcvaochung.
Hlnh 12.Giao di~nnh~pmQtchi ti€t giaodich.
Trang43
Vi dl;!:
(cacd6itu'gngquaDsatcQthi)
HQP li~tke daubsachCTGD Giao di~nnMp ffiQtCTGD
-.
HO01
1
Gaa
1
10
HO02 BQtml 50
5.000
12.000
s6 hi~u:HO02
Ten: BQtml
s6 hiQng:50
Dongia: 12.000
56hi~ulTen 5L Delnghi
....
s6 hi<$u=HO02
Ten=BQtml
S61uQng=50
Dongia=12.000
........
MQtd6i tuQngCHITIETGIAODICH
(d6itu'gngchuthi ct,1thi)
Hlnh 13.Minh hQasl!phl;!thuQccuacacd6i tu'<;:Jng
Cacky hi~utrensod6:
~
~
Thongbaathayd6i
Caeyeudiu sli'ad6i
c).Trliilng tipdl;lng:
Sa dl;!ngm§uthi€t k€ naytrongba'tky cactru'ongh<;:Jpsail :
. Khi mQtkhai ni~mtnrutu'<;:Jngco hai khiac'.lnh,khia c'.lnhnayanh
hu'angd€n khiac'.lnhkia,chungtadonggoicackhiac'.lnhnaytrongcac
d6i tu'<;:Jngriengbi~t,diSunaychophepchungtabi€n d6iva dungl'.li
chungmQtcachdQcl~p.
Trang44
. Khi coyetic~uthayd6itrenmQtd6ituQngthlcacd6ituQngph\!thuQc
clingthayd6ithea.
. MQtd6ituQngcothSthongbaad€n cacd6ituQngkhac,vakhongnha't
thi€t phai cQtch?t cac d6i tuQngnh~nthongbaa vaa d6i tuQnggdi
thongbaa.
d).Sddb lap:
~~~..
DTQS
~
c~~;~~m.
1
1
. . ~hem(DTQS)
m~H
.
UY(DTQSr)
..
, ...,
~hongbaoO."
Thong baa cho tiftd
caed6i tu'<Jng
,"'bTQS
!o->c"onhM())
«DTQSCUTHE»
MANH1NHNGUO!DUNG CHUTHE
«CHUTHECUTHE»
CHITIETGIAODICH
Tra lai trangthai
cuaCHUTHE
~ ~
, ,...,"
. .........-......-....-.........--
~rangthaiDTQS(. ~LaytrangthaiO.'"
~DattrangthaiO
.., I
TrangthaiDTQS= I
CHUTHE->LaytrangthaiO
Trangthaichuthe
Hinh14.Sod6lOpcuam~u"Quansatcacph\!thuQCcuad6ituQng".
Cacky hi~utrensod6:
Ky hi~u: CHUTHE biSudi~nco ch€ truy~nthongbaa va
DTQSbiSudi~ncoch€ d6ngbi>giii'acac lOpd6ituQng.
Ky hi~u: e chid€n cacchlithfch.
Ky hi~u: I biSudi~nm6iquailh~k€ thua, d:1umlii tenchi
d€n lOp d6i tuQngtruu tuQng,bell duoi mlii ten chi lOp d6i
tuQngCl;lthS.
Trang45
e).Thanh vien:
Di~ngiai cuacae\O})trongso<16lo}):
. CHUTHE (mQtd6i tuQngtruutuQng)
- Qwln 1ycacDTQS cuachung.Cungca'pmQtgiaodi~nde dua
VaGva huybocacDTQS.
. DTQS (mQtgiaodi~nnguoidungtruutuQng)
- Dinhnghlavac~pnh~tgiaodi~nchocacd6ituQngphlfthuQc
(lacacd6ituQngquailsatClfthe).
. CHITIETGIAODICH (mQtchutheClfthe)
Luu tru tr(;lng thai lien quail de'n cac d6i tuQng
MANHINHN GU0 ID UN G.
- Gdi thongbaa de'ncac DTQS khi tr(;lngthai cua d6i tuQng
CHITIETGIAODICH thayd6i.
. MANHINHNGUOIDUNG (la cacd6i tuQngquailsatClfthe)
- Bao trl thallikhaode'nd6i tuQngCHITIETGIAODICH
- Lu'utrutr(;lngthaidephuhQpvoitr(;lngthaicuaCHUTHE.
- Cai di;itgiaodi~nc~pnh~tDTQSdegill tr(;lngthaicuachung
phuhQpvoi tr(;lngthaicuaCHUTHE.
1).Phlidngthueef)ngtae:
Ta'tcacacd6ituQngMANHINHNGUOIDUNGduQcthongbaam6i
khi d6i tuQngCHITIETGIAODICH tdii quamQtslfbie'nd6i tr(;lngthai.
Dap l(;li,m6i d6i tuQngMANHINHNGUOIDUNG se hoi d6i tuQng
CHITIETGIAODICH dedangbQtr(;lngthaicuachungvoi tr(;lngthaicua
d6ituQngCHITIETGIAODICH.
Trang46
Cac dO'itu<1ngCHITIETGIAODICH la dO'itu<1ngduafa thongbaa,
khi dua fa cac thong baa nay, chung khong c~n bie't dO'i tu<1ng
MANHINHNGUOIDUNG cuachungla nhfi'ngdO'itu<1ngClfth€ nao.
g).Sdd6tlidngtac : hlnh 15minhhQaphuongthuccQnglac gifi'ad6i tu<1ng
CHITIETGIAODICH va dO'itu<1ngMANHINHNGUOIDUNG.
DO'itu<1ngDTQS khdi dQngcacyell c~usli'ad6i, chungtrl hoanc~p
nh~t chode'nkhi nh~ndU<1Cstj thongbaa tITCHUTHE. Thong baa khong
phai luon luon du<1cgQi tITCHUTHE, chungco th€ du<1CgQi bdi mQt
DTQS hay mQtlo?i dO'itu<1nghoanloan khac.Cling nhuda sO'cac ligon
ngfi'hudngdO'itu<1ng,d€ khdi dQngcacyell c~usli'ad6i va lam tf?ng thai
cuaDTQS tuongthkh vdi tf?ngthaicuaCHUTHE, chungta se cai di;lt
thongquaphuongthuctfUYc~pvasli'ad6i(getvaset)
I :CHITIETGIAODICH I I :MANHINHNGUOIDUNG I
I - 1: D"t1r"ngth";( ) 1
I 2: Thongh"o( )
3: capnhal()
4: Laylranglhai( )
Ii.
[,I
I
I I
mnh15.So05Wongtacgiua06ituQngCHITIETGIAODICH vaMANHINHNGUOIDUNG
Trang47
h).HQu qua..
M~u "Quan sat cacphlf thuQccua dfJ'itur;ng"cho phep chung tabi€n
d6icacd6i tuQngva cacd6i tuQngphl;lthuQcmQtcachdQcl~p,chophep
chungta themeaed6i tuQngphl;lthuQcma khongphai c~pnh~tcac d6i
tllQngho~ceaed6i tuQngphl;lthuQckhac.
3.3 Xilydt;ingmQtungd\lnge\lth€, b~ngeachdungI~ih~th6ngqUaD
If caegiaodiehdt;itnioe :
3.3.1H~th6ngdt;itmliQnsaeheuathli vi~n:
D€ Kaydlfngh~th6ngqUail1yd~tmuQnsachchungta1fin1uQtthlfc
hi~ncacbudcsail :
Y Xaedinhph~mvi va cacyell cfiucuah~th6ngd~tmuQnsach.
Y Tli m~U phantichva vanband~cta m~U phantichcuah~th6ng
qUail1ycacgiaodichd~ttrudcchungtach9nra cacldp d6i tuQng
thichhQpvdicacyellcfiucuah~th6ngd~tmuQnsach.
Y Ch9ncacmanhlnhlamvi~cthichhQp.
a).Ph{lmvi vacaeyeuc5ucuah~thf/ngquaIl Ij d{itmlilfnsack ..
- H~th6ngd~tmuQnsach(d~tgill sach)trongthuvi~nthuQcph~m
vilingdl;lngmah~th6ngqUail1ycacgiaodichd~ttrudcduafa.
- Yell efiucuah~th6ngqUail1ymuQnsachthuvi~n:
+Dangky dQcgia mdi n€u nhudQcgia cfinmuQnsachchuaduQc
dangky.
+Khi dQcgiad~tmuQnsachtrongthuvi~n,h~th6ngsethongbaa
voidQcgia" sachkhongth€ cho muQn"n€u nhu sachma dQcgia d~t
Trang48
muQnkhongco trongkhoho~cs6 luQngsacht6ntrongkhokhongcho
phepmuQnthemnlia,nguQcl(;lin€u sachcotrongkhoho~cs61uQngsach
t6nchophepmuQnthih~th6ngsethongbaavdi dQcgia "d~tmuQnsach
duQcgiai quy€t".
b).Ch(Jncae[updol tlii/ngphil hi/pvdicaeyencancuahf thongdijtmlii/n
sachthlivifn :
- KHACHHANG" LanguiJithl!Chi~nhanhvi ", nguaithlfchi~ngiaodich
d~tmuQnsach,trongh~th6ngnay,la dQcgi~L
- CA_NHAN: la slfchuyenbi~thoacualdpd6itu~ngKHACHHANG.
- GIAODICH"LangLtiJiho(icv4tma6'dohanhviduqcbilu diln",giao
dichadayduQchi~ula d~tmuQnsach.
- HANGHOA "Lactc5'ituqngsa dl;lngdl thl!Chi~nhanhvi",adayla mQt
quy~nsach.
Cacldpd6ituQngduQcchQnduQcd6itenchophilhQpvdih~th6ng
d~tmuQnsachthuvi~n.
Ldp d6i tuQngKHACHHANG duQcd6i ten la : DOCGIA, b6 sung
themcacthuQctinhva cacphuongthliccualdpCA_NHAN vi slfchuyen
bi~thoaa daykhongc~nthi€t.
Ldp d6ituQngGIAODICHduQcd6itenla :DATMUqNSAcH
Ldpd6ituQngHANGHOAduQcd6itenla :SACH
Sailkhi d6i tencacldp d6i tuQng,chungta se l~nluQtd6i tencac
cacthuQctinh,cacphuongthlic,d6ngthaib6sungthemmQts6thuQctinh
ho~cphuongthlicd~philhQpvdicacyellc~ucualingdl;lng.
Trang49
E>~tmuc..1nsach thu vi~n
\
\
\
\
\
\
\" «Cla\s Module»GU\ODlCH
EJATMVQNSAcH
~
\
\
\
\
\
\
-Ngaymlf<jn
-Ngaytrii
\
\
\
ly Caegiac,\dichd~ttn.tci\
\
/~
I
I
«Class Module»
CA_NHAN
Hlnh 16. Sd d6ldp cuah~th6ngd~tmu'<;jnsachthu'vi~n.
Cackyhi~utrensod6:
Ky hi~u: --. chI slfdungl(;licaclOpd6i tti<;1ngdii dti<;1cxay dlfng,
trongh~th6ngqmlnly cacgiaodichd~ttrtioc.
Ky hi~u:> chI slf dungl(;licac k€t n6i giua cac lOpd6i tti<;1ng
duQcdungl(;li,trongh~th6ngqwlnly cacgiaodichd~ttrtioc.
* Mo tacacnol ktt giila cae18pdffitli(fngdii ch(Jn:
- "N6i k€t d6i tti<;1ngDQCGL.\ - d6i tti<;1ngDA.TMUC)NSAcH" : ffiQtd6i
tti<;1ngDA.TMtJC)NSAcH chI k€t n6i voi ffiQtd6i tti<;1ngDQCGIA t(;li
cungffiQtthai di€ffi, nhtingffiQtd6i tticJ.ngDQCGIA co th€ k€t n6i voi
Trang50
nhi~ud6ituQngDATMU<)NSAcHdclingmQthaidi~m.
- "N6ike'td6ituQngDATMU<)NSAcH- d6i tuQngSACH": mQtd6i
tuQngDATMU<)NSAcHchike'tn6ivoi mQtd6ituQngSACH t(;licling
mQtthaidi~m, nguQcl(;limQtd6i tuQngSACH co th~ke'tn6i voi nhi~u.
d6i tuQngDA TMU<)NSAcH t(;liclingmQtthaidi~m.
Hlnh16bi~udi~nstfdlingl(;licaclOpd6ituQngthkhhQptrongm~u
phantkh h~th6ngqmlnly cacgiaodichd~ttruockhiKaydtfngh~th6ng
d~tmuQnsach.
c). ChQncae[upmanhinh lilm vi~cphil h(lpvuicaeyeaedaeuah~thf/ng
dijtmli(lnsaehthli vi~n..
- Lop manhlnh"nh(tpmQtgiaodtch".
- Lop manhlnh"nh(tpmQtchi tilt giaodtch".
Sailkhi ItfachQncaclOpd6ituQngmanhlnhthkh hQp,chungtase
d6itennhancuahQptho(;lid~philhQpvoicacyellc§ucualingd\lng.
3.3.2Caeungdt;lngkhae:
TuongttfquatrlnhKaydtfngh~th6ngqmlnly d~tmuQnsach,chung
tacoth~Kaydtfngnhi~ulingd\lngkhacnhula:dangky khoahQc,d~ti~c
lienhoanva dangky mQtchuye'ndulich't(;limQttrungtamdulich (hlnh
17),di~unaynoileuding:"h~th6ngqmlnly cacgiaodichd~ttruocduQc
dungl(;lirgtdad(;lng".
Trang 51
b).Dangky kh6a hQe
e). D~tti~elien hoan
d). Dang ky mOtehu
mOttrungtamdu lie
Hlnh17.Sod6lC5pcuah~th6ngdangkyh6ah9C,d~ti~clienhoanvadangky
mQtchuye'hduJicht(;limQtrungtamduIjch.
MQt ling dl;Jngcl;Jth€ khacnhu: qmlnly cac giaodichmilabancua
ffiQtdonvi kinhdoanh[12].Hinh 18trlnhbaysod6 lOpcuah~th6ngqUail
lycaegiaodichmilabancuamQtcongtykinhdoanh,sod6nayduQcKay
dvngtUm~uphantichvavanband~ctam~uphanticbcuah~th6ngqUail
lycaegiaodichd~tntdc,chungtachQnfa caclOpd6ituQngthichhQpva
caen6ik€t thichhQp.Tuynhien,d6ivdi lingdl;Jngnayco nhii'nglOpd6i
SINHVIEN EJANOKY
-Ten -S6EJK
-EJiachi n I -Ngiiy
-EJlenthoai -Oio
I Ln
MHKH CTDANGKY
-Ten -NgiiyBEJ
-EJVHT n I -NgiiyKT
-HOCDhi
I
-Ten
I
KIIACHIIANG EJAT M6NAN
-Ten I
-Ngiiy -Ten
-EJiachi n -Oio I n -EJdngia
-EJlentho"i -S6LlIdn.n'lIoi
KHACHHANG DKDULICH TTDULICH
-Ten -Ngiiy -Ten
-()iachi n I -Oio I n -EJiachi
-EJlenthoul
"'T
I I
CTEJKKS CTEJKCB
-TiYngiiy -NgiiyBEJ
-EJe"nngiiy -NgiiyKT
-S(1ch6
-Oia
II CHUYtNBAY
KHACHS..;.N
-S6hiell
-N(JidI
-Ten -NtJide"n
-EJiachi -ThtJigianBEJ
-ThoigianKT
Trang52
ttiQngdtiQcdungl(;li2 l~n,co mQts6 n6i ke'tbi phavo va mQts6 n6i ke't
moi duQchinhthanhchophuhQpvoi cacyell c~u cualingdl;1ng.
Saildayla caclOpd6ittiQngdtiQchQndungl(;livadtiQcd6iten:
- Lopd6ittiQngKHACHHANG dtiQcd6itenla :DONVIKD.
- Lopd6ittiQngCA_NHAN duQcd6itenla :KHACHHANG.
- Lopd6ittiQngTAP_THE duQcd6itenla :NHACUNGCAP.
- Lop d6ittiQngGIAODICH dtiQcdungI~ihaiI~nvadtiQcd6iten
la :GIAODICHNCCvaGIAODICHDAT.
- Lop d6i ttiQngCHITIETGIAODICH dtiQcdungl~i hai l~nva
duQcd6itenla :CTGDNCCvaCTGDDAT.
- Lop d6ittiQngHANGHOACT dtiQcdungl~ihai l~nvaduQcd6i
tenla :LOHANGNCCvaLOHANGDAT.
- Lopd6ittiQngHANGHOAdtiQcd6itenla :MATHANG.
N6i ke'tgifi'ad6ittiQngDONVIKD - d6itti<JngGIAODICHNCC va
d6ittiQngDONVIKD - GIAODICHDAT hi phavo dokhongphuhQpvoi
I yell c~ucua ling dl;1ng(cacn6i ke'tnaydtiQcthie'tl~p tlj dQngdo slj dung
l(;licaclOpd6i tti<JngKHACHHANG - GIAODICH) .
Thie'tl~peae nol ke't mdi gifi'acac d6i tti<JngNHACUNGCAP -
GIAODICHNCC, KHACHHANG - GIAODICHDA T, LOHANGNCC -
MATHANG va LOHANGDAT - MATHANG dS phuh<Jpvoi cacyell c~u
cualingdl;1ng.
MQt diSmdanghill ytronglingdl;1ngnayla : cokhaini~m10hang
(LOHANGNCCvaLOHANGDAT),di~unaymu6nnoi lencomQtehuffn
v~hanghoa(HANGHOA)c~nphailtiutrfi'dSgifi've'ttrongmohinhd6i
Trang53
tuQngva chu§'ndo co tenla HANGHOACT trongmftuthie'tke"h~th6ng
qUaily cacgiaodichd?ttrudc,vachungduQcdungl(;litrongti'ngdvngnay
vditengQila LOHANGNCCvaLOHANGDAT.
DONVIKD
-S6hieuDVKD
-Diachi .
-S6dienthoai
~
I
NHACUNGCAP KHACHHANG
-Tengiaodjch
-S6taikhoan
- HQten
n n
I ,
GIAODlCHNCC
I
GIAODICHDAT
-S6hieuGDM
-NgayGD
-S6hieuGDB
-NgayGD
l..n l..n
I ,
CTGDNCC
I
CTGDDAT
-S6Iu'<;lng
-TInhtr<)ng
-S6luQng
-TInhtr<)ng
n
-Ten
-Quicach
LOHANGDAT
-S6hi~uLHB
II -Ddngiamua
LOHANGCC
-S6hieuLHM
-Ddngiacc
MATHANG
n
1
Xu"t xtr l1..n
Hinh 18. So d6lOpcuah~th6ngqmln1ycaegiaodichmilabancuamQtcongty
kinhdoanh.
Trang54
3.4 Ke't lu~n:
Chung ta cHichungminhduQc"HnhdunglC;tir§t cao" cua mQth~
th6ngthongtinduQcphandch,thie'tke'theocachtie'pc~nthanhto'.
Khi Kay dlfngmQth~th6ngthongtin dti dunglC;ti,tronggiai doC;tn
phanHch,dlfavaomohlnhphantichdaco santunhungungdlfngtuong
tlf,tunhungm~uphantichmacacchuyerigiadaduara [3],chungtachQn
racaclOpd6i tuQngthichhQpvoi cacyell cgucuah~th6ng.Trongqua
trlnhllfachQncaclOpd6ituQng,tuytheoyellcgucuah~th6ngmamQtlOp
d6i tuQngco thtiduQcdunglC;tinhi€u bonmQt19n,clingnhuco mQts6 n6i
ke'tco thtibi phavo (cacn6i ke'tnayduQcthie'tl~ptlf dQngdoslf dunglC;ti
caclOpd6i tuQng),va mQtsO'n6i ke'tmoi duQcKaydlfng(vi dlf trongmlfc
3.3.2).TronggiaidoC;tnthie'tke',mQtm~uthie'tke'duQcKaydlfngtucaclOp
d6i tuQngco trongm~uphanHch,b6 sungthemcacthuQctinh,phuong
thucduQcnh~nbie'ttronggiaidoC;tnnay,d6ngth(jiclingb6 sungcacman
hlnhlam vi~cchoh~th6ng.Trbnggiai doC;tnay,ne'umQtv§n d€ thie'tke'
cgnphaigiai quye't,phuhQpvoi cacv§n d€ ma [5]daduara giai phap,thl
ffiQtm~uthie'tke'cua [5] cling duQcdunglC;ti(j day, va cac lOpma m~u
thie'tke'duQc[5]clingc§p'clingduQcd6i tenva b6 sungvao m~uthie'tke'
cuah~th6ng.
uti Kaydlfngh~th6ngthongtindunglC;ticodgyducacchitie'tphan
tich,thie'tke'vacacsod6minhhQa,chungtasecaid~th~th6ngthongtin
dothanhmQtkhungm~ub~ngcongClfphgnm€m RationalRose2000.