he4 present xp
TRANSCRIPT
-
7/25/2019 HE4 Present XP
1/13
Co-Advised byProf. Helen Shen
Mr. Eddie Chua (mySch)Mr. Ambrose Tse (mySch)
Grou !o" HE#$ao Shin% &i' in%
*on% Sau Chun% &enne'h
Smar' Card A lica'ion in Schools
-
7/25/2019 HE4 Present XP
2/13
A%enda
1. Introduction
2. System Architecture3. Problems & Solutions4. Testing and Evaluation
. !onclusions
-
7/25/2019 HE4 Present XP
3/13
+. ,n'roduc'ionPro ec' Goal
To integrate a Smart !ard system "ith aschool intranet system called mySchdevelo#ed by mySch $ htt#% """.mysch.net 'using a software model .
enefi's
( )ore convenient to use di**erent services inschool
( To increase e**iciency in administrative "or+
Main Concerns
$1' !onnection o* 2 systems $2' Stability o* data*lo" $3' !orrectness o* data*lo"
Mainly focus on / areas $1' Attendance ,ecording System
$2' E!A Administration System $3' Electronic Payment System
-
7/25/2019 HE4 Present XP
4/13
0. Sys'em Archi'ec'ure - Hard1are
I. Smart !ard & !ard ,eader Au% 20 iGuard 3s 4c'o us
-ery igh/o",estriction
0ellevelo#ed
0ellevelo#ed
API
igh/o"!ost
-ery igh)ediumPo#ularity4c'o usiGuard
5ec 20 iGuard 3s $ibra
-ery /o"/o",estriction
evelo#ing0ellevelo#ed
API
/o"/o"!ost
-ery /o")ediumPo#ularity$ibraiGuard
-
7/25/2019 HE4 Present XP
5/13
0. Sys'em Archi'ec'ure - Sof'1are
II. So*t"are )odelAc' as a brid%e 'o ensure accura'e ands'able da'aflo1
Send rate ,eceive rate 5 6 5
E7tra Pac+ets /ost
!ard,eader
SchoolIntranet
Sof'1areModel
SchoolIntranet
!ard,eader
E7tra Pac+ets Stored
-
7/25/2019 HE4 Present XP
6/13
Sybase
mySch Database+. A''endance 6ecord0. ECA 6ecord/. Transac'ion 6ecord
mySchSchool Intranet
ElectronicPaymentSystem
Attendance,ecording
System
E!A AdminSystem
Sybase
AdjustSettings
AdjustSettings
Java Servlet
0. Sys'em Archi'ec'ure - 7lo1
XML Acknowledgement
ADO
!!" re#uest with #uery string
i8uard
!ard,eader
i8uard!ard
,eader
ADO Java Servlet
mdb$ard Server Database6ecord uffer
!ard Server
DataParser
A
DataParser
B
Scheduling
Sybase
mySch Database+. A''endance 6ecord0. ECA 6ecord/. Transac'ion 6ecord
mySchSchool Intranet
ElectronicPaymentSystem
Attendance,ecording
System
E!A AdminSystem
Sybase
i8uard
!ard,eader
i8uard!ard
,eader
i8uard
!ard,eader
i8uard!ard
,eader
mdb$ard Server Database6ecord uffer
!ard Server
DataParser
A
DataParser
B
Scheduling
mdb$ard Server Database6ecord uffer
!ard Server
DataParser
A
DataParser
B
Scheduling
i8uard
!ard,eader
i8uard!ard
,eader
Sybase
mySch Database+. A''endance 6ecord0. ECA 6ecord/. Transac'ion 6ecord
mySchSchool Intranet
ElectronicPaymentSystem
Attendance,ecording
System
E!A AdminSystem
Sybase
mdb$ard Server Database6ecord uffer
!ard Server
DataParser
A
DataParser
B
Scheduling
mdb$ard Server Database6ecord uffer
!ard Server
DataParser
A
DataParser
B
Scheduling
-
7/25/2019 HE4 Present XP
7/13
7unc'ions"( Trans*er o* data *rom card readers to mySch( Synchroni9ation o* data( )odi*ication o* Smart !ard reader settings
( E7#ortation o* the data collected( E!A administration
Card Server ( )ain com#onent in the so*t"are model( Ensure accurate and stable data*lo"
( 8et ata *rom the,eader
( :u**er Smart !ard
data
( E7tract the )/ac+no"ledgement
( !ontrol *unctions o* all slave card
readers % Attendance E!A
Transaction
0. Sys'em Archi'ec'ure - Card Server ( )ani#ulation and synchroni9ation o* data in Smart !ards
-
7/25/2019 HE4 Present XP
8/13
(+) A''endance 6ecordin% Sys'em(0) ECA Adminis'ra'ion Sys'em
0. Sys'em Archi'ec'ure - mySch Server
;ava ServletPrograms
mySch atabase Attendance ,ecords
E!A ,ecords
!ard ,eader !ard Server
Student
-
7/25/2019 HE4 Present XP
9/13
0. Sys'em Archi'ec'ure - mySch Server
(/) Elec'ronic Paymen' Sys'em
;ava ServletPrograms
;ava ServletPrograms
mySch 5a'abase?ser Account
!hoose Products 0aiting Smart !ard
!ard ,eader !ard Server
Price Price
Status Success
A*ter1@s
Student
-
7/25/2019 HE4 Present XP
10/13
0hich language *or im#lementationB
/. Problems and Solu'ions
$1' -isual :asic vs ;ava
$2' -isual :asic vs -isual !
( i8uard API involves Active !ontrol( -: e7am#le given
( easy *or inter*ace design
o" to synchroni9e students< recordsB
mySch.6e%!ummySch.lo%in8mySch.engCamemySch.!lass/evel mySch.!lassCame
iGuard.,58iGuard.o'hername
i8uard.lastname i8uard.*irstnamei8uard. e#artment
D ?ni ue value
-
7/25/2019 HE4 Present XP
11/13
/. Problems and Solu'ions
o" the 3 systems are im#lementedB
$1' TTP re uest "ith uery stringhtt#% *y#.mysch.net bin smartcard sync,egCumB
login ambrose"d ambrose123&uid @@@1&ulogin +enneth&u#"d +en11F&name 0ong&se7 )
Parameters
$2' ;ava Servlet Programs$3' )/ Ac+no"legement
-
7/25/2019 HE4 Present XP
12/13
#. Tes'in% 9 Evalua'ion
Simulate the situation o* a real school in terms o* ( Cumber o* users $ G1@@@ users'( Cumber o* accesses $ G2 times user '
( Access rate $ G1.3 seconds record '
)odi*ication to the #rograms
( /oc+ the sending signal o* !ard Server ( Im#ose selection criteria *or sending TTP re uests
-
7/25/2019 HE4 Present XP
13/13
Huture E7tensions( Integrate more services in mySch( ?sing di**erent brands o* card readers and
com#are #er*ormance( embedded in handheld devices 0eb based
:ene*its *rom the Pro>ect( integrate 2 "ell develo#ed systems( Im#ortance o* controlling data*lo"( IT a##lications in schools
:. Conclusions
Than+ you *or your attention The End