Вы находитесь на странице: 1из 26

Developing Mobile Applications

Messaging SMS, WAP Push and MMS

Developing Mobile Applications 2G1722 Johan Montelius

The SMS a chitectu e


se vice cente # $%&7'('''7'(

MS! SMS! SGS"

A use can change SMS!* A oa+ing use ,ill use it ho+e SMS!* SMS ove GP-S is +o e e..icient /less setup ti+e0 but not al,a1s available*
Developing Mobile Applications 2G1722 Johan Montelius
2

P)

SMS se vices
3 Mobile Te +inating and Mobile 4 iginating SMS is t eated as t,o di..e ent se vices* 3 Mobile has the add ess o. a SMS se vice cente /in the ho+e P5M"0 to ,hich all +essages a e sent* 3 The SMS! can be eached . o+ e6te nal nodes /Sho t Message 7ntities0 th ough a nu+be o. p otocols*

GSM Network and Services 2G1723 Johan Montelius

SMS signaling
S MS C submission sub. report delivery delivery report status report

GSM Network and Services 2G1723 Johan Montelius

SMS9S:;M)T
3 Message T1pe )ndicato '1 sub+it 3 -e<ect Duplicate 3 =alidit1 Pe iod >o +at
relative, enhanced, absolute, not available

"

% VP F

&

' RD

( M TI

R P D HI S R R

mes s age referen e des tination addres s )& * '& o tets + proto ol identifier oding s ,eme validity period )(- ' or ! o tets+ user data lengt,

3 Status -epo t -e?uest 3 :se Data @eade )nd* 3 -epl1 Path -e?uest

user data ) ( * '$( o tets +

GSM Network and Services 2G1723 Johan Montelius

SMS Destination
3 5ength o. add ess /one b1te0 3 >o +at /one b1te0 T1pe o. nu+be # int, nat, local, ** "u+be ing plan# 7*1&%, *** 3 The nu+be %& 7' A1 22 %8 & is coded liBe &% '7 1A 22 8% >& in he6

GSM Network and Services 2G1723 Johan Montelius

&

P otocol )denti.ie
3 egula # SM7 to SMS! 3 page# acBno,ledge but do not noti.1 use 3 +obile# handled b1 the te +inal 3 S)M# handled b1 the ca d 3 tele+atic se vices# .a6, tele6, e+ail 3 +an1 +o e ******

GSM Network and Services 2G1723 Johan Montelius

!oding sche+e
3 !oding g oup
gene al, +essage ,aiting, data

3 !ha acte coding


GSM 79bit /2GPP 22*'2(0 :nive sal !ha acte Set /)S4 1'&%&0 (9bit data Te6t co+p ession

3 Message class
i++ediate displa1 /+essage0 +obile, S)M, te +inal e?uip+ent /co+pute 0

GSM Network and Services 2G1723 Johan Montelius

SMS =alidit1 pe iod


3 -elative eceived b1 SMS! /1 octet0# '91%2 6 8+in 1%%91&7 12h $ 6 2' +in 1&(91A& 6 da1s 1A79288 6 ,eeBs 3 Absolute /7 octets0 1ea /''9AA0, +onth, da1, ti+e 3 7nhanced esending, elative, absolute ti+e
GSM Network and Services 2G1723 Johan Montelius
A

SMS use data


3 Te6t SMS in 7bit GSM alphabet
one escape cha acte that changes cha acte table

3 Te6t SMS in :S!2 1&9bit .o non9latin alphabets 3 (9bit use data


possibl1 containing use data heade s

3 )n total
1%' b1tes o 1&' 79bit cha acte s
GSM Network and Services 2G1723 Johan Montelius
1'

5etCs send a SMS

GSM Network and Services 2G1723 Johan Montelius

11

SMS9D75)=7! 3 Message T1pe )ndicato /''0 3 Mo e +essages 3 Status -epo t )nd*


did the sende e?uest a status epo t

"

&

' MM

( M TI

R P .D HI S R I

originator addres s )& /'&+ proto ol identifier oding s ,eme time s tamp )! o tets + user data lengt, user data ) ( * '$( o tets +

3 :D@)
use data heade indication

3 -P
epl1 path set

GSM Network and Services 2G1723 Johan Montelius

12

:se data heade s


user data header length

:D@5

)7

)7

:se Data

information element
id
lth data

GSM Network and Services 2G1723 Johan Montelius

12

)n.o +ation 7le+ents


3 !oncatenating +essages 3 7nhanced Message Se vice
each )7 is a icon, sound o .o +ating inst uction and a position ,he e this should be visible a set o. p ede.ined icons "oBia int oduced thei o,n ve sion Ds+a t +essagingE that allo,ed ing tones and bacBg ounds to be sent ove SMS*

3 Application add essing this is i+po tant 3 Much +o e


GSM Network and Services 2G1723 Johan Montelius
1%

SMS in. ast uctu e


se vice p ovide SMPP SM7 @TTPGHM5 P4PGSMTP

SMS! AT$ Fou #90 +obile ope ato

content p ovide
GSM Network and Services 2G1723 Johan Montelius
18

WAP Push ove SMS


3 What do ,e ,ant to send ,e donCt ,ant to su . the ,ebI 3 "et,o B initiated
the +essage is a WSP Push delive ed ove WDPG:DP to the te +inal, to a speci.ied po t the WDPG:DP pacBet is sent ove SMS the te +inal need to have a p ocess listening on the po t

3 WAP Push Application


listening on po t 2A%(
GSM Network and Services 2G1723 Johan Montelius
1&

MMS
3 Multi+edia Message Se vice MMS 1*' uses WAP 1*6 stacB MMS 1*192 uses eithe WAP 1*6 o 2*' ead WAP 2'8 MMS A chitectu e 4ve vie, 3 Messages sub+itted using WSPG@TTP* 3 "oti.ication delive ed using WAP Push /ove SMS0* 3 Message et ieved b1 te +inal using WSPG @TTP
GSM Network and Services 2G1723 Johan Montelius
17

MMS p otocols
WAPgw

MMS! @TTP P4ST

WSP Push acB @TTP G7T @TTP epl1

GSM Network and Services 2G1723 Johan Montelius

1(

MMS content
3 A MMS +essage is coded using
->! 2(22, )nte net +essage ->! 2'%8,** Multipa t )nte net Mail 76tensions /M)M70

3 !ontent is o.ten a SM)5 +essage


S1nch onised Multi+edia )nteg ation 5anguage

GSM Network and Services 2G1723 Johan Montelius

1A

MMS 9 sub+ission
: "ontent-type: app#ication$%nd-'ap-mms-message : X-Mms-Message-Type: m-send-req X-Mms-Tranaction-ID: 345 : To:+46709123456/TYPE=PLMN From: ???? Sub ect: t!is is a test "ontent-type: app#ication$%nd&'ap&mu#tipart&mi(ed) boundary*+oo-bar

GSM Network and Services 2G1723 Johan Montelius

2'

MMS 9 SM)5
<smil> <head> <layout> <root-layout/> <region id=Image top=0 left=0 ... /> <region id=Text top=50% left=0.. /> </layout> </head> < ody> <par dur=!000ms> <text sr"=foo.txt region=Text/> <img sr"= ar.gif region=Image/> </par> </ ody> </smil>

GSM Network and Services 2G1723 Johan Montelius

21

MMS 9 noti.ication
: "ontent-type: app#ication$%nd-'ap-mms-message : X-Mms-Message-Type: m-noti+ication-ind X-Mms-Tranaction-ID: 5,: From:+46709123456/TYPE=PLMN Sub ect: t!is is a test X-Mms-"ontent-.ocation: !ttp:$$mmsc&operator&com$msg/3

GSM Network and Services 2G1723 Johan Montelius

22

MMS noti.ication
SMS to +46709123456 UDP to port 2948 WSP Push x-wap-application: mms.ua content-type: application./vnd.wap.mms-message
X-Mms-Message-Type: m-noti+ication-ind X-Mms-Tranaction-ID: 5,: From:+46709123456/TYPE=PLMN Sub ect: t!is is a test X-Mms-"ontent-.ocation: !ttp:$$mmsc&op&&&

GSM Network and Services 2G1723 Johan Montelius

22

Se vice )ndicationG5oad
3 )nstead o. pushing a MMS9noti.ication ,e can push a othe +essages 3 Se vice )ndication contains a :-5 that is opened b1 the b o,se /i. the use ag ees0 3 Se vice 5oad The te +inal ,ill et ieve the settings auto+aticall1 /depending on secu it1 settings0

GSM Network and Services 2G1723 Johan Montelius

2%

Se vice )ndication
SMS to +46709123456 UDP to port 2948 WSP Push x-wap-application: wml.ua content-type: application./vnd.wap.sic
0?(m# %ersion*12&31?4 05D6"T789 si 8:;.I" 1-$$<=8F6>:M$$DTD SI 2&3$$9?1 1!ttp:$$'''&'ap+orum&org$DTD$si&dtd14 0si4 0indication !re+*1!ttp:$$'''&+oo&com$test&'m#1 4 T!is is a test& 0$indication4 0$si4

GSM Network and Services 2G1723 Johan Montelius

28

J2M7
3 :sing J2M7 and JS-912' WMA 1ou can egiste a midlet on a po t* 3 The +essages can be sent using SMS po t add essing* 3 !ool P2P ga+es ove SMS initiate co++unication . o+ the net,o B ,aBe up on SMS
2&

GSM Network and Services 2G1723 Johan Montelius

Вам также может понравиться