TRƯỜNG ĐẠI HỌC BÁCH KHOA HÀ NỘI
VIỆN CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
*
BÀI TẬP LỚN
PHÂN TÍCH THIẾT KẾ HỆ THỐNG THÔNG TIN
!"
#$ %&
'(
)$%*+,- . /01$
$23
Contents
Phần 1: Đề bài
1. System Requirements of Library System
4%/56%/7%5689599995:%/;8//. 5<8//69%
995=>58%%757?%3/5/395/,/595/=%965<<99599
57.@9955<8//9<=<5%59%:5958%%7935%:
69,5=A5,898%%785/. 5<8//<9%69%%B5/8%%795/3
/595/=%,95995795/59%58<%5/5C5/5.;
8//9<8<5%58<:/%%.
DEF95//59/=%
? %8%//%68%%7395/9A/9/555/G8%//%65/H9/,9I.
? 5A<<%5G8%//%65/H9/,<=%:%/I3,985A<<5,:%/
65/,5=A=%D5..5<9/5/,%/,/5/H9<595E%5:/%
%5/%:5<8//.
? 58%//%65/H9/,9:%/95;8//%<.
?C5/595/95995<8//99595/%9,5=5
996%/,9 /5 995, 65 5 /595/ 9 <8// 95/9. 5 5=5
996%/,855,=5.
DEF95<8//9955C5/5
?F95/9955<8//9955C5/5855/5/%9,
996%/,9.
?8//9B55/5/5<%5585/9,996%/,9. 5<55/55
995%5/:%/%5/=%9%:;8//.5A<<355/:%/8%%7
95/357?%3/5/3/595/=%395//59/=%,959957.
?)55/<95/955/5/8%//%65/H9/,85/9,996%/,9. 5
5/:%/8%%795/3959957,/595/=%.
D(E#%//%68%%79
? 5995/%5995957?%9%:8%%79.
? 5995999,9/=%85/D57?%85/E%557?
%.
?@95/8%//%6%8%%79:%/2,9.
?F95/98/8%%7956%8%//%63%55/65/G8%//%65/H9/,9I3
%5:/%%5/.
?#%%79% 85575,% /5%9595/95/9%<<8/:/%5
95<595<8//%5G:/%%5/I%/95/95/595/5,%5/5
C5/5,<8//9B55<,:%/5.
?C:95/98%%79/5%5/,53595/%8%//%6%5/
8%%7.
?)55/<95/9/595/58%%7956%8%//%6,8%//%65
/595/5,8%%79.#%%7/595/=%6<<855J<5,<5/95J.
DKEL5/8%%79
? 5995/%599598%%7/5/9%:8%%79.
?F95/9/5/8%%79%5G/5/%5/I%:5<8//85:%/55,5,5.
?F95/9/5/8%%79%5G/5/%9I655<8//9<%95,.
(
?8//9B5/5/5,8%%7987%595<59%/%<,5:%/95/9
6% 5 /595/5, 5 8%%79.
D2E5/8%%7
? 5995<<%6995/9%95/:%/8%%75<8//%69.
?F95/995/8%%799756%/,999G=<5I3G%/I,G8<95/I.
DMEL595/8%%79
? 5<8//995<<%6995/9%G/595/5I8%%79%85:%,:%/
9%5/59%.N%/5J<5358%%79855575,%.
?F95/9%/595/58%%795<8//,%59%%6.
? 5995/%59959/595/=%9%:8%%7=<59.D@8%%785/%
8595A5,.E
? 5995999,9/=%85/D/595/=%85/E% 5
/595/=%.
?@95//595/5%8%%79D5J<,8%%79,855/595/5,,
9</5,855575,%)
? 5995,%59%<<%6,%8<5/595/=%9:%/5958%%7.
?O5/595/5,8%%795<,:%/555/<95/3<8//9B%=:595/%:
8%5%/5?<.F95/995:5/%5%,D%5%/5?<E
5=5%:/595/=%.
? 5995<<%69575:%/=%%/595/=%9,58
55/<95/.
DE;579599
K
? 5<8//995<<%6957599%:58%%7955/<95/
98%//%65,%//595/5,.F959957<9%855/:%/5,%5/5
C5/5.9595/95759599%5959957
9/55P5/<%%%5<8//995
Phần 2: Giải quyết bài toán
Q+$R
? R7S*T,
? U9$
? /&9$
? D;%E*V9$
? W9$
? 1X//Y$
? RZ
? ;ZZ[=
\+]R3^_%`X_$a
. #9599<99
. F9595
(. #X^9b,a
K. c^X<7deL
2. #X^<+_[Wf,g<
M. d7d%,
. #X^/W
. 59
2
hi[[
!" #9599@<93#X^9b,a38X
^<+_[Wf,g <L595/3
5/8%%73L5/#%%7
d7d%,
59
#9599@<93#X^9b,a3#X
^ <+ _ [ W f ,g < %%3
L595/=%#%%79
F9595
#9599@<93#X^9b,a3#X
^<+_[Wf,g<5,
8%%73;579599
' #9599@<93#X^9b,a3#X
^ <+ _ [ W f ,g < F,5
C:%=%
#$ %& #X^/W
M
5,/5j59%/558%//%65/H9/,
)595/:%//595/
N<<:%/
;57F95/H9:%/=%
;57%995
;/55<8///,,5%95/
@,,F95/H9:%%995
@,,F95/H9:%
L555;/,
C. Business Analysis
. F95/L595/
F95//595/
F95/ 8//9B 95
)595/H9Ck
%
#%%795/39599573/595/=%
5/35,3,538%//%69
L5//59<
L555:%=%
. F95<8//99555/5
F95<8//99555/5
F95/ 95
5,/5j59%8%//%68%%79
;57F95/H9Ck,#%%7H9Ck
L5558%%7
@,,5/5j598%//%68%%7%995
;57%995
)58%%7%F95/
@,,8%//%6H9C:%
(. 5,8%%79
5,8%%79
F95/ 8// 95
)58%%7,<8///,%<8//
;/55L5/8%%7:%/6F95/H9Ck,8%%7H95
L555/,
L5/;/,%=>5
;%A/
K. L5/8%%79
L5/8%%79
;=>5 8// 95
55/9756%/,
5/8%%7
L555:%/=%
L5//59<
2. 5/8%%7
5/8%%7
F95/ 95
l75/5j596/,H9Ck,8%%7H95
L595//595/5:%
L595/5
M. L595/8%%7
L595/8%%79
;=>5 8// 95
5/5
@5=5
L555:%/=%,9%
%6:%,8%%799
;578%%79968%%7H953,%/%/5
. ;579599
;579599
F95/ 95
(
W9$
RZ
1 /Y$
U9$
;ZZ[=
/&9$
;%*V9$
1*T,m
*T,m
n&*
CC. Usecase
K
CCC. Biểu đồ ca sử dụng
. F95//59/=%
F9595Ck F2
5 F95//59/=%
/ ;/558%//%65/H9/,
@%/ 8/3959
h/5%,=%9 8//<%9599:<
k59/=%9 . @%/95,/5j59/59/=%
. 8///5/:%//595/
(. @%/A<<:%/65/,5=A=%
K. 599557%/H9:%/=%
2. 8///558%//%65/H9/,
M. @%//5558%//%65/H9/,
eJ5=% .@%/H9/5j599,55,
(. 5/5/59%58<7A5<,
K.@%/H9:%/=%%%//5
K8. 5<8//%//59%,%555/5,Ck9%
:%,
K. 555/5,<8//996%/,96/%
5/% k59/=%9
F2?o L595/9599:<
F2?o 5@%/:%/=%99%5/%8<5
F2?o( 5/5/59%58<7A5<,
F2?oK e//%/%5=%
F2?o2 8//H9Ck9H:%,
F2?oM 555/5,996%/,96/%
2
. 5/8%%7
F9595Ck F
5 5/8%%7
/ 5/8%%7895,%756%/,
@%/ 8//39593F95/
h/5%,=%9 8//<%9599:<
;=>595/55/5%//5756%/,
k59/=%9 . F95/55/756%/,=<53%/38<95/p.
. 9595/8%%7
(. L5/959<
eJ5=% . 555/5,756%/,96/%
. 58//<%:<5,
8.%8%%7<8<5
5/% k59/=%9
F?o 599:<95/
F?o 955//%/9
F?o( %8%%7<8<5
M
(. ;579599
F9595Ck FK
5 ;579599
/ ;578%%7H999.
@%/ @<8//%/=>595/.
h/5%,=%9 @%93996%/,935/5
k59/=%9 . @%/55/,%/5%/%/8%%79%95/8%%7%
,895.
. 95/595/,9%6<<58%%79365,3
5%/%/,55/5,.
(. @%/<78%%7%9/55%5799.
K. 95<%,99%:98%%7%9/55.
eJ5=% .Ck35%/%/395/,55/5,5/.D9j<
q5=%3J993 E.
. 98%%7,,H5%,895.
5/% k59/=%9
FK?o 95/5/%58%%7:%/95/.
FK?o 95/5/%/5%58%%7:%/95/
FK?o( 95,%H/5/8%%79.
K. L595/#%%7
F9595Ck FM
5 L595/8%%7
/ F95//595/58%%7:/%8//%95
@%/ F95/9
h/5%,=%9 CCkr5%:8%%799%//5
L595/8%%7,B5/5%5
k9/=%9 %
%995
8//9557:%/=%95/
( F95/CCkr5#%%755,/595/
K 95/555,57998%%7:%/=%
/5j595,/595/
2 9595/8%%79/595/5,
M ;%%F95/9/595/5,%5%/5<
eJ5=% F95/9%58<7A5<,
95%/95/Ck69%5J9
8 CCk%/5#%%79%//5
( C:</558%%7%/%/
K 95:</5Ck8%%7
F95//595/55956%8%%7
(8 #%%793699/595/5,39%5J98//
95
5/% k59/=%
FM?o 5=>595/99599:<<<%5,%
FM?o 58//95/99599:<<<%5,%
FM?o( 5;=>5,8//%95/5%/996%/,
6/%.
FM?oK Ck%/58%%79H:%,8//95
FM?o2 #%%79H5J98//
2. F,5:%/=%
F9595Ck F
5 F,5:%/=%
/ F95/,5995/H9:%/=%38//,59<8//H9
:%/=%
@%/ 8/39593F95/
h/5%,=%9 8//<%9599:<,95/<%9599:<
k59/=%9 . F95/%/8//<%
. 59595/8//,=>595/:%/=%
%//59%,%5Ck%5/:5996%/,9
%//5
(. F95/%/8//5:%/=%
K. 95,5:%/=%
eJ5=% . 58//%/=>595/%//59%,%5
55/5,Ck9%:%,
8. 555/5,8//%/=>595/996%/,96/%
. 5/5/59%58<7A5<,
K8. 5:%/=%9,55,
5/% k59/=%9
F?o F,595999:<
F?o Ck%:%,
F?o( h996%/,96/%
F?oK 5/5/59%58<7A5<,
F?o2 F,5:<
M. %%
F9595Ck F
5 %?%
/ %%%5<8//995.
@%/ @<8//%/=>595/.
h/5%,=%9 5,996%/,5855995,.
k59/=%9 . @%/5/5:%<<%6:%/=%:/%5<%%
9/55GCkI,996%/,.
. 599595/:%/%//59%,%5Ck%5/:
5996%/,9%//5.
(. C:5%/99599:<<<%5,%35G<8//9B
5I%/G=>595/5I5/9
eJ5=% . 5<8//%/=>595/%/59%,%555/5,
Ck9%:%,.
8. 555/5,<8//%/=>595/996%/,96/%.
. 5/5/59%58<7A5<,9.
5/% k59/=%9
F?o 5=>595/99599:<<<%5,%.
F?o 5<8//99599:<<<%5,%.
F?o( 595/:%=%%//59%,%5Ck9H:%,.
F?oK 555/5,996%/,96/%.
F?o2 5/5/59%58<7A5<,9.
. 5,#%%7
F9595Ck FM
5 5,#%%79
/ 8//5/595//5j59:/%=>595/9,
<5,8%%79%5=>59
@%/ 8/3959
h/5%,=%9 8//<%9599:<
k59/=%9 8//F95/A<<5F95/Ck3#%%7Ck,j=3=5%:
<5,
95575=>595/%<5F95/Ck357
655/F95/Ck95J9=357655/F95/Ck9
8%%7D9E%5/,5
955758%%79%<5#%%7Ck3575
j=%:8%%79/5j595,j=,575=5
<6/5j595,=<8<56/5j595,j=3
575<j=%:8%%7965
C:<<:%/=%9%//5359956<<55<5,
/5j59%:<8//95/9,755<8//95/9%8<<
:%/,,5:%/=%
eJ5=% . 5/5/59%58<7A5<,9
.F95/Ck%:%,
8.F95/%<F95/Ck99%58%%7D9E%5/,5
(.#%%7Ck%:%,
(8.L5j595,j=9</5/<8<5%%:8%%7
(.L5j595,j=9</5/<%:8%%79=>5
/5j59
5/% k59/=%9
FM?o 5<5,/5j59955,
FM?o 5/5/59%58<7A5<,9
FM?o( F95/Ck%:%,s
FM?oK F95/Ck%8%//%68%%798595%:%5/,58%%7D9E.
FM?o2 #%%7Ck%:%,s
FM?oM L5j595,j=9</5/<8<5%%:8%%79
FM?o L5j595,j=9</5/<%%:8%%7995/
8%//%6
FM?o L5j595,=59<%5/<=595/8%//%6
5
F95/Ck
)/%
#%%7Ck
5
C#
n=
C\. Sơ đồ thực thể liên kết ER
\. Biểu đồ lớp và mô hình hóa dữ liệu
. L595/
L595/t8<5 5 15
@,,/599 ;/u(v %<<
;;%,5 \//uv h//75
5J \//uMv %<<
5<5%585/ ;/uv %<<
h996%/, ;/u(v %<<
F95/5 \//u22v %<<
F95/t8<5 5 15
F95/Ck \//u2v h//75
;/,5/ ;/uv %<<
@,,/599 ;/u(v %<<
F95/5 \//u22v %<<
e< \//u22v %<<
(
. %
F95/t8<5 5 15
F95/Ck \//u2v h//75
;/,85/ ;/uv %<<
F95/5 \//u22v %<<
e< \//u22v %<<
8//t8<5 5 15
8//Ck \//u2v h//75
e<%5585/ ;/uv %<<
F95/5 \//u22v %<<
e< \//u22v %<<
K
%%t8<5 5 15
F95/Ck \//u2v h//75
8//Ck ;/uv h//75
h996%/, ;/u(v %<<
(. 5/8%%7
#%%7C5t8<5 5 15
#%%7C5Ck \//u2v h//75
#%%7C55 ;/uv %<<
<5 ;/u(v %<<
@%/ ;/u(v %<<
h8<95/ ;/u(v %<<
8//t8<5 5 15
8//Ck \//u2v h//75
e<%5585/ ;/uv %<<
F95/5 \//u22v %<<
e< \//u22v %<<
2