smart class
DESCRIPTION
Project done as part of Pervasive Computing courseTRANSCRIPT
SMART CLASS
Abstract
Smart Class facilitates a simple and
interactive environment between the
teacher and the student
Consists of:
Attendance System
Smart Notes System
Why Smart Class?
• Mark student attendance easily and flexibly Tap/Tag/Type
• Get Smart Board annotations on user device in just a tap
App Functionality
Attendance
• Get students details from ID No.
• Mark Attendance during lecture
• View Attendance Statistics (Daily and Monthly)
Smart Notes
• Get teacher’s board annotations
• Edit/Add to it
• One click save
• Offline Notes
Other features
List of Enrolled/Teaching Courses
Change Password
Technologies Used
Presentation
Business
Database
Technologies Used
Tools Used
Eclipse IDE
WAMP Bundle
NXP Tag Writer
Resource Requirements
A Smartphone running Android 4.0.3
(API 15) Ice Cream Sandwich or
above
NFC Support
Apache Server
Wireless Connectivity(Wi-Fi)
Functional Modules
Server Side
Authentication and Authorization
Attendance records display for course
instructors
Client Side Functionality
Attendance Module
Android application
Web application
Smart Notes Module
Android Application
Application Architecture
Student
Tag
Student’s
Device
Attendance Module
Teacher’s
Device
NFC
NFC
HTTP Post
JSON
Student’s
Device
Smart Notes Module
Teacher’s
Device
Teacher’s Device
(TCP Server)
Student’s Device
(TCP Client)
Request for data
Data
“On demand” data “Pull” from the Server
How Smart Class is Pervasive?
Pervasive Computing
Context Awareness
Time Awareness
Respective Course home page
displayed if a course is scheduled
during that hour ( -5min and +5min
margin time)
Phone put on silent mode (for both
teacher and student) if lecture
scheduled
Tagging
NFC Based Tags
Data Communication
drawView.getBitmap()
BitMap to byte array
TCP Byte Streams transfer data from server( Teacher’s device)
to the client (Student’s device)
Smart Notes
drawView.setBitmap()
Byte array to BitMap
Sending ID image from Db to Android
Network BLOB Base_64 Encode JSON
Sending ID image from Db to Android
Network JSON Base_64 Decode
Byte
Array Bitmap
Database
Schema
User_Info(sid,sname,degree,pswd,status,ipaddr)
Id_Pics(img_id,img_type,img,img_ht,img_wd,
img_ctgy,img_name)
Course_Info(Course_No,Course_Name,Series,
Time,Instructor,Sharing,Port)
Enrollment_Info(Course_No,sid)
Attendance_Sheet(Course_No,Date,sid)
Password Encryption in Db
MD5 Encryption
One way hash
128-bit hash value
expressed as 32 digit hex number
Default Password “123” (change on first
login)
“202cb962ac59075b964b07152d234b70”
Limitations
Client(student) directly communicates
with the server(teacher) putting the teacher’s device at risk of misuse/attacks
Auto-save option is not included for notes
User Schedule checked only at Log in
Possible Improvements
Notifications for events in student/teacher
schedule
Automatic Upload of lecture notes on
course portal
Functionality for student to write on
Teacher’s screen (Eg: To ask a doubt)
Demonstration