IS-835C预付费业务网络架构浅析

更新时间:2023-05-28 10:20:01 阅读量: 实用文档 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

IS-835C预付费业务网络架构浅析

IS-835C 预付费业务Solution Development

IS-835C预付费业务网络架构浅析

预付费网络架构

OCS

OCP 协议

Visited AAA

Home AAA

OCP 协议

OCS

ST40

ST40 IP Core PPC

PPCPCF PDSN/FA

HA

PDSN具备的 PPC (Prepaid Client) 功能包括:– – – – – 支持基于流量(Volume based)实时预付费控制 支持基于时长(Duration Based)的实时预付费控制 支持费率切换(Tariff Switch ) 支持PrePaid Accounting Capability (PPAC) VSA属性 支持Session Termination Capability (STC) VSA属性2

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

数据预付费业务

概念–OCS系统用户的信用额度( 预存金额),存储于 OCS系统 OCS负责下发该用户呼叫每次请款后的配额和门限值

–AAAAAA负责用户正常的认证授权,能够区分预付费和后付费用户,并对预付 费和后付费用户执行不同的处理流程。 AAA必须同时支持Radius协议与Diameter协议,并支持两种协议的互相 转换

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

数据预付费业务

概念–当采用835预付费时,每次下发的配额和门限值均为累计值.配额( Quota ), 用户请款成功后,获得并可以使用的最大额度 门限值(Threshold) , 用户使用额度达到门限值后会触发再次请款 举例: OCS每次下发100k流量,门限值为10k,第一次下发配额时,AAA将配 额和门限值分别转换为100k和90k. 当门限值到达时,PDSN重新申请配额,OCS下发100k,门限为10k, 这时AAA将配额和门限值分别转换为190k和180k,依次类推

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

PDSN 需要支持的预付费能力 当用户接入时,PDSN发送Access-Request信息给 RADIUS server,并将其中的属性PPAC和STC 的 值设置为3,来表明它对预付费类型和动态计费的 支持能力 RADIUS server 在判定该用户为预付费类型并且 具有有效的帐户配额后,通过Access-Accept中的 PPAQ,PPAC属性来通知PDSN对该用户的连接遵 循预付费的处理方式,以及用户的MDN信息。 update操作,发送Access-Request给RADIUS server,其中包括PPAQ属性用于通知该用户已经 用掉的流量配额,同时将属性“Service Option” 的值设为“Authorize Only”.

在用户的连接进程中,PDSN会执行online-quota

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

Volume usage until account depletion ---- IS835c预存额度 授权的配额 消耗的额度

MS

PDSN/HA

Access Request (PPAC,STC)

RADIUS/OCS 150K

Access Accept Quota (VQ=50k,VT=40k) IP Datagrams Access Request (VQ=40k) Threshold Reached Access Accept Quota (VQ=100k,VT=90k) IP Datagrams Threshold Reached Access Request (VQ=90k) 150K Access Accept Quota (VQ=140k,VT=130k) IP Datagrams Threshold Reached Access Request (VQ=130k) 150K 150K

50K

NA

100K 50K

40K

NA

140K 100K

90K 40K

130K 150K 140K 90K

Access Accept Quota (VQ=150k,VT=145k)

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

Volume usag

e until account depletion ---- IS835c预存额度 授权的配额 消耗的额度

MS

PDSN/HA

RADIUS/OCS

IP Datagrams Threshold Reached Access Request (VQ=145k) 150K 150K Access Accept Quota (VQ=150k,VT=150k) IP Datagrams Quota Expiry Access Request (VQ=150k) 150K Access Accept 150K 150K 145K 130K 145K

()

最终剩余配额: 最终剩余配额 “0”

K

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

费率切换 (Tariff Switch)

费率的转换是由 RADIUS/PPS来执行的,它通过以下属性来 RADIUS/PPS来执行的 来执行的,和PDSN(PPC)进行交互. PDSN(PPC)进行交互. 进行交互–属于在PPAQ 中的VSA : 属于在PPAQ 中的VSA 属于在 VolumeQuota (VQ) VolumeThreshold (VT) –属于PrePaidTariffSwitch (PTS)中的 VSA : 属于PrePaidTariffSwitch (PTS)中的 属于 TariffSwitchInterval (TSI)– 由AAA/OCS 通过Access Accept下发,指出下一费率切换时间点距当前时间点的时间间隔 (单位为秒)

VolumeUsedAfterTariffSwitch (VUATS)– 在门限值到达的时刻,由PDSN /HA 通过Access-Accept送出, 指出在费率切换时间点后, 用户使用掉的配额.

TimeIntervalafterTariffSwitchUpdate (TITSU) (可选项)– 由AAA/OCS 通过Access Accept下发,指出费率切换时间点后多长时间间隔后(单位为秒 ),PDSN/HA应发送携带VUATS的Access-Accept.

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

费率切换 (Tariff Switch)授权的配额 消耗的额度

MS

PDSN/HA

Access Request (PPAC,STC)

RADIUS/PPS/SCP

$10:11:00

Access Accept PPAQ (VQ=50k,VT=40k), PTS(TSI=3600S)

10k/$1 from 12:00 to 21:00 20k/$1 from21:00 to 12:00

50K

NA

IP Datagrams Access Request PPAQ (VQ=40k) Threshold Reached Access Accept PPAQ (VQ=50k,VT=40k), PTS(TSI=1500S) 100K 12:00 Tariff Switch Point Reached IP Datagrams Threshold Reached Access Request PPAQ(VQ=90k) 40K NA 11:35

VUATS=20KAccess Accept PPAQ (VQ=140k,VT=130k), PTS(TSI=7200S)

19:00 140K

90K

IP Datagrams

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

PDSN 配置要点config context radius subscriber default …….. …….. prepaid 3gpp2 accounting prepaid 3gpp2 preference volume exit exit Exit

1. prepaid 3gpp2 accounting 对用户连接打开对3GPP2 预付费功能的支持. 对用户连接打开对 预付费功能的支持 2. prepaid 3gpp2 preference volume 如果在 如果在Access-Accept 中同时返回了流量 和时长的配额,以流量优先 以流量优先. 和时长的配额 以流量优先

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

PDSN 预付费信令流程--初始认证过程 初始认证过程<<<<OUTBOUND 17:09:43:085 Eventid:23901(6) RADIUS AUTHENTICATION Tx PDU, from 192.168.22.83:24240 to 192.168.22.91:1812 (247) PDU-dict=custom4 Code: 1 (Access-Request) Id: 1 Length: 247 Authenticator: 6D F5 B4 3F 75 2C 9E 51 94 FF 4C 4F 30 C9 5B 4D Calling-Station-Id = 460030907891043 ……………………………………… ……………………………………… PDSN 向AAA表明 3GPP2

-Pre-Paid-Acct-Capability = 01 06 00 00 00 03 时长的预付费能力 Available-In-Client = Supported_Volume_And_Duration

支持流量和

INBOUND>>>>> 17:09:43:224 Eventid:23900(6) RADIUS AUTHENTICATION Rx PDU, from 192.168.22.91:1812 to 192.168.22.83:24240 (203) PDU-dict=custom4 Code: 2 (Access-Accept) Id: 1 Length: 203 Authenticator: 89 55 98 5E 84 79 B1 BB 9E 94 19 2A 46 90 DF 6B User-Name = wap1 AAA 返回该用户对应的MDN号码 Framed-Pool = public Served-MDN = 8618918988881 3GPP2-Pre-Paid-Accounting-Quota = 01 06 00 00 00 01 02 06 00 00 30 00 04 06 00 00 <more> Quota-Identifier = 1 AAA 返回该用户的配额和门限值 Volume-Quota = 12288 Volume-Threshold = 8192 3GPP2-Pre-Paid-Acct-Capability = 02 06 00 00 00 01 Selected-For-Session = Usage_Volume 3GPP2-Correlation-Id = 2f5JRoRM AAA 指示PDSN为用户提 SN1-VPN-Name = 1 供基于流量的预付费控制 Vendor-Specific = 00 00 98 94 00 00 00 01 Vendor-Specific = 04 06 00 00 00 01 Vendor-Specific = 00 00 90 24 70 75 62 6C 69 63 SN1-IP-Pool-Name = public Vendor-Specific = 01 15 69 70 3A 61 64 64 72 2D 70 6F 6F 6C 3D 70 <more>

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

PDSN 预付费信令流程--再次请款认证过程 再次请款认证过程<<<<OUTBOUND 01:55:02:808 Eventid:23901(6) RADIUS AUTHENTICATION Tx PDU, from 192.168.22.87:24000 to 192.168.50.125:1812 (178) PDU-dict=custom4 Code: 1 (Access-Request) ……………………… ……………………… Attribute Type: 26 (Vendor-Specific) Vendor Id: 5535 (ThreeGPP2) Vendor Type: 90 (3GPP2-Pre-Paid-Accounting-Quota) Attribute Type: 1 (Quota-Identifier) Length: 6 Value: 00 00 00 01 .... PDSN 向AAA报告用户已经使用 (1) Attribute Type: 2 (Volume-Quota) 的流量额度 Length: 6 Value: 00 01 B9 24 ...$ (8193) Attribute Type: 8 (Update-Reason) 触发PDSN再次发起Access-Request 的 Length: 4 Value: 00 03 .. 原因是门限值到达 (Threshold-Reached) …………………… ……………………

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

PDSN 预付费信令流程--再次请款认证过程 再次请款认证过程INBOUND>>>>> 01:55:02:905 Eventid:23900(6) RADIUS AUTHENTICATION Rx PDU, from 192.168.50.125:1812 to 192.168.22.87:24000 (123) PDU-dict=custom4 Code: 2 (Access-Accept) …………… …………… …………… Attribute Type: 26 (Vendor-Specific) Length: 30 Vendor Id: 5535 (ThreeGPP2) Vendor Type: 90 (3GPP2-Pre-Paid-Accounting-Quota) Vendor Length: 24 Value: 01 06 00 00 00 02 02 06 ........ 00 03 99 24 04 06 00 03 ...$.... 71 24 05 04 00 00 q$.... Attribute Type: 1 (Quota-Identifier) AAA 返回新的配额, 为 Length: 6 累计值 Value: 00 00 00 02 .... (2) Attribute Type: 2 (Volume-Quota) Length: 6 Value: 00 03 99 24 ...$ (35812) Attribute Type: 4 (Volume-Threshold) Length: 6 AAA 返回新的门限值,为累 Value: 00 03 71 24 ..q$ 计值 (35572) Attribute Type: 5 (Volume-Threshold-Overflow) Length: 4 Value: 00 00 .. (0) ………………. ………………. ……

………….

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

PDSN 预付费信令流程--费率切换过程 费率切换过程<<<<OUTBOUND 13:35:03:135 Eventid:23901(6) RADIUS AUTHENTICATION Tx PDU, from 192.168.22.88:24480 to 192.168.50.125:1812 (254) PDU-dict=custom4 Code: 1 (Access-Request) ………………. ………………. 3GPP2-Pre-Paid-Acct-Capability = 01 06 00 00 00 03 Available-In-Client = Supported_Volume_And_Duration ………………. ………………. INBOUND>>>>> 01:55:02:905 Eventid:23900(6) RADIUS AUTHENTICATION Rx PDU, from 192.168.50.125:1812 to 192.168.22.87:24000 (123) PDU-dict=custom4 Code: 2 (Access-Accept) …………… …………… …………… 3GPP2-Pre-Paid-Acct-Capability = 02 06 00 00 00 01 Selected-For-Session = Usage_Volume 3GPP2-Pre-Paid-Accounting-Quota = 01 06 00 00 00 01 02 06 00 01 E0 00 04 06 00 01 <more> Quota-Identifier = 1 TSI =117秒,表明117秒后为 Volume-Quota = 122880 Volume-Threshold = 112640 费率切换时间点 Volume-Threshold-Overflow = 0 3GPP2-Pre-Paid-TariffSwitch = 04 06 00 00 00 75 05 06 00 00 02 58 Tariff-Switch-Interval = 117 Time-Interval-After-Tariff-Switch-Update = 600 Class = 1 TIATSU=600 , 表明如果流量门 Served-MDN = 18918900021 限值未到达, 费率切换时间点后 ………………. ………………. 600秒,要上报用户用掉的流量 ……………….

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

PDSN 预付费信令流程--费率切换过程 费率切换过程<<<<OUTBOUND 13:35:03:135 Eventid:23901(6) RADIUS AUTHENTICATION Tx PDU, from 192.168.22.88:24480 to 192.168.50.125:1812 (254) PDU-dict=custom4 Code: 1 (Access-Request) ………………. ………………. 3GPP2-Pre-Paid-Acct-Capability = 01 06 00 00 00 03 Available-In-Client = Supported_Volume_And_Duration ………………. ………………. INBOUND>>>>> 01:55:02:905 Eventid:23900(6) RADIUS AUTHENTICATION Rx PDU, from 192.168.50.125:1812 to 192.168.22.87:24000 (123) PDU-dict=custom4 Code: 2 (Access-Accept) …………… …………… …………… 3GPP2-Pre-Paid-Acct-Capability = 02 06 00 00 00 01 Selected-For-Session = Usage_Volume 3GPP2-Pre-Paid-Accounting-Quota = 01 06 00 00 00 01 02 06 00 01 E0 00 04 06 00 01 <more> Quota-Identifier = 1 TSI =117秒,表明117秒后为 Volume-Quota = 122880 Volume-Threshold = 112640 费率切换时间点 Volume-Threshold-Overflow = 0 3GPP2-Pre-Paid-TariffSwitch = 04 06 00 00 00 75 05 06 00 00 02 58 Tariff-Switch-Interval = 117 Time-Interval-After-Tariff-Switch-Update = 600 Class = 1 TIATSU=600 , 表明如果流量门 Served-MDN = 18918900021 限值未到达, 费率切换时间点后 ………………. ………………. 600秒,要上报用户用掉的流量 ……………….

Starent Networks Proprietary and Confidential

IS-835C预付费业务网络架构浅析

PDSN 预付费信令流程--费率切换过程 费率切换过程<<<<OUTBOUND 13:35:03:135 Eventid:23901(6) RADIUS AUTHENTICATION Tx PDU, from 192.168.22.88:24480 to 192.168.50.125:1812 (254) PDU-d

ict=custom4 Code: 1 (Access-Request) ………………. Attribute Type: 26 (Vendor-Specific) Length: 24 Vendor Id: 5535 (ThreeGPP2) Vendor Type: 90 (3GPP2-Pre-Paid-Accounting-Quota) Vendor Length: 18 Value: 01 06 00 00 00 01 02 06 ........ 00 01 B9 24 08 04 00 03 ...$.... Attribute Type: 1 (Quota-Identifier) Length: 6 Value: 00 00 00 01 .... (1) Attribute Type: 2 (Volume-Quota) Length: 6 Value: 00 01 B9 24 ...$ (112932) Attribute Type: 8 (Update-Reason) Length: 4 Value: 00 03 .. (Threshold-Reached) Attribute Type: 26 (Vendor-Specific) Length: 14 Vendor Id: 5535 (ThreeGPP2) Vendor Type: 98 (3GPP2-Pre-Paid-TariffSwitch) Vendor Length: 8 Value: 02 06 00 01 A1 0C ...... Attribute Type: 2 (Volume-Used-After-Tariff-Switch) Length: 6 Value: 00 01 A1 0C .... (106764) ………………. ………………. Starent Networks Proprietary and Confidential

触发PDSN再次发起Access-Request 的 原因是门限值到达

触发PDSN再次发起Access-Request 的 原因是门限值到达

VUATS 费率切换时间点后用户 用掉的流量

IS-835C预付费业务网络架构浅析

Q&A

Starent Networks Proprietary and Confidential

本文来源:https://www.bwwdw.com/article/m284.html

Top