CN101106464B - A method for prepaying code division multi-address packet data service - Google Patents

A method for prepaying code division multi-address packet data service Download PDF

Info

Publication number
CN101106464B
CN101106464B CN2006101032363A CN200610103236A CN101106464B CN 101106464 B CN101106464 B CN 101106464B CN 2006101032363 A CN2006101032363 A CN 2006101032363A CN 200610103236 A CN200610103236 A CN 200610103236A CN 101106464 B CN101106464 B CN 101106464B
Authority
CN
China
Prior art keywords
user
scp
data service
pdsn
message
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.)
Expired - Fee Related
Application number
CN2006101032363A
Other languages
Chinese (zh)
Other versions
CN101106464A (en
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 CN2006101032363A priority Critical patent/CN101106464B/en
Publication of CN101106464A publication Critical patent/CN101106464A/en
Application granted granted Critical
Publication of CN101106464B publication Critical patent/CN101106464B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a prepayment-realized method for CDMA grouped data services, relating to PDSN, HAAA and SCP, wherein a RADIUS interface is used between HAAA and SCP. The invention includes the steps as following: (a) after SCP receives the message of data service access request transmitted by user terminals, according to the account number information and the current state information of users, the charging mode of the terminals is determined, quota distribution is conducted, and the quota information, along with authentication, is delivered to PDSN via the message; (b) the user terminals are accessed to data network, PDSN notices SCP that the recorded users begin to use data services, and PDSN exerts real-time monitoring on the use of services; (c) when the use of data services is finished, PDSN notices SCP that the use of data services is over, and carrying the practical service use quota of the data service of users, SCP implements real-time batch-price charging for this use of services according to the practical service use of users.

Description

A kind of code division multi-address packet data service is realized the method for pre-payment
Technical field
The present invention relates to Packet data service field in CDMA (Code Division Multiple Access, code division multiple access) the digital mobile cellular telecommunication net, relate in particular to and utilize intelligent network to realize the packet-based prepayment operational approach.
Background technology
For a long time, the main business of telecommunications network is speech business, but along with the continuous development of telecommunication service, it is saturated that speech business is tending towards gradually, presents downward trend in telecommunication service income proportion.On the other hand, data service but shines vitality, presents exponential increase situation, occupies more and more important role in the telecommunication service income.Equally, in cdma network, Packet data service has also obtained increasing application and development.
In the speech business field, the pre-payment operation mode of utilizing intelligent network to realize has obtained great popularization and success.The amount of money that is the user by paying some in advance or buy the fixedly card of face amount modes such as (as rechargeable cards) is set up account in intelligent network, inject certain fund, as the cost of the phone call of oneself.When call setup, decision receives or the refusal calling SCP (service control point) according to the remaining sum on the user account.In calling procedure, carry out real time billing and deduct cost of the phone call from user account.When user balance is not enough, cuts off and call out and play corresponding recorded announcement.This operation mode has reduced the business risk of operator on the one hand effectively, makes also that on the other hand use that the terminal use can be convenient is professional and grasp professional operating position, is a kind of operator and with effective operation mode of approving per family.
At present in the operation of CDMA Packet data service, substantially all be the mode that adopts the back to pay, every account phase is gone out the professional use amount of user's data and is carried out wholesale price by the billing and accounting system counting statistics, and the user pays professional cost of use to the business hall according to this bill at account phase closing day.This mode exists very big arrearage risk concerning operator, also be not easy to terminal use's paying and grasp on the other hand and draw oneself up professional operating position.
The present invention will provide a kind of implementation of the CDMA of realization packet data prepayment service.
Summary of the invention
Technical problem solved by the invention is the implementation method that proposes a kind of CDMA of realization packet data prepayment service, make the terminal use adopt prepayment mode to use the Packet data service of CDMA, the terminal use can utilize existing voice prepaid number of the account, perhaps sets up data service pre-payment number of the account separately and uses Packet data service.
In order to solve the problems of the technologies described above, the invention provides a kind of code division multi-address packet data service and realize the method for pre-payment, relate to network element and comprise group data service node, to call PDSN in the following text, ownership authentication, power are awarded, accounting server, to call HAAA in the following text, service control point, to call SCP in the following text, adopt the remote authentication dial-in user service agreement between described HAAA and the SCP, said method comprising the steps of:
(a) after SCP receives that data service that user terminal sends inserts request message, according to user's account information and current state information, determine the charging way of terminal, and carry out amount and distribute, amount information is sent to PDSN with authentication by message; By increasing the maximum duration of single data service in the message, and to write down current all deducting the fee in advance be frozen expense to SCP in authentication; SCP regularly scans judgement to these records, freezes duration and exceeds the maximum duration of single data service if exist in the record, thinks that then the book keeping operation end loses, and thaw to the frozen fund of this record this moment, and this data service is not chargeed;
(b) user terminal inserts data network, and PDSN notice SCP recording user is brought into use data service, and PDSN monitors in real time to professional operating position;
(c) data service is used and is finished, and end is used in PDSN notice SCP data service, carries the professional actual amount of using of this data service of user, and SCP carries out real-time wholesale price according to user's practical business operating position to this professional use and deducts fees.
Further, said method also can have following characteristics: in the described step (a), described access request message comprises type of service, the User Recognition sign that PDSN access address, user applies are used.
Further, said method also can have following characteristics: described account information comprises user's distinguishing mark, the telephone expenses that prestore, the residing life cycle state of user.
Further, said method also can have following characteristics: described step (a) further comprises:
(a1) user terminal is initiated data service access request message, sends to HAAA by PDSN, after the HAAA authentication is passed through, judges that this user for behind the prepaid user, sends to SCP with this message;
(a2) after SCP receives and inserts request message, if current remaining sum and state according to user account judge that the user can use data service, then according to the tenability of the current place PDSN of user to prepayment service, PDSN position and the definite rate that should adopt of the data service type of being applied for to this user account, carry out expense allocation according to predetermined remaining sum allocation rule, and be converted to flow or duration amount according to rate, this flow or duration amount information adding authentication are sent to PDSN by message via HAAA, and PDSN writes down spendable flow or duration amount.
Further, said method also can have following characteristics: in the described step (a2), less than the data service minimum balance threshold value that sets in advance, think then that this user can not use data service if SCP judges the current remaining sum of this user account; If this user account can use data service, then divide timing carrying out remaining sum, the maximum amount of carrying out data service that this user account can be assigned to is that current overall balance deducts the data service minimum balance threshold value that sets in advance.
Further, said method also can have following characteristics: described step (b) further comprises:
(b1) user terminal inserts data network, brings into use data service, and PDSN sends book keeping operation beginning message to HAAA, notifies the user to bring into use data service, and HAAA judges that the user is the prepaid user, and the beginning forwards of should keeping accounts is given SCP;
(b2) after SCP received book keeping operation beginning message, recording user was brought into use data service, sent book keeping operation beginning request response to PDSN, and PDSN carries out monitoring by traffic monitoring or by duration to the customer service operating position.
Further, said method also can have following characteristics: in the described step (b2), if this use amount of user surpasses pre-assigned flow or duration amount, then PDSN interrupts this data service by force.
Further, said method also can have following characteristics: described step (c) further comprises:
(c1) data service is used and is finished, and PDSN sends the book keeping operation end to HAAA, wherein carries the professional actual flow or the duration that uses of this data service of user, and HAAA judges that this user is the prepaid user, forwards the message to SCP;
(c2) SCP obtains the actual use amount of this data service of user from the book keeping operation end, according to user's practical business use amount and the rate that adopted to the user this professional use carry out real-time wholesale price, ticket goes out to deduct fees;
(c3) the book keeping operation end response message of SCP transmission is transmitted to PDSN by HAAA, and PDSN discharges resource after receiving that book keeping operation finishes response message.
Further, said method also can have following characteristics: in described step (a2), described remaining sum allocation rule is application of single quota or repeatedly quota application, the application of described single quota is that SCP distributes to this data service request with all remaining sums of the current number of the account of user are disposable in step (a2), perhaps distributes to this data service request with all remaining sums of the current number of the account of user are disposable in proportion; The application of described repeatedly quota is only to distribute predefined fixedly amount rather than whole remaining sum at every turn, when distributing amount to use up, PDSN initiates also to report the current traffic carrying capacity of having used simultaneously to the new amount of SCP application by HAAA once more, in step (c2), SCP adds up to carry out wholesale price again after all traffic carrying capacitys of this user account, deduct fees.
Further, said method also can have following characteristics: in described step (a2), after expense allocation is finished, but SCP freezes the cost of use of this sub-distribution in the user account; In described step (c2), SCP compares according to its expense of freezing in actual wholesale price result and the described step (a2), if actual cost of use then carries out extra money to user account less than freezing expense in advance, the difference of freezing expense and actual cost of use is in advance mended into this user account.
Further, said method also can have following characteristics: SCP and select the amount method of salary distribution and charging way according to the charging regulation that the current place PDSN of user and operator determine, can be following any: can use amount to deduct fees by actual use traffic by assignment of traffic; Can use amount to use duration to deduct fees by assignment of traffic by reality; Can use amount to deduct fees by the duration distribution by actual use traffic; Can use amount to use duration to deduct fees by the duration distribution by reality.
Further, said method also can have following characteristics: the user is when using data service, and HAAA regularly sends the Intermediate Charging ICH message to SCP; SCP responds and timer is set this centre message and monitors; If SCP does not receive new middle message in specifying duration, SCP then according to the last time receive in the middle of the business use amount of note expense message reporting carry out wholesale price and deduct fees, finish this data traffic flows.
Further, said method also can have following characteristics: in described step (c2), SCP is when receiving that the book keeping operation end promptly charges request, extract the unique identification of this message, judge whether the literary composition of transmitting messages of attaching most importance to according to this sign, if then judge according to the return messages after handling whether this message was successfully handled, if, then only reply successful result, no longer deduct fees, if as yet not successful execution deduct fees, then carry out the wholesale price fee deduction treatment, and return book keeping operation and finish response message.
Further, said method also can have following characteristics: (a1) is preceding in described step, and SCP is provided with the window threshold value, i.e. the accessible maximum remote authentication dial-in user service message bag number of synchronization SCP; After setting is finished, in step (a) and (b), (c), when SCP whenever newly receives a piece of news, the sliding window value adds 1, dispose to behind this message response, the sliding window value subtracts 1, when reaching the window threshold value with the message bag number of constantly handling, abandons the remote authentication dial-in user service message of newly receiving.
Compare with the back way of paying of available data business, the present invention has realized CDMA packet-based prepayment business, make the terminal use can in time grasp and control professional cost of use, for operator, solved the phenomenon of defaulting during data service is used effectively.On the business realizing, by increasing the interface between HAAA and the SCP, loading data Service Processing Module or adopt the mode of newly-built SCP individual processing data prepayment service in existing voice SCP, little to the existing network influence, functional module is clear, is easy to realize.
Description of drawings
Fig. 1 is a present embodiment system configuration schematic diagram;
Fig. 2 is the message message flow chart of user when carrying out data service.
Embodiment
The base case of present embodiment is: set up data pre-payment number of the account or utilize existing voice prepaid number of the account in intelligent network SCP, and loading data prepayment service processing module, by the interface between definition HAAA and the SCP, realize when the prepaid user uses data service, SCP carries out real-time authentication according to user's pre-payment number of the account situation to the user, authentication is allocated the use amount by the back in advance for this data service, and in professional use, monitor, when user's winding-up uses, carry out real-time wholesale price according to actual operating position and deduct fees.
Below in conjunction with the drawings and specific embodiments the present invention is done and to describe in further detail.
As shown in Figure 1, involved in the present invention to network element comprise PDSN (Packet Data ServingNode, group data service node), HAAA (ownership authentication, power are awarded, accounting server) and SCP (service control point).The prepaid user links to each other with PDSN, PDSN links to each other with SCP with HAAA by IP network, and PDSN can be one or more, and the interface between PDSN and HAAA adopts RADIUS (remote authentication dial-in user service) agreement, between HAAA and SCP, also adopt the RADIUS interface, wherein:
PDSN is responsible for the application of user's quota as prepayment client, the monitoring Quota Usage.At the application of single quota, before the user used data service, PDSN carried out disposable quota application, and the supervisory user operating position, when distributing amount when reaching, discharged corresponding resource, end session; At repeatedly quota application, when user's quota used the thresholding of SCP distribution, PDSN used the quota situation and applies for new quota to SCP report user by HAAA.When account balance used up, PDSN discharged corresponding resource, end session.
HAAA is an authentication server, is responsible for the authentication and authorization of user's routine, and distinguishing the user is prepaid user or postpaid service user, and the data call authentication request of transmitting the prepaid user obtains the authorization message of this user prepayment business to SCP.To the prepaid user, HAAA transmits all authentication request messages, book keeping operation request message, quota request message to SCP.
SCP is as the main network element of realizing the data prepayment service, be equivalent to prepaid server, for the user sets up data pre-payment number of the account, the data prepayment service is handled, carry out alternately with HAAA, finish functions such as authentication, amount distribution, wholesale price and real-time deduction, generation CDR (call record) ticket are carried out in prepaid user's data service use.In addition, SCP can be provided with the default treatment mode to PDSN, promptly for the default treatment mode of PDSN of configuration not, and does not need all PDSN of the whole network are carried out data configuration.
SCP further is loaded with prepaid data library module and data prepayment service processing module.
The prepaid data library module, for the user sets up data service pre-payment number of the account, this number of the account can be existing voice prepaid number of the account, also can be the special-purpose number of the account of data service pre-payment that is separated with the voice prepaid number of the account.Preserve user's distinguishing mark, the telephone expenses that prestore and other association attributeses in this number of the account, the residing life cycle state of user for example, described life cycle state refers to common prepayment service, promptly this pre-payment number of the account is from being created to the life-cycle processes of deletion, comprise new establishment, the term of validity (can normally use), retention period (arrearage), lockup period (long-time arrearage), pool period (waiting to delete), deleted etc., except that life cycle state, the attribute of preserving in the number of the account also comprises whether reporting the loss, term of validity, closing date etc.In addition, in database, also load other relevant system datas, as PDSN attribute, tariff data etc.
Data prepayment service processing module, this module is responsible for finishing the encoding and decoding of radius protocol between SCP and the HAAA, otherwise with radius protocol be converted to internal data structure or, this module also is responsible for when the user applies Packet data service, extract the user prepayment number of the account, according to the user prepayment account information professional use of user's data carried out authentication, allocation of quota, and carry out after data service finishes that wholesale price is deducted fees, functions such as call list and other overloading control.
Accompanying drawing 2 has provided the process chart of data prepayment services, with the application of single quota, and is example in the withholding fee mode.The message that the radius protocol interface relates to has: insert request ACCESS_REQUEST, book keeping operation request (beginning) ACOUNTING_REQUEST (START), book keeping operation request (end) ACOUNTING_REQUEST (STOP).(RFC2865 on the basis of standard radius protocol, RFC2866), in order to realize to use the control of amount (flow or duration) to the user, need expand the radius protocol attribute, define the RADIUS extended attribute respectively and distribute to user's the total flow used attribute with expression, can use the uplink traffic attribute, can use the downlink traffic attribute, can use and activate duration attribute (the activation duration refers to the non-dormancy duration in the network process, and dormancy refers to not carry out in user's certain hour any operation and promptly enters dormancy).Adopt these attributes to carry the amount used of distributing to the user at SCP in to the response message of HAAA.The following (see figure 2) of concrete steps:
Step 110, user terminal is initiated data service and is used request, and PDSN should insert request message (Access-Request) and send to HAAA, and HAAA carries out basic access authentication to the user, judge that according to the record among the HAAA user is the prepaid user, should insert request message and be transmitted to SCP.
Wherein insert and carry the PDSN access address in the request message, the type of service that user applies is used, User Recognition sign (inserting requesting users MDN number of the account (Mobile directory number mobile number book number, i.e. subscriber phone number)) etc. as CALLING-STATION ID indication application.
Step 120, SCP according to user's account information and current state information, determines the charging way of terminal after receiving and inserting request message, and carries out amount and distribute, and amount information is sent to PDSN with authentication by message;
Data prepayment service processing module among the SCP extracts the User Recognition sign from the access request message message that receives, inquire about user account information corresponding in the prepaid data library module or claim the pre-payment account information with this User Recognition sign, (this number of the account can be existing voice prepaid number of the account according to this pre-payment number of the account, also can be the special-purpose number of the account of data service pre-payment that is separated with the voice prepaid number of the account) current remaining sum and state (whether be positioned at the term of validity as life cycle, whether be blocked, report the loss etc.) determine whether the user can use data service.If the user can use data service, then data prepayment service processing module is according to the tenability of the current place PDSN of user to prepayment service, PDSN position (local or roaming) and the data service type of being applied for, definite rate that should adopt (rate is a relative fixed value that is provided with by system) to this user account, and it is kept in the database, determine currently should adopt the application of single quota (the quota request times is that SCP is provided with PDSN in advance, the application of single quota is only to support the application of single quota at user's a data service promptly, SCP distributes to this data service request with all remaining sums of the current number of the account of user are all disposable, perhaps pro-rata, for example 80% of current remaining sum is disposablely distributed to this data service and used), data prepayment service processing module is carried out expense allocation according to predetermined remaining sum allocation rule to this data service access request of user, and is converted to flow or duration amount according to the determined rate in front.But SCP freezes the cost of use that this distributed from user account, by HAAA and PDSN authentication is sent to user terminal by message, carry in the message and distribute to spendable flow of this data service of user or duration amount, in message transmitting process, PDSN writes down spendable flow or duration amount.
SCP is by registering all the PDSN positions in the network, to determine which PDSN ownership local network, which PDSN ownership strange land network.So that the user is being used data service carry out that amount is distributed and during wholesale price, is taking different rates, to realize that the user is local and can adopt different rate rates when roaming according to the PDSN position at the current place of user.
Because Packet data service comprises various type of service, might take different rate in operation.The different tariff rate that each type of service that need set in advance SCP adopts can define the operation tariff policy separately to realize different types of service.For example, the different rate of the professional employing of CARD business, WAP business, BREW business and JAVA is set respectively, when the authentication request message of receiving HAAA or charging request message, SCP extracts its type of service of carrying, and determine the rate that this data service should be adopted according to type of service, adopt this rate to carry out wholesale price.
Step 130, user terminal inserts data network, brings into use Packet data service, and PDSN sends book keeping operation beginning message to HAAA, notifies the user to bring into use data service, and HAAA judges that the user is the prepaid user, and the beginning forwards of should keeping accounts is given SCP;
Step 140, after SCP received book keeping operation beginning message, recording user was brought into use data service, sent book keeping operation beginning request response to HAAA, HAAA transmits this message and gives PDSN, and PDSN monitors the customer service operating position in real time according to the amount used that writes down before;
Flow and duration amount according to record judge that if in distributing the amount scope, the user is the end data business voluntarily, then carry out next step, if the user this use amount to surpass pre-assigned amount, then PDSN interrupts this data service by force, carries out next step;
SCP can register the prepayment service tenability of each PDSN in the network in advance, to determine which kind of monitor mode PDSN supports: still press the duration monitoring by traffic monitoring.
Step 150, data service are used and are finished, and PDSN sends the book keeping operation end to HAAA, wherein carry the professional actual amount (flow or duration) of using of this data service of user, and HAAA judges that this user is the prepaid user, forwards the message to SCP;
Step 160, SCP obtains the actual use amount of this data service of user from the book keeping operation end, according to the rate that user's practical business uses amount and front to determine this professional use of user is carried out real-time wholesale price, ticket goes out to deduct fees, the expense that SCP freezes according to actual wholesale price result and front compares, if actual cost of use is less than freezing expense in advance, then user account is carried out extra money, the difference of freezing expense and actual cost of use is in advance mended into this user account, SCP sends book keeping operation and finishes response message to HAAA, and HAAA transmits this message and gives PDSN;
When the user uses data service, SCP selects the amount method of salary distribution and charging way according to the charging regulation that the current place PDSN of user and operator determine, can be following any: can use amount to deduct fees by actual use traffic by assignment of traffic; Can use amount to use duration to deduct fees by assignment of traffic by reality; Can use amount to deduct fees by the duration distribution by actual use traffic; Can use amount to use duration to deduct fees by the duration distribution by reality.
Step 170, PDSN discharges resource after receiving that book keeping operation finishes response message, and flow process finishes.
To be SCP divide timing in that the user is carried out amount to present embodiment, current expense of distributing is taked to deduct in advance mode, promptly when receiving the user data service authentication request and distributing amount for the user, in user account, deduct the expense of being distributed in advance, after user data service finishes, according to actual use amount user account is carried out extra money or mends the button operation again, this processing mode is when at user offline, when not receiving the book keeping operation end message because of network or other reasons SCP, the expense that causes the user to deduct is in advance temporarily freezed, can't be used immediately.
When adopting the withholding fee mode, for preventing to lose and cause withholding fee with frozen because of the book keeping operation end message, can thaw in the following ways: in step (120), SCP passes through in the message in authentication, increase the attribute single maximum duration of data service (session_timeout) and come the maximum duration of limited subscriber single data service, this value can be provided with according to operator's needs.SCP carries out record to current all deducting the fee in advance (frozen), and regularly these records are scanned judgement, if exist in the record and freeze the record that duration exceeds the session-timeout value of system definition, then think this user abnormal off-line (book keeping operation end message lose), thaw to the frozen fund of this record this moment, and this data service is not chargeed.Can reduce so on the one hand because of accounting completion packet and lose the operator's loss that to charge and be caused, can in time thaw on the other hand, improve user's satisfaction user's frozen fund.Operator can adjust the value of parameter s ession_timeout as required.
Above-mentioned withholding fee mode is that the distribution amount on the user account is freezed in advance; use the end back to use amount to take the mode that returns the overcharge and demand payment of the shortage again according to reality; its advantage is that the user is professional as speech as if using other in data service (as online) process; can not use frozen part more so; do not have overdraw, shortcoming be if network can cause unusually the user freeze the part thaw untimely.Except the withholding fee mode, the mode of deducting fees after prepayment mode also comprises, promptly the number of the account fund not being carried out in user data service operation freezes in advance, and when receiving the book keeping operation end message, carry out the wholesale price fee deduction treatment according to the actual operating position of user, as at an internet behavior, when beginning to surf the Net, do not freeze the distribution amount on the user account, use amount to deduct institute's cost of use immediately according to reality but finish the back in online.The difference of the mode of deducting fees therefore, and withholding fee mode is allocating in advance in the processing whether amount freeze.
SCP can be provided with current expense of distributing is taked the mode of deducting fees after deducting after the data service end again.This mode can be avoided losing the distribution of fund that causes because of the book keeping operation end message effectively and temporarily be freezed situation, but when the user carries out data service, during as if use speech business or other business, might cause the user account overdraw.
When after adopting, deducting fees mode, in order to reduce user's number of the account overdraw situation because of using speech or other business to cause in carrying out the data service process as far as possible, can to professional use of user's data the minimum balance threshold value be set in advance, the remaining sum of promptly having only the user in step 120 just can be used data service during greater than this minimum threshold; If this user account can use data service, then can distribute to the maximum amount that the user carries out data service and be: current overall balance deducts the data service minimum balance threshold value of system definition.
In another embodiment, SCP can be set to support repeatedly quota application by PDSN, when PDSN supports repeatedly quota application, SCP can adopt the mode of repeated dispensing amount to finish allocation of quota, promptly only distribute predefined fixedly amount rather than whole remaining sum at every turn, when distributing amount to use up, PDSN initiates also to report the current traffic carrying capacity of having used simultaneously to the new amount of SCP application by HAAA once more, in step 160, SCP adds up to carry out wholesale price again after all use traffic carrying capacitys of this user account, deduct fees.Disposable quota application way is compared repeatedly quota application way, message between SCP and HAAA and the PDSN is simpler, and repeatedly the amount application can reduce to lose because of the single accounting completion packet and causes the loss that can't charge owing to repeatedly report in the data service process and used amount.
Owing to the Network Transmission reason, the message anomaly (for example message dropping or order are unusual etc.) between HAAA and the SCP can appear, and SCP should be able to handle these abnormal conditions.When chargeing the beginning message dropping, SCP should be able to correctly deduct fees according to flow that carries in the accounting completion packet of receiving or duration.Generally speaking, use SCP in the data service process can regularly receive Intermediate Charging ICH message the user from HAAA, SCP tackles this centre message and responds, writes down and timer is set and monitor, if in specifying duration, do not receive new middle message, then can think the book keeping operation end message lose, SCP according to the last time receive in the middle of the business of note expense message reporting use amount to carry out wholesale price to deduct fees, finish this data traffic flows.SCP can write down all Intermediate Charging ICH messages, or only writes down the last Intermediate Charging ICH message.
SCP need judge the message literary composition of transmitting messages of whether attaching most importance to according to the unique identification in the message (can be that the book keeping operation end message also can be book keeping operation beginning or authentication message), to prevent because of receiving that a plurality of repeating transmission messages repeat to deduct fees to the user.Promptly in step 160, SCP receives when the book keeping operation end promptly charges request, at first extract the unique identification of this message, according to this sign recurrence literary composition of delivering newspaper that judges whether to attach most importance to, if, then judge according to the return messages after handling whether this message was successfully handled, if, then only reply successful result, no longer deduct fees.If successful execution is not deducted fees as yet, then carry out the wholesale price fee deduction treatment, and return book keeping operation according to operating result and finish response message.
SCP can carry out overloading control at data service, when the data service use amount reaches the overloading control thresholding, enables overloading control automatically according to the rule that sets in advance.SCP adopts the sliding window control mode, before execution in step 110, the window threshold value is set, and for example is set to 100, represents that promptly the accessible maximum RADIUS message bag number of synchronization SCP is 100.Begin to carry out pre-paying method of the present invention afterwards, SCP whenever receives a piece of news, and the sliding window value adds 1, and when disposing to behind this message response, the sliding window value subtracts 1.When having reached the window threshold value, the RADIUS message of newly receiving is abandoned with the message bag number of constantly handling.
Should be understood that; concerning the those of ordinary skill in field, the technology of the present invention place; can be equal to accordingly according to technical scheme of the present invention and design thereof and change or replace, and all these changes or replacement, all should belong to the protection range of claims of the present invention.

Claims (14)

1. a code division multi-address packet data service is realized the method for pre-payment, relate to network element and comprise group data service node, to call PDSN in the following text, ownership authentication, power are awarded, accounting server, to call HAAA in the following text, service control point is to call SCP in the following text, adopt the remote authentication dial-in user service agreement between described HAAA and the SCP, said method comprising the steps of:
(a) after SCP receives that data service that user terminal sends inserts request message, according to user's account information and current state information, determine the charging way of terminal, and carry out amount and distribute, amount information is sent to PDSN with authentication by message; By increasing the maximum duration of single data service in the message, and to write down current all deducting the fee in advance be frozen expense to SCP in authentication; SCP regularly scans judgement to these records, freezes duration and exceeds the maximum duration of single data service if exist in the record, thinks that then the book keeping operation end loses, and thaw to the frozen fund of this record this moment, and this data service is not chargeed;
(b) user terminal inserts data network, and PDSN notice SCP recording user is brought into use data service, and PDSN monitors in real time to professional operating position;
(c) data service is used and is finished, and end is used in PDSN notice SCP data service, carries the professional actual amount of using of this data service of user, and SCP carries out real-time wholesale price according to user's practical business operating position to this professional use and deducts fees.
2. the method for claim 1 is characterized in that, in the described step (a), described access request message comprises type of service, the User Recognition sign that PDSN access address, user applies are used.
3. the method for claim 1 is characterized in that, described account information comprises user's distinguishing mark, the telephone expenses that prestore, the residing life cycle state of user.
4. the method for claim 1 is characterized in that, described step (a) further comprises:
(a1) user terminal is initiated data service access request message, sends to HAAA by PDSN, after the HAAA authentication is passed through, judges that this user for behind the prepaid user, sends to SCP with this message;
(a2) after SCP receives and inserts request message, if current remaining sum and state according to user account judge that the user can use data service, then according to the tenability of the current place PDSN of user to prepayment service, PDSN position and the definite rate that should adopt of the data service type of being applied for to this user account, carry out expense allocation according to predetermined remaining sum allocation rule, and be converted to flow or duration amount according to rate, this flow or duration amount information adding authentication are sent to PDSN by message via HAAA, and PDSN writes down spendable flow or duration amount.
5. method as claimed in claim 4 is characterized in that, in the described step (a2), less than the data service minimum balance threshold value that sets in advance, thinks then that this user can not use data service if SCP judges the current remaining sum of this user account; If this user account can use data service, then divide timing carrying out remaining sum, the maximum amount of carrying out data service that this user account can be assigned to is that current overall balance deducts the data service minimum balance threshold value that sets in advance.
6. method as claimed in claim 4 is characterized in that, described step (b) further comprises:
(b1) user terminal inserts data network, brings into use data service, and PDSN sends book keeping operation beginning message to HAAA, notifies the user to bring into use data service, and HAAA judges that the user is the prepaid user, and the beginning forwards of should keeping accounts is given SCP;
(b2) after SCP received book keeping operation beginning message, recording user was brought into use data service, sent book keeping operation beginning request response to PDSN, and PDSN carries out monitoring by traffic monitoring or by duration to the customer service operating position.
7. method as claimed in claim 6 is characterized in that, in the described step (b2), if this use amount of user surpasses pre-assigned flow or duration amount, then PDSN interrupts this data service by force.
8. method as claimed in claim 6 is characterized in that, described step (c) further comprises:
(c1) data service is used and is finished, and PDSN sends the book keeping operation end to HAAA, wherein carries the professional actual flow or the duration that uses of this data service of user, and HAAA judges that this user is the prepaid user, forwards the message to SCP;
(c2) SCP obtains the actual use amount of this data service of user from the book keeping operation end, according to user's practical business use amount and the rate that adopted to the user this professional use carry out real-time wholesale price, ticket goes out to deduct fees;
(c3) the book keeping operation end response message of SCP transmission is transmitted to PDSN by HAAA, and PDSN discharges resource after receiving that book keeping operation finishes response message.
9. method as claimed in claim 8, it is characterized in that, in described step (a2), described remaining sum allocation rule is application of single quota or repeatedly quota application, the application of described single quota is that SCP distributes to this data service request with all remaining sums of the current number of the account of user are disposable in step (a2), perhaps distributes to this data service request with all remaining sums of the current number of the account of user are disposable in proportion; The application of described repeatedly quota is only to distribute predefined fixedly amount rather than whole remaining sum at every turn, when distributing amount to use up, PDSN initiates also to report the current traffic carrying capacity of having used simultaneously to the new amount of SCP application by HAAA once more, in step (c2), SCP adds up to carry out wholesale price again after all traffic carrying capacitys of this user account, deduct fees.
10. method as claimed in claim 8 is characterized in that, in described step (a2), after expense allocation is finished, but SCP freezes the cost of use of this sub-distribution in the user account; In described step (c2), SCP compares according to its expense of freezing in actual wholesale price result and the described step (a2), if actual cost of use then carries out extra money to user account less than freezing expense in advance, the difference of freezing expense and actual cost of use is in advance mended into this user account.
11. method as claimed in claim 8, it is characterized in that, SCP selects the amount method of salary distribution and charging way according to the charging regulation that the current place PDSN of user and operator determine, can be following any: can use amount to deduct fees by actual use traffic by assignment of traffic; Can use amount to use duration to deduct fees by assignment of traffic by reality; Can use amount to deduct fees by the duration distribution by actual use traffic; Can use amount to use duration to deduct fees by the duration distribution by reality.
12. method as claimed in claim 8 is characterized in that, the user is when using data service, and HAAA regularly sends the Intermediate Charging ICH message to SCP; SCP responds and timer is set this centre message and monitors; If SCP does not receive new middle message in specifying duration, SCP then according to the last time receive in the middle of the business use amount of note expense message reporting carry out wholesale price and deduct fees, finish this data traffic flows.
13. method as claimed in claim 8 is characterized in that, in described step (c2), SCP extracts the unique identification of this message when receiving that the book keeping operation end promptly charges request, judge whether the literary composition of transmitting messages of attaching most importance to according to this sign, if, then judge according to the return messages after handling whether this message was successfully handled, if then only reply successful result, no longer deduct fees, if successful execution is not deducted fees as yet, then carry out the wholesale price fee deduction treatment, and return book keeping operation and finish response message.
14. method as claimed in claim 8 is characterized in that, (a1) is preceding in described step, and SCP is provided with the window threshold value, i.e. the accessible maximum remote authentication dial-in user service message bag number of synchronization SCP; After setting is finished, in step (a) and (b), (c), when SCP whenever newly receives a piece of news, the sliding window value adds 1, dispose to behind this message response, the sliding window value subtracts 1, when reaching the window threshold value with the message bag number of constantly handling, abandons the remote authentication dial-in user service message of newly receiving.
CN2006101032363A 2006-07-14 2006-07-14 A method for prepaying code division multi-address packet data service Expired - Fee Related CN101106464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101032363A CN101106464B (en) 2006-07-14 2006-07-14 A method for prepaying code division multi-address packet data service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101032363A CN101106464B (en) 2006-07-14 2006-07-14 A method for prepaying code division multi-address packet data service

Publications (2)

Publication Number Publication Date
CN101106464A CN101106464A (en) 2008-01-16
CN101106464B true CN101106464B (en) 2011-04-20

Family

ID=39000167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101032363A Expired - Fee Related CN101106464B (en) 2006-07-14 2006-07-14 A method for prepaying code division multi-address packet data service

Country Status (1)

Country Link
CN (1) CN101106464B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447878B (en) * 2008-12-31 2014-11-05 中兴通讯股份有限公司 Charging method for prepayment service and system thereof
CN101860634A (en) * 2010-06-10 2010-10-13 中兴通讯股份有限公司 Method and system for implementing packet prepayment
CN101984650B (en) * 2010-11-09 2014-12-31 中兴通讯股份有限公司 Charging method and system for international virtual private network (IVPN) prepaid service
CN103974221B (en) * 2013-01-25 2018-10-26 中国移动通信集团广东有限公司 The distribution method and device of packet domain real time billing flow quota
CN104469711B (en) * 2013-09-23 2019-06-11 中兴通讯股份有限公司 Unstructured supplementary data traffic monitoring method and device
CN106533705A (en) * 2015-09-15 2017-03-22 中国移动通信集团公司 Data service flow quota allocation method and data service flow quota allocation device
CN105721173A (en) * 2016-04-05 2016-06-29 北京金捷报文化传媒有限公司 Game data transmission method, device and system
CN108830703B (en) * 2018-06-26 2021-05-04 上海数据交易中心有限公司 Quota control system and quota service system
CN111327431B (en) 2018-12-14 2022-11-22 华为技术有限公司 Charging policy obtaining method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464662A (en) * 2002-06-06 2003-12-31 华为技术有限公司 Mobile phone user authentication charging method supporting grouped data prepayment characteristic
CN1567794A (en) * 2003-07-01 2005-01-19 华为技术有限公司 Method for implementing packet pre-payment in CDMA
CN1780347A (en) * 2004-11-18 2006-05-31 华为技术有限公司 Packet prepayment service realization based on flow/time length and service quality

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464662A (en) * 2002-06-06 2003-12-31 华为技术有限公司 Mobile phone user authentication charging method supporting grouped data prepayment characteristic
CN1567794A (en) * 2003-07-01 2005-01-19 华为技术有限公司 Method for implementing packet pre-payment in CDMA
CN1780347A (en) * 2004-11-18 2006-05-31 华为技术有限公司 Packet prepayment service realization based on flow/time length and service quality

Also Published As

Publication number Publication date
CN101106464A (en) 2008-01-16

Similar Documents

Publication Publication Date Title
CN101106464B (en) A method for prepaying code division multi-address packet data service
CN1127844C (en) Method for handling parallel transactions on telephone pre-paid accounts
CA2250127C (en) Universal telecommunications services account
KR101160377B1 (en) Converged prepaid and postpaid charging
KR101411329B1 (en) Front-end charging system that generates charging data per entity having a revenue share
US8090346B2 (en) Controlling a shutoff/restart of mobile virtual network operations prepaid services
US20020068546A1 (en) Telecommunications
US8605874B2 (en) Per-session dynamic charging caps in communication networks
CN1859534B (en) Charging method and system for traffic service
MXPA03000649A (en) Multiple virtual wallets in wireless devices.
CN102144372A (en) Online charging correlation in IMS networks
EP1095499B1 (en) Method and apparatus for performing a charging limit control
US20100145838A1 (en) Method, system, and apparatus for opening accounting data capabilities
US8265243B2 (en) Unrestricted calling circle for telephone service
CN101022488B (en) Charge metering method, system and account period switching module
CN107547762A (en) A kind of charging method and charge system
CN101001161A (en) Method for implementing switching of prepayment rate
CN101984650B (en) Charging method and system for international virtual private network (IVPN) prepaid service
CN101895857A (en) Telecommunication service application amount-based real-time charging method and system thereof
CN101562775B (en) Method for realizing prepayment intelligent network service of real-time accumulated donation and system thereof
CN1867023B (en) Method and apparatus for realizing multicast service pre-payment/later-payment
CN100521720C (en) Packet prepayment service realization based on flow/time length and service quality
CN101827348A (en) Control method and equipment for user credit in prepayment service and service support system
CN100527675C (en) Method for implementing prepayment service
CN112153585B (en) Charging system, method, storage medium and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110420

Termination date: 20150714

EXPY Termination of patent right or utility model