The 3G IP Multimedia Subsystem(IMS)学习笔记

红色字体 -- 结论性话语

橙黄色底色  -- 重要点、trick点

2.1

3GPP 3GPP2基本一样,有一点差别就是3GPP

3GPP 3GPP2在开发的过程中,和IETF(Internet Engineering Task Force)交互了很多,原因是3GPP和3GPP2是基于IP协议的,而IP协议是由IEFT定义的,自然要和人家去商量。

3GPP 3GPP2开发过程中,还跟OMA(Open Mobile Alliance)打了不少交道。

RFC是IETF研究制定的协议,有很多。包括standards track 和 non-standards track。

其中standards track 中首先会出现proposed standards(仅仅提出),然后如果发展的好,会变成draft standards(中等成熟),如果再发展的好,就会变成internet standards(成熟应用)。

non-standards track是这样,分为experimental / informational / historic,第一个就是试验性提出,very limited use,第二个是为了发布信息,当一个standards track变得obsolete以后,就变成了historic的了。

2个缩写,TS - Technical Specifications

TR - Technical Reports

3GPP会聚集一些specifications,然后发布一次,叫Release。Release5中,第一次提出了第一个版本的IMS,Release6中提出了IMS的enhancements。

值得我们注意的是,除了IMS,3GPP还包含有很多其他的specification。

3.2

运营商越来越发现传统的靠voice收费不能创造更多的利润,于是IMS出现,为了提供更rich的通信服务。

3.2

3.2.2  IMS可以控制用户的QoS,例如给某一个用户分配最大多少的带宽。

3.2.3  Internetworking,和PSTN以及cellular network都进行internetworking。

3.2.4  roaming,这个从第二代网络就有了,翻译成中文就是漫游。

Chapter 4 Session Control on the Internet

4.1 SIP Functionality

IETF定义的protocol都有很好的scope。在我们的case中,SIP的main goal是deliver a session description to a user at their current location. Once the user has been located and the initial session description delieverd, SIP can deliver new session descriptions to modify the characteristics of the ongoing sessions and terminate the session whenever the user wants.

4.1.1 Session Descriptions and SDP

那么什么是session descriptio呢?按照字面意思,就是session的description. 对于在Internet上的多媒体信息来说,这通常包括IP port 和 codecs。

SDP(Session Description Protocol)是最常用的用来描述multimedia sessions的格式。SDP虽然是一个protocol,但是format pretty simple。下图是Alice发给Bob的一个SDP,里面有IP,audio的port(这个port是Alice接受的port,通知Bob往20000上发送)和codec(20000,0代表G.711 u-law)、video的port和codec(20002,31代表H.261)

v=0  VERSION

o= user identifier

s= subject of the session

c= Alices's IP(注意,是发送者的IP)

t= time of session

虽然SDP很流行,但是SIP完全不depend on it,SIP可以支持SDP或任何别的format。SIP和它所传输的format完全独立。

4.1.2 The Offer/Answer Model

Alice把自己的信息发给了Bob,但是不知道Bob的信息,这就需要Bob回发自己的信息。这就是OA模型。(其实很简单。。)

Offer(发送者) / Answerer(应答者)

于是BOB回了个话:

BOB说,我的audio接收端口在30000,video是30002,我的IP是192.0.0.2.。。。

传输过程中,因为format是任意的,所以还可以发加密key等。

4.1.3 SIP URIs

SIP URI是用来identify user的。

4.1.4 User Location

SIP支持personal mobility,用户可以在任何地方都被trace到(用SIP URI)。例如4.1.3中Alice的URI就是 Alice.Smith@domain.com(regardless of her current location)

4.2 SIP Entities

UA - user agents(包括PC上的software例如skype,或者mobile phone等)

proxy server - relay user request的server

redirect server

4.2.1 Forking Proxies

这个就是假如你在厨房做饭,客厅电话响了,这个scenario就比较麻烦。

用了Forking Proxies,我们就可以到处装上电话,电话一来,全都响,你就近随便接一个就好。

4.2.2 Redirect Servers

这个意思就是说,Alice想和bob联系,Alice先联系RS,RS告诉你bob在哪里,Alice自己去联系。

(注意和PS的区别,PS是这样:Alice想和bob联系,Alice先联系PS,PS帮助你relay你的request给BOB)

4.3 Message Format

Start line (在requst里是request,在response里是status line)

head fields(多行)

Empty line

message body(optional)

4.4 - 4.7

4.8 SIP Transactions

有很多,像是Invite,Cancel等。

4.10 SIP Dialog

The exchange of a set of SIP messages between two user agents is referred to as a SIP dialog.

目前看到4.11了,明天再看。

原文地址:https://www.cnblogs.com/lihaozy/p/2153459.html