c!#$%#& c’()*+ - computer science and...
TRANSCRIPT
C!""#$%#& C'()*+Adam Champion, Andy Pyles, Spencer Kohan, Dheeraj Pulluri
B*+,"#++ R#-*,.#(#"%+– University students must manage copious information –
e.g., class schedules, grades, ! activities – which they must manually pull from disparate websites
– Many students have Internet-connected mobile devices (iPod touch)– We push this information to their devices (iPod touches) upon its
availability (Connected Campus’ goal)– Minimal architecture that can be expanded to support additional data
CSE 762 – Server 2Red Hat Enterprise Linux
Apache TomcatApplication Server
SchedulingWeb Service
Registrar DB(snapshot)
running
running
retrieves schedule
EMPLID
Apple Push Noti!cation Service
1(d). Send notification 10 minutes before student’s class to Apple Push Notification Service
(7:20 pm shown here).
II. Student receives notification on iPod touch.
Mobile Device(iPod touch)
RegistrationWeb Service
client
TokenWeb Service
client
Receive Token
Request Token
OSU Wireless
CSE 762 – Server 1Red Hat Enterprise Linux
Apache TomcatApplication Server
RegistrationWeb Service
RegistrationDB
running
running
stores reg. in
EMPLID
TokenWeb Service
Token DB(in memory)
running
updates token in
SchedulingWeb Service
client
Open Message Queue(Java Messaging System)
running
running
7:20 am
7:50 am
7:20 pm
7:20 pm
!
Java Message Queues
I(a). Gather registered users' EMPLIDs.
I(c). Put schedule notifications in
respective queues.
I(b). Gather registered users' schedules.
LEGEND
Client-service connection
Application workflow
A))/,$'%,!" T!)!/!01
A.$2,%#$%*.# ! D#+,0"– Front end: iPod touch mobile application– Middleware: Java Messaging System (!"#) queues for class times– Back end: $ Java %% Web services (&#es):
✦ Token !": Stores latest device token (session '() in ()✦ Registration !": Signs up students for push noti*cations, stores
their +#, '(s (%"-.'(s) in ()✦ Schedule !": Queries Registrar () for registered students with
upcoming classes, places schedule in respective queue, sends push noti*cations via Apple service
M!3,/# A))/,$'%,!" UI
D'%' M!&#/– Registrar () is a black box
ER Diagram
User_Preferences Token
preference
emplid
emplid
timestamp
token
Connected Campus DB
!"# Queues
07:20 07:50 19:20… 19:50
GettersSetters
CoursenoSubjectEmplidStartTimeMondayTuesdayWednesdayThursdayFriday
Schedule
B*+,"#++ O34#$%+ M!&#/
A$5"!6/#&0(#"%+– /anks to Messrs. James Walton and Bill Phillips for this
opportunity and Dr. Igor Malkiman for 0#% 123.
W!.57/!6+Registration
iPod Touch
RegistrationWeb Service
client
Server 1
RegistrationWeb Service
client
User Information
Schedule RetrievalRegistrar's DB Model
on Server 2
ScheduleWeb Service
Server 1
Schedule Web Service
client
ScheduleInformation
Requestby
User ID
Token Passing
iPod Touch
TokenWeb Service
client
Server 1
TokenWeb Service
Token &ID
Apple Push Noti!cation Service
TokenRequest
Token
Push Noti$cation
iPod Touch
Server 1
Apple Push Noti!cation Service Push NotificationToken &
Payload
iPod Touch