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会发生改变,需要双方再次协商。
总算这部分写好了。貌似应该画个图更好。
规范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 Initial Attach 的过程以及相关消息的具体解析 (二)
- LTE Initial Attach 的过程以及相关消息的具体解析 (三)
- LTE Initial Attach 的过程以及相关消息的具体解析 ( 示意图 )
- LTE Initial Attach 的过程以及相关消息的具体解析 ( 示意图 )
- LTE Initial Attach 的过程以及相关消息的具体解析 (三)
- LTE Initial Attach 的过程以及相关消息的具体解析 (四)
- LTE Initial Attach 的过程以及相关消息的具体解析 (二)
- LTE Initial Attach 的过程以及相关消息的具体解析 (一)
- LTE Initial Attach 的过程以及相关消息的具体解析 (一)
- wm_keydown 和vm_char 区别以及 mfc DiapatchMessage派送消息返回之前的过程解析
- LTE Initial Attach过程
- WM_COPYDATA消息回顾和总结,以及如何解决WM_COPYDATA 发送CString消息的过程中,UNICODE字符不能被正确解析的错误
- Openstack Cinder中建立volume过程的源码解析(4)----以及taskflow相关解析
- Openstack Cinder中建立volume过程的源码解析(6)----以及taskflow相关解析
- LinearLayout具体解释二:LinearLayout的创建过程以及状态全程解析
- android smack源码分析——接收消息以及如何解析消息
- 详解softmax函数以及相关求导过程
- Android中measure过程、WRAP_CONTENT详解以及 xml布局文件解析流程浅析
- oracle split 以及 简单json解析存储过程
- ubuntu 终端sudo命令无法解析主机报错问题 以及主机名相关问题