TRI/ONG DAI HOC AN GIANG KHOA KY THUAT - CONG NGHE - MO1TRUC5NG DO NGUYEN VU KHOA LUAN TOT NGHIEP DAI HOC NGANH ClT NHAN TIN HOC tfNG DUNG CONG NGHE GIS TRONG QUAN LY NHA TRO SINH VIEN KHOA KY THUAT - CONG NGHE - MOI TRl/CfNG GV huang dan: ThS Doan Thanh Nghi TRa6NG DAI HOC AN GIANG THUVIEN An Giang, 05 / 2006 LOI CAM ON! LTng dung h^ th6ng thdng tin dia ly (GIS) quitn ly la dd tai da va dang duac nhi4u cong ty, doanh nghiep, ca quan chinh phii ap dung tren the gidi Va d nude ta, su tiep can da dan khdng mang tinh manh nha nua ma dang tren da khdi sac bdi nhieu ting dung phtic vu cho cac nliu cau quan ly, dac biet la linh vuc du lich, giao thong, ludi di^n, dudng dng, Sir phuc tap va chdng chit cua nhung ddi tuong quan ^^ ma khong th4 mo ta bang ca sd du lieu truyen thong hoac nhung ban giay truyen thong vdi kha nang cap nh^t chm chap va thieu chinh xac Cung tren da nghien cdu va tiep can vdi GIS vk ting dtmg vdi mot de tai mdi va khd hinh dung, sir trg giup ciia moi ngudi da dong hanh ciing toi sudt thai gian xay dung va phat trien de tai Toi xin gui ldi cam an sau sac den : -ThS Doan Thanh Nghi - giang vien hudng dan va co van cho de tai suot thai gian thuc hien -Anh Vo Van De, can bo Phong Cong tac sinh vien da cung cap du lieu nha tro, danh thai gian cho qua trinh khao s^t hien trang d4 tai, thu nghiem va danh gia sa bo ling dung nhu mot ngudi dung -Chi Ly Thu Han^ - Trung tarn ca sd du lieu va he thdng thong tin, trung tam viln tham (Ha Npi) da cung cap cho dd tai mot sd tai lieu tham khao -Lap truang va sinh vien cac lap : DH3THI, DH3TH2, DH4TH1, DH4TH2, DH5TH1, DH5TH2, DH6TH1, DH6TH2 da cong tac qua trinh thu thap thong tin nha tro -Ban Phan Thanh Tudn - cong tac vien qua trinh thu thap dti li^u -Quy thdy co khoa Ky Thudl Cong Nghe Moi Truang da giup dS viec giai dap thac mac -Con xin cam an Ba va Me da ludn dong vien, giup dd va tao dieu kien tot nhat cho sudt thai gian di hoc, nhat la giai doan thuc hien khda luan -Ciing tat ca moi nguai da quan tam va dong vien toi thuc hien khda luan Mot Ian nfta xin chan ghi on Quy vi! 4/1 Giang, thdng 04/2006 Sinh vien DO NGUYfiN VU LOT NOIBAU Co so dft ligu doi da kSt hop vai nhiing ngon ngft lap trinh lam mot cuqc each mang ngoan muc lTnh vuc lap trinh ftng dung noi rieng va lTnh vuc lap trinh quan ty ndi chung Viec quan ly nhttng d6i ttrong "di dpng" mot pham vi nho nhu: nhan vien mot cong ty; hang hoa mot cua hang; khach hang cua mot dich vp, ; theo tam quan trong, tinh bdo mat va quy mo cua da ligu, ngubi ta co the chon nhftng He quftn tri co so du lieu (MS Access, SQL Server, MySQL, Oracle, ) phu hop voi tftng mpc dich sir dpng Nhang d6i tuong dupe quan ly noi tren khong doi hoi tinh hinh dung cao, nguoi ta co thg chi can mot hinh anh cua doi tupng va nhung thuoc tinh cua no la c6 the quan ly dupe va du Mot dieu khac biet la nguoi ta it hoac khong bao gib quan tam dgn "vi tri" cua d6i tupng, ma mac nhien nguoi ta biet chung nam b cho nao Neu ngubi ta quan tam vi tri thi co chang la dua vao mot so don gian cung nhung thong tin ve noi ton ttti cua doi tuo^g So va thong tin ay chi the hien "tinh" doi tuortg duoc quan tam ma thoi D8i voi nhftng ddi tuo^g duqc phan b6 g^n nhu la co dinh ve vi tri nhung lai phan b6 phuc tap mpt khong gian rong Ion nhu mot khu vuc dia ly, mot dia ban hanh chinh, mot quoc gia va toan cdu, nhieu chi bi&t nhung thong tin cua no thoi thi chua du dS hinh dung duqc vi tri ton tai ciia no Mat khac nhimg d6i tuqng co su chong xep tuong tac ISn voi nhftng doi tuqng xung quanh no Ngubi ta khong the thuong xuyen thong ke tong hop tinh hinh diin tien cua nhftng d6i tuqng luon co su bidn dqng bing cac dft lieu thdng ke don gian Cung nhu, khong co cai nhin tong quan duqc vd tdt ca cac d6i tuqng n6u chi dua vao nhftng dft ljeu luu tru duoi dang van ban va hinh anh thuong Mot yeu cau nfia cua viec quan ^^ tong the cac doi tuqng khong gian la xac dinh vi tri va dac khoang each Thong tin ve "ban thuong" khong ho trq duqc hau nhu la chinh x&c nhftng thong tin vd ddi tuqng, quan he gifta cac doi tuqng va khong ho trq cho viec quyet dinh mot each nhanh chong Co rat nhieu van de khac ton tai ma doi voi mot bai toan quan ty khong gian Lai giai nao cho tftng cau hoi dang tren da bo ngo ? Nham giai quyet nhftng van de lien quan den vi tri dia ty ma muc dich cuoi cung la ho trq cho viec quyet dinh Bai toan quan ty khong gian dan dan duqc hinh voi khai niem "Thong tin dia ty" Va duqc tich hop voi cong nghe thong tin va moi truong may tinh, mot khai niem "He thong thong tin dja ty - Geography Information System (GIS)" doi va dang phat huy tac dung cua no tren pham vi tftng quoc gia va toan cau Tin hoc da gan them cho nhieu ten gqi, khai niem than thuqc co them chft "so" Trong co "ban so" duqc tao bai cac cong cp s6 hoa ban dang duqc dung vai GIS Vai muc dich tim hieu, nghien cftu va ftng dung GIS vao mot ung dung quan ty cp the : quan ty nha tro sinh vien, phan sau day se de e^p chi tigt hem vg khai niem, cong nghe va quy trinh xay dung mot ftng dung GlS Do mai bubc dau tigp can vai mot khai niem hoan toan mai ya thbi gian nghien cftu co hpn nen nhftng gi duqc de cap den van mang tinh chat khiem ton Ngubi xay dung de tai rat hoan nghenh va mong tigp thu nhung y kien ddng gop quy bau cua nhftng quan tam dgn dg tai Xin chan cam an ! An Giang, thdng 04/2006 DO NGUYEN VU TOM TAT BE TAI Ten di tai: "UNG DUNG C6NG NGHE GIS TRONG QUAN UY NHA TRO SINH VIEN KHOA KY THUAT - CONG NGHE - MOITRUC3NG" Sinh vien thycc Men : Do Nguyen Vu - MSSV: DTH021723 Gidng vien hudng dan : ThS Doan Thanh Nghi M6 td so luac: Qua tim hieu thirc te, hien Khoa Ky Thuat - Cong Nghe - Moi Truong noi rieng va Truong Dai hpc An Giang noi chung dang quan ly sinh vien ngoai tru tr6n dja ban ph6 Long Xuyen v6i ung dung co so du lieu FoxPro chu y^u vai the hien ca so du lifu dang chil Trong kill dp, nha tro noi cac sinh vien ngoai tru a dirge phan tan rai rac tren toan dia b^^ va it nhieu nhung nha tro ciing co mot tac dong nhat dinh den tinh hinh xa hoi dia phuong va den chinh sinh vien dang tip Vi vay, doi hoi mot tag dung co su the hien sinh dong hon : khong nhtag cho biet thong tin ma phai cho biet vi tri cua nha tro mot each true quan khong gian Nham co sir ho trp cho Khoa Ky Thuat - Cong Nghe - Moi Tnrcrng viec quan ly sinh vien ngoai trti dugc thuan tien, de tai phan tich thiet ke va xay dung mot fag dung quta ly tag d^mg cong nghe GIS voi nhung chuc nang sau: Phan mim chay tren giao dien WindowsForm cho phep: thS hien vi tri va e^e thong tin nha trp tren ban so, nh|p lieu, tim Idem, bao cao thong ke, in an ket qua, va cac chfa nang phii khac Yen edit: -Tim hieu thuc t6 va xac djnh cac yeu chu -Tim hieu cac van Ah ly thuyet co lien quan -Phan tich thiSt kS he thdng -Cai dat chuong trinh demo tag dung Moi truong phdt trim img dung: -Cong cu s6 hoa ban Maplnfo Professional 6.0 -Ngon ngu lap trinh MapBasic, VisualBasic MUC LUC trang PHAN I MO DAU7 Chuong I GlOl THIEU BE TAI7 I.GICSI THIEU-.•.7 1.Pham vi he thong7 2.Rang buoc he thong8 2.1.Qui djnh v6 nghiep vu8 2.2.Nhan lye thirc hien8 2.3.Cac han che'.9 II.PHUONG AN TONG QUAN VA BANH GIA KHA THI9 1.Phuong an tong quan9 1.1.Yeu cauphan chng9 1.2.Yeu c^u phan mSm9 2.Danh gia kha thi10 2.1.Kha thi v6 kinh tg10 2.2.Kha thi vg ky thuat:10 2.2.1.Do Ion cua du an10 2.2.2.Cau true cua de tai:10 2.2.3.Nguoi phat trign10 2.2.4.Can bo quan ly he thong (nguai diing)10 Chuong II CO SO LY THUYET VA PHAM VINGHIEN CUU11 I DOI TUONG NGHIEN CUU11 He th6ng thong tin-dia ly (GIS)f:'.11 1.1.Khai niem11 1.1.1.Thong tin dialy.11 1.1.2.He thdng thong tin dia ly - GIS:11 1.1.3.Mo hinh cong nghe GIS:12 1.2.LTng dung GIS:13 1.2.1.He thdng thong tin dja ly voi doi sgng:13 1.2.2.Nhung nganh co lien quan den GIS va nhung ung dung thuc te14 1.2.3 1.3 He th6ng thong tin dia ty hS tro cho viec quylt dinh ntn ?14 Khuynh huong phat triln cua GIS:15 1.3.1.Khuynh huong phat trien vely thuydt15 1.3.2.Khuynh huong phat trien ve phan cling15 1.3.3.Khuynh huong phat trien ve phan mem'15 1.3.4.Khuynh huong phat trien ting dung15 2.Ban do:16 2.1.Ban d6 s6:,16 2.2.Qui trinh so hoa ban giay17 3.Moi truong cai dat ting dung19 3.1.Maplnfo Professional19 3.2.MapBasic20 II PHAM VINGHIEN CUTJ21 PHAN II NQl DUNG22 Chucmg I PHAN TICH22 I.PHAN TICH HIEN TRANG22 II.PHAN TICH YEU CAU:.23 1.Cacyeu cau chtic nangvaphi chucnang:'.23 1.1.Cac yeu c^u chuc nang:23 1.2.Cac yeu cgu phi chuc nang:23 2.Mo hinh quan niem xu ly he thong:23 2.1.So d6 tuong tac thong tin23 2.2.So hoat dpng cua he th6ng24 III.PHAN TICH DtT LIEU27 Mo hinh quan niem dft lieu: 27 Chuang II THIET KE' :'.28 I THl^^T Kfi Xtf LY28 1.So kien true chuc nang28 2.Kien true tog dung29 3.Thi^t kS xu ly".:30 3.1.Bang nMp he thdng30 3.2.Chuc nang tim kilm31 3.3.Chuc nang thdng ke.'30 3.4.Chiic nang baobigu32 3.5.Chiic nang luu ban do35 3.6.Chiic nang nhap du lieu nha trp35 3.7.Chiic nang nhap d^ lieu sinh vien36 II.THIET KE Dtf LIEU37 1.Chi tietthiSt kg du lieu37 2.SohoabandovaxaydimgcosadulieutrongMapInfo Professional 6.0 J 42 2.1.ChuSn bi ban d642 2.2.• Tao cac lop doi tuorig va xay dung ca so du lieu44 2.3.Khai thac va van hanh45 III.THIET KE GIAO DIEN45 PHAN III KET LUAN46 I.DANH GIA CHUNG46 1.Banhgiacuasinhvien'.46 2.BanhgjacuangucddCing47 II.HUC5NG PHAT TRIEN47 1.Phat triin Uen Desktop PC47 2.Phat trien tren web47 PHAN IV PHU LUC48 I SUU LIEU,48 1.Du lieu thu thap48 2.Suu lieu mo hlnh quan niem xii ly (DFD)48 2.1.Mo ta dong d^ lieu48 2.2.Mo ta kho du lieu52 2.3.Mo ta xii ly54 IP CHU'ONG TRINH CAI DAT DEMO:56 1.Thi^t kg cai dat du lieu'.56 2.Thigt kl giao dien57 2.1.Giao dien t6ng thg ung dung van hanh57 2.2.Thuc don va cong cu b6 sung57 2.3.Cac hop thoai bo sung58 TAI LIEU THAM KHAO64 DANH SACH CAC HINH VE trang HINHI-I Pham vi he thdng7 HINH 1-2 Md hinh cdng nghe G1S12 HiNHI-3 Cdc thdnhphdn cua mot he thdng thong tin diet ly13 HINH I- He thdng thong tin did ly hd trp quydt dinh15 HINH 1-5 Khuynh huangphdt trim ting dung GIS16 HINH 1-6 Minh hoa cdc lop thong tin he thong thong tin dia ly.17 HlNHI-7 Anh xq the gioi thuc iheo mo hinh die lieu khong gian vector vd raster17 HINH 1-8 Kh&i tao du lieu GIS bhng each sd hoa ban dd17 HINH 1-9 Quy trinh sS hoa ban dd gidy18 HINHI-10 Quy trinh khdi tao du lieu khong gian.18 HINH Lien ket ddi tupng duong khong khep kin,19 dudng khep Mn, vitng tren to ban dd khdc nhau19 HINH II-1 Tuongtdc thong tin he thong23 HINH 11-2 SodS ludng die lieu he thdng (cdpl)24 H1NHII-3 So dd ludng die lieu tim kiim ddi tupng (cdp 2)25 H1NHII-.4 So dd ludng die lieu thdng ke nhct tro vd sinh vien (cdp 2)25 HINHII-5 So ludng die lieu bdo cdo ket qua (cdp 2)26 H1NHII-6 So dd ludng die lieu tdng hop cdc cdp26 HINHII-7 He thong cdc lop ddi tupng;27 HINHII-8 Cay cdu trite chtic nang28 HINHII-9 He thdng cdc chiec nang giao tiip bd sung29 HINH 11-10 Cdc thdnhphdn cdu thdnh.ting dungEslm29 HINH 11-11.Lupc tudn tu quan niem xu ly chiec nang dang nhgp he thdng30 HINH11-13.Lupc dd tudntu quan niem xie ly chiec nang thdng ke30 HINHII-12.Lupc dd tudn tu qttan niem xie ly chiec nang tim kiem;31 HINH 11-13.Lupc tudn tu quan niem xie ly chiec nang quan ly bdo bieu32 HINH 11-14.Lupc dd tudn tu quan niem xie ly chiec nangxem bdo cdo file TXT.33 HINH 11-15.Lupc tudn tu quan niem xie ly chiec nangxem hinh ban do34 HINH 11-16 Lupc dd tudn tu quan niem xie ly chiec nangxem bdo cdo file HTML34 HINH 11-17.Lupc tudn tu quan niem xie ly chiec nang lieu hinh ban do35 HINH II-18.Lupc dd tudn tu quan niem xie ly chiec nang nhdp die lieu nhd tro35 HINH 11-19.Lupc dd tudn tu quan niem xie ly chiec nang nhdp die lieu sinh vien36 HINH 11-20 Chi tiit cdc lap ddi tuang37 HINH 11-21 Lap ddi tuang duang tren ban dd„ 38 HINH 11-22 L&p ddi tuang phudng tren ban dd38 HINH 11-23 Lap ddi tuang nhd tro tren ban dd39 HINH11-24 Lop ddi tuang sinh vien tren ban do40 HINH 11-25 Lop ddi tuang vi tri dac b^^t tren ban do41 HINH 11-26 Lap ddi tupng ten cdc ddi tuang tren ban dd41 HINH 11-27 Tinh toa ban dd he toa Descartes vudng gdc43 HINH 11-28 Hop thoai tao diim diiu khiin43 HINHlII-1 Man hinh chinh:57 HlNHlll-2 Thanh cdng cu chuc nang'.57 HINHIII-3 Cdc trinh dan bjd sung58 HTNH111-4 Man hinh chon hinh thuc thing ke58 HINHIII-6 Man hinh chon thdng tin Tim kiem59 HINH 111-7 Man hinh nhap.thdng tin Tim kiem59 HINHIII-8 Ldi: khdng hdtra Tim kiSm vai truang du lieu kiiu sd;;60 HINHIII-9 Man hinh bdo cdo chinh:60 HINH 111-10 Man hinh xem; in ban dd vd kit qua thdng ke tren khung nhin Ian61 H1NHIII-11 Man hinh kit qua thdng ke dang HTML61 DANH SACH CAC BANG BIEU trang Bane: Mo Id ddi tuang37 Bans: Thudc tinh du lieu bane DUONG'.38 Bane: Thudc tinh du lieu bane PI1UONG38 Bane: Thudc tinh du lieu bane NIIA TRO39 Bane: Thudc tinh die lieu bane SINH VIEN,40 Bane: Thudc tinh du lieu bdrte VI TRI'.'.41 Bane: Thudc tinh die lieu bane TEN41 Bane: Thudc tinh du lieu bane LOP HOC42 Bane Cdc thudc tinh die lieu cai ddi56 QUYirGcVETttNGlT Nhung tur nhir "lop", "doi tuang", "lop dot tuong", "lap thong tin", dung Mo cao la nhung ttr sir dung rieng linh vuc GIS va cac ban so VI vay, chung khong hoan toan mang y nghia la lop hay d6i tuang lap trinh huang doi tuang PHAnI.MO'BAU Chuo^g I GIOI THIEU DE TAI I GICflTHIEU Pham vi he thong • Thong tin dia lyiihatrovd sihh vion HETH6NG" QUANLY NHA TRQ SINH VIEN C^n bQ quan ly H1NH1-1 Pham vi he thong ThSng tin tong quan: Ten d tai: U"NG DUNG CONG NGHE GIS TRONG QUAN L^ NHA TRO SINH VIEN KHOA KY THUAT - CONG NGH^ - MOITRt/CJNG Sinh vien thicc Men : D Nguyen Vu - MSSV: DTH021723 Giang vien huang ddn : ThS Doan Thanh Nghj Phat bieu van tie: Nha trp n6i chung va nha tro sinh vien noi rieng la mot van de kho quan \j cua cac nganh chtic nang Hoat dong kinh doanh cho thue phong tro tarn tni it nhieu co anh huang den tinh hinh an ninh, chinh tri va trat tu xa hoi cua dja phuong NhOng nguoi mot nha tro thuang tir rat nhieu dia phuang khac nhau, hoat dong va hanh vi cua ho cung kho kiem soat, nhat la co sir co xay Nham ho tro cho Khoa co duoc sir quan ly thuan Ion va chat che hon nhung sinh vien o tro mot each true quan, co v^n de can lien lac nhanh voi sinh vien tarn tni, vi tri cua mot nha tro noi len nhieu dieu khac; nho co s\r quan tam ho tro, can thiep kip thai de sinh vien co moi truong hoc hanli lanh manh Yeu cau quan ly nha tro tren ban d6 s6 la thuc sir c^n thigt Mue tieu: -Bo sung dtr lieu moi quan ly -Cho phep tim kiem nha tro sinh vien nhanh nhat -Cho phep thong ke nha tro sinh vien -Xem bao biSu thong ke -Cac chuc nang ho tro phu M6 ta qui trinh: Day la mot he thdng kha gon gang, nhien, thai gian dau, cong viec cua nguai quan He thing thflng tin quan If M6 HINH QUAN NIEM XlTLV Tuang lai [] Motadhngdulieu Uhg dyng: Qu^n \f nhh trp Tliugc tinh duoc chpn sinh viSn Trang: Nghy lap: /03/2006 Ngu^i l?p: Dg Nguyln Vu To: Nguln di: xu ly 7.2 Nguln din: xu ly 7.3 Dien giai: Lly thugc tinh dupe chpn chuln bi cho truy van thong tin tren thuqc tinh nhy Clu true dB li|u: He thong thong tin quan ly MO HiNH QUAN NIEM X^^L^ Hien t?i [] Tuong lai [] Motadongduli^u Vj tri va thdng tin d6i tugoig Ohg dyng: Qu^n 1^ nhh tro sinh vien Trang: _ Ngay 1^p: /03/2006 Ngu&i l^p: Bo Nguy^n Vu To: Ngu6n di: xu \f 7.3 Ngu6n dSn: Nguhri tra cuu (tint kien) Diln giai: D4nh d^u vi tri d6i tmjng vh ldy thong tin d6i tuqng CSu true dtt lieu: He thdng thong tin quan ly Uhg dung: Quan ^^ nha trp sinh vidn MO HiNH QUAN NI^M XITlV Hifnt?i[] Tuong lai [] M^ ta dinig du lieu Dtt lieu t& ca so da li$u Th: Trang: Nghy ^p: /03/2006 NguM lap: B Nguy^n Vu Ngudn di: Kho da HSu : NHA TRO, SINH VIEN NgudtrdSn: x^^ \f 8.4 (ho5c 8.1, 8.2, 8.3, 8.5) Diln giai: Lay dB li^u truy v^n phi hpp vdi hlnh thuc thing k6 CSu true dB lieu: 50 He thong thong tin quan ly Uhg dpng: Quint ly nhh trp sinh vien MO HINH QUAN NIEM XU' LV Hientai[] Tucrng lai (] Mo ta done dO lipu DO lieu thing ke I Trang: _ Ng^y lip: _/03/2006 Nguii lap: Di Nguyen Vu To: Nguon di: xu ly 8.4 (hodc 8.1, 8.2, 8.3 8.5) Nguin den: Kho dO lieu: FILE HTML Diin giai: Liy dO lieu thing thing ke dupe ghi xuing file dang HTML ' Ciu tnic dO lieu: DO li^u thing kS TAM (Tit ca thupc tinh cua hai Table NHA TRQ vi SINH VIEN thoa diiu kipn ciia xu ly 8.4) KETQUA TongNhaTro SoPhong MaxDonGiaPhong MinDonGiaPhong AvgDonGiaPhong He thdng thong tin quan ly U'ng dung: Quan ly nhd trp sinh vien MO HiNH QUAN NIEM XU' LV Hien tai [] Tuong lai [] Motiidongdu'lipu DOliduth6ngke2 Trang: Ngay lap: /03/2006 NguOi iip: Di Nguydn Vu To: Ngudn di: xtr 1^ 8.4 (hodc 8.1, 8.2, 8.3, 8.5) Ngudn din: Kho dO liu: FILE TXT Diln giai: Liy dO lipu thing thing kc dtrpc gh! xuing file dang TXT Ciu true lieu: DOliputhingke2 TAM (Tit ca thupc tinh ciia hai Table NHA TRQ v^ SINH VIEN thoa dieu kipn cua xu ly 8.4) KETQUA TongNhaTro SoPhong MaxDonGiaPhong MinDonGiaPhong AvgDonGiaPhong 51 MO HiNH QUAN NI$M Xtf LV He thdng thdng tin quan ly Tuomg lai [] Md ta dbng dtt lieu Dtt lieu thdng kb bao cao html Tb: Ung dpng: Quan ly nhtt trp sinh vien Trang: Ngtty lap: _/03/2006 Ngubi lap: D Nguyen Vu Ngudn di: Kho dtt lieu: FILE HTML Ngudn din: xtt ly 9.1 Dien giai: Thdng tin dtt lieu dupe luu vbi cau true kieu tai lieu HTML • C4u trttc dtt lieu: (C4c thudc tinh thong ke quan tarn tft kit qui thong ke hai Table NHA TRQ vtt SINH VIEN) MO HiNH QUAN NIEM XO" LY Hien tai [] Tucmg lai [1 He thdng thong tin qudn ly Mo ta dong dtt lieu Dtt lieu thong ke bao cao txt Uhg dpng: Qu^n ly nhd trp sinh vien Trang: Ngiy lap: _/03/2006 Ngubi lap: Do Nguy^n Vu Tb: Ngudn di: Kho dtt lieu: FILE TXT Ngufln d^n: xtt ly 9.2 Diln giai: Thdng tin dtt HSu dupe lttu vdi cdu true kigu tai li^u TXT CSu true dtt lieu: (Cac thuoc tinh thdng ke quan tam ttt k6t qua thong ke hai Table NHA TRQ v4 SINH VIEN) 2.2 Mo ta kho du lieu Chi mo ta cac kho dtt lieu lieu bieu Ung dyng: Quan ly nha tro sinh vien • Trang: MO HiNH QUAN NIEM XULY He thong thdng tin quan ly • Hien tai [] Tucrng lai [1 Mo ta kho dtt lieu SINH VIEN Ngtty lap: _/03/2006 Ngubi Kp: Do Nguyen Vu To: Dbng dtt li$u vio: Doi tugng vtt thong tin sinh vien (6 xtt ly Them sinh vi^n.mdi) Dbng dtt lieu ra: Thdng tin sinh vien (6 xtt ly 11 Xem thong tin tr6n n^n b^n d6) Dtt lieu ttt ccr so dtt lieu (cac Xtt ly 8.x Thdng ke theo ) Table dang md (6 xtt ly 7.1 Chon Table (sinh vidn)) Diln giai: nhttng thdng tin can quan ly ve ly lich cua mpt sinh vidn Cau true: Khdilupmg: -Hientai: 400 - Tucmg iai: 800 Thdng tin thubng truy xuat: MSSV, HoTen Lop 52 He thdng th6ng tin qudn \j MO HiNH QUAN NIEM XlTL* Trang: Hi^ntpi[] U'ng dung: Qudn ^^ nha trp sinh vidn Tucmg lai [] Mo td kbo dO li|u NHA TRQ NgOy lap: _/03/2006 Ngudi i^p: Do Nguyen Vu To: Dong dO lidu vdo: Bdi tupng va thong tin nha trp (d xtt ly Them nha trp mdi) D6ng dtt lieu ra: Thong tin nha trp (6 xCr Iy 11 Xem thong tin trdn ndn ban dd) DO lieu tCr cp so dtt li^u (cac XO ly 8.x Thdng ke theo ) Table dang ma (6 xO ly 7.1 Chpn Table (nha trp)) Diln giai: nhOng thdng tin ciln quan \50 - Ttrong lai: >50 Thong tin thuOng truy xudt: TenNhaTro, Duong, Phuong, DonGiaPhong, ID HS thong thdng tin quan ly M6 HiNH QUAN NIEM XU'L* Trang: _ Hi^n t?i [] Hng dung: Quan ly nha trp sinh vien Tucmg lai [] Md ta kho lieu FILE HTML TO: Ngay lap: _/03/2006 Nguoi lap: DS Nguyen Vu Ddng dO lipu vOo: DO lipu thdng ke (mot cdc d xu ly 8.x Thdng kd theo ) Ddng du li$u ra: DO lipu thdng kd html (o xir ly 9.1 Bao d^ng HTML) Dien giai: cdc tap tin ket qua thdng kd dupe luu dudi dang t^p tin html Clu true: T3p tin HTML gom cac the vd dO lieu thdng kd Hp thdng thdng tin qudn ly Gng dung: Quan 1^ nh4 tro sinh vien MO HINH QUAN NIEM X^^LY Hi^n t^i [] Tuong lai [] MB t:i kho dO lieu ' FILE TXT Td: Trang: _ Ngay ldp: _/03/2006 Ngudi lap: Do Nguyen Vu Ddng lipu vdo: DO lipu thong ke (mpl cac d xO 1^ 8.x Thdng ke theo ) Ddng li^u ra: DO lipu th6ng ke txt (d xir ^^ 9.2 Bao cdo dpng TXT) Dien giai: ede t^p tin kdt qua thdng ke dupe luu dudi dpng tap tin txt C^u true: Tap tin TXT va dO li$u thdng ke 53 2.3 Motaoxuly He thong thdng tin quan ^ MO H1NH QUAN NlM XU' LY Hien tai [] Tuong lai [] U'ng dung: Quan ^^ nte trp Ng^y l|p: /03/2006 Mo ta xu- ly Them sinh vien m6i sinh vidn Trang: Ngudi lp: Bo Nguydn Vu ' Td: xu ^^ so: Dong dtt li$u vdo: (Boi tupng) vd thong tin sinh viSn moi Dong du lieu ra: Thong tin sinh vien Biin giai: xti ly bo sung sinh vien mbi vdo table He thdng thdng tin quan ly MO HiNH QUAN NIEM XU'LY Hien tai [] Tuong lai [] Ngay lap: _/03/2006 Ngtibi l^p: D5 Nguyen Vu Motaoxu-ly O'ng dung: Quan ly nha tro Chpn Table sinh vidn Trang: To: Oxulys6:7.1 Dbng dtt li^u v^o: Table dang md Dong d& Ii^u ra: Cac thuqc tinh cua table duac chpn Diln giai: Lay danh sach cdc table dang md He thdng thdng tin qudn ^^ MO HiNH QUAN NlEM XU'LY Trang: _ Hien t^i [] Tuong lai [] Ngay lap: _/03/2006 Ngudi lrip: Bo NguySn Vu Motidxu'ly LTng dyng: Quan ly nha tro Chon thudc tinh sinh vien Td: ' xu ly sd: 7.2 Ddng du lieu vdo: Cdc thudc tinh cua table dupe chpn Dong du lieu ra: Thupc tinh dupe chpn Diln giai: L^y thupc tinh dupe chpn chuSn bj cho viec tlm kiem He thdng thdng tin quan ly MO HiNH QUAN NIEM XU'LY Trang: _ Hi$ntei[] Tuong lai [j U'ng dpng: Quan ly nhd trp sinh vien Md ta d xu ^^ Tim ddi tupng Td: Ngdy l^p: _/03/2006 Ngudi ^p: BS Nguyen Vu xd ly sd: 7.3 Ddng d^ lipu vao: Thudc tinh dupe chpn Ddng dil lidu ra: Vj tri va thdng tin ddi tupng Diln giai: Xdc djnh vj tri va thdng tin doi tupng din tint kilm tren ten 54 He thdng thdng thi qudn ly Trang: MO HiNH QUAN NIEM Xtf LY Hidntai[] Tuong Iai fl Ngay lap: _/03/2006 Ngudi lap: Do Nguydn Vu Md ta o xu iy Thdng ke theo phudng Td: U'ng dang: Quan ly nha trp sinh vien xd l^ sd: 8.1 Ddng lieu vho: DO lieu td ccr sd lieu Ddng dO lieu ra: DO lieu thdng ke ' DO lieu thdng ke Didn giai: Ghi dO li^u thdng ke dudi dang tap tin (txt hay html) Hd thong thflng tin quan ly1 Trang: MO HINH QUAN NIEM XI)'LY HidntaU] Tuong Iai [] Nghy l^p: /03/2006 Mo th xu- li^ U'ng dpng: Qudn V/ nha trq RSo cao dang HTML Td: sinh vien Ngadi lap: D Nguyen Vu 6xu^^so:9.1 Dong da lidu vho: Da lieu thdng ke bdo cao html Ddng da lidu ra: Bdo cao thdng ke Diln giai: The hi$n bdo cao thong ke dadi dang HTML thong qua trinh duyet IE He thdng thdng tin quan ly M6 HiNH QUAN NIEM XU'L^ Hifn ti [] Trang: Tucmg Iai [] U'ng dpng: Quin 1^ nhd trp sinh vien Md ta d xu' ly Xem tlidng tin tren nen ban dd Nghy lp: /03/2006 Ngudi l|tp: Dd Nguydn Vu Td: xu ly sd: 11 Ddng da lidu vho: Thdng tin sinh vien Thdngtin nha trp Ddng dB lidu ra: Thdng tin den ndn ban dd Dien gihi: Phpc vp cho viec lSy thdng tin de cd thd in ciing vdi ban He thdng thdng tin quan V/ U'ng dpng: Quin iy nha trp sinh vidn MO HiNH QUAN NIEM XO'LY Hientpi[] Tuong Iai [] Mdtadxu'lJ Luu hinh ban Trang: Ngay lpp: _/03/2006 Ngudi lap: D5 Nguydn Vu Td: 6xulys6:10 Ddng dO Ii^u vdo: Ydu clu luu bdn (Caa sd khung nhin ban hi$n hanh) Ddng da li^u ra: Ban dd dupe lau (COa sd khung nhin dupe luu dang JPG) Diln giai: Luu mdt khung nhin nhanh chdng 55 II CHlTONG TRINH cAl DAT DEMO Thietkecai flat dfr lieu Bang Cac thugc Unit (III lieu cai (tat TABLE PHUONG DUONG FIELD | Integer ID Integer n Integer D n 0 SoNha Duong Phuong SoPhong DonGiaPhong TenChuNha DienThoai GhiChu Character(20) Character(IOO) Character(100] Small Integer Integer Character(IOO) Character(S) Character(200] Float Float Integer HoTen SINH VIEN INDEX jID VI TRI NHA TRO TYPE GioiTinh Lop NgaySinh Character(IOO) Logical Character(G) Date QueQuan NhaTro CharacterPSO) Character(50) 0Phong Character(5) GhiChu ID Character(200) a r a a ? a a ? n D D Integer TEN 56 Thiet ke giao dien 2.1 Giao dien tfing the ung dung van hanh Edit,.Tools Objects Query" table Qi^Uons Map Window Help Chucnang Uenlac Qupdb,: Vn ihi b'nu-My Xtiynv ^ ^•T/i^^: MSSV: DTH021692HoTen: tlrjnyen Thnilll Loc GioiTinli: T Lop: DH3TH1 Min tro: Thanh ^ijon l"Dia Chi: Lo 3.Vo Thi Sau-Dong Xuycn Tenchnnhn: ai; an: tl.jaySii.Ii: OiieOnnn: T.Tlt Hop - Pint Ton - An Gi.llir) HL.lTrn: OPIioimj: GliiCliu: ID: * Selectors Ncme SIMH_VlEII HINH UI-I Man Mull chink 2.2 Thirc dffn va cong cu bo sung Nhap dd lieuX6a sinh vien Thong ke Chup hinh sinh vien Qioi thi^u theo I6p T7T Ill Tim kiem Bao bieu Nhap dfr lieu Trg giup Xem thong tin nha nha trptro tren ban d6 HINH HI-2 Thanh cong cu chi'tc nang 57 flWiWifilflflip^) Lien lac Giilp dor\ , ^_; ^; ','_ ' Tim ki^m Shift+F | Thong ke nha trg va sinh vien Shift+S ! Xem bao ego Ctri+R ; Lmj c^^a s6 th^nh file hlnh Ctrl+L Nhap dCr lieu nha tro Shift+N Nhap dO lieu sinh vien Shift+V ^p mmmsmmsm Lpai chi liel nha irg khoi ban Shift+Q Chirc nang &^^I_J^1 Giup da CCra so hien hanh „ Chti'c nang Lien Igc HINHIII-3 Cue Irinb ami M sung 2.3 Cac hop thoai b6 sung Hinhlhfrc thong ke ©NhCfrtg'nha trod phtrcng w O Nh^^ng nha tr^ u du^ >\ i.j O Nhu'ng nha tro co gia phong Idn hdn '-^C-U't) |(vnd) ONhifrig nha tio co sinh vien thuoc I^^pl^-^L ~"* OTat ca cac nha tro Dang tile xual Text-TXT iy|Web-HTML j_D6ng y • , Dong hop "thoai"] HINHIII-4 Man hinh ebon Mull lln'rc th&ng ke 58 gM ,SINH= VI_EN^ Thong.tin can tim kim ^_^ MSSV Tim kiem tren cgt thong tin j Bat clau im [ Thoat chtfc nang | HINH Ul-6 Mini lilnli clipn thong tin tim kiem Khong tim iJ^'Cfc chinh.x^c doi tuong.cltl dinh trdhg CSDL ! MSSV• DTH02L7 " "" ~~ Li^t ke gan gi6ng thong tin can Km DTH021723~ DTH021724 i DTH021725 '.; DTH021726 'DTH021727 DTH021728 DTH021729 Dong v Thoat HINH III-7 Mini hinh nhiip thing tin tim kiem Cac thong bao ket qua tim kiem khac tai vi tri O -Thanh cong ! Da tim thay chinh xac d6i tirong c^n tim ca so du; lieu ! -Thong tin tim kiem khong thay ccr so du lieu -Tim duoc 14 ket qua co Phudng la My Xuyen cor so dtt lieu 59 Xin 15L khong the tim kiem v6i tru^ng dtf liu n^y, •hay chpn Irircmg du li^u kh^c I HINHIH-8 L6i: khong lid tr^ fun kiem v&i trit&ng die li^u kiett s6 Daiili sich file li^o HHATR0LOPDH3TH1 NGAY3 200G.html NHATRaiOPDH3THI NGAY 3~5~2008.Ut NHA TRO LOP DH3TH1 NGAY 200G.hlmI MHA TRO LOP DH3TH1 NGAY 9~3l200E.html NHA TRO LOP D1I3TH1 NGAY S 200G.^ NHATROLOPDH3TH1 NGAY3 200G.html NHA TRO LOP DH3THTNGAY 3~4~200G.tKl NHA TRO PHUONG DONG XUYEN NGAY 31 3_2Q0G.)ilm1 NHATRO,PHUONGMYXUYENNGAY23_3"200G.i TAT CA NHA TRO NGAY 11 3_200G.html TAT CA NHA TRO NGAYT1_4_200G.html TAT CA NHA TRO NGAY 13 20DG.hlmt TAT CA NHA TRO NGAY 13 200G.tx TAT CA NHA TRO NGAY ^ 200E.html SHffsaraiauiEHa^saE&assaEE^ 1GJPG B^n nha tro 23 JPG nha tio 2a.JPG nha tro 45.JPG Ban nha tio 86JPG Xamimwc hiiift It.Mi Gl.rp ^ cl.aoc.So.l