You are on page 1of 13

Smart Card Application in Schools

Co-Advised by Prof. Helen Shen Mr. Eddie Chua (mySch) Mr. Ambrose Tse (mySch)

Group No: HE4 Lao Shing Kit, Jing Wong Sau Chung, Kenneth

Agenda
1. 2. 3. 4. 5. Introduction System Architecture Problems & Solutions Testing and Evaluation Conclusions

1. Introduction
Project Goal Mainly focus on 3 areas To integrate a Smart Card system with a (1) Attendance RecordingmySch System school intranet system called developed by mySch (http://www.mysch.net) (2) ECA Administration System using a software model.

(3) Electronic Payment System

Benefits

Main Concerns (1) Connection to use different services in More convenient of 2 systems school (2) Stability of dataflow To increase efficiency in administrative work (3) Correctness of dataflow

2. System Architecture - Hardware


I. Smart Card & Card Reader
Aug 02 iGuard Vs Octopus

Dec 02 iGuard Vs Libra iGuard


Popularity iGuard Medium Cost Popularity API Restriction Low Medium

Octopus Very Libra High High Very Low Very High Low

Restriction Low Low Cost

API

WellWellLow Very Low Developed Developed WellDeveloping

2. System Architecture - Software


II. Software Model
Act as a bridge to ensure accurate and stable dataflow
Send rate = X X>Y Receive rate = Y

Card Card Reader Reader

Software Model Extra Packets Lost


Extra Packets Stored

School School Intranet Intranet

2. System Architecture - Flow


mdb
Card Server Database Record Buffer
iGuard Card Reader Adjust Settings

Sybase Sybase
mySch Database 1. Attendance Record 2. ECA Record 3. Transaction Record

ADO

ADO

Data Scheduling Data Parser Parser A B

Java Servlet Java Servlet HTTP request with query string mySch School Intranet

XML Acknowledgement

Card Server
iGuard Card Reader Adjust Settings

Attendance Recording System

ECA Admin System

Electronic Payment System

2. System Architecture - Card Server


Get Data from the Main component Reader Buffer Smart Card data

Card Server

Manipulation and synchronization of data in Smart Cards

in the software model Ensure accurate and stable dataflow


Functions:

Extract the XML Transfer of acknowledgement

data from card readers to mySch Synchronization of data Control functions Modification of Smart Card reader settings of all slave card Exportation of the data collected readers : ECA / Attendanceadministration
ECA / Transaction

2. System Architecture - mySch Server


(1) Attendance Recording System (2) ECA Administration System
Update Type every detail to join extra-curricular activities Update Click each name to maintain attendance records

mySch Database

Attendance Records ECA Records

Students Record

Students Record

Update

Java Servlet Programs


XML ACK Card Server

Card Reader

2. System Architecture - mySch Server


(3) Electronic Payment System
Status = Success
Price Price

Java Servlet Programs


Choose Products

Waiting Smart Card

Get Status Periodically

Price

After 10s

Price, status Status Students Record Price Students Record + Price mySch Database

Students Record

Java Servlet Programs


XML ACK Card Server

User Account

Card Reader

3. Problems and Solutions


Which language for implementation? How to synchronize students records?
(1) Visual Basic vs Java iGuard API involves ActiveX Control iGuard.ID* = mySch.RegNum VB example given iGuard.othername = mySch.login* iGuard.lastname + iGuard.firstname = mySch.engName (2) Visual Basic vs Visual C++ iGuard.Department = easy for interface designmySch.ClassLevel + mySch.ClassName * Unique value

3. Problems and Solutions


How the 3 systems are implemented?
(2) Java Servlet Programs (3) XML Acknowlegement

(1)HTTP request with query string


http://fyp.mysch.net/bin/smartcard/syncRegNum? login=ambrose&pwd=ambrose123 &uid=0001&ulogin=kenneth&upwd=ken117&name=Wong&sex=M

Parameters

4. Testing & Evaluation


Simulate the situation of a real school in terms of Number of users (~1000 users) Number of accesses (~2 times/user) Access rate (~1.3 seconds/record) Modification to the programs Lock the sending signal of Card Server Impose selection criteria for sending HTTP requests

5. Conclusions
Future Extensions
Integrate more services in mySch Using different brands of card readers and compare performance Thank you for devices/ Web-based embedded in handheldyour attention

- The End -

Benefits from the Project


integrate 2 well-developed systems Importance of controlling dataflow IT applications in schools

You might also like