CN101860634A - Method and system for implementing packet prepayment - Google Patents

Method and system for implementing packet prepayment Download PDF

Info

Publication number
CN101860634A
CN101860634A CN201010199602A CN201010199602A CN101860634A CN 101860634 A CN101860634 A CN 101860634A CN 201010199602 A CN201010199602 A CN 201010199602A CN 201010199602 A CN201010199602 A CN 201010199602A CN 101860634 A CN101860634 A CN 101860634A
Authority
CN
China
Prior art keywords
quota
information
prepaid
prepayment
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201010199602A
Other languages
Chinese (zh)
Inventor
范璟玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201010199602A priority Critical patent/CN101860634A/en
Publication of CN101860634A publication Critical patent/CN101860634A/en
Priority to PCT/CN2011/073054 priority patent/WO2011153871A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/141Indication of costs
    • H04L12/1421Indication of expected costs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/82Criteria or parameters used for performing billing operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/82Criteria or parameters used for performing billing operations
    • H04M15/8214Data or packet based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M17/00Prepayment of wireline communication systems, wireless communication systems or telephone systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and a system for implementing packet prepayment. The method is applied in a code division multiple access system and comprises that: a prepayment client sends access request message which carries position information of a terminal to a prepayment server; and the prepayment server distributes prepayment information corresponding to the position information to the corresponding prepayment users after receiving the access request message. The method and the system can distribute the prepayment information such as quota and the like to the prepayment users according to the current positions of the users, and can adopt different charging strategies for the users accessed in different places.

Description

A kind of method and system that realize packet-based prepayment
Technical field
The present invention relates to the communications field, and especially, relate to a kind of method and system that realize packet-based prepayment.
Background technology
Each network element in the CDMA2000 packet-based prepayment system has been realized the function of description in the agreement " X.S0011-006-E_v1.0_091116 ", promptly in this system, PDSN (PacketData Service Node, packet data serving node) or HA (Home Agent, home agent) as PPC (Prepaid Client, prepayment client), AAA (Authentication, Authorization, and Accounting, authentication, authorize, accounting server) mutual cooperation provides the packet-based prepayment business based on flow or duration (PacketPrepaid Service) for the user as PPS (Prepaid Server, prepaid services end).Wherein:
The packet-based prepayment business is meant: the network user pays dues earlier, the maintenance customer's of operator account information, the user enjoys a kind of business of packet data service according to account balance, and prepaid user (PrepaidUser) promptly pays dues to the service provider earlier, and the network user of CDMA Packet Service is enjoyed in the back.
PPS is responsible for maintenance customer's Quota Usage, with prepayment client (Prepaid Client, abbreviation PPC) finishes prepaid user's the authentication and the entity of charging alternately, PPS also is responsible for to service control point (Service Control Point is called for short SCP) the request amount of money and carries out rate and convert simultaneously.
PPC is responsible for asking PPS that user's prepayment service is authorized, to the entity of user's Quota Usage real-time tracking and processing.
Fig. 1 is when PDSN is as PPC in the pre existing paying Packet data service system, SIP (SessionInitiation Protocol, Session initiation Protocol) the prepaid accounting flow chart when user's access and position change, when the terminal location change refreshes, PDSN only preserves the terminal information of eating dishes without rice or wine, do not do special processing, as shown in Figure 1, comprise following step:
S101, terminal (MS) initiation packet service request insert PDSN, PDSN has the prepayment capabilities function, according to PPAC (the PrePaid AccountingCapability in this locality configuration structure authentication access request message, prepayment capabilities) attribute such as, PPAC is an attribute in the Radius message, is used to inform that HAAA/PPS sends the prepayment capabilities that the network element of this message has.
S102, PDSN insert the authentication request message of asking to the Radius Access Request that HAAA/PPS initiates this terminal, carry the information such as PPAC that PDSN supports.
S103, HAAA/PPS verify the identity of terminal after receiving the authentication request message of PDSN, the validity of effect terminal account number, and profile (user the organizes attribute) information of inspection terminal etc.
When terminal identity is legal, HAAA/PPS is the suitable pre-paid type of terminal distribution, quota and thresholding, respond Radius Access-Accept and insert the successful respond message, carry PPAC, PPAQ attributes such as (PrePaid Accounting Quota, pre-payment quotas).Issue among the Radius Access-Accept to PPC at HAAA/PPS, PPAQ comprises information such as user's quota and thresholding, and in the Radius Access-Request that HAAA/PPS reports, PPAQ comprises the already used quota information of user at PPC.
S104, PDSN receive that the Radius Access Accept of HAAA/PPS inserts the authentication responses message of replying, and begins to be the terminal transmission data.
S105, terminal location are moved, and have triggered the flow process that terminal refreshes, and send the A11 refresh requests to PDSN, carry new BSID (Base Station Identification), and PDSN preserves the terminal information of eating dishes without rice or wine.
S106, PDSN are being to find in the terminal transmission data procedures that thresholding arrives.
The quota and the threshold information that have comprised the user in Radius Access-Accept authentication responses message in the PPAQ attribute that HAAA/PPS carries.Can be divided into two kinds according to different types of prepaid user's quota and thresholding: duration prepaid user's quota and thresholding and flow prepaid user's quota and thresholding.With the duration prepaid user is example, if the duration quota is 60 seconds among the PPAQ that HAAA/PPS issues, the duration thresholding is 30 seconds, PDSN finds to arrive the duration thresholding after the user inserts 30 seconds so, will go HAAA/PPS to upgrade quota, with before allocated quota uses up, shift to an earlier date quota application, HAAA/PPS can issue new duration quota and thresholding then.
The quota update request message that S107, PDSN make up Radius Access-Request access request carries PPAQ, current BSID and the Update-Reason=3 (upgrade reason: thresholding arrives) of terminal, to HAAA/PPS renewal quota.
S108, HAAA/PPS judge Update-Reason=3 after receiving the quota update request message of PDSN, the current already used quota of terminal is settled accounts, and be user's allocated quotas.Respond Radius Access-Accept and insert the quota renewal response message of replying, carry attributes such as PPAQ.
S109, PDSN are after receiving that quota is upgraded response message, and the renewal quota continues as terminal provides data transport service.
S110, terminal have been initiated refresh flow for a certain reason, carry the BSID identical with last time or do not carry BSID, and PDSN preserves the information of eating dishes without rice or wine after receiving the refresh requests of terminal, return step S106, move in circles, until rolling off the production line with terminal or quota is used up.
Fig. 2 is PMIP (ProxyMobile IP when HA is as PPC in the pre existing paying Packet data service system, proxy-mobile IP) the prepaid accounting flow chart when user's access and position change, when terminal location changes, PDSN only preserves the terminal information of eating dishes without rice or wine, as shown in Figure 2, comprise following step:
S201, user's initiation packet service request are carried the information of eating dishes without rice or wine such as BSID, and PDSN is receiving that the request back authenticates this user by the HAAA server.
It is a PMIP user that S202, PDSN identify this user after by authentication, initiates MIP-RRQ register requirement message to HA.
S203, HA decode after receiving the MIP-RRQ message, initiate Radius AccessReques to HAAA and insert request, carry the information such as PPAC that HA supports.
S204, HAAA/PPS verify the identity of terminal after receiving the authentication request message of HA, the validity of effect terminal account number, and the profile information of inspection terminal etc.
When terminal identity was legal, HAAA/PPS was the suitable pre-paid type of terminal distribution, quota and thresholding, responded Radius Access-Accept and inserted the successful respond message, carried attributes such as PPAC, PPAQ.
S205, HA receive the access success message of HAAA/PPS, return the response message that MIP-RRP succeeds in registration to PDSN, and begin to be the terminal transmission data.
S206, because terminal location is moved and has triggered the flow process that terminal refreshes, PDSN preserves the information of eating dishes without rice or wine.
S207, HA discovery user thresholding arrival in data transmission procedure.
S208, HA make up Radius Access-Request quota update request message, carry PPAQ and Update-Reason=3, upgrade quota to HAAA/PPS.
S209, HAAA/PPS judge Update-Reason=3 after receiving the quota update request message of HA, the current already used quota of terminal is settled accounts, and be user's allocated quotas.Respond Radius Access-Accept quota and upgrade response message, carry attributes such as PPAQ.Then, return step S205, until rolling off the production line with terminal or quota is used up.
Along with prepayment service is carried out, the prepaid user increases, and the user who inserts for different places takes different charging policy to begin to become the problem that operation is paid close attention to.But the service that present CDMA2000 packet-based prepayment system provides but only can be taked different charging policy according to different users or different time periods, can't satisfy actual operation demand.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of method and system that realize packet-based prepayment, is prepayment informations such as prepaid user's allocated quotas to realize according to the current position of user.
In order to solve the problems of the technologies described above, the invention provides a kind of method that realizes packet-based prepayment, be applied to comprise in the code division multiple access system:
Prepayment client sends to prepaid server and inserts request message, the positional information of carried terminal;
After described prepaid server receives described access request message, for corresponding prepaid user distributes the prepayment information corresponding with described positional information.
Further, said method also has following characteristics: described for after corresponding prepaid user's distribution prepayment information step corresponding with described positional information, described method also comprises:
Described prepayment client then sends the first quota update request message to described prepaid server if judge that described location information of terminals changes, and carries described prepaid user and has used quota information and new location information;
After described prepaid server receives the described first quota update request message, used quota information that the quota of the current use of described prepaid user is settled accounts according to described prepaid user, and be that described prepaid user distributes the quota in the remaining sum allowed band according to the rate corresponding with described new location information.
Further, said method also has following characteristics: described for after corresponding prepaid user's distribution prepayment information step corresponding with described positional information, described method also comprises:
Described prepayment client sends the second quota update request message to described prepaid server, carries described prepaid user and has used quota information, location information of terminals and renewal reason;
After described prepaid server receives the described second quota update request message, owing to changing the quota that causes, upgrades terminal location because of non-if the described renewal of judgement is former, after then having used quota information that the quota of the current use of described prepaid user is settled accounts, be that described prepaid user distributes the quota in the remaining sum allowed band according to the rate corresponding with the positional information of preserving according to described prepaid user.
Further, said method also has following characteristics: described for after corresponding prepaid user's distribution prepayment information step corresponding with described positional information, described method also comprises:
If described prepayment client judges that described prepaid user has arrived allocated quota, then send the 3rd quota update request message to described prepaid server, carry the renewal reason that quota arrives;
Described prepaid server discharges described prepaid user after receiving described the 3rd quota update request message.
Further, said method also has following characteristics: described prepayment information comprises: the pre-paid type corresponding with described positional information, quota and thresholding.
In order to address the above problem, the present invention also provides a kind of system that realizes packet-based prepayment, comprising:
Prepayment client is used for sending access request message, the positional information of carried terminal to prepaid server;
Prepaid server, be used to receive described access request message after, be that corresponding prepaid user distributes the prepayment information corresponding with described positional information.
Further, said system also has following characteristics:
Described prepayment client also is used for then sending the first quota update request message to described prepaid server if judge that described location information of terminals changes, and carries described prepaid user and has used quota information and new location information;
Described prepaid server, after also being used to receive the described first quota update request message, used quota information that the quota of the current use of described prepaid user is settled accounts according to described prepaid user, and be that described prepaid user distributes the quota in the remaining sum allowed band according to the rate corresponding with described new location information.
Further, said system also has following characteristics:
Described prepayment client also is used for sending the second quota update request message to described prepaid server, carries described prepaid user and has used quota information, location information of terminals and renewal reason;
Described prepaid server, after also being used to receive the described second quota update request message, owing to changing the quota that causes, upgrades terminal location because of non-if the described renewal of judgement is former, after then having used quota information that the quota of the current use of described prepaid user is settled accounts, be that described prepaid user distributes the quota in the remaining sum allowed band according to the rate corresponding with the positional information of preserving according to described prepaid user.
Further, said system also has following characteristics:
Described prepayment client also is used for then sending the 3rd quota update request message to described prepaid server if judge that described prepaid user has arrived allocated quota, carries the renewal reason that quota arrives;
Described prepaid server, also be used to receive described the 3rd quota update request message after, discharge described prepaid user.
Further, said system also has following characteristics:
Described prepaid server is an aaa server, and described prepayment client is packet data serving node or home agent.
A kind of method and system that realize packet-based prepayment provided by the invention can realize being prepayment informations such as prepaid user's allocated quotas according to the current position of user, can take different charging policy for the user that different places inserts.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Prepaid accounting flow chart when Fig. 1 is the access of sip user when PDSN is as PPC in the pre existing paying Packet data service system and position change;
Prepaid accounting flow chart when Fig. 2 is the access of PMIP user when HA is as PPC in the pre existing paying Packet data service system and position change;
Fig. 3 is the schematic diagram of the system of realization packet-based prepayment of the present invention;
Fig. 4 is the flow chart of the method for realization packet-based prepayment of the present invention;
Fig. 5 is the schematic diagram of pre existing paying Packet data service system configuration;
Fig. 6 is the flow chart of method one embodiment of realization packet-based prepayment of the present invention;
Fig. 7 is the flow chart of another embodiment of method of realization packet-based prepayment of the present invention.
Embodiment
Below in conjunction with drawings and Examples technical scheme of the present invention is described in detail.
Fig. 3 is the schematic diagram of the system of realization packet-based prepayment of the present invention, and as shown in the figure, the system of realization packet-based prepayment of the present invention comprises: prepayment client and prepaid server, wherein,
Prepayment client is used for sending access request message, the positional information of carried terminal to prepaid server;
Prepaid server, after being used to receive described access request message, for corresponding prepaid user distributes the prepayment information corresponding with described positional information, wherein, described prepayment information can comprise: the pre-paid type corresponding with described positional information, quota and thresholding, threshold value is generally less than the quota value.
Like this, the system of realization packet-based prepayment of the present invention can realize distributing prepayment information according to the position at the current place of user terminal for the prepaid user.
Further, when terminal location is moved the initiation refresh requests, described prepayment client can be used for also judging whether described location information of terminals changes, if judge that described location information of terminals changes, then send the first quota update request message, carry described prepaid user and used quota information and new location information to described prepaid server;
After described prepaid server also can be used for receiving the described first quota update request message, used quota information that the quota of the current use of described prepaid user is settled accounts according to described prepaid user, and be that described prepaid user distributes the quota in the remaining sum allowed band according to the rate corresponding with described new location information, also can distribute corresponding thresholding in the lump.
Further, when terminal was initiated refresh requests owing to any reason, described prepayment client described prepaid user of portability in the second quota update request message that sends to described prepaid server had used quota information, location information of terminals and renewal reason;
After described prepaid server also can be used for receiving the described second quota update request message, owing to changing the quota that causes, upgrades terminal location because of non-if the described renewal of judgement is former, after then having used quota information that the quota of the current use of described prepaid user is settled accounts according to described prepaid user, according to the rate corresponding with the positional information of preserving is that described prepaid user distributes the quota in the remaining sum allowed band, also can distribute corresponding thresholding in the lump.
Judge described prepaid user when described prepayment client and arrived allocated quota, then send the 3rd quota update request message, carry the renewal reason that quota arrives to described prepaid server;
Described prepaid server discharges described prepaid user after also being used to receive described the 3rd quota update request message.
The system of realization packet-based prepayment of the present invention can be applicable in the CDMA packet-based prepayment system, in native system, described prepayment client can be packet data serving node (PDSN) or home agent (HA), described prepaid server can be aaa server, is used for described terminal is carried out authentication.
In order to realize the prepaid accounting based on terminal location, each network element in the CDMA2000 packet-based prepayment of the present invention system has following function:
If PDSN is as prepayment client, PDSN is responsible for the application of terminal quota, the operating position of monitoring quota.For realizing the prepayment mode based on terminal location, PDSN must possess following function at least:
When the prepaid user inserted, PDSN must insert the BSID of carried terminal in the authentication request message of asking at Radius Access Request, so that PPS/SCP distributes initial quota for this user.
When the prepaid user refreshed, PDSN must be able to judge whether the BSID of terminal change has taken place, if change has taken place, then PDSN uses the situation of quota by HAAA to PPS/SCP report user, and carries the new BSID of user, to apply for new quota.
When the prepaid user discharges, if judging BSID, PDSN changes, then PDSN can insert in request message and the Radius Access-Accept access response message at last Radius Access-Request and carry up-to-date BSID, also can carry old BSID.
Be divided into authentication request message and authentication responses message according to the different of a field in these two messages of Radius Access-Request and Radius Access-Accept, or quota update request message and quota renewal response message.Radius Access-Request message when the user inserts is the authentication request message, and Radius Access-Accept message is the authentication responses message; The user because thresholding/quota arrives or the Radius Access-Request message of position change when upgrading quota is that quota is upgraded message, the RadiusAccess-Accept message is that quota is upgraded response message.
When prepaid user's thresholding arrives and BSID changes when triggering simultaneously, PDSN must carry new BSID, and the value of carrying is 200 Update-Reason (upgrading reason: because user's quota renewal that the customer location change causes).
When prepaid user's quota arrives and BSID changes when triggering simultaneously, PDSN must the value of carrying be Update-Reason (the renewal reason: quota arrival), can carry new BSID, also can carry old BSID of 4 (Quota Reached, quota arrives).Need discharge the user when quota arrives, promptly no longer needing HAAA/PPS is the terminal distribution quota, therefore uses Update-Reason 4.
As prepaid user's TITSU (Time Interval after Tariff Switch Update, tariff switch point arrives the back quota and reports the time interval) when arrival triggers simultaneously with the BSID change, PDSN must the value of carrying be 200 Update-Reason (upgrading reason: upgrade because customer location changes the user's quota that causes), must carry new BSID.For example, 21 is tariff switch point, promptly the rate of 21 front and back is different, if TITSU is 5 minutes, then when 21:05, to report the quota of use, if terminal location also is moved during 21:05, then the renewal that this moment, PDSN reported former because: upgrade because customer location changes the user's quota that causes.
If HA as prepayment client, is responsible for the application of user's quota, the operating position of monitoring quota.For realizing the prepayment mode based on terminal location, HA must possess following function at least:
When the prepaid user inserts, HA must be in Radius Access Request message the BSID of carried terminal so that PPS/SCP distributes initial quota for this user.
When the prepaid user refreshed, HA must be able to judge whether the BSID of terminal change has taken place, if change has taken place, then HA uses the situation of quota by HAAA to PPS/SCP report user, and carries the new BSID of user, to apply for new quota.
When the prepaid user discharges, if judging BSID, HA changes, then HA can carry up-to-date BSID in last Online message, also can carry old BSID.
When prepaid user's thresholding arrives and BSID changes when triggering simultaneously, HA must carry new BSID, and the value of carrying is 200 Update-Reason (upgrading reason: because user's quota renewal that the customer location change causes).
When prepaid user's quota arrives and BSID change when triggering simultaneously, HA must the value of carrying be the Update-Reason of 4 (Quota Reached), can carry new BSID, also can carry old BSID.
Change when triggering simultaneously when prepaid user's TITSU arrives with BSID, HA must the value of carrying be 200 Update-Reason (upgrading reason: because customer location changes the user's quota renewal that causes), must carry new BSID.
When HA is prepayment client in order to realize pre paid functionality based on customer location, the PDSN that links to each other with this HA must support to encode NVSE (the Normal Vendor/Organization Specific Extension of VendorType=3 (represent this NVSE carry be the BSID attribute), the self-defined expansion of manufacturer), be used to carry BSID, relative HA must support this expansion of decoding, and whether the BSID that can discern the user changes.
To prepaid server (PPS) and business control nodes (SCP) functional requirement:
PPS is responsible for the account status to SCP request prepaid user, request for funds quota, maintenance customer's quota user mode.PPS is a logic entity, is responsible for rate and converts and maintenance customer's quota state, both can reside among the AAA, also can reside among the SCP or a physical entity independently.When PPS separated with HAAA, its interface was followed the advanced radius agreement.
For realizing location-based prepayment mode, PPS must be achieved as follows function at least:
When receiving a Radius Access Request message,, then be configured to the user and distribute initial quota according to this locality if PPS can parse the BSID that carries in the message; If can't parse BSID or message does not carry BSID, then PPS can insert for the user distribute the initial quota of acquiescence or refusing user's according to local policy; If the BSID that parses does not match in the configuration of this locality, then PPS can insert for the user distributes the initial quota of acquiescence or refusing user's according to local policy.
When receiving a quota update request message that carries Update-Reason=200 (upgrading reason: upgrade) because customer location changes the user's quota that causes, if PPS can parse the BSID that carries in the message, then at first use active user's BSID that the already used quota of user is settled accounts, and then be configured to user's allocated quotas according to the BSID that carries and this locality; If can't parse BSID or message does not carry BSID, then PPS at first uses active user's BSID that the already used quota of user is settled accounts, the request upgraded of refusing user's quota then; If the BSID that parses does not match in the configuration of this locality, then PPS at first uses active user's BSID that the already used quota of user is settled accounts, and can distribute the quota of acquiescence or the request that the refusing user's quota is upgraded for the user according to local policy then.
When receiving that one to carry Update-Reason be not 200 Radius Online Request message, PPS must ignore the BSID that carries in the message, according to active user's BSID the already used quota of user is settled accounts and allocated quotas.
Fig. 4 is the flow chart of the method for realization packet-based prepayment of the present invention, and as shown in the figure, method of the present invention comprises following step:
S10, prepayment client send to prepaid server and insert request message, the positional information of carried terminal;
After S20, prepaid server receive described access request message, be described terminal distribution prepayment information according to described positional information.
Further, when terminal location is moved, also comprise:
S30, prepayment client then send quota update request message to prepaid server if judge that described location information of terminals changes, and carried terminal uses quota information and new location information;
After S40, prepaid server receive described quota update request message, use quota information that the quota of the current use of described terminal is settled accounts, and be described terminal distribution quota according to described new location information according to terminal.
To describe embodiments of the invention in detail below.
Fig. 5 is the schematic diagram of pre existing paying Packet data service system configuration, and this figure only is illustrated in the core network element that pre-payment Packet data service system configuration exists, and comprising: PDSN, HA, FAAA/HAAA, PPC and PPS.
For the support prepaid Packet data service, PDSN and/or HA should support prepaid client (PPC) functions.Prepayment client PPC can reside in PDSN, also can reside in HA according to access way.
Ownership aaa server (HAAA), prepaid server (PPS) and Service Control Point are positioned at the user attaching network.PPC is by radius protocol and ownership AAA, PPS/SCP communication; Adopt radius protocol to carry out alternately between ownership aaa server and the prepaid server.Act on behalf of the pre-payment VSAs (attribute) that aaa server (FAAA) transparent transmission ownership aaa server sends or receives.PPS can be a physical entity independently, also can be arranged in HAAA or SCP, exists as the functional entity of HAAA or SCP.Prepaid user's account information is kept among the SCP, and PPC inserts and end by HAAA and PPS/SCP interactive user pre-payment, carries out the authentication and the expenses management of user prepayment service.
The present invention is to the expansion of " X.S0011-006-D_v1.0_060301 " standard, therefore gives tacit consent to all network elements in the pre-payment Packet data service system configuration and follows and realized requirement in this standard.The present invention only describes the functional requirement of expansion to pre-payment Packet data service system and each network element, and is as follows:
If PPC resides in PDSN, then PDSN must be able to identify customer position information (for example, change BSID), and communicate by letter with HAAA, PPS/SCP by radius protocol is transmitted BSID and changed this information.
If PPC resides in HA, then the PDSN in this system must be able to identify customer position information (for example, change BSID), and BSID information is carried to HA by the MIP signaling, communicate by letter with HAAA, PPS/SCP by radius protocol by HA again, transmit BSID and change this information.
PPS/SCP can provide according to BSID and issue different quotas on the strategy of original allocation of quota.
The newly-increased prepaid accounting mode based on BSID can not exert an influence to the already present strategy of former pre-payment Packet data service system.
Fig. 6 is the flow chart of method one embodiment of realization packet-based prepayment of the present invention, among this embodiment, PDSN is as PPC, when mainly describing the access of sip user and position change based on the prepaid accounting flow chart of customer location, as shown in Figure 6, comprise following step:
S301, terminal (MS) initiation packet service request insert PDSN, and PDSN at first preserves the BSID information of MS, then according to the attributes such as PPAC in this locality configuration structure authentication access request message;
PDSN has prepayment capabilities and based on the function of the prepaid accounting mode of customer location.
S302, PDSN insert request to the authentication that HAAA/PPS initiates this MS, carry the PPAC of PDSN support and the information such as BSID of MS.
S303, HAAA/PPS carry out authentication to MS after receiving the authentication request message of PDSN;
For example, the identity of MS is verified, the validity of effect MS account number, and the profile information of inspection terminal etc.
When the MS identity was legal, HAAA/PPS distributed suitable pre-paid type, quota and thresholding according to the BSID of MS, and preserved the BSID of MS, responded Radius Access-Accept message to PDSN then, carried attributes such as PPAC, PPAQ.
S304, PDSN receive the authentication responses message of the access success of HAAA/PPS, begin to be MS transmission data.
S305, terminal location are moved, the flow process that triggering terminal refreshes, and terminal sends refresh requests to PDSN, carries new BSID.
S306, PDSN find that when receiving the refresh requests of terminal change has taken place the BSID of terminal, construct Radius Access-Request quota update request message immediately, carry PPAQ, new BSID and Update-Reason=200 (upgrading reason: upgrade) and upgrade quota to HAAA/PPS because customer location changes the user's quota that causes.
S307, HAAA/PPS are after receiving the quota updating message that PDSN sends, at first judging this quota that is a BSID change triggers according to Update-Reason=200 (upgrading reason: upgrade because customer location changes the user's quota that causes) upgrades, according to the BSID that preserves the quota of the current use of terminal is settled accounts then, be terminal distribution quota and thresholding according to new BSID again, and preserve this BSID.Respond Radius Access-Accept message, carry attributes such as PPAQ.
HAAA/PPS distributes according to user balance and rate when allocated quotas, the rate that has for example disposed BSID A correspondence on the HAAA/PPS now is 1 yuan/second, the rate of BSID B correspondence is 2 yuan/second, if user balance is 100 yuan, then the quota that issues for BSID A of HAAA/PPS can only be at most 100 seconds, and can only be at most 50 seconds for the quota that BSID B issues.
S308, PDSN receive the Radius Access-Accept quota of HAAA/PPS and upgrade response message, upgrade user's quota, are being to find in the terminal transmission data procedures that thresholding arrives.
S309, PDSN make up Radius Access-Request quota update request message and carry PPAQ, current BSID and the Update-Reason=3 of terminal, upgrade quota to HAAA/PPS.
S310, HAAA/PPS are after receiving the quota update request message of PDSN, judge Update-Reason=3, ignore the BSID that carries in the message, the current already used quota of terminal is settled accounts, and be user's allocated quotas according to the BSID of current preservation, respond the RadiusAccess-Accept quota to PDSN and upgrade response message, carry attributes such as PPAQ.
S311, PDSN are after receiving Radius Access-Accept response message, and the renewal quota continues as terminal provides data transport service.
S312, terminal have been initiated refresh flow for a certain reason, carry the BSID identical with last time or do not carry BSID, and PDSN judges that BSID does not change when receiving the refresh requests of terminal, do not carry out the flow process that quota is upgraded.
Can return execution in step S305 or S310 then, move in circles, until rolling off the production line with terminal or quota is used up.
Fig. 7 is the flow chart of another embodiment of method of realization packet-based prepayment of the present invention, among this embodiment, HA is as PPC, when mainly describing PMIP user's access and position change based on the prepaid accounting flow chart of customer location, as shown in Figure 7, comprise following step:
S401, user's initiation packet service request are carried the information of eating dishes without rice or wine such as BSID, and PDSN is receiving that the request back of access authenticates this user by aaa server.
It is a PMIP user that S402, PDSN identify this user after by authentication, initiate MIP-RRQ register requirement message to HA, and in this MIP-RRQ message, carry the NVSE of VendorType=3, send this user's who parses the A11 message BSID from MS to PDSN.
S403, HA decode after receiving the MIP-RRQ message, preserve BSID and initiate authentication request to HAAA, carry the PPAC of HA support and user's information such as BSID.
S404, HAAA/PPS verify the identity of terminal after receiving the authentication request message of HA, the validity of effect terminal account number, and the profile information of inspection terminal etc.
When terminal identity was legal, HAAA/PPS distributed suitable pre-paid type, quota and thresholding and preserves the BSID of terminal according to the BSID of terminal.Respond Radius Access-Accept message, carry attributes such as PPAC, PPAQ.
S405, HA receive the authentication responses message of the access success of HAAA/PPS, return the response message that MIP-RRP succeeds in registration, and begin to be the terminal transmission data.
S406, because terminal location is moved and has triggered the flow process that terminal refreshes, PDSN sends MIP-RRQ refresh requests message to HA immediately perceiving after terminal BSID changes, and carries new BSID.
S407, HA are at the MIP-RRQ refresh requests message of receiving that PDSN sends, decode user's BSID, and the value of preserving with this locality (promptly, the BSID that carries in the MIP-RRQ message that HA received when the user inserted) compares, variation has taken place if judge the BSID of terminal, construct immediately then that RadiusAccess-Request message is carried PPAQ, new BSID and Update-Reason=200 (upgrading reason: upgrade because customer location changes the user's quota that causes) upgrades quota to HAAA/PPS, and return the MIP-RRP message to PDSN.
S408, HAAA/PPS are after receiving the quota updating message that HA sends, at first judging this quota that is a BSID change triggers according to Update-Reason=200 (upgrading reason: upgrade because customer location changes the user's quota that causes) upgrades, according to the BSID that preserves the quota of the current use of terminal is settled accounts then, be terminal distribution quota and thresholding according to new BSID again, and preserve this BSID, respond Radius Access-Accept message, carry attributes such as PPAQ.
S409, HA receive the successful authentication responses message of quota renewal of HAAA/PPS, upgrade user's quota, and the response message of time MIP-RRP Flushing success continue as the terminal transmission data.
S410, HA discovery user thresholding arrival in data transmission procedure.
S411, HA make up Radius Access-Request message and carry PPAQ, current BSID and the Update-Reason=3 of terminal, upgrade quota to HAAA/PPS.
S412, HAAA/PPS are after receiving the quota update request message of HA, judge Update-Reason=3, ignore the BSID that carries in the message, the current already used quota of terminal is settled accounts and is user's allocated quotas and thresholding according to the BSID of current preservation, respond the RadiusAccess-Accept message to HA, carry attributes such as PPAQ.
Other processing mode is identical, moves in circles, until rolling off the production line with terminal or quota is used up.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, described program can be stored in the computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Below only be the preferred embodiments of the present invention; certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. method that realizes packet-based prepayment is applied to comprise in the code division multiple access system:
Prepayment client sends to prepaid server and inserts request message, the positional information of carried terminal;
After described prepaid server receives described access request message, for corresponding prepaid user distributes the prepayment information corresponding with described positional information.
2. the method for claim 1 is characterized in that: described for corresponding prepaid user distributes after the prepayment information step corresponding with described positional information, described method also comprises:
Described prepayment client then sends the first quota update request message to described prepaid server if judge that described location information of terminals changes, and carries described prepaid user and has used quota information and new location information;
After described prepaid server receives the described first quota update request message, used quota information that the quota of the current use of described prepaid user is settled accounts according to described prepaid user, and be that described prepaid user distributes the quota in the remaining sum allowed band according to the rate corresponding with described new location information.
3. the method for claim 1 is characterized in that: described for corresponding prepaid user distributes after the prepayment information step corresponding with described positional information, described method also comprises:
Described prepayment client sends the second quota update request message to described prepaid server, carries described prepaid user and has used quota information, location information of terminals and renewal reason;
After described prepaid server receives the described second quota update request message, owing to changing the quota that causes, upgrades terminal location because of non-if the described renewal of judgement is former, after then having used quota information that the quota of the current use of described prepaid user is settled accounts, be that described prepaid user distributes the quota in the remaining sum allowed band according to the rate corresponding with the positional information of preserving according to described prepaid user.
4. the method for claim 1 is characterized in that: described for corresponding prepaid user distributes after the prepayment information step corresponding with described positional information, described method also comprises:
If described prepayment client judges that described prepaid user has arrived allocated quota, then send the 3rd quota update request message to described prepaid server, carry the renewal reason that quota arrives;
Described prepaid server discharges described prepaid user after receiving described the 3rd quota update request message.
5. as each described method of claim 1-4, it is characterized in that:
Described prepayment information comprises: the pre-paid type corresponding with described positional information, quota and thresholding.
6. system that realizes packet-based prepayment comprises:
Prepayment client is used for sending access request message, the positional information of carried terminal to prepaid server;
Prepaid server, be used to receive described access request message after, be that corresponding prepaid user distributes the prepayment information corresponding with described positional information.
7. system as claimed in claim 6 is characterized in that:
Described prepayment client also is used for then sending the first quota update request message to described prepaid server if judge that described location information of terminals changes, and carries described prepaid user and has used quota information and new location information;
Described prepaid server, after also being used to receive the described first quota update request message, used quota information that the quota of the current use of described prepaid user is settled accounts according to described prepaid user, and be that described prepaid user distributes the quota in the remaining sum allowed band according to the rate corresponding with described new location information.
8. system as claimed in claim 6 is characterized in that:
Described prepayment client also is used for sending the second quota update request message to described prepaid server, carries described prepaid user and has used quota information, location information of terminals and renewal reason;
Described prepaid server, after also being used to receive the described second quota update request message, owing to changing the quota that causes, upgrades terminal location because of non-if the described renewal of judgement is former, after then having used quota information that the quota of the current use of described prepaid user is settled accounts, be that described prepaid user distributes the quota in the remaining sum allowed band according to the rate corresponding with the positional information of preserving according to described prepaid user.
9. system as claimed in claim 6 is characterized in that:
Described prepayment client also is used for then sending the 3rd quota update request message to described prepaid server if judge that described prepaid user has arrived allocated quota, carries the renewal reason that quota arrives;
Described prepaid server, also be used to receive described the 3rd quota update request message after, discharge described prepaid user.
10. as each described system of claim 6-9, it is characterized in that:
Described prepaid server is an aaa server, and described prepayment client is packet data serving node or home agent.
CN201010199602A 2010-06-10 2010-06-10 Method and system for implementing packet prepayment Pending CN101860634A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010199602A CN101860634A (en) 2010-06-10 2010-06-10 Method and system for implementing packet prepayment
PCT/CN2011/073054 WO2011153871A1 (en) 2010-06-10 2011-04-20 Method and system for implementing packet prepayment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010199602A CN101860634A (en) 2010-06-10 2010-06-10 Method and system for implementing packet prepayment

Publications (1)

Publication Number Publication Date
CN101860634A true CN101860634A (en) 2010-10-13

Family

ID=42946282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010199602A Pending CN101860634A (en) 2010-06-10 2010-06-10 Method and system for implementing packet prepayment

Country Status (2)

Country Link
CN (1) CN101860634A (en)
WO (1) WO2011153871A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011153871A1 (en) * 2010-06-10 2011-12-15 中兴通讯股份有限公司 Method and system for implementing packet prepayment
CN103793812A (en) * 2014-01-20 2014-05-14 中国建设银行股份有限公司 Fee handling device and method for bank transfer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6404869B1 (en) * 1999-01-12 2002-06-11 Worldcom, Inc. Preferred billing rate pre-paid telephone calling card
CN101001161A (en) * 2007-01-23 2007-07-18 中兴通讯股份有限公司 Method for implementing switching of prepayment rate
CN101064896A (en) * 2006-12-29 2007-10-31 华为技术有限公司 Position information transmitting method and counting method, equipment, system based on the position information
CN101106464A (en) * 2006-07-14 2008-01-16 中兴通讯股份有限公司 A method for prepaying code division multi-address packet data service

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860634A (en) * 2010-06-10 2010-10-13 中兴通讯股份有限公司 Method and system for implementing packet prepayment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6404869B1 (en) * 1999-01-12 2002-06-11 Worldcom, Inc. Preferred billing rate pre-paid telephone calling card
CN101106464A (en) * 2006-07-14 2008-01-16 中兴通讯股份有限公司 A method for prepaying code division multi-address packet data service
CN101064896A (en) * 2006-12-29 2007-10-31 华为技术有限公司 Position information transmitting method and counting method, equipment, system based on the position information
CN101001161A (en) * 2007-01-23 2007-07-18 中兴通讯股份有限公司 Method for implementing switching of prepayment rate

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011153871A1 (en) * 2010-06-10 2011-12-15 中兴通讯股份有限公司 Method and system for implementing packet prepayment
CN103793812A (en) * 2014-01-20 2014-05-14 中国建设银行股份有限公司 Fee handling device and method for bank transfer

Also Published As

Publication number Publication date
WO2011153871A1 (en) 2011-12-15

Similar Documents

Publication Publication Date Title
US7764947B2 (en) Online charging management server
US7295830B2 (en) Method and apparatus for charging of communications services
EP1802028B1 (en) A charging network , charging agent apparatus as well and the charging method thereof
CN101112037B (en) Method for providing charging attributes
US20040132449A1 (en) Method and apparatus for permitting a mobile station to operate in a visited network
US8090652B2 (en) System and method for charging in a communications network and a communications network charging server
CN101754162B (en) Method, system and device of controlling risk
KR20050057240A (en) Method, system and telecommunication node for alternative prepaid support
CN110381455B (en) Flow monitoring processing method and related device and system
US8744051B2 (en) Translation of fees for value added services in a communication network
CN100365983C (en) Method for realizing packet data prepayment service
CN101026664A (en) Prepaid business charging method
CN100558135C (en) A kind of method and system that in communication network, realize prepayment service
CN101860634A (en) Method and system for implementing packet prepayment
CN100442697C (en) Charging method and its system
CN105208538A (en) Method and system for carrying out prepaid international roaming voice service in heterogeneous network
US20070217581A1 (en) System and Method for Implementing Prepaid Data Services
CN1848900B (en) Prepayment metering method
CN101212781A (en) Prepaid data service billing method for mobile terminal in roaming state
CN100502292C (en) Method for prepayment service switching in code division multiple address network
CN102244581A (en) Accounting method and device
CN102238508B (en) Online charging method, device and system
CN101094082B (en) Access method for prepaid users
CN109218033A (en) DCC system, switching account charging method, system and storage medium
Hakala et al. RFC 4006: Diameter Credit-Control Application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101013