您的位置:首页 > 其它

LTE Initial Attach 的过程以及相关消息的具体解析 (四)

2017-09-07 14:24 369 查看
继续上次, MME,SGW 已经开始建立tunnel。 现在轮到PGW了。 在发送Create Session Response的时候,PGW 需要向PGW 请求用户数据。

规范3gpp 23203, 3gpp 29210, 3gpp 29212. 

根据 23203 里的架构, PGW (PCEF) 向 PCRF 请求用户有关Policy 和Charing rule的数据。(这里特指用Dynamic
rule; predefined rules则是在PGW上预先定义好了,不需要使用GXinterface)。

AF 因为没有相应的pcap流程对应,在这不进行描述。

The Policy and charging control rule (PCC rule) comprises the information that is required to enable the user plane detection of, the policy control and proper charging for a service data flow. The packets detected by applying the service data flow template
of a PCC rule are designated a service data flow.

至于那些informations 在PCEF 和PCRF 中传递, 在23.203 58页已经列出。

只看在CCR 消息中的AVPs:



CCR 中的 Default-EPS-Bearer-QoS :

When this AVP is sent from the PCEF to the PCRF, it indicates the subscribed QoS for the default EPS bearer and/or the retained QoS for the default EPS bearer in the PCEF. When this AVP is sent from the PCRF to the PCEF, it indicates the authorized QoS for
the default EPS bearer.

CCA消息:



关心的AVP header 是 Charing-Rule-Install, Qos-Inforamtion, Default-EPS-Bearer-Qos:

我们所关心的QOS, TFT 和Charging Rule 内容都在Charging-Rule-Install 这个AVP 里装着。点开这个AVP可以看到:



其中有两个Charing Rule,分别有不同的Rule-Name,并且将计费方式也给出了(Enable-offline), Flow-Description 也给出了上下行通道的过滤端口值,去生成TFT。

第一个Charing-Rule是给IMS 信令通道用的。第二个charging-Rule是给 其他IP 数据 用的。在QOS-Information AVP 中,可以看到具体的QCI, 和MRB-UL/DL. 但是优先级上IMS高于Default Bearer。。。意思, 虽然Default Bearer 维持着 IP 地址,但是在具体的用户面的数据包,IMS 数据应该优于 其他的IP 数据

因为从另外的AVP: Default-EPS-Bearer-QOS中看出,这个AVP给出了Default Bearer用的QCI,当时这个QCI可以和之前 Charing-Rule-Install里的QCI一致,但是意义不同。

1,.Default-Bearer所需的QOS,OCI也算是Charing-RULE 里的一个用户profile,当然也应该被包含于Charging-Rule中。

2.  针对Default-Bearer,也会有其他的IP 包,那么这部分的计费信息和要求也会被包含于charging-rule中。 

因次虽然Default-EPS-Bearer-Qos 看上去内容好像是从 Charing-Rule中部分copy出来,但是是具体标示了那个部分是用来做为Default Bearer。

至于Event-Trigger 就比较好理解。定义了在什么情况下,QOS会发生改变,需要双方再次协商。

总算这部分写好了。貌似应该画个图更好。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  lte
相关文章推荐