Anda di halaman 1dari 10

Short Message Service

Aims Architecture Tools Future Work

Geodise Project, University of Southampton, 2003.

Aims
Using SMS in Grid environment Two-way communication
Send notifications to a mobile user Retrieve the replied message from the mobile user to perform a certain task Relieve users from being bound to their desktops

Using SMTP to send images and large files Be able to be plugged-n-played in any Grid-enabled environment

Geodise Project, University of Southampton, 2003.

SMS Network
GRAM Internet XML-RPC Internet
Messenger Service SMSC

XML-RPC

GRAM

GRAM
Client User

SMS
Client User

GSM SMS

Geodise Project, University of Southampton, 2003.

System Design
Client Client Client Globus Server GRAM

R SL
Matlab

Allocate

Grid Certirficate Proxy Messenger Client

Authorization

SSL

Service

TCP/IP

SMSC

XML/R

PC

Messenger Server

DB

Geodise Project, University of Southampton, 2003.

Two-Way Message Process


Matlab

Application

6. query job status 3.2 create an entry with the job handle
Cluster

5. gd_querytext

1.gd_sendtext
Linux Linux

2. sndmsg Messenger Client Messenger Server

3.1fwmsg

Remote machine

3.2rcvmsg

SMSC 4.2.rcvmsg 4.3. update the entry 4.1 sndmsg

7.query job status with a job handle

DB Service

8. delete expired entries

Data

Geodise Project, University of Southampton, 2003.

Database for the SMS

msgID 0 1

jobHandle

sendTm

jobstatus receivedTm -0:00

expiredTm 01/01/03 12:00

1213131334 31/12/02 12:00 running

1234567487 31/12/02 13:00 to abort 01/01/03 12:45 01/01/03 13:00

Geodise Project, University of Southampton, 2003.

Using gd_sendtext in Matlab


Type gd_sendtext(00447880707831, job done, results send to webmaster@geodise.org) in Matlab environment as shown below Check if the user has a valid proxy certificate Create a proxy if there is no valid one Submit a job to Globus Server Start the Messenger Application Send the message to the Messenger Server Receive the message from the mobile phone
Geodise Project, University of Southampton, 2003.

Results

Geodise Project, University of Southampton, 2003.

Using gd_sendmail in Matlab


gd_sendmail(Hakki.Eres@soton.ac.uk, 'Simulation results from Geodise 0.3.3 demonstrator',... 'A short report and a pressure contour plot is attached', {'report.txt','pressure.jpg'})

Geodise Project, University of Southampton, 2003.

Future Work
Implement the other way communication Send a replied message from mobile phone to the messenger server Update the entry in the database Query the entry from the application in Matlab

Geodise Project, University of Southampton, 2003.

Anda mungkin juga menyukai