PCEF-AAA Interface Specifications

(Version 1.0)

April 14, 2011

............................... 1 Abbreviations .......................................................................................... 3 5...............................................3........................................................................... 9 6................................................... 4 5...................................................2 PrePaid Packet Data Service Authentication ......1 Charging PrePaid Packet Data Service User by Duration ..............................................................................................1 Activating/Deactivating Service of the PPS User ....................... 3 5....................................................3................... 3 5.................................................................................................... 9 6........................................................................ 6 5 Charging Principles ... 2 2 3 4 PrePaid Packet Data Service System Architecture .............................................................2 Charging with Rate Changeover ................. 1 Normative Reference ............... 4 5........................................................1 Charging without Rate Changeover ........................................................................................ 2 3.2 Charging PrePaid Packet Data Service User by Traffic..3 PrePaid Packet Data Service Charging .......................................................................... 1 Definitions ........................................................................................................... 2 Service Description .............................................................................................................................................. 2 Service Flow Chart ............................................................................................................. 1 1 ...................3 Activating/Deactivating Service of the PPS User ....................... 10 6.......................2 Service Characteristics ....................................................................... 10 Definitions and Normative Reference ..........................Contents 1 Scope ................................................................................................................

and trace and handle the service use of the user in real time in the core network. RFC2866.S0001-A V3. a service where the network user pays first. namely. development and implementation of the PrePaid Packet Data Service. Definitions and Normative Reference Definitions PrePaid Packet Data Service: Packet prepaid service. 1 .0. [1] [2] [3] 3GPP2 P. Prepaid client: An entity which requests the prepaid server to authorize the PPS of the user.0. their latest versions are applicable to this Standard. then the operator maintains the account information of the user. Wireless IP Network Standard. Wireless IP Network Standard”. Prepaid server: An entity which maintains the configuration and state of the user. Normative Reference The clauses in the following documents are incorporated by reference into this Standard. Remote Authentication Dial In User Service (RADIUS). Prepaid user: The network user who pays the service provider before enjoying the CDMA packet service. The technical specifications herein are formulated on the basis of the interface mode specified in the “3GPP2 P. and the contents related to business processes and charging.1 Scope These Technical Specifications introduce the basic concepts of the PrePaid Packet Data Service on the CDMA mobile intelligent network. and interacts with the prepaid client to implement the authentication and charging for the PPS user. the service scope of the PrePaid Packet Data Service covers data service. At present. However.0. For the specifically dated reference documents.S0001-A V3. RFC2865. all the revision orders (excluding the corrective contents) or revision versions subsequent to date are not applicable to this Standard.0. and are used as a guidance for the research. RADIUS Accounting. the PPS user makes use of the call process of the CDMA wireless data service through PDSN and AAA server. we encourage the parties to the agreement concluded on the basis of this Standard to consider whether to use the latest versions of such documents. and the user enjoys the packet data service based on the account balance. These Specifications do not deal with the specific processes in the PDSN and AAA server. For the reference documents not specifically dated.

the system will judge whether the balance of the PPS account is enough for this attempt of data communication. Authorization and Accounting Code Division Multiple Access Home Agent Home AAA Visited AAA Mobile Station Prepaid Client Prepaid Server Packet Data Serving Node Service Control Point Policy and Charging Enforcement Function 2 PrePaid Packet Data Service System Architecture The PrePaid Packet Data Service is in a client/server structure. (2) Threshold value of each consumption: The system can specify a consumption threshold value of a PPS.Abbreviations The following abbreviations are applicable to the specifications herein. AAA and PCEF system shall interface as stated herein. When the PrePaid Packet Data Service user performs data communication. 2 . after the user originates a call or receives a call. When the balance of the PPS account is lower than the minimum threshold value.2 Service Characteristics (1) Minimum threshold value: The system can specify a minimum threshold value of the PrePaid Packet Data Service. 3 Service Description 3. PPS(prepaid server) represents PCEF in following chapter. (3) Judging balance: When the balance of the PPS account is higher than the threshold. If not enough. the user can consume the duration or traffic volume up to the threshold specified by the system. AAA CDMA HA HAAA FAAA MS PPC PPS PDSN SCP PCEF Authentication. the subscriber will be disabled from using the packet data PPS. the system will reject the user in using the data service.

Through the Access-Request message (carrying the prepayment attribute) of the Radius protocol. If the user profile reveals that it is a PPS user. e) The PPS returns the prepayment authentication information.2 PrePaid Packet Data Service Authentication The SCP implements the function of rate conversion.1 Activating/Deactivating Service of the PPS User 5. and. PDSN Access-Request (PPAC) a HAAA PPS SCP Access-Request(PPAC) b c d e f Access-Accept (PPAC) Access_Accept (PPAC) Access-Request Access_Accept Fig. The PPS does not need to authenticate the user identity. and returns the authentication information. b) The HAAA performs conventional authentication and authorization. returns the Access-Accept message to the PPS. which may contain the PPAC authentication information. after the check is passed. (See also RFC2869. the PPS enables to query the account state at the SCP and apply for the quota of time or traffic. d) The SCP checks whether the user account has valid state and balance. f) The HAAA implements the authentication.4 Service Flow Chart 5. 3 . and maintains the online state of the user. and sends the Access-Request message to SCP to authenticate the state of the user account. but check the validity of the message through the “Message Authenticator (80)” attribute. and can also carry the PPAC of the user to let the SCP authorize the PPS capabilities.) c) The PPS checks the PPAC. It can send the Access-Request message to the HAAA. 5-1 PPS Authentication Flow With PPC Residing at PDSN (SCP Implements the Function of Rate Conversion) a) PDSN has the PPS capability. and carry the PrePaidAccountingCapability (PPAC) attribute which indicates the PPS capabilities supported by the HAAA PPS client. the Access-Request message should be forwarded to the PPS.

a “RADIUS Accounting-Request (Start)” message will be sent from the PDSN.VQ/DQ=0) Access-Request (PPAQ.VT /DT ) Access-Request (PPAQ.VQ/DQ.VT /DT ) Access-Request (PPAQ.VQ/DQ=VT /DT ) i j k Access-Request (PPAQ.Response(Stop) Access-Accept n o p Fig. as similar to the establishment of conventional packet data session.VQ/DQ=used) T hresh reached Access-Accept (PPAQ.VQ/DQ=0) Access-Accept (PPAQ. MS PDSN Accounting-Request /Response (Start) Access-Request (PPAQ.VQ/DQ=used) T hresh reached Access-Request (PPAQ. Through the Access-Request message (carrying the prepayment attribute) of the Radius protocol.VQ/DQ.VQ/DQ.VQ/DQ=0) HAAA PPS SCP a Access-Request (PPAQ.3.VT /DT ) Access-Accept (PPAQ. 4 .VQ/DQ.VQ/DQ=0.VQ/DQ=0.VQ/DQ=used) Access-Accept (PPAQ. 5-2 Charging Flow Without Rate Changeover (SCP Implements the Function of Rate Conversion) a) Upon completion of the PPS authentication / authorization.QID) Access-Accept (PPAQ. the PPS enables to apply for the quota of time or traffic.VQ/DQ=used) Access-Accept (PPAQ.VQ/DQ=used) Access-Request (PPAQ.VQ/DQ=used) l m Access-Accept Access-Accept Accounting.3 PrePaid Packet Data Service Charging 5.QID ) g h Access-Request (PPAQ.VT /DT ) d e T hresh reached f Access-Request (PPAQ.5.1 Charging without Rate Changeover The SCP implements the function of rate conversion.VQ/DQ=used) Access-Accept (PPAQ.VQ/DQ=VT /DT ) Access-Request (PPAQ.QID) b c Access-Accept (PPAQ.VQ/DQ.

QID. and. the SCP will allocate the globally unique QID for this user. where Balance Sum is the sum of balances received by the PPS. it will return the previously authorized quota in the “Access-Accept” message. If it is the first request. the SCP judges whether this is the balance of the account of the PPS user. VT/DT = Balance Sum. c) The PPS sends an Access-Request message to SCP. in view of “VQ=VT (or DQ=DT)” in the last quota update. The allocated quota is stored on the PPS as an authorized quota. According to the rules of distributing the account balance. and set the threshold VT/DT to be identical with the VQ/DQ. The PDSN sends an Access-Request message to PPS. g) The PPS saves this threshold as the balance in use. f) When the quota in use hits the threshold of the previously allocated quota. l) When the last threshold is hit. d) According to “VQ/DQ=0. The PPS updates the account balance. and checks whether this message carries the QID attribute so as to judge whether this is the first request of the user. h) If the PPS judges that the available balance of this account reaches the set value of the balance requested to SCP. allocates a new quota to the PPC. QID is obtained from DBS previously). which contains VQ/DQ. the PDSN sends an “Access-Request (PPAQ)” message containing “VQ=threshold” to the PPS. the PPS will send the Access-Request message which carries the manufacturer attribute (VQ/DQ=0. if any balance is available. k) The PPS finds out that the account balance equals the authorized quota and no further quota is available. VT/DT=0”. The PPS discovers that the sub-attribute UR (Update-Reason) of PPAQ is 5 . and returns the Access-Accept (PPAQ. the SCP calculates the balance (traffic/time) used for the account data. i) According to QID. and send a responding Access-Accept (PPAQ) message to the PPS. and obtains the state of allocating balance of the user according to QID. The SCP assigns a value to the VQ/DQ attribute. VQ/DQ=0) message. the PDSN knows that the user has no available balance. e) After the PPS receives the account balance returned by SCP. where the sub-attribute UR (Update-Reason) in the attribute PPAQ is set to “Quota reached”. The quotas VQ/DQ and VT/DT returned in the Accept-Accept message are the sum of the previous quotas and this quota.b) The PPC (PDSN) sends an Access-Request message which is transmitted transparently to PPS via HAAA. then judges that no further balance should be allocated for the user. the PPS allocates the initial traffic/duration quota and threshold. and handles the allocation rules according to the allocation state. the PDSN sends an “Access-Request” message containing “VQ=threshold” to the PPS. and the message contains a manufacturer attribute (VQ/DQ=0) with updated quota. j) When the quota in use hits the threshold of previously allocated quota. and the message contains the manufacturer attribute (VQ/DQ=0,VT/DT=0) with updated quota. the SCP judges that the PPS requests balance again.

and save the rate changeover information. then allocates no further quota. 5-3 illustrates the circumstance of “charging by traffic. and the rate differs between time segments. and the rate differs between time segments. These Specifications do not deal with the calculation strategy that involves conversion of exchange rate. m) The PPS treats the VQ/DQ in “Access-Request” as the balance in use. o) The PPS receives the Access-Accept message and performs user state treatment. and allocates a quota for the PPC again according to the balance and allocation strategy. and releases the corresponding resources and sends an Accounting-Request (Stop) message (the same as the conventional postpayment charging procedure). and knows that the quota is used up. and needs to notify the time interval with the latest rate changeover (the time interval between the rate changeover point and the Time Stamp (G4) attribute) to the PPC through the TSI sub-attribute of PPAQ prepaid service attribute. and replies with an Access-Accept message to the PPS to tell the end of this PPS packet data session. and notifies it to the PPS through the VUATS sub-attribute of the PPS attribute of PPAQ at the next time of applying for traffic quota. The SCP must support the rate changeover feature. Charging by traffic. 5.2 Charging with Rate Changeover PrePaid Packet Data Service supports charging with rate changeover. and the rate differs between consumption amounts. Charging by traffic. The rate conversion is performed by SCP. and the rate differs between consumption amounts. n) The SCP performs pricing treatment and updates the account. Charging by time. 4. The PPS re-calculates the sum of charges consumed by the user. Fig. and replies with an Access-Accept message which carries no PPAQ attribute. and the PPS forwards this message to SCP. and the rate differs between time segments” in case of supporting the rate conversion function.3. The PPS allocates the traffic quota for the PPC. The rate changeover covers the following circumstances: 1. The PPC must record traffic used after the rate changeover time point. p) The PDSN receives the Access-Accept message. and forwards Access-Accept to PDSN. 2. 3. 6 . Charging by time.“Quota reached”. Now the account balance equals the quota in use.

VT=190K TSI=50400) IP Datagrams i Quota threshold Access-Request (PPAQ(VQ=190K)) Access-Accept PPAQ(VQ=250K. which is 3600 seconds away from the rate changeover point 12:00. 5-3 Charging Procedure With Rate Changeover a) The PPS implements the state check of the PrePaid Packet Data Service account. and determines the charging mode by interacting the PPAC attribute between PDSN (PPC) and PPS.VT=240K) DS_GET_BLANCE DS_GET_BLANCE-desp j 23:00 20 yuan/275K 250K 40 yuan/475K 150K/40K k 1 yuan IP Datagrams Quota threshold . The current nearest 7 .. and 20K from 21:00 to 12:00 of each day. the procedure selects charging by traffic and supports the rate changeover.PDSN HAAA PPS SCP Fund Allocate fund/ Allocate quota account convert traffic a 11:00 Use quota After passing the authentication and authorization. The PPS uses the minimum rate of the latest rate changeover point to calculate the maximum allocable traffic.. VT=90K TSI=1500) IP Datagrams Rate changeover point 12:00 20 yuan/220K 50K 100K 40K 40K d e 19:00 Quota threshold Access Request (PPAQ(VQ=90K. For example. VUATS=20K)) Access-Accept PPAQ(VQ=200K. VUATS=10K)) Access-Accept PPAQ(VQ=150K. VT=40K TSI=3600)) IP Datagrams Quota threshold e 41 yuan 0 yuan/0K 0K 0K 0K 0K b c 11:35 21 yuan 20 yuan/200K Access-Request (PPAQ(VQ=40K)) Access-Accept PPAQ(VQ=100K.VT=140K) IP Datagrams Rate changeover point 21:00 f 20 yuan/240K 150K 80K/10K Quota threshold g 150K h 22:00 21 yuan 20 yuan/250K 200K 100K/40K 100K/40K Access Request (PPAQ(VQ=140K. The current time is 11:00... so one yuan is entitled to use a traffic volume of 10K from 12:00 to 21:00 of each day. the PPS starts Quota (PPAC. and allocates the initial quota. l 1990K Access-Request (PPAQ(VQ=540K)) DS_CHARGE m 250K n o 12 yuan 500K/40K Access-Accept Quota threshold DS_CHARGE_resp Fig. PPAQ(VQ=50K..

so the remaining sum is 15 yuan. VT=90K). 8 . another traffic quota equivalent to 50K is allocable. the allocated traffic quota VQ=50K. plus the quota in use. The current time is 19:00. The current time is 11:35. namely. then calculates the consumption sum by using the consumption traffic to divide the rate (which is 2 yuan. and the remaining sum is 18 yuan. The PPS replies with the message “Access-Accept (PPAQ(VQ=100K. according to the corresponding rate. and calculates out the consumed sum (80/20+10/10). namely. VT=140K). and sends an “Access-Request (PPAQ (VQ=90K). 40/20). d) The PDSN records the consumption amount of the PPS user. After being accumulated with the previously allocated quota 150K. and must record the traffic volume consumed after the rate changeover point once detecting the cross of rate changeover point 21:00. The PPS receives the quota request message. the traffic threshold VT=40K. the maximum traffic quota (10*15+90)=240K is worked out. the maximum traffic quota (10*18+40) 220K is worked out. f) The PPS records the consumed traffic of each rate. and sends an Access-Request (PPAQ (VQ=40K)) quota request message. By multiplying the minimum rate with the remaining sum. e) The PDSN (PPC) detects that the traffic volume consumed by the user has reached the threshold of 90K. 5 yuan. and records the traffic quota of the user. and the PDSN (PPC) records the traffic volume consumed by the user. PTS (VUATS=10K))” quota request message. the traffic threshold is 140K.PTS(TSI=7200S)). The PPS can allocate another traffic quota 50K to the PPC. The PPS calculates out the allocable traffic 200K (10*20). and the time interval of the rate changeover point is TSI = 3600 seconds. which is 1500 seconds away from the rate changeover point 12:00. b) The packet data service starts. c) The PDSN (PPC) detects that the traffic volume consumed by the user has reached the threshold of 40K. and the rate changeover time interval is (from 21:00) 7200 seconds. By multiplying the minimum rate with the balance. After being accumulated with the previously allocated quota 100K. This way. and the minimum rate is 10K/yuan. PTS(TSI=1500S))”. g) The PDSN records the consumption amount of the PPS user. plus the consumed quota. and must record the traffic volume consumed after the rate changeover point once detecting the cross of rate changeover point. The PPS replies with the message Access-Accept (PPAQ(VQ=150K.rate changeover point is 12:00. the traffic threshold is 90K.

and send a charge deduction request to SCP. 100K at the rate of 20K/yuan. it will not allocate traffic quota for PPC. That sub-attribute means Update-Reason is “User release”. and sends an “Access-Request (PPAQ(VQ=140K). j) The PPC detects that the traffic volume consumed by the user has reached the threshold of 190K. The PPS receives the message and records the traffic volume consumed at each rate changeover point. the PPS detects that the available traffic is not enough for being allocated to PPC. i) The PPS saves the traffic consumed at the rate changeover point. 150K at the rate of 20K/yuan. 9 . In this case. If PPS fails to get the fund quota. 5 Charging Principles 6. PPS requests a new fund quota from SCP. and refund the remaining sum. m) PPC also sends the Access-Request (PPAQ(VQ=340K. as accumulated to 200K. and requests another fund quota from SCP. where the Update-Reason is User release. 40K at the rate of 10K/yuan. the PPS must calculate out the sum consumed by the user. n) After the PPS receives the Access-Request (PPAQ) message. The quota request message carries the sub-attribute UR = 3 of the PPS attribute PPAQ. 40K at the rate of 10K/yuan. and PPC will end this PPS session. and sends an Access-Request (PPAQ (VQ=190K)) quota request message. UR=4)) quota request message to end the PPS session on initiative. and calculates the new allocable traffic 250K. After converting the fund requested by SCP to the maximum available traffic. The current time is 22:00. a) The SCP finds out the charging type of the call according to the charging elements such as the calling number. l) Repeat the previous process. o) The PPS replies with an Access-Request message without carrying PPAQ to end the PPS process. and calculates the new allocable traffic 275K. which is accumulated to 250K. k) Since the remaining traffic volume may be not enough for the next allocation.1 Charging PrePaid Packet Data Service User by Duration When the PPS user originates a data communication call. PTS(VUATS=20K))” quota request message. the SCP allocates the duration quota for the PPS user according to the data communication duration. the PPS will not allocate any quota for the PPC any longer. another allocable traffic quota is 50K. which is 50400 seconds away from the rate changeover point (12:00 of the next day).h) The PDSN (PPC) detects that the traffic volume consumed by the user has reached the threshold of 140K.

The system finally works out the maximum call duration under the allocated balance. d) If this call duration spans different discount time segments. b) According to the preselected charging solution number. the system can calculate the charges of a specific communication duration. 6. ordinary traffic charging.2 Charging PrePaid Packet Data Service User by Traffic When the PPS user originates a data communication call.b) According to the preselected charging solution number. d) If this call duration spans different discount time segments. namely. maximum traffic charging. The system finally works out the maximum communication traffic under the allocated balance. and the start time of the call. and the start time of the call. (2) The call is charged at the highest rate applicable in the two previous discount time segments. c) This specific communication duration is selectable from 0 second to the maximum duration. a) The SCP finds out the charging type of the call according to the charging elements such as the calling number.3 Activating/Deactivating Service of the PPS User Activating/deactivating the packet prepaid service for the PrePaid Packet Data Service user through the billing system is free of charge. the found charging type. the found charging type detected earlier. the calls between different time segments will be charged in segments. 10 . the calls will be handled in two modes depending on the rate setting: (1) The call is charged at the rate of the start time of call. c) This specific communication duration is selectable from 0 second to the set maximum threshold of traffic. namely. 6. the system can calculate the charges of a specific communication duration. the SCP allocates the traffic quota for the PPS user according to the data communication traffic.

Sign up to vote on this title
UsefulNot useful