首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 电信IT应用开发 >

some questions about multimedia content encoding,该怎么处理

2012-02-06 
some questions about multimedia content encodinghi:I would like to ask you some questions about mul

some questions about multimedia content encoding
hi:
I would like to ask you some questions about multimedia content encoding.

In the "8.5 Multipart Data" section of WAP-203-document , refer to the structure of MMS Body,but I still cann't find their specific coding.

for exmaple(How_to_create_MMS_services (http://www.forum.nokia.com/)):
0060: 3C30 3030 303E 0007 2385 1D61 7070 6C69
0070: 6361 7469 6F6E 2F73 6D69 6C00 436F 6E74
0080: 656E 742D 4944 003C 3030 3030 3E00 3C73
0090: 6D69 6C20 786D 6C6E 733D 2268 7474 703A
00A0: 2F2F 7777 772E 7733 2E6F 7267 2F32 3030
00B0: 312F 534D 494C 3230 2F4C 616E 6775 6167
00C0: 6522 3E0D 0A20 203C 6865 6164 3E0D 0A20
00D0: 2020 203C 6C61 796F 7574 3E0D 0A20 2020
00E0: 2020 203C 726F 6F74 2D6C 6179 6F75 7420
00F0: 7769 6474 683D 2231 3630 2220 6865 6967
0100: 6874 3D22 3134 3022 2F3E 0D0A 2020 2020
0110: 2020 3C72 6567 696F 6E20 6964 3D22 496D
0120: 6167 6522 2077 6964 7468 3D22 3136 3022
0130: 2068 6569 6768 743D 2231 3230 2220 6C65
0140: 6674 3D22 3022 2074 6F70 3D22 3022 2F3E
0150: 0D0A 2020 2020 2020 3C72 6567 696F 6E20
0160: 6964 3D22 5465 7874 2220 7769 6474 683D
0170: 2231 3630 2220 6865 6967 6874 3D22 3230
0180: 2220 6C65 6674 3D22 3022 2074 6F70 3D22
0190: 3132 3022 2F3E 0D0A 2020 2020 3C2F 6C61
01A0: 796F 7574 3E0D 0A20 203C 2F68 6561 643E
01B0: 0D0A 0D0A 2020 3C62 6F64 793E 0D0A 2020
01C0: 2020 3C70 6172 2064 7572 3D22 3573 223E
0000: 8C80 9830 3132 3334 3536 3738 3900 8D90
0010: 8910 802B 3132 332F 5459 5045 3D50 4C4D
0020: 4E00 972B 3435 362F 5459 5045 3D50 4C4D
0030: 4E00 964D 7920 6669 7273 7420 7465 7374
"Message Body
The next byte (07h) indicates that the multipart message body in this example consists of seven parts.
Each of the parts follows the pattern of: <length of content-type + other possible headers>, <length of data>, <content-type + other possible headers>, <data>. We’ll look at the first part in detail, so you can get an idea of how this works.
The first part starts at position 0068, which is 23h, so the content-type + other possible headers will be 23h, or 35 bytes long. Next is 85h and 1Dh. These are a long integer. The most significant bits are not used, and the rest of the bits are concatenated to get the intended value 29Dh – this indicates the length of the data. The next 35 bytes should contain the content-type, and possibly other headers. The content-type is not one with a defined WSP encoding, so it is expressed as text, “application/smil”. At this point the 35 bytes has not been completely used, so there are more headers. The next header is in plain text: “Content-ID”, and its value is at position 0087: <0000>. The actual data extends from position 008E to position 032A (29Dh bytes total)."

1)The length is 85h and 1Dh.why the result length is 29Dh?what is the structure of length ?Is there same document describes the details of it?
2)In the How_to_create_MMS_services-document also Reference "B3h is application/vnd.wap.multipart.related, 89h is the type parameter, and its value follows as plain text – “application/smil”. 8Ah is the start parameter, and its value is <0000>".But at "http://www.wapforum.org/wina/wsp-content-type.htm" , not show "B3h is application/vnd.wap.multipart.related" .
Is there any other specifications referred to Assigned Number of other Content Type?
Is there any other definition of the protocol "89h is the type parameter" and "8Ah is the start parameter"?
3)Is there more in-depth document describes the structure and encoding of MMS Body ?Is there a document describes the details of <length of content-type + other possible headers>, <length of data>, <content-type + other possible headers>, <data>?

Note:WAP-203-document,WAP-205-document,WAP-209-document,OMA-MMS-CONF-document,OMA-MMS-ENC-document,http2616,In these documents, I could not find the details of the coding of Multipart Data?



4)I would also like other issues, about the MMS have several called number, the MMS how to identify multiple called numbers? Repeated "to 0x17 called - number", right?
5)How to identify the user agent, identifies the recipient mobile terminal type? Is there a Assigned Number to the user agent? Or user Agent directly with ASCII that?

6)Do you have MMS message exampleis shown in hex format ?


[解决办法]
好像是英语阅读,是考研的文章。。

热点排行