sistem maklumat tu luar masuk penghuni asrama smk kuala krau
TRANSCRIPT
SISTEM MAKLUMAT TU LUAR MASUK PENGHUNI ASRAMA SMK KUALA
KRAU MENGGUNAKAN MYKAD DAN APL IKASJ MOBILE
NORAZLILAH BINTI KHAMDAN
A THESIS SUBMITTED IN FULFILMENT OF THE
REQUIREMENTS FOR THE AWARD OF THE DEGREE OF
BACHELOR OF COMPUTER SCII NCE (SOFTWARE ENGINEERING)
FACULTY OF COMPUTER SYSTEMS & SOFTWARE ENGINEERING
UNTVERS1TI MALAYSIA PAHANG
APRIL 2010
ABSTRACT
Sistem Makiumat Keluar Masuk Penghuni Asraina SMK Kuala Krau Menggunaktxn
MyKad dan Aplikasi Mobile (SMAKK) is system which developed in order to /
replace current system at Sekolah Menengah Kebangsaan (SMK) Kuala Krau hostel.
Currently, manual registration is use in SMK Kuala Krau hostel for students
movement, where students have to record their movement details on the log book.
The problem in the current system are, the posibility of losing students record data
due to losing the log book or misplacement of it. In this manual system, warden
have problem to keep track the student movement because warden have to manually
analyse each record one by one. Therefore, SMAKK is develope to overcome the
problem. This system is able to record student information by using Malaysia
Government Multipurpose Card (MyKad). This system able to capture date and time
when student register in/out. In/out information are recorded in a database, which
provides data manipulation and report generating. The benefits of this system are to
provide organized view of student records and reducing the time spent on managing
student in/out information and can be access using PDA which can help warden to
monitoring in/out activities easily.
viii
ABSTRAJK
Sistem Makiumat Keluar Masuk Penghuni Asrama SMK Kuala Krau Menggunakan
MyKad dan Aplikasi Mobile (SMAKK) di bangunkan bagi menggantikan sistem /
sedia ada yang digunakan di asrama SMK Kuala Krau. Sistem sedia ada yang
digunakan adalah dengan merekod maklumat penghuni asrama yang keluar masuk
secara manual dimana semua makiumat di simpan di dalam buku log. Sistem mi
mempunyai beberapa kelemahan seperti risiko kehilangan makiumat kerana
makiumat-makiumat hanya disimpan dalam buku log. Kebiasaannya buku log akan
digunakan dalam tempoh setahun iaitu sehingga penghujung sesi persekolahan setiap
tahun. Berikutan itu akan berlaku masalah bagi pihak pengurusan untuk membuat
anali sis makiumat memandangkan penyimpanan makiumat tidak mempunyai
pembahagian yang spesifik. Dengan itu, Sistem Makiumat Keluar Masuk Penghuni
Asrama SMK Kuala Krau Menggunakan MyKad dan Aplikasi Mobile di bangunkan
bagi menyelesaikan masalah yang berlaku di SMK Kuala Krau. Sistem mi
mempunyai keupayaan merekod maklumat keluar masuk penghuni dengan
menggunakan Malaysia Government Multipurpose Card (MyKad). Sistem mi akan
merekod wakiu dan tarikh penghuni keluar/masuk secara automatik dan semua data
akan disimpan di dalam pengkalan data. Sistem akan menghasil report bulanan bagi
memudah pihak pengurusan asrama membuat analisis rekod keluar masuk penghuni.
Antara kebaikan sistem mi ialah menghasilkan sistem yang teratur bagi simpanan
makiumat keluar masuk penghuni dan boleh di akses menggunakan PDA.
ix
TABLE OF CONTENTS
CHAPTER TIThE PAGE
SUPERVISOR DECLARATION iii
DECLARATION
DEDICATION vi
AKNOWLEDGEMENT vii
ABSTRACT / Viii
ABSTRAK
TABLE OF CONTENT x LIST OF TABLE xiii
LIST OF FIGURE xiv
LIST OF APPENDICES xvi
INTRODUCTION 1
1.1 Introduction 1
1.2 Problem Statement 2
1.3 Objective 2
1.4 Scope 3
1.5 Thesis Organization 3
1.6 Conclusion 4
2 LITERATURE REVIEW 5
2.1 Introduction 5
2.2 Studies on Existing System 6
2.2.1 Manual System 6
2.2.2 MyKad Based Registration System 7
2.2.3 Digital Visitor Information Management 8
System (VIMS) Application and Design
2.2.4 Sistem k-Kedatangan 10
2.3 Studies on Device 12
2.3.1 Personal Digital Assistant (PDA) 12
2.3.2 MyKad and MyKad Reader 12
X
xi
2.4 Development Tools •14
2.4.1 Adobe Dreamweaver 14
2.4.2 Visual Studio NET 2008
15
2.5 Database Platform 15
2.5.1 SQL Server 2005 and SQL Server CE
15
2.5.2 MySQL
16
2.6 Conclusion 16
3 METHODOLOGY
3.1 Introduction
3.2 Rapid Application Development (RAD): Overview
3.3 Implementation of Rapid Application Development
3.3.1 Requirement Planning
3.3.2 User Design
3.3.2.1 Flow Chart
3.3.2.2 Context Diagram
3.3.2.3 Data Flow Diagram
3.3.3 Database Design
3.3.3.1 Data Dictionary
3.3.3.2 Entity Relationship Diagram
3.3.4 Construction
3.3.4 Cutover
3.4 Conclusion
4 IMPLEMENTATION
41. ntroduction....
4.2 Database Structure
4.2.1 SMAKK Database Tables and View
4.3 SQL Statement
4.3.1 SQL Statement used in login form
4.3.2 SQL Statement used in Daftar Keluar/Masuk
form
4.4 Interface Design of SMAKK
4.4.1 Main Menu
4.4.2 Log Masuk Form
4.4.3 Daftar Keivar/Màsuk Form
18
18
18
19
19
21
22
23
24
27
27
29
30
30
31
32
32
32
33
35
35
35
37
37
38
38
xii
4.4.4 RekodKeluar/Masuk Form 39
4.4.5 Laporan Keselurithan Form 40
4.4.6 PDA Login Module 41
4.4.7 Main Menu (PDA) 42
4.5 Coding Structure 43
4.5.1 Coding to Establish Connection With Database 43
4.5.2 Coding to Capture Data From MyKad 44
4.5.3 Coding to Calling Web Service 45
4.6 Web Service Coding 46
4.6.1 Login method 47
4.6.2 Method to Retrive Maklumat Keluar/Masuk 47
4.7 Concusion 48
5 RESULT AND DISCUSSION 49 5.1 introduction 49
5.2 Result of the System 49
5.3 System Testing 51
5.4 Constraint 56
5.4.1 Development constraints 56
5.4.2 System Constraint 57
5.5 Further Study 57
5.6 Conclusion 58
6 CONCLUSION 59 REFERENCES 60 APPENDIX A Gantt Chart 62 APPENDIX B User Manual 65
xlii
LIST OF TABLES
TABLE NO TITLE PAGE
2.1 Report provide by Sistem /c-Kedatangan 11
3.1 Hardware Requirement 21
3.2 Software Requirement 22
3.3 Data Dictionary for login Table 27
3.4 Data Dictionary for [Makiumat Pelajar] Table 28
3.5 Data Dictionary for [Maklurnat Keluar/Masuk] Table 28
5.1 Testing Result for Login module 51
5.2 Testing Result for Daftar Keluar/Masuk module 52
5.3 Testing Result for Re/cod Keluar/Masuk module 53
5.4 Testing Result for Laporan Keseluruhan module 54
5.5 Testing Result for Login module in PDA 54
5.6 Testing Result for Select Record module in IDA 55
xlv
LIST OF FIGURES
FIGURE NO TITLE PAGE
2.1 Interface of MyKad Based Registration System 7
2.2 Interface for admin module 9
2.3 Interface for guard module 9
2.4 Interface for k-Kedatangan System 10
2.5 MyKad Sample 12
2.6 Tricubes Smart Card *eader/Writer TCR30 13
3.1 RAD lifecycle 18
3.2 Flow chart for SMAKK 23
3.3 Context Diagram for SMAKK 24
3.4 Level 0 Data Flow Diagram for SMAKK. 25
3.5 Level 1 Data Flow Diagram for SMAKK 26
3.6 Entity Relationship Diagram for SMAKK 29
4.1 SMAKK Database Structured 33
4.2 Login table 33
4.3 Makiurnat Fe/ajar Table 34
4.4 Maldumat Keluar/Masuk Table 34
4.5 SMAKK relationship 34
4.6 SELECT SQL Statement 35
4.7 INSERT INTO Sql Statement 36
4.8 UPDATE Sql Statement 36
4.9 Main Form 37
4.10 Log MasukForm 38
4.11 Dafiar Keluar/Masuk Form 38
4.12 RekodKeivar,Masuk Form 39
4.13 Laporan Kese/uruhan Form 40
4.14 Log Masuk Form (PDA Module) 41
4.15 Main Menu Form (PDA Module) 42
4.16 RekodKeluar Form 42
4.17 Makiumat Form 43
4.18 Coding to Establish Connection With Database 44
4.19 Coding to Capture Data From MyKad 44
4.20 Coding to Calling Web Service 45
4.21 Login method
46
4.22 Retrive Makiumat Keluar/Masuk Method 47
LIST OF APPENDICES
APPENDIX TITLE PAGE
A Gantt Chart 62
B User Manual 65
xvi
CHAPTER 1
INTRODUCTION
1.1 Introduction
Nowadays, many organizations have their own system to manage visitor
entering their premises. This system can be embedded into SMK Kuala Krau hostel in
order to manage student that in and out from the hostel. Common system use in SMK
Kuala Krau hostel is by registering and recording student information in a log book. In
addition, student is required to hand over their identification card and hostel card to be
kept by the guard when their Out from the hostel. This registration activity has some
weaknesses such as there is a possibility of misplacement of log book during guard shift
exchange. Therefore, this situation have motivate to develop an electronic system
namely Sistem Makiumat Keluar Masuk Penghuni Asrama SAlK Kuala Krau
Menggunakrin MyKad dan Aplikasi Mobile (SMAKK) to replace current system. This
system able record student information by capture data from Malaysia Multipurpose
Card (MyKad) and store them into database. The information then can be retrieve using
PDA.
2
1.2 Problem Statement
Currently, the management of SMIK Kuala Krau hostel use manual system by
registering and recording student in/out information in a logbook. This current system
has some weaknesses such as there is a possibility of losing data which only stored in
the log book. Usually, student required to write their name, IC number, time and date in
log book at the post guard when go out form hostel and require leaving hostel card.
Sometime there is a mistake when they write their details and maybe there is incorrect
information is written since student car( simply write different identity. There is also a
case which students use other student hostel card and warden did not trace it. There is
also a problem to identifying those student that back to the hostel after given time. This
is because there are some students that write incorrect information when they check in.
This current system required warden to generate report manually by analyse the
information of student that in/out on that particular week or month. This is difficult and
consume time.
1.3 Objective
The objectives of this system are
1) To provide a computerized system that can record in and Out information
of student by capturing data from MyKad.
2) To provide system that can be use to facilitate and monitoring student
information that goes in and out of hostel via mobile.
3) To produce overall report of in and out information.
3
1.4 Scope
The scope of this system is it will be use by two types of users at SMK Kuala
Krau hostel, guard or student to register student in and out of the hostel using MyKad.
Warden to facilitate and monitoring student information that goes in and out of hostel.
This system is stand alone application with mobile technology which will be developed
using Microsoft Visual Studio NET 2008 and SQL Server 2005 as the database
platform./
1.5 Thesis Organization
This thesis consists of six (6) chapters.
Chapter 1 will discuss on the introduction of system and research. This chapter
has five (5) elements that state project introduction, problem statement,
objective, scope and also organization of the thesis.
Chapter 2 will explain about the review of the project that has been chosen.
There have two aspect must be concern to do the research. The two aspects are
system/already research and technique/method/equipment/technology. This
chapter also can explain about appropriate technique / method / equipment or
technology will be use in implementing this project. Beside that, this chapter
also gives explanations about the further researcher done.
Chapter 3 will be discuss on approach and design to develop this system. This
content consist of technique for implementation the projects and the user design.
4
Chapter 4 will explain on the documentation of all process that required in
develop the system. Generally, this chapter explains about project development
that has been designed in chapter 3.
Chapter 5 will discuss on result that has been received and all data analysis.
The content that must have in this chapter consists of analysis of result,
difficulty of projects and improvement of project.
Chapter 6 will explain about the overall conclusion of the develop system.
1.6 Conclusion
SMAKK system is a system which developed in order to replace current system
at SMI( Kuala Krau hostel. This system is able to record student information by using
Malaysia Government Multipurpose Card (MyKad) and able to capture current date and
time when student register in/out. This system is developed for SMK Kuala Krau hostel.
This system will be developed using Microsoft Visual Studio NET 2008 and SQL
Server 2005 as the database platform.
CHAPTER 2
LITERATURE REVIEW
/
2.1 Introduction
This chapter will explain about the existing system, technology and the tools
that will be used in order to develop this system.
As an overall, SMAKK is developed to replace traditional in/out registration
and student in/out information management activities in SMK Kuala Krau hostel.
This system is able to record student information by using (MyKad). The
information will be retrieve from MyKad by using MyKad reader. Besides, this
system will help the warden to get inform about student that in and out from hostel.
All the information can be retrieve by warden via mobile in order to facilitate and
monitoring student that in and out of the hostel anytime anywhere. By using this
system, student only need to insert their MyKad into Mykad Reader then the system
will automatically retrieve their information and record into system. The information
then will be send to the warden and it can be retrieve via PDA. Warden can gathered
student information that in and out on that particular day and can trace those who
come back to the hostel after given time. This system will produce monthly report.
Indirectly, this system can help the hostel management to decrease discipline
problem among their students.
6
In term of technology, this system will developed using Microsoft Visual
Studio NET 2008 for the interface, Visual Basic NET for the programming
language and SQL Server 2005 for the database platform
2.2 Studies on Existing System
Studies on existing system will explain detail on current system use in SMK
Kuala Krau and the existing of any other related system in order to get an idea and
visualization on how to develop the proposed system.
2.2.1 Manual System
Currently, SMK Kuala Krau hostel did not have any electronic system in
recording in and out information of their students. Manual system means that all the
data stored in a log book which consist of a collection of records.
Student that stays in SMK Kuala Krau hostel is allow to go back home once
a month following the date that have been state by the hostel management and out to
town once a week on Saturday from 8am to 12pm. Students required submitting
hostel card and write their in and out information in log book. If student want to go
out on given day they must get permission by fill permission form. Students have to
be in the hostel before 6 pm at last day of their holiday and at 12 pm for outing. If
student back to hostel after given time they will be punished.
Sometime warden cannot trace student that back after given time, this is
because sometime student write incorrect information and difficult to read due to
poor handwriting. Current system did not provide reports that summarize in and out
activity that has been made in that particular week or month. A weekly report will be
generated by the warden by analyse manually the information of student that in/out
7
on that particular week. It may consume time and the probability of mistake is at
high rates.
2.2.2 MyKad Based Registration System
The MyKad-based Registration System is a reliable and efficient system that
can read data from MyKad for registration purposes. By inserting the MyKad into a
special reader, the user's card details are retrieved and displayed on the screen. The
information retrieved from the card can be stored for use at a later time. [1]
MYKAD Tr tht UéC
- -
'IC fl0 - : Mvf entry, Ptes Enter ce oadernEng prntite3
DOS: S
'I4AME
OLD IC.N0 - - - RELIGION:
GSND€R RACE:
ADORE
Figure 2.1: Interface of MyKad Based Registration System [1]
8
Figure 2.1 show the interface of MyKad Based Registration System. This
system manages t record visitor information electronically by using MyKad. These
systems are able i6 keep a log of all visitors, track visitors when entering and exiting
the premises. Data are retrieved accurately and fast while reducing human errors
improve customer services with faster visitor processing time and enhance reporting
capabilities.
2.2.3 Digital Visitor Information Management System (VIMS) Application
and Design
Electronic Visitor Information Management System (E-VIMS) using MyKad
is an independent management solution for managing information and keeping track
of visitor visiting a premise. Proper visitor management enhances the level of
security enforced in a premise. E-VIIVIS enable security officer from the Security
Department to capture visitors' details electronically from visitors MyKad using a
smart card reader, for registration purpose. The data retrieves from MyKad are
name, identity card number, address, gender and photo. E-VIMS enable only non
confidential data to be captured from visitor's MyKad and stored in the database.
Besides, the system keeps track of visitor's status within the premise, by recording
the time visitor checked in, checked out and visiting purpose. Another function of E-
VIMS is searching of visitor's record using keywords such as visitors' name and
their vehicle registration number. For management purposes, VHVIS is able to
produce daily and monthly management reports based on records in the database. [21
There are two types of interfaces in E-VIMS which are Admin Module and
Guard Module. The interface for Admin Module is shown in Figure 2.2. The Admin
Module is meant for Admin user, for the use of viewing of visitor information in
premise, searching of visitor and generating report. The interface for Guard Module
is shown in Figure 2.3. This module is designed to be used by guards at the guard
terminal for the use of registering visitor, viewing of information of visitor in
Premise, and checking out visitor.
Figure 2.2: Interface for admin module [2]
0 4
Current visitor in premise: 2 visitor(s)
A Jl
*4t, £w$m
TJIc
*tM
4t
r
Figure 23: Interface for guard module [2]
.r. .,.'. .I
"
- -
10
2.2.4 Sistem k-Kedatangan
K-Kedatangan (K-Attendance) is a system used in UniMAP to record staffs'
attendances around the campus. It used smart card technology that merged two
systems, the 1US-Staf and NPower System. It has two subsystems, the K-
Kedatangan's engine and web display system that work together to make sure it run
smoothly. The engine functioned as a system that updated the needed data from
smart card scanning routine by users. The web displays the 'in-out' record and let the
users to check their attendances status through the portal. [3]
/
.• - ••
-
Figure 2.4: Interface for k-Kedatangan System [3]
Figure 2.4 above shows the interface of S/stem k-Kedatangan in UniMAP.
These systems are use to recorded attendance of student and staff in UniMAP. This
system use card reader to retrieve data from smart card. Sistem k-Kedatangan
combines several recording method namely smart card and also biometric
11
(fingerprint). All smart card and fingerprint scanner send data to server located in
Kubang Gajah using Wide Area Network UniMAP network system. [3]
This system provides several type of report which divides into two category
k-Kedatangan Staff and k-Kedatangan Pelajar as shown in Table 2.1. For staff
category, the report will be generates are Laporan lewat, Laporan pergerakan and
Laporan statistik kelewatan dan lewat. For student, the report produce are Laporan
kehadiran mengilwt kelas dan /wmpulan, Laporan ketidakhadiran, Lapo ran
peralusan kehadiran sepanjang semester, Laporan kehadiran pensyarah and
Laporan perbandingan kehadiran pelajar. This report is important for the top
management in order to monitor their staff and student attendance for each activity.
The report is generating daily, weekly and monthly.
Table 2.1: Report provide by Sistem k-Kedatangan [3]
Category Report provided
k-Kedatangan Staf - Laporan harlan
- Laporan mingguan
- Laporan bulanan
- Laporan lewat
- Laporan pergerakan
- Laporan statistik kelewatan
dan lewat
k-Kedatangan Pelajar - Laporan kehadiran mengikut
kelas dan /wmpulan
- Laporan ketidakhadiran
- Laporan peratusan kehadiran
sepanjang semester
- Laporan kehadiran pensyarah
- Laporan perbandingan
kehadiran pelajar
Smart Chip
store user information
12
2.3 Studies on Device
Studies on device will be explained generally about the device that will be
use in this system.
2.3.1 Personal Digital Assistant (PDA)
A personal digital assistant (PRA) is a handheld computer, also known as a
palmtop computer. Newer PDAs commonly have colour screens and audio
capabilities, enabling them to be used as mobile phones (Smartphone), web
browsers, or portable media players. [1] PDAs can be used as personal information
management (NM) systems, data entry tools and storage devices, and other user-
defined purposes. Although PDAs have different approaches for data entry, there is
no single data entry method that is appropriate for large amounts of data. [4]
2.3.2 MyKad
Figure 2.5: MyKad Sample
MyKad or Government Multipurpose Card is the official compulsory
identity card of Malaysia Figure 25 shows the sample of MyKad. MyKad is
regarded as the world's first smart identity card. There is a microchip embedded in
13
the MyKad which contains several items of data including biometrics. A MyKad is
issued andcarried as soon as the holder reaches the age of 12. [5]
Every MyKad carries a unique 12 digit number. The first 6 digits indicate the
date of birth (YYMMDD). The second 2 digits represent the place of birth of the
holder or the country of origin and the last group of 4 digits is a serial number in an
unidentified pattern, with the last digit shows an odd number for a male, while an
even number is given for a female. [6]
In addition to personal identification, the MyKad has a smart chip which can
be used for additional applications such as Cash Card, Travel Document and
Driver's License. [6]
To retrieve data from MyKad, it must use additional device known as
MyKad reader. MyKad reader is a device that provides electronic connection
between MyKad and the application through existing input and output ports. It is
also known as terminal which reads data from the smart card to the application [2].
There are various types of reader such as card readers with or without a biometric
sensor. Those with biometric sensors can scan and verify the user's thumbprint with
the thumbprint encoded in the MyKad chip.
Figure 2.6: SRC21IJ Smart Card Reader [7]
14
Figure 2.6 above shows SRC2IU Smart Card Reader, which able to capture
data from Mykad/smart card. SRC2IU Smart Card Reader is a USB device interface
for the communication between a personal computer and a smart card. SRC21U
allows simple access to the open data in MyKad by using MyKad API. It is also
very simple to use and install. SRC21U provides the reader With additional software
or easy installation. It connects to the PC via the standard RS232port or USB. It is
compatible with 1S07816 cards and the MyKad because it has an integrated smart card
reader that supports it. [7]
/
2.4 Development Tools
A software development tool is a program or application that going to be use
to build a system. The tools use to create an interface and the engine of the system.
2.4.1 Adobe Dreamweaver
Adobe Dreamweaver is a web development application originally created by
Macromedia. Dreamweaver is available for both Mac and Windows operating
systems. Adobe Dreamweaver support for web technologies such as CSS,
JavaScript, and various server-side scripting languages and frameworks including
ASP and PHP. [8]
Dreamweaver allows users to preview websites in locally-installed web
browsers. It can be view in many browsers that are installed on their computer. It
also has some site management tools, such as the ability to find and replace lines of
text or code by whatever parameters specified across the entire site, and a template
feature for creating multiple pages With similar structures. The behaviours panel also
enables use of basic JavaScnpt Without any coding knowledge. [81