Smart Card Application in Schools CoAdvised by Prof

Smart Card Application in Schools Co-Advised by Prof. Helen Shen Mr. Eddie Chua (my. Sch) Mr. Ambrose Tse (my. Sch) Group No: HE 4 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 Recording System school intranet system called my. Sch developed by my. Sch (http: //www. mysch. net) (2) ECA Administration System using a software model. (3) Electronic Payment System Benefits Main Concerns • (1) More convenient to different services in Connection ofuse 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 Dec 02 i. Guard Vs Octopus Libra i. Guard Libra Octopus Popularity Medium Very Low High Cost Low High Restriction Low Very Low High API Well. Developed Developing Well. Developed

2. System Architecture - Software II. Software Model Act as a bridge to ensure accurate and stable dataflow Send rate = X Card Reader X>Y Receive rate = Y Software Model Lost Extra Packets Stored School Intranet

2. System Architecture - Flow mdb Sybase Card Server Database Record Buffer i. Guard Card Reader ADO Adjust Settings ADO Data Scheduling Parser A B my. Sch Database 1. Attendance Record 2. ECA Record 3. Transaction Record Java Servlet HTTP request with query string my. School Intranet XML Acknowledgement Card Server i. Guard Card Reader Adjust Settings Attendance Recording System ECA Admin System Electronic Payment System

2. System Architecture - Card Server • Manipulation and synchronization of data in Smart Cards Card Server • Get Data from the • Main component Reader in the software model • Ensure accurate and stable dataflow • Buffer Smart Card data Functions: • Extract the XML • Transfer of data from card readers to my. Sch acknowledgement • Synchronization of data • Control functions of Smart Card reader settings • Modification of all slave card • Exportation of the data collected readers : • ECA administration Attendance / ECA / Transaction

2. System Architecture - my. Sch Server (1) Attendance Recording System (2) ECA Administration System Update Type every detail to join extra-curricular activities Attendance Records ECA Records Click each name to maintain attendance records Student’s Record XML ACK Card Reader Card Server my. Sch Database Update Java Servlet Programs

2. System Architecture - my. Sch Server (3) Electronic Payment System Status = Success Price Java Servlet Programs Choose Products Waiting Smart Card Get Status Periodically Price After 10 s Price, status Student’s Record XML ACK Card Reader Card Server Price Java Servlet Programs Student’s Record + Price my. Sch Database User Account

3. Problems and Solutions Which for implementation? How tolanguage synchronize students’ records? (1) Visual Basic vs Java • i. Guard API involves Active. X Control i. Guard. ID* = my. Sch. Reg. Num • VB example given i. Guard. othername = my. Sch. login* i. Guard. lastname + i. Guard. firstname = my. Sch. eng. Name (2) Visual Basic vs Visual C++ = my. Sch. Class. Level + my. Sch. Class. Name i. Guard. Department • easy for interface design * Unique value

3. Problems and Solutions How the 3 systems are implemented? (2) (3)Java XMLServlet Acknowlegement Programs (1)HTTP request with query string http: //fyp. mysch. net/bin/smartcard/sync. Reg. Num? login=ambrose&pwd=ambrose 123 &uid=0001&ulogin=kenneth&upwd=ken 117&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 my. Sch • Using different brands of card readers and compare performance Thank you for your attention • embedded in handheld devices/ Web-based - The End - Benefits from the Project • integrate 2 well-developed systems • Importance of controlling dataflow • IT applications in schools
- Slides: 13