Công nghệ phần mềm
Pha lấy yêu cầu
Giảng viên: TS. Nguyễn Mạnh Hùng
Học viện Công nghệ Bưu chính Viễn thông (PTIT)
2
Nội dung tham khảo từ
Object-Oriented and Classical
Software Engineering.
3
Pha lấy yêu cầu (1)
!"#
$%!&'%(%)*+
,-*./%!&%(%)*012
4
Pha lấy yêu cầu (2)
345#
36071)80'94:+0;0
$<=4*0-6*5 :(%)*
$%!&'=>1+1:(%)*4>0-
6*5
?@A%BCD>!E((%)*!F*G
5
Pha lấy yêu cầu (3)
360710:H* *#
$<=4*I%J1=>0-K*II=L
MJ(%50 0J!CN*."*9'
)*!O*1=>*)P:H* *
6
Pha lấy yêu cầu (4)
$<=4*0-6*5 #
Q#RS*TD!A5(%)*!7UB.
0-.*5 )BV%A!V*:(%
)*
#W *X?!7B71Y=>1+1:(%
)*#XII
Z%=>1+1H[*0D!CN0-6U
*X?%=>1+1H[*I\!CN%
*JBCDE(E
7
Use case (1)
XII0-60VC]*%*^
*C_`*D52*+0;0
a" #*X?
8
Use case (2)
3*aRb1II*0
9
Actor (1)
V1IIC_*U#
c#%<d*C_`*C]*H*D1I
I!U
cC_*)*C_(eA1II@)
%<"!71IIA!V*
V*C_`*U7)0;1(%1
VU70*);11II
(%1
cU7)0VfH(%@0VEB&
!+112C0%=!5Af*!)-*
10
Actor (2)
%U7Ug15(EJ#
h<>g1.&0A*Kc0L<>B%)*
KL<>Y<KIL!;1U7
)<>:(%IAK0=L
11
Actor (3)
XIIU#
ZU<>Y<KIL)%
D+0;0C*.U(%)*U0@
Ag1+=65(0DYi!UX
)=+U
12
Actor (4)
hE1;1U`*A!V*>g1
!E`*Q1II6Ij
h<>Y<KIL.*(*
Z+0V06<>Y<)*)
!CN
h<>B%)*KLk*.*(
*k*Z+0V06<>B%)*
)*)!CN
lam=.B71Y*X?CE)j
13
Actor (5)
%B71YI#
%B71Y)=I6UU>n*5
*ZY!CN(U!F*_.
)I34E(-*.m=Z+
0V**C_*k*!CN
14
Actor (6)
%B71YTm!CNKQL#
3A0VJ1CN*)U)1=
T:X?*
15
Actor (7)
%B71YTm!CNKL#
3A0VX*J1CN*FA**
(%1C]*H*D0M
16
Actor (8)
hE1;1U`*A!V*>g1
!E`*Q1II6Ij
%Q#`*J1CN*
%#`*1IIJ1CN*
lam=%)2]j
17
Quan hệ giữa các use case
^%1IIU7U%g15#
o151KB*F0L
o15/K0eV*L
o15*pK(EJL
18
Quan hệ include (1)
o15q1r#
XcUg151D1E15)
))0V+-*5!7))c
hE1(-*))6c(-*7)
)
a5))U7@A;1+6
*C_A1>*!7%`*@
o15)=!CNB71YBn*0V0k>s
!H!Jc!Ek>Utuv1vw
19
Quan hệ include (2)
a" +0;0g1."!@M(%IA#
,(%)**b!5!E<>B%)*
=>1+1!@x*<>.60(E0x*
2*(!U1y@x*I\11360x*
2*
20
Quan hệ extend (1)
o15q/r#
XcUg15/D1E15)
)c)0V`=b-*5!7))
3*0VI2C_*N)0B*F0)0c
hC**0VI2C_*N(%)0
(-*+)0c
o15)=!CNB71YBn*0V0k>s
!H!Jc!Ek>Utuv/vw
21
Quan hệ extend (2)
a" +0;0g1."!@M(%IA#
c0*)6U7bH[*g1."
x*@H[*AB%%@(-*+
45>0H[*)k*!CN
22
Quan hệ generalize (1)
o15(EJ#
XcUg15(EJD1E1)0V
+A*f*g1%:c=c)0V75
E:
o15)=!CNB71YBn*0V0k>s
;K!+160*%M*L!Jc!E
23
Quan hệ generalize (2)
a" +0;0g1."!@M(%IA#
h<>B%)*U7*:06
)m!@x*g1!5A
h<>Y<k*U7*:06
)m!@x*AM(%
Ví dụ 1
Trang web Hotels.com
25
Trang chủ (1)
R+>#