SlideShare a Scribd company logo
MMS parser – push router & client Monky Chen  3/21/2005
Outline Push Router Overview Push Client  Overview Push Client Source Code Review
Push Router & Client (1) What is Push Router ? Receiving, authenticating, and forwarding  all of the incoming WAP push messages  Determining the type of incoming push message  Passing the message to the matching client application  to run the push content.
Push Router & Client (2) What is Push Client ? It is registered for notification with the Push Router  PushRouter_RegisterClient(g_szContentType, g_szAppId, g_szPath, g_szParams); PushRouter_UnRegisterClient(g_szContentType, g_szAppId); PushRouter_Open(g_szContentType, g_szAppId, &evMsgAvailable, &hPushRouter); To receive specific types of push messages on the device for custom processing.
Push Router & Client (3) Push Router APIs : Register UnRegister Open Close GetMessage FreeMessage MmsPush.cpp MMSPushHandler.cpp
MmsPush.cpp MmsHandlePushMsg() MmsCheckTid() MmsPushOpenCreateDB() MmsPushAddNewDB() * Parse PDU,  call MmsNotificationHanler(), MmsDeliveryHandler() * Check if there have redundant messages * Open existed records in DB * Add new records into DB * Register/Unregister Push Client Functional Block Operation WinMain()
MmsPushHandler.cpp EstablishConnection() MmsNotificationHandler() MmsDeliveryHandler() Functional Block Operation * Parse PDUs that except from MmsNotificationHandler() 1) Handle  M-Notification.ind 2) Send  WSP/HTTP GET.req 3) Parse  M-Retrieve.conf   3.1) Save files (JPG,GIF) 4) Send  M-NotifyResp.ind * Operate with  Connection Manager   MmsHandlePushMsg()
Transaction Model –    Sending, Retrieval, Notification & Delivery Report  MMS Overview MMS Architecture Client Transaction Encapsulation Protocol Orig MMS Client Target MMS Client MMS M  (MM1) MMS M  (MM1) MMS R  (MM4) MMS R M-Send.req M-Send.conf M-Notification.ind WSP/HTTP GET.req M-NotifyResp.ind M-Retrieve.conf M-Delivery.ind Orig MMSC Target MMSC
Push Client Flow Diagram
Issues about Porting Into MGO Add functions to handle  M-Acknowledge.ind, M-Send.conf… Porting existed codes into DLL. To support MMS 1.1 ?
Appendix.  Register Customized Messaging Rules Clients Customized messaging rules clients require two separate registry entries. The first one registers the messaging rules client as a COM server, specifying its GUID. The second entry specifies the message transport(s) to use. To register the customized messaging rules client as a COM server Create and save a new registry key with the following registry key structure. In the key, replace {GUID} with the messaging rules client's globally unique identifier (GUID). [HKEY_CLASSES_ROOT\CLSID\{GUID}\InProcServer32]  = REG_SZ: The name of the messaging rules client DLL. [Example] The following example demonstrates how to register a custom messaging rules client with a DLL named &quot;FromSusan.dll&quot;. [HKEY_CLASSES_ROOT\CLSID\{28A42C00-1255-4dc7-9E0A-FA2F77EFB694}\InProcServer32]  = &quot;FromSusan.dll“ To register the list of supported messaging transports Create and save a new registry key with the following registry key structure. In the key, replace <TransportName> with the name of the message tranport that the messages to be processed arrive upon. Replace the <CLSID> key entry with the messaging rules client's class identifier (CLSID). [HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Svc\<TransportName>\Rules]  <CLSID> = dword: 1 Note  Currently, SMS is the only supported value for <TransportName>. [Example] The following example demonstrates how to register a custom messaging rules client that moves incoming Short Message Service (SMS) messages from the Inbox folder to a specified folder. [HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Svc\SMS\Rules]  &quot;{28A42C00-1255-4dc7-9E0A-FA2F77EFB694}&quot; = &quot;1&quot;
Reference Windows Mobile Version 5.0 document (Mar.14.2005) Source codes from Beethoven

More Related Content

PPT
MMS Introduction
mamahow
 
PPS
Mobile Messaging - Part 5 - Mms Arch And Transactions
Gwenaël Le Bodic
 
PPT
Sms &mms
Naveen Sihag
 
PPT
Mobile Computing
JAINIK PATEL
 
PPT
Mobile Message Delivery: SMS and MMS_Michael Hanley
Sara Quinn
 
PPTX
SMS & MMS Technologies
Arun Shukla
 
PPTX
INTRODUCTION TO SMS TECHNOLOGY
Edwin myalla
 
PPTX
Sms gateway ppt 9 oct
komal3883
 
MMS Introduction
mamahow
 
Mobile Messaging - Part 5 - Mms Arch And Transactions
Gwenaël Le Bodic
 
Sms &mms
Naveen Sihag
 
Mobile Computing
JAINIK PATEL
 
Mobile Message Delivery: SMS and MMS_Michael Hanley
Sara Quinn
 
SMS & MMS Technologies
Arun Shukla
 
INTRODUCTION TO SMS TECHNOLOGY
Edwin myalla
 
Sms gateway ppt 9 oct
komal3883
 

What's hot (20)

PPTX
Message queuing telemetry transport (mqtt) message format
Hamdamboy (함담보이)
 
PPTX
Message queuing telemetry transport (mqtt) id and other type parameters
Hamdamboy (함담보이)
 
PDF
Gsm 03-42 v300
Bob Huang
 
PDF
1463401 rc214-mqtt-update
Eugenio Lysei
 
PPTX
Message queuing telemetry transport (mqtt) launch
Hamdamboy
 
PPTX
Message queuing telemetry transport (mqtt)
Hamdamboy
 
PPTX
SMS
JAINIK PATEL
 
PDF
MQTT Protocol: IOT Technology
Shashank Kapoor
 
PPTX
Message queuing telemetry transport (mqtt)and part 3 and summarizing
Hamdamboy (함담보이)
 
PDF
Audio Video Conferencing in Distributed Brokering Systems
Videoguy
 
PPTX
MQTT Introduction
Saipuith Reddy R K
 
PDF
IRJET- Development of Android Application for Device to Device Communication ...
IRJET Journal
 
PPTX
How MQTT work ?
Niket Chandrawanshi
 
PDF
MSMQ - Microsoft Message Queueing
Peter R. Egli
 
DOCX
Ibm mq
Prabhu Kandanur
 
PDF
HHM-3481: IBM MQ for z/OS: Enhancing Application and Messaging Connectivity ...
Matt Leming
 
DOCX
Gsm short message service
Partha Bhunia
 
PPTX
Where is my MQ message on z/OS?
Matt Leming
 
PPT
10 Slides to SMS
seanraz
 
PDF
WebSphere MQ V7 API Enhancements
Morag Hughson
 
Message queuing telemetry transport (mqtt) message format
Hamdamboy (함담보이)
 
Message queuing telemetry transport (mqtt) id and other type parameters
Hamdamboy (함담보이)
 
Gsm 03-42 v300
Bob Huang
 
1463401 rc214-mqtt-update
Eugenio Lysei
 
Message queuing telemetry transport (mqtt) launch
Hamdamboy
 
Message queuing telemetry transport (mqtt)
Hamdamboy
 
MQTT Protocol: IOT Technology
Shashank Kapoor
 
Message queuing telemetry transport (mqtt)and part 3 and summarizing
Hamdamboy (함담보이)
 
Audio Video Conferencing in Distributed Brokering Systems
Videoguy
 
MQTT Introduction
Saipuith Reddy R K
 
IRJET- Development of Android Application for Device to Device Communication ...
IRJET Journal
 
How MQTT work ?
Niket Chandrawanshi
 
MSMQ - Microsoft Message Queueing
Peter R. Egli
 
HHM-3481: IBM MQ for z/OS: Enhancing Application and Messaging Connectivity ...
Matt Leming
 
Gsm short message service
Partha Bhunia
 
Where is my MQ message on z/OS?
Matt Leming
 
10 Slides to SMS
seanraz
 
WebSphere MQ V7 API Enhancements
Morag Hughson
 
Ad

Similar to MMS Parser (20)

PDF
Movitext http interface specification
Movitext
 
PPT
Copy Of Copy Of Gprs
akash
 
PPTX
Message Oriented Middleware
Manuswath K.B
 
PPT
Gprs
akash
 
PPT
Jsr120 sup
SMIJava
 
PPTX
unit 5.pptxhhhnggjfvbjoohcchvvikbkbkbobh
HrushikeshDandu
 
PPTX
Messaging API (MAPI)
Harish Kumar
 
PDF
InforUMobile UK SMS API
inforumobile
 
PPT
Mobilizing Your Rails Application - LA Ruby Conference 2009
Brendan Lim
 
PPT
GPRS dfadfadfaadfadfadsfadfadfaferererreh
JAGANNATHCYBERCAFE1
 
PPT
Mobile communication and computing gprs.ppt
SomnathMule5
 
PDF
CH6-GPRS&EDGE presentation in English ..
Waleed Elsafoury
 
TXT
Rfc3412
Saurabh Maggo
 
PDF
InforUMobile SMS API
inforumobile
 
PPTX
Brokered Messaging in Windows Azure
Neil Mackenzie
 
PDF
InforUMobile api - Ireland
inforumobile
 
PPTX
Gprs
riamukherjee_id
 
PPTX
GPRS architecture
Ekansh Agarwal
 
PDF
Gprs tutorial
ManojKiran A
 
Movitext http interface specification
Movitext
 
Copy Of Copy Of Gprs
akash
 
Message Oriented Middleware
Manuswath K.B
 
Gprs
akash
 
Jsr120 sup
SMIJava
 
unit 5.pptxhhhnggjfvbjoohcchvvikbkbkbobh
HrushikeshDandu
 
Messaging API (MAPI)
Harish Kumar
 
InforUMobile UK SMS API
inforumobile
 
Mobilizing Your Rails Application - LA Ruby Conference 2009
Brendan Lim
 
GPRS dfadfadfaadfadfadsfadfadfaferererreh
JAGANNATHCYBERCAFE1
 
Mobile communication and computing gprs.ppt
SomnathMule5
 
CH6-GPRS&EDGE presentation in English ..
Waleed Elsafoury
 
Rfc3412
Saurabh Maggo
 
InforUMobile SMS API
inforumobile
 
Brokered Messaging in Windows Azure
Neil Mackenzie
 
InforUMobile api - Ireland
inforumobile
 
GPRS architecture
Ekansh Agarwal
 
Gprs tutorial
ManojKiran A
 
Ad

More from mamahow (8)

PPT
Monky vold extension
mamahow
 
DOC
OMA DM UI & Report
mamahow
 
PPT
ZEUS UI Proposal(FID)
mamahow
 
PPT
ZUYU Design Quick Review
mamahow
 
DOC
For HP Audio Routing API design document
mamahow
 
DOC
PLT How to Use Run-in Tool
mamahow
 
DOC
PLATO Troubleshooting Guide
mamahow
 
DOC
MMS Playback Functionality
mamahow
 
Monky vold extension
mamahow
 
OMA DM UI & Report
mamahow
 
ZEUS UI Proposal(FID)
mamahow
 
ZUYU Design Quick Review
mamahow
 
For HP Audio Routing API design document
mamahow
 
PLT How to Use Run-in Tool
mamahow
 
PLATO Troubleshooting Guide
mamahow
 
MMS Playback Functionality
mamahow
 

Recently uploaded (20)

PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Doc9.....................................
SofiaCollazos
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 

MMS Parser

  • 1. MMS parser – push router & client Monky Chen 3/21/2005
  • 2. Outline Push Router Overview Push Client Overview Push Client Source Code Review
  • 3. Push Router & Client (1) What is Push Router ? Receiving, authenticating, and forwarding all of the incoming WAP push messages Determining the type of incoming push message Passing the message to the matching client application to run the push content.
  • 4. Push Router & Client (2) What is Push Client ? It is registered for notification with the Push Router PushRouter_RegisterClient(g_szContentType, g_szAppId, g_szPath, g_szParams); PushRouter_UnRegisterClient(g_szContentType, g_szAppId); PushRouter_Open(g_szContentType, g_szAppId, &evMsgAvailable, &hPushRouter); To receive specific types of push messages on the device for custom processing.
  • 5. Push Router & Client (3) Push Router APIs : Register UnRegister Open Close GetMessage FreeMessage MmsPush.cpp MMSPushHandler.cpp
  • 6. MmsPush.cpp MmsHandlePushMsg() MmsCheckTid() MmsPushOpenCreateDB() MmsPushAddNewDB() * Parse PDU, call MmsNotificationHanler(), MmsDeliveryHandler() * Check if there have redundant messages * Open existed records in DB * Add new records into DB * Register/Unregister Push Client Functional Block Operation WinMain()
  • 7. MmsPushHandler.cpp EstablishConnection() MmsNotificationHandler() MmsDeliveryHandler() Functional Block Operation * Parse PDUs that except from MmsNotificationHandler() 1) Handle M-Notification.ind 2) Send WSP/HTTP GET.req 3) Parse M-Retrieve.conf 3.1) Save files (JPG,GIF) 4) Send M-NotifyResp.ind * Operate with Connection Manager MmsHandlePushMsg()
  • 8. Transaction Model – Sending, Retrieval, Notification & Delivery Report MMS Overview MMS Architecture Client Transaction Encapsulation Protocol Orig MMS Client Target MMS Client MMS M (MM1) MMS M (MM1) MMS R (MM4) MMS R M-Send.req M-Send.conf M-Notification.ind WSP/HTTP GET.req M-NotifyResp.ind M-Retrieve.conf M-Delivery.ind Orig MMSC Target MMSC
  • 10. Issues about Porting Into MGO Add functions to handle M-Acknowledge.ind, M-Send.conf… Porting existed codes into DLL. To support MMS 1.1 ?
  • 11. Appendix. Register Customized Messaging Rules Clients Customized messaging rules clients require two separate registry entries. The first one registers the messaging rules client as a COM server, specifying its GUID. The second entry specifies the message transport(s) to use. To register the customized messaging rules client as a COM server Create and save a new registry key with the following registry key structure. In the key, replace {GUID} with the messaging rules client's globally unique identifier (GUID). [HKEY_CLASSES_ROOT\CLSID\{GUID}\InProcServer32] = REG_SZ: The name of the messaging rules client DLL. [Example] The following example demonstrates how to register a custom messaging rules client with a DLL named &quot;FromSusan.dll&quot;. [HKEY_CLASSES_ROOT\CLSID\{28A42C00-1255-4dc7-9E0A-FA2F77EFB694}\InProcServer32] = &quot;FromSusan.dll“ To register the list of supported messaging transports Create and save a new registry key with the following registry key structure. In the key, replace <TransportName> with the name of the message tranport that the messages to be processed arrive upon. Replace the <CLSID> key entry with the messaging rules client's class identifier (CLSID). [HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Svc\<TransportName>\Rules] <CLSID> = dword: 1 Note Currently, SMS is the only supported value for <TransportName>. [Example] The following example demonstrates how to register a custom messaging rules client that moves incoming Short Message Service (SMS) messages from the Inbox folder to a specified folder. [HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Svc\SMS\Rules] &quot;{28A42C00-1255-4dc7-9E0A-FA2F77EFB694}&quot; = &quot;1&quot;
  • 12. Reference Windows Mobile Version 5.0 document (Mar.14.2005) Source codes from Beethoven