c!#$%#& c’()*+ - computer science and...

1
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 2 Red Hat Enterprise Linux Apache Tomcat Application Server Scheduling Web Service Registrar DB (snapshot) running running retrieves schedule EMPLID Apple Push Notication 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) Registration Web Service client Token Web Service client Receive Token Request Token OSU Wireless CSE 762 – Server 1 Red Hat Enterprise Linux Apache Tomcat Application Server Registration Web Service Registration DB running running stores reg. in EMPLID Token Web Service Token DB (in memory) running updates token in Scheduling Web 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 A D 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 notications, stores their s (s) in Schedule : Queries Registrar for registered students with upcoming classes, places schedule in respective queue, sends push notications via Apple service M 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 Getters Setters Courseno Subject Emplid StartTime Monday Tuesday Wednesday Thursday Friday Schedule B O M A anks to Messrs. James Walton and Bill Phillips for this opportunity and Dr. Igor Malkiman for . W Registration iPod Touch Registration Web Service client Server 1 Registration Web Service client User Information Schedule Retrieval Registrar's DB Model on Server 2 Schedule Web Service Server 1 Schedule Web Service client Schedule Information Request by User ID Token Passing iPod Touch Token Web Service client Server 1 Token Web Service Token & ID Apple Push Notication Service Token Request Token Push Notication iPod Touch Server 1 Apple Push Notication Service Push Notification Token & Payload iPod Touch

Upload: trankhanh

Post on 11-Jul-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: C!#$%#& C’()*+ - Computer Science and Engineeringweb.cse.ohio-state.edu/~champion.17/posters/762poster.pdf · Student receives notification on iPod touch. Mobile Device ... Red

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