MMS协议解析.doc

上传人:灯火****19 文档编号:136880836 上传时间:2020-07-03 格式:DOC 页数:13 大小:553.50KB
返回 下载 相关 举报
MMS协议解析.doc_第1页
第1页 / 共13页
MMS协议解析.doc_第2页
第2页 / 共13页
MMS协议解析.doc_第3页
第3页 / 共13页
MMS协议解析.doc_第4页
第4页 / 共13页
MMS协议解析.doc_第5页
第5页 / 共13页
点击查看更多>>
资源描述

《MMS协议解析.doc》由会员分享,可在线阅读,更多相关《MMS协议解析.doc(13页珍藏版)》请在金锄头文库上搜索。

1、MMS协议解析MMS(Multimedia Messaging Service)就是我们俗称的彩信,它能提供比SMS(短信)更加丰富的信息,能提供包括图片、视频、声音、各种格式的文字等内容。目前的应用主要有以下几个方面: 便利性实用性娱乐性互动性个人化 端到端通信 自拍照片自编贺卡/图片 带有图片照片和语音片断等表达感情内容的增强型聊天 电子邮件附件在移动终端上的增强型应用 娱乐 手机铃声/屏保下载 节日贺卡明星贺卡 多媒体交友利用手机察看自己心仪的对象并通过信息向她表达心意 原创基地:利用多媒体短信传播自己的原创动漫和音乐 新闻/金融服务 体育比赛集锦和得分镜头视频剪辑 通过移动终端获取多媒

2、体新闻和金融信息分析等 其他 定位业务 移动广告一、 数据流程MMS系统大致网络拓扑图如下:先介绍一下网络中的节点设备:MMS Client:MMS客户端,就是平常用的手机等移动设备;MMS Proxy Relay:MMS代理中继,用于转发MMS;MMS Server:MMS服务器,用于存储MMS,一般与MMS代理集成在一台设备上;Legacy Wireless Messaging Systems:传统的无线消息系统,比如SMS系统;Email Server:邮件服务器,Ineternet上的邮件服务器,比如139邮件服务器;Other MMS Systems:其他地方或其他运营商的MMS系统

3、;MMS承载于WAP之上,在WAP1.x系统里采用WSP协议,在WAP2.0系统里采用HTTP协议,如下图所示:详细网络图如下:SGSNGGSNMSCISMGSMSGWAP GWMMS终端1MMS终端2SPE-mail ServerMMSCMMSCBSBS核心网IP网InternetMMS的发送接收实体包括如下几种方式:1、 终端同一系统内终端2、 终端不同系统内终端3、 终端Email server4、 终端SP我们以第一种情况进行MMS收发流程说明,大致有以下几步:1、 发送终端发送MMS到MMS代理;2、 MMS代理发送通知到接收终端;3、 接收终端发送提取MMS命令到MMS代理;4、

4、MMS代理返回MMS到接收终端;5、 MMS代理发送回执给发送终端,表示对方已收到MMS;其中第2步的通知是通过WAP PUSH实现的,目前中国移动实现的方式是通过SMS(短信)通知对方。二、 消息解析前面提到MMS可以通过wsp和http两种方式传输,无论哪种方式,其Content-Type都必须为application/vnd.wap.mms-message(0x3E)。MMS可以分为4类:发送、通知、提取、回执。每一类消息都包含消息头,有的还包含正文。如下:2.1 发送发送是指发送者发送MMS到MMS中心,包括两条消息:MMS发送请求、MMS发送确认。2.1.1 MMS发送请求MMS发送

5、请求消息由发送者到MMS中心,包含消息头和正文,正文紧跟消息头。消息头包含内容如下:NameContentCommentsX-Mms -Message-TypeMessage-type-value =m-send-reqMandatory.Specifies the transaction type.X-Mms -Transactio n-IDTransaction-id-valueMandatory.A unique identifier for the message. This transaction ID identifies the M -Send.req and the corre

6、sponding reply only.X-Mms -MMS-VersionMMS-version-valueMandatory.The MMS version number. According to this specificatio n, the version is 1.0DateDate-valueOptional.Arrival time of the message at MMSProxy -Relay. MMS Proxy -Relaywill generate this field when not supplied by terminal.FromFrom-valueMan

7、datory.Address of the message sender. This field MUST be present in a message delivered to a recipient. The sending client MUST send either its address or insert -an- address token. In case of token, the MMS Proxy -Relay MUST insert the correct address of the sender.ToTo-valueOptional1.Address of th

8、e recipient.CcCc-valueOptional1.Address of the recipient. Addressing is handled inChapter 8.Any number of address fields allowed.BccBcc-valueOptional1.Address of the recipient. Addressing is handled inChapter 8.Any number of address fields allowed.SubjectSubject-valueOptional.Subject of the message.

9、X-Mms -Message-ClassMessage-class -valueOptional.Class of the message. Value Auto indicates a message that is automatically generated by the client. If the Message-Class is Auto, the originating terminal SHALL NOT request Delivery -Report or Read-Report.If field is not present, the receiver intepret

10、s the message as personal.X-Mms -ExpiryExpiry -valueOptional, default: maximum.Length of time the message will be stored in MMSProxy -Relayor time to delete the message. The field has two formats, either absolute or interval.X-Mms -Delivery -TimeDelivery -time -valueOptional: default: immedia te.Tim

11、e of desired delivery. Indicates the earliest possible delivery of the message to the recipient. The field has two formats, either absolute or interval.X-Mms -PriorityPriority-valueOptional. Default: Normal.Priority of the message for the recip ient.X-Mms -Sender- VisibilitySender-visibility-valueOp

12、tional. Default: show address/phone number of the sender to the recipient unless the sender has a secret number/address.Hide = dont show any address. Show = show even secret address.X-Mms -Delivery- ReportDelivery -report -valueOptional. Default determined when service is ordered. Specifies whether

13、the user wants a delivery report from each recipient. When Message-Class is Auto, the field SHALL always be present and the value SHALL be No.X-Mms -Read-ReplyRead-reply -valueOptional.Specifies whether the user wants a read report from each recipient as a new message. When Message-Class is Auto, the field SHALL always be present and the value SHALL be No.Content-TypeContent-type-valueMandatory.The content type of the message.以上字段除了开头的Message-Type、Transaction-

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 大杂烩/其它

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号