[go: up one dir, main page]

WO2005083933A1 - Method and systems for implementing data service prepayment in a cdma network - Google Patents

Method and systems for implementing data service prepayment in a cdma network Download PDF

Info

Publication number
WO2005083933A1
WO2005083933A1 PCT/CN2004/001571 CN2004001571W WO2005083933A1 WO 2005083933 A1 WO2005083933 A1 WO 2005083933A1 CN 2004001571 W CN2004001571 W CN 2004001571W WO 2005083933 A1 WO2005083933 A1 WO 2005083933A1
Authority
WO
WIPO (PCT)
Prior art keywords
aaa
pdsn
scp
fee
trigger
Prior art date
Application number
PCT/CN2004/001571
Other languages
French (fr)
Chinese (zh)
Inventor
Zheng Wang
Zhipeng Zheng
Jie Zhang
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2005083933A1 publication Critical patent/WO2005083933A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J13/00Code division multiplex systems

Definitions

  • the present invention relates to data service prepayment of a mobile communication system, and particularly to a system and method for implementing data service prepayment in a code division multiple access (CDMA) network.
  • CDMA code division multiple access
  • the CDMA network in addition to the traditional voice services, data services are also rapidly developing, and their status and role are becoming more and more important.
  • the existing CDMA network it can be divided into a voice network and a data network according to different service characteristics.
  • the data network is also called a packet network.
  • the CDMA core switching network uses different devices for the voice network and the data network, in which voice service signaling is transmitted through the No. 7 signaling network, and data service signaling is transmitted through the Internet Protocol (IP) network. Since the No. 7 signaling network and the IP network are two relatively independent networks, the payment of voice services and the payment of data services are also relatively independent.
  • IP Internet Protocol
  • FIG. 1 shows a basic structure of an existing CDMA 2000 network.
  • a mobile station is connected to a wireless network (RN), where the RN includes a base station controller (BSC), a base transceiver station (BTS), and a packet control function (PCF) module.
  • the BSC / BTS is connected to a mobile switching center (MSC) for controlling the user's voice service.
  • the MSC is connected to the home location register (HLR) and the intelligent network service control point (SCP) through the SS7 network, and passes The Wireless Intelligent Network (WIN) protocol interacts with the SCP to implement authentication and charging of pre-paid user accounts.
  • HLR home location register
  • SCP intelligent network service control point
  • WIN Wireless Intelligent Network
  • the voice network can provide users with prepayment, that is, the user can first purchase a phone card including a certain amount to establish an account, and then before each call, the voice network authenticates the user and determines that the user is prepaid. After paying a service user and the user ’s phone card has sufficient balance, the user ’s phone access is allowed, and according to the user ’s The voice call time is deducted from the user account in real time.
  • the operations of account creation, authentication, and deduction here are all completed in SCP.
  • the MS accesses the packet data service node (PDSN) through the PCF module in the RN.
  • the PDSN is an access gateway that provides services for the MS to access the Internet through IP access. It is specifically responsible for managing user status, Forward user data and assign an IP address to the MS.
  • the PDSN is connected to the home authentication, authorization, and accounting server (AAA) through the IP network. AAA is used to complete the authentication, authorization, and accounting functions of the user account.
  • AAA is used to complete the authentication, authorization, and accounting functions of the user account.
  • communication operators also hope to provide prepaid services, which can guarantee the charging of data services and thus guarantee the operating income of communication operators.
  • an object of the present invention is to provide a system for prepaid data services in a CDMA network, so that a communication operator can provide a prepaid service to a data service user, thereby ensuring the data service operation income of the communication operator.
  • Another object of the present invention is to provide a method for implementing prepayment of data services in a CDMA network, so that a communication operator can provide a prepayment service to a data service user, thereby guaranteeing the data service operation income of the communication operator.
  • a system for implementing prepayment of data services in a CDMA network includes two parts, a voice network and a data network, and the voice network includes a service control point SCP for storing user account information and performing a chargeback operation, the data network Including the PDSN and AAA, and the SCP is connected to the AAA through a signaling transmission link, and receives After the AAA charging request, a certain fee is allocated from the corresponding user account, and the allocated fee is returned to the AAA.
  • the AAA is further used to control the data service of the PDSN access user according to the fee from the SCP.
  • the method for implementing data service prepayment in a CDMA network includes at least:
  • the PDSN After receiving the data service request from the mobile terminal, the PDSN sends an access request to AAA. After determining that the mobile terminal user is a prepaid user of the data service, the AAA sends an authentication to the SGP through the signaling transmission link.
  • c SCP allocates a fee from the user's account after successfully authenticating the mobile terminal, and then returns the allocated fee to AAA through the signaling transmission link;
  • AAA instruction PDSN allows mobile terminals to access, and controls mobile terminals to use data services according to the cost allocated by SCP.
  • the present invention establishes a signaling transmission link between the voice network SCP of the existing mobile communication system and the AAA of the data network, thereby establishing
  • the data network user can use his voice network pre-paid account to pre-pay his own data service, thereby implementing a pre-paid solution for the data service user, ensuring the operating income of the communication operator, and promoting communication.
  • the enthusiasm of operators to develop data services has greatly accelerated the popularity and development of mobile communication data services.
  • the data service pre-paid user can use his voice network pre-paid account to pre-pay his own data service, so he does not need to register and set up separate accounts for the data service and voice service, thereby greatly improving the data service user's use of data services Convenience.
  • the invention proposes to charge according to the time, charge according to the flow rate and charge according to the length of the flow.
  • Three methods allow communication operators to flexibly provide data services, and users of data services can flexibly choose a charging method according to their own circumstances, thereby facilitating communication operators and users at the same time.
  • the SCP when a user requests to use a data service, the SCP first allocates a certain amount from the user account, and then the user uses the data service within the limit of the allocated amount. When the amount corresponding to the data service used by the user is close to the limit of the allocated amount, the SCP is requested again to allocate a certain amount, and so on. If at some time when the SCP is requested to allocate a certain amount, the SCP finds that there is not enough balance in the user's account, and the user is stopped from using the data service. Of course, if there is not enough balance in the user account when the amount is allocated for the first time, the user is directly rejected from using the data service.
  • the present invention realizes complete real-time deduction, successfully protects the interests of the data service provider, and provides a more sufficient guarantee for the development of the data service.
  • the present invention can return the unused part of the allocated amount to the user account, which fully protects the user's interests from being lost.
  • Figure 1 shows the basic structure of a CDMA 2000 network in the prior art.
  • Fig. 2 is a basic structure of a first embodiment of a system for realizing data service prepayment in a CDMA network according to the present invention.
  • Fig. 3 is a message flow chart of charging according to the first embodiment according to the first embodiment, in which the suspension of the data service is caused by the insufficient account balance of the user.
  • Fig. 4 is a message flow chart of charging according to the duration according to the first embodiment, wherein the stop of the data service is caused by the user actively terminating the use of the data service.
  • Fig. 5 is a flow chart of a flow metering message according to the first embodiment, in which the suspension of the data service is caused by the insufficient account balance of the user.
  • FIG. 6 is a message flow chart of charging according to a flow rate according to a first embodiment, in which a data service The suspension was caused by the user's voluntary termination of the use of data services.
  • FIG. 7 is a message flow chart of flow-rate-based charging according to the first embodiment, in which the suspension of data services is caused due to insufficient user account balance.
  • FIG. 8 is a message flow chart of charging according to duration according to the first embodiment, in which the stop of the data service is caused by the user actively terminating the use of the data service.
  • Figure 9 is the processing flow when dormant handover across PDSN and hard handover between PDSNs that do not support fast handover.
  • Fig. 10 is a basic structure of a second embodiment of a system for realizing prepayment of data services in a CDMA network according to the present invention.
  • the present invention In order to enable the information of the voice prepaid account to be transmitted to the data service network, the present invention first establishes a connection between the network device of the voice network and the network device of the data network, that is, a signaling transmission link capable of message interaction is established. And newly defined a set of message structures that interact between network devices in the voice network and network devices in the data network.
  • the system structure of the first embodiment of the system It can be seen that, compared with FIG. 1, the present invention establishes a connection between the SCP of the voice network and the AAA of the packet network, that is, a signaling transmission link is established.
  • the present invention draws on the existing TCP / IP protocol and extends it, and uses the extended TCP / IP protocol as the protocol used for the connection.
  • the TCP / IP protocol is extended by extending the RADIUS protocol.
  • the present invention also needs to modify the existing SCP, AAA and PDSN, and modify the signaling between PDSN and AAA accordingly.
  • the following will detail the new signaling transmission link of the present invention and the modification of existing network equipment and protocols. Detailed explanation.
  • the PDSN On the basis of the original function, the PDSN according to the present invention further adds the following functions: reporting to the AAA whether the prepaid service is supported in an Access Request message; managing and maintaining triggers configured for each user, and When a trigger condition is met, an accounting request message (Accounting Request) is sent to the AAA; according to the AAA request, a session is terminated and the resource usage is reported, so that the AAA completes the accounting.
  • Accounting Request accounting request message
  • the AAA further adds the following functions on the basis of the original functions: storing charging policies and user configuration data for pre-paid services; applying a part of the fee to the SCP for pre-paid users; determining that the users can be maintained according to the charging policies According to the requirements of the communication operator or other reasons, such as handoff, actively send a message to the PDSN to terminate a session on the PDSN; store the IP address of the PDSN and according to the IP address Change to determine if a sleep state has occurred.
  • the following functions are further added: storing the user account information of the data service pre-paid user; verifying whether the data service pre-paid user account is in a valid state; according to a predetermined fee allocation policy Allocate a fee for AAA; process the fee returned by AAA to the SCP; deduct real-time user account usage fees for data services in real time.
  • the PDSN In order to support the prepayment of data services, the PDSN needs to report to the AAA whether the prepayment service is supported in the access request message Access Request sent to the AAA. After receiving the access request message from the PDSN, the AAA determines whether the user is a prepaid user according to the user configuration data of the user, and if so, notifies the PDSN in an access request acceptance message (Access Accept) sent to the PDSN Whether the user needs a prepaid service feature is achieved by adding a field shown in Table 1 to the message. Access Request Access Accept Access Reject propertyType value description
  • the attribute Pre-Paid-Enabled shown in Table 1 is used when the AAA notifies the PDSN whether the user needs to activate the prepaid service feature. This attribute value can appear in the Access Accept message. If this attribute is not included, the PDSN does not activate the prepaid feature.
  • the type of the attribute Pre-Paid-Enabled is 26/100, the length is 4 bytes, and the values can be 0 and 1, where 0 represents that the pre-paid feature is not activated and 1 represents that the pre-paid feature is activated.
  • the length of the Remanent-Volume is 4 bytes, which is used to control the number of bytes that can be forwarded by the current connection, which specifically indicates how many kilobytes can be forwarded by the connection. , Including two directions of receiving and sending. Without this parameter, the PDSN will not disconnect the connection because it uses too much traffic. This parameter appears in the Accounting Request Response message (Accounting Response).
  • Session-Time-Remaining is 6 bytes in length and is used by AAA to control the duration that the PDSN can maintain the session activation status within the current segment reservation fee, which specifically indicates that the connection is in session activation within the current segment reservation fee. How long the state can be maintained. If this parameter does not appear, the PDSN will not disconnect the connection because it is used for too long. This parameter appears in the Accounting Request Response message (Accounting Response). In addition, it should be noted that this parameter is different from the standard RADIUS parameter Session-Timeout, which indicates that the PPP session state can be maintained within the current segment reservation fee. These two parameters exist because the channel connection of CDMA 2000 has two states: PPP session state and session activation state. The rates in these two states are different, so AAA needs to make corresponding budgets based on different rates. .
  • the length of the Tariff-Switch-Duration is 4 bytes. It is used by the AAA to notify the PDSN device of the rate switching point, and specifically indicates the time interval at which the rate switching is to be performed. The time interval is counted from the last time the connection sent a charging request message for this connection. If this parameter does not appear, the PDS does not consider it necessary to perform rate switching.
  • the Trigger-Type is 4 bytes in length and is used to indicate the trigger type for reporting an Accounting Request (Interim-Update) message.
  • the charging cycle trigger is used to report AAA when the charging cycle is reached, which is applicable to all charging methods.
  • the rate switching trigger is used to report AAA when the rate switching point is reached, which is applicable to all charging methods.
  • the session activation trigger is used to The segmentation reservation fee can be maintained for AAA during the duration of the session activation. It is suitable for charging according to the duration.
  • the traffic trigger is used to segment the reservation fee and can be reported to the AAA after the available traffic is exhausted within the maintenance period. Charged by traffic. As for the charging method, the present invention will be described in detail later.
  • Session-Cont is 6 bytes in length and is used to indicate whether the session continues. This attribute appears in Accounting Response. If the value of this attribute is 0, which indicates that the session is terminated, the PDSN immediately reports an Accounting Request (Stop) to the AAA, and terminates the session. If the value of this attribute is 1 indicating that the session is continued, or the attribute does not appear in the Accounting Response, the PDSN does not terminate the session, so that the session continues.
  • the above describes the modification of the signaling between the PDSN and the AAA, and the following describes the signaling interaction between the AAA and the SCP, so as to realize the cooperative work of the AAA and the SCP, and complete the prepayment of the data service.
  • the present invention extends the existing RADIUS protocol, that is, newly defines a message structure for interaction between AAA and SCP.
  • the message structure includes a message header and a message body.
  • the structure of the message header is shown in Table 3. It includes the command length and command identifier.
  • Table 3 As shown in Table 4, there are four types of commands: an authentication request message, an authentication request response message, an accounting request message, and an accounting request response message, and their command identifiers are 1, 2, 3, and 4, respectively.
  • Table 4 As shown in Table 4, there are four types of commands: an authentication request message, an authentication request response message, an accounting request message, and an accounting request response message, and their command identifiers are 1, 2, 3, and 4, respectively.
  • Accounting-Response 4 Charge Request Response Message The following describes the message body structure of each command. Authentication request message
  • the Authentication Request is sent by the AAA to the SCP to request authentication and apply for fees.
  • the extended attributes are shown in Table 5.
  • the Authentication Response message is returned by the SCP to the AAA, indicating that the access is accepted or rejected. If accepted, the session fee will be allocated at the same time. Its extended attributes are shown in Table 6. Table 6
  • the Accounting Request is actively sent by the AAA to the SCP, requesting real-time deduction of the balance from the user account.
  • the extended attributes are shown in Table 7.
  • SessionID 26/121 4 INTEGER Session ID required (extension)
  • AAA-Address 26/123 up to 15 CHAR AAA server optional
  • AAA-ID 26/124 4 INTEGER AAA server optional
  • SessionID 26/121 4 INTEGER Session ID required (extension)
  • AAA-Address 26/123 up to 15 CHAR AAA server optional
  • AAA-ID 26/124 4 INTEGER AAA server optional
  • charging according to the duration means that a certain amount of money is converted into a certain length of time each time.
  • the user can use the data service within this time length. If the time length is exceeded, the data service is stopped to be provided to the user or the cost is redistributed.
  • a certain amount of money is converted into a certain number of traffic each time. The user can use the data service within the amount of the traffic amount. If the traffic amount is exceeded, the data service is stopped to be provided to the user or the cost is redistributed.
  • the duration / flow rate charging is a combination of the above two methods, that is, a certain amount is converted into a certain length of time and a certain number of traffic according to a preset policy. Once the user uses the data service to reach the time length and One of the traffic numbers, stop providing data services to users or reallocating expenses.
  • the third method that is, according to the duration / flow metering method, can prevent users from accessing the data service network for a long time without data transmission, and also prevents users from transmitting a large amount of data in a short time, thereby avoiding The disadvantages of the first two methods more effectively ensure the interests of communication operators.
  • Figure 3 shows the flow chart of charging by duration.
  • step 301 the mobile user requests to access the packet network, and the PDSN sends an access request message (Access Request) to the AAA after receiving the request from the mobile user.
  • the PDSN includes information indicating whether the PDSN supports prepaid services.
  • the AAA determines whether the PDSN supports prepayment according to the information carried in the message indicating whether the PDSN supports prepaid services. If so, the AAA according to the user information saved by itself Determine whether the caller is a pre-paid user. If the caller is a pre-paid user, AAA sends an SCP to the voice network. Send an authentication request message (Authentication Request), which includes FeeApply, an application fee parameter, to request the SCP to allocate a fee, and the SessionID parameter here is 1. If the AAA judges that the PDSN does not support prepaid or the caller is not a prepaid user, it performs processing according to the processing flow of the existing packet network, that is, instructs the PDSN not to allow access to the mobile terminal.
  • Authentication Request which includes FeeApply, an application fee parameter
  • step 303 the SCP passes the user authentication, and then allocates a fee to the user according to the application fee parameters in the authentication request message and the remaining cost in the user account saved by itself, and then returns an authentication request response message (Authentication Response) to the AAA. , Which includes the FeeApplied parameter representing the cost information assigned to the user.
  • step 304 the AAA returns an access request response message (Access Response) to the PDSN, indicating that the PDSN allows the user to access.
  • Access Response an access request response message
  • step 305 the PDSN reports an initial accounting request message (Accounting Request (start)) to the AAA after receiving a message from the AAA that allows the user to access.
  • Accounting Request Start
  • the AAA determines the current charging policy according to the charging policy parameters.
  • the billing strategy here is one of billing by duration, billing by flow rate, and billing by length.
  • the specific selection of the charging strategy is set in the AAA by the communication operator through parameters in advance.
  • the charging is set according to the duration.
  • AAA calculates the duration of the active session according to the cost allocated by the SCP, fills in the Session-Time-Remaining parameter in the Accounting Request response message, and sets the Session-Cont to 1.
  • the PDSN accesses the user after receiving the message.
  • the PPP negotiation succeeds, the session is established, and the PDSN starts a time counter.
  • step 307 when the timing of the PDSN reaches the duration in the Session-Time-Remaining parameter, the PDSN sends an Accounting Request (Interim-Update) message to AAA, where the trigger type is 3.
  • Accounting Request Interim-Update
  • the AAA confirms that the user's current segmentation fee has been used up, and sends it to the SCP. Accounting Request, where the operation type parameter (Operation Type) is 1, indicating a fee application, the message includes the FeeApply parameter, and the SessionID parameter indicates 2 in the second session.
  • the operation type parameter (Operation Type) is 1, indicating a fee application
  • the message includes the FeeApply parameter
  • the SessionID parameter indicates 2 in the second session.
  • step 309 the SCP allocates a fee to the user based on the FeeApply parameter in the Accounting Request and the remaining cost in the user account it has saved, and returns an Accounting Response to the AAA, where the Operation Type parameter (Operation Type) is 1, which indicates the fee application
  • the message includes a FeeApplied parameter indicating the cost information allocated for the user.
  • the AAA calculates the activation session maintainable time according to the cost allocated by the SCP, fills in the Session-Time-Remaining parameter in the Accounting Response, sets the Session-Cont to 1, and then sends a charging request response message to the PDSN. Then, the PDSN restarts timing and provides data services to the user.
  • steps 307 to 310 are repeated until the user actively stops the data service or the PDSN stops the user's session because the user's account balance is insufficient. Because the processing procedures of these two methods are different, they are described separately below.
  • step 320 the PDSN reports the Accounting Request (Stop) message to the AAA after receiving the information that the user stopped the data service, which includes the Acct-Session-Time parameter, indicating that Duration of using data services in the current time period. Since this parameter is a parameter that already exists in the prior art, this parameter is not listed in Table 2.
  • step 321 the AAA learns the duration of the active session according to the Acct-Session-Time parameter, so as to calculate the user's used fee and unused fee in this segment. AAA determines whether the unused fee is zero. If so, end this process, otherwise send an Accounting Request to the SCP, where the Operation Type parameter is 2, which means the fee is refunded.
  • the message includes the FeeReturn parameter, which indicates the fee returned. That is, unused by the user in this section Cost.
  • step 322 the SCP adds the refunded fee to the user account according to the FeeReturn parameter, and then returns an Accounting Response to AAA, where Operation Type is 2, which indicates the fee refund confirmation.
  • the AAA sends an accounting request response message Accounting Response to the PDSN, where the Session-Cont is 0, that is, instructs the PDSN to end the session.
  • the PDSN terminates the session after receiving an Accounting Response with a Session-Cont of 0. So far, the processing flow ends.
  • step 420 when the timing of the PDSN reaches the duration in the Session-Time-Remaining parameter, the PDSN sends an Accounting Request (Interim-Update) message to AAA, where the trigger type is 3.
  • Accounting Request Interim-Update
  • the AAA confirms that the user's current segmentation fee has been used up, and sends an Accounting Request to the SCP, where the Operation Type parameter (Operation Type) is 1, indicating a fee application, and the message includes the FeeApply parameter.
  • Operation Type parameter (Operation Type) is 1, indicating a fee application, and the message includes the FeeApply parameter.
  • step 422 the SCP determines that the remaining fee is insufficient to allocate a fee to the user according to the FeeApply parameter in the Accounting Request and the remaining fee in the user account saved by it, and returns an Accounting Response to the AAA, where the Operation Type parameter (Operation Type) A value of 1 indicates a fee application response, and the value of the FeeApplied parameter in the message is 0.
  • Operation Type parameter (Operation Type) A value of 1 indicates a fee application response, and the value of the FeeApplied parameter in the message is 0.
  • the AAA sets the Session-Time-Remaining parameter to 0 and the Session-Cont parameter to 0 according to the cost allocated by the SCP, and then sends a charging request response message to the PDSN.
  • the PDS terminates this upon receiving an Accounting Response with a Session-Cont of 0 Sessions. So far, the processing flow ends.
  • the charging request message reported by the PDSN to the AAA can also trigger a charging cycle trigger and a rate switching trigger.
  • the charging period trigger is triggered, and the PDSN sends an Accounting Request (Interim-Update) message to the AAA, where the trigger type is 1 and includes the Acct-Session-Time parameter.
  • AAA obtains the active session duration according to the Acct-Session-Time parameter, and then determines the user's used expenses in this segment, and subtracts the used expenses from the current segment expenses to obtain the unused expenses. If the unused fee is 0, AAA applies a fee to the SCP in a similar manner to step 308, and then calculates the value of the Session-Time-Remaining parameter for the newly applied fee. If the unused fee is not 0, AAA recalculates the value of the Session-Time-Remaining parameter based on the unused fee. Then AAA re-determines the Tariff-Switch-Duration parameters and includes the new Session-Time-Remaining parameters and Tariff-Switch-Duration parameters in the charging request response message and returns it to the PDSN.
  • the PDSN After receiving the charging request response message from AAA, the PDSN resets the session activation trigger and rate switching trigger according to the Session-Time-Remaining parameter and Tariff-Switch-Duration parameter.
  • the rate switching trigger is triggered, and the PDSN sends an Accounting Request (Interim-Update) message to the AAA, where the trigger type is 2, and the Acct-Session-Time parameter is included.
  • AAA obtains the user's used expenses in this segment, and subtracts the used expenses from the current segment expenses to obtain the unused expenses. If the unused fee is 0, the AAA applies a fee to the SCP in a similar manner to step 308, and then applies the new application fee according to Calculate the value of the Session-Time-Remaining parameter at the new rate. If the unused fee is not 0, AAA recalculates the value of the Session-Time-Remaining parameter at the new rate based on the unused fee. Then AAA re-determines the Tariff-Switch-Duration parameter, and includes the new Session-Time-Remaining parameter and Tariff-Switch-Duration parameter in the charging request response message and returns it to the PDSN.
  • the PDSN After receiving the charging request response message from AAA, the PDSN resets the session activation trigger and rate switching trigger according to the Session-Time-Remaining parameter and Tariff-Switch-Duration parameter.
  • steps 501 to 505 are the same as steps 301 to 305 in FIG. 3, and details are not described herein again.
  • the AAA determines the current charging policy according to the charging policy parameters.
  • the billing strategy here is one of billing by duration, billing by flow rate, and billing by length.
  • the specific selection of the charging strategy is set in the AAA by the communication operator through parameters in advance. In this embodiment, the setting is charged according to the flow rate.
  • AAA calculates the traffic that can be maintained according to the cost allocated by the SCP, fills in the Remanent- Volume parameter in the Accounting Request response message, sets the Session-Cont to 1, and then sends the Accounting Request Response message to the PDSN. After receiving the message, the PDSN accesses the user, the PPP negotiation succeeds, the session is established, and the PDSN starts a traffic counter.
  • step 507 when the PDSN's traffic trigger is triggered, the PDSN sends an Accounting Request (Interim-Update) message to the AAA, where the trigger type is 4.
  • Accounting Request Interim-Update
  • the AAA confirms that the user's current segmentation fee has been used up, and sends an Accounting Request to the SCP, where the Operation Type parameter (Operation Type) is 1, which indicates the fee application, and the message includes the FeeApply parameter.
  • the SCP allocates a fee to the user according to the FeeApply parameter in the Accounting Request and the remaining cost in the user account it has saved, and returns an Accounting Response to the AAA, where the Operation Type parameter (Operation Type) is 1, indicating the fee application
  • the message includes a Fee Applied parameter indicating the cost information allocated for the user.
  • the AAA calculates the maintainable traffic according to the cost allocated by the SCP, fills in the Remanent- Volume parameter in the Accounting Response, sets the Session-Cont to 1, and then sends the accounting request response message to the PDSN.
  • the PDSN then resumes counting traffic and provides users with data services.
  • steps 507 to 510 are repeated until the user actively stops the data service or the processing flow is different, which will be described separately below.
  • step 520 the PDSN reports the Accounting Request (stop) message to the AAA after receiving the information that the user stopped the data service, which contains the Acct-Input-Octets parameter representing the input traffic and the Acct- Output-Octets parameter. Since these two parameters are already existing in the prior art, they are not listed in Table 2.
  • step 521 the AAA learns the used traffic according to the above two parameters, and thereby calculates the used fee and the unused fee of the user in this segment.
  • step 522 the SCP adds the refunded fee to the user account according to the FeeReturn parameter, and then returns an Accounting Response to the AAA, where the Operation Type is 2, which indicates the fee refund confirmation.
  • the AAA sends an accounting request response message Accounting Response to the PDSN, where the Session-Cont is 0, that is, instructs the PDSN to end the session.
  • the PDS terminates this upon receiving an Accounting Response with a Session-Cont of 0 Sessions. So far, the processing flow ends.
  • step 620 when the PDSN detects that the traffic is exhausted, the traffic trigger is triggered, and the PDSN sends an Accounting Request (Interim-Update) message to the AAA, where the trigger type is 4.
  • the AAA confirms that the user's current segmentation fee has been used up, and sends an Accounting Request to the SCP, where the Operation Type parameter (Operation Type) is 1, indicating a fee application, and the message includes the FeeApply parameter.
  • Operation Type parameter (Operation Type) is 1, indicating a fee application, and the message includes the FeeApply parameter.
  • the SCP determines that the remaining fee is insufficient to allocate a fee to the user based on the FeeApply parameter in the Accounting Request and the remaining fee in the user account it saved, and returns an Accounting Response to the AAA, where the operation type parameter (Operation Type) is 1, indicating a fee application response, and the value of the FeeApplied parameter in the message is 0.
  • the operation type parameter (Operation Type) is 1, indicating a fee application response, and the value of the FeeApplied parameter in the message is 0.
  • the AAA sets the Remanent-Volume parameter to 0 and the Session-Cont parameter to 0 according to the cost allocated by the SCP, and then sends a charging request response message to the PDSN.
  • the PDSN terminates the session after receiving an Accounting Response with a Session-Cont of 0. So far, the processing flow ends.
  • a charging trigger is triggered, and the PDSN sends an Accounting equest (Interim-Update) message to AAA, where the trigger type is 1 and includes Acct-Inp t-Octets parameter and Acct-Output-Octets parameter.
  • AAA determines the user's used fees in this segment according to the above two parameters, and subtracts the used fees from the current segment fees to obtain unused fees. If the unused fee is 0, AAA follow 508 Requests a fee from the SCP in a similar manner, and then calculates the value of the Remanent-Volume parameter for the newly applied fee. If the unused cost is not 0, AAA recalculates the value of the Constant-Volume parameter based on the unused cost. Then the AAA re-determines the Tariff-Switch-Duration parameters, and includes the new Romantic-Volume parameters and Tariff-Switch-Duration parameters in the charging request response message and returns it to the PDSN.
  • the PDSN After receiving the accounting request response message from AAA, the PDSN resets the traffic trigger and rate switching trigger according to the Remanent-Volume parameter and Tariff-Switch-Duration parameter.
  • the PDSN When the rate switching trigger is triggered, the PDSN sends an Accounting Request (Interim-Update) message to AAA, where the trigger type is 2 and includes the Acct-Input-Octets parameter and the Acct-Output-Octets parameter.
  • Accounting Request Interim-Update
  • AAA obtains the user's used expenses in this segment, and subtracts the used expenses from the current segment expenses to obtain the unused expenses. If the unused fee is 0, AAA applies a fee to the SCP in a similar manner to step 508, and then calculates the value of the Remanent-Volume parameter for the newly applied fee at the new rate. If the unused fee is not 0, AAA recalculates the value of the Remanent-Volume parameter based on the unused fee at the new rate. Then AAA re-determines the Tariff-Switch-Dumtion parameters, and includes the new Remanent-Volume parameters and Tariff-Switch-Duration parameters in the charging request response message and returns it to the PDSN.
  • the PDSN After receiving the charging request response message from AAA, the PDSN resets the traffic trigger and the rate switching trigger according to the spring-volume number and the Tariff-Switch-Duration parameter.
  • steps 701 to 705 are completely the same as steps 301 to 305 in FIG. 3, and are not repeated here.
  • the AAA determines the current charging policy according to the charging policy parameters.
  • the charging strategy is one of charging by duration, charging by flow rate, and charging by length flow rate.
  • the specific selection of the charging strategy is set in the AAA by a parameter in advance by the communication operator.
  • the flow rate is set according to the duration.
  • the cost allocation AAA SCP assigned a predetermined time and the amount of traffic policy calculates the estimated cost of the flow rate and duration, and then calculates the time based on time can maintain flow rates and flow rates can be maintained and, to fill the other points 1 J Set the Session-Cont to 1 in the Session-Time-Remaining parameter and the Remanent- Volume parameter in the Accounting Request Response message (Accounting Response), and then send the Accounting Request Response message to the PDSN.
  • the PDSN accesses the user, the PPP negotiation succeeds, the session is established, and the PDSN starts a timer and a traffic counter.
  • step 707 when the timing of the PDSN reaches the duration in the Session-Time-Remaining parameter, the PDSN sends an Accounting Request (Interim-Update) message to the AAA, which includes the Acct-Session-Time parameter, the Acct-Input-Octets parameter, and the Acct -Output-Octets parameter, and trigger type is 3.
  • Interim-Update Accounting Request
  • the AAA calculates the currently used segmentation fee according to the above three parameters of the Accounting Request (Interim-Update) message, and determines whether the user's current segmentation fee is lower than a predetermined cabinet value, and if it is greater than or equal to the alarm value, directly execute Step 710 (not shown in the figure). If it is less than the threshold, the AAA sends an Accounting Request to the SCP, where the Operation Type parameter (Operation Type) is 1, indicating a fee application, and the message includes the FeeApply parameter.
  • the Operation Type parameter is 1, indicating a fee application
  • step 709 the SCP allocates a fee to the user according to the FeeApply parameter in the Accounting Request and the remaining cost in the user account it has saved, and returns an Accounting Response to the AAA, where the Operation Type parameter (Operation Type) is 1, which indicates the fee application
  • the message includes a FeeApplied parameter indicating the cost information allocated for the user.
  • the AAA calculates a budget cost for the duration and the traffic according to the cost allocated by the SCP or the user's current segmentation cost and a predetermined time traffic amount allocation strategy, and then calculates the maintainable time according to the time rate and the traffic rate, respectively.
  • steps 707 to 710 are repeated until the user actively stops the data service or the PDSN stops the user's session because the user's account balance is insufficient.
  • step 707 shows the case where it is executed due to the trigger of the session activation trigger.
  • the trigger type in the Accounting Request (Interim-Update) message is 4, the rest of the processing is exactly the same, so it will not be described again.
  • step 720 the PDSN reports the Accounting Request (stop) message to the AAA after receiving the information that the user stopped the data service, which includes the Acct-Session-Time parameter, the Acct-Input-Octets parameter, and the Acct-Output -Octets parameter.
  • step 721 the AAA learns the used time and used traffic according to the above three parameters, so as to calculate the user's used fee and unused fee in this segment.
  • step 722 the SCP adds the refunded fee to the user account according to the FeeReturn parameter, and then returns an Accounting Response to the AAA, where Operation Type is 2, which indicates the fee refund confirmation.
  • the AAA sends an accounting request response message Accounting Response to the PDSN, where the Session-Cont is 0, that is, instructs the PDSN to end the session.
  • the PDSN terminates the session after receiving an Accounting Response with a Session-Cont of 0. So far, the processing flow ends.
  • the processing flow is shown in FIG. 8.
  • step 820 when the PDSN detects the duration or the traffic is exhausted, the duration trigger or the traffic trigger is triggered, and the PDSN sends an Accounting Request (Interim-Update) message to the AAA, where the trigger type is 3 or 4.
  • the trigger type is 3 or 4.
  • the AAA confirms that the user's current segmentation fee has fallen below a predetermined threshold, and sends an Accounting Request to the SCP, where the Operation Type parameter is 1 to indicate a fee application, and the message includes the FeeApply parameter.
  • step 822 the SCP determines that the remaining fee is insufficient to allocate a fee to the user based on the FeeApply parameter in the Accounting Request and the remaining fee in the user account it has saved, and returns an Accounting Response to the AAA, where the Operation Type parameter (Operation Type) is 1, indicating a fee application response, and the value of the FeeApplied parameter in the message is 0.
  • Operation Type parameter (Operation Type) is 1, indicating a fee application response, and the value of the FeeApplied parameter in the message is 0.
  • the AAA sets the Session-Time-Remaining parameter and the Remanent-Volume parameter to 0, sets the Session-Cont parameter to 0, and sends a charging request response message to the PDSN according to the cost allocated by the SCP. .
  • the PDSN terminates the session after receiving an Accounting Response with a Session-Cont of 0. So far, the processing flow ends.
  • a charging trigger is triggered, and the PDSN sends an Accounting Request (Interim-Update) message to AAA, where the trigger type is 1 and includes Acct-Session-Time parameters, Acct-Input-Octets parameters, and Acct-Output-Octets parameters.
  • AAA determines the user's used fees in this segment according to the above three parameters, and subtracts the used fees from the current segment fees to obtain unused fees. If the unused fee is 0, AAA follows and steps 708 applies a fee to the SCP in a similar manner, and then calculates the value of the Session-Time-Remaining parameter and the Remanent- Volume parameter for the newly applied fee. If the unused cost is not 0, AAA recalculates the values of the Session-Time-Remaining parameter and the Remanent- Volume parameter based on the unused cost. Then AAA re-determines the Tariff-Switch-Duration parameters and includes the new. Remanent- Volume parameters and Tariff-Switch-Duration parameters in the charging request response message and returns it to the PDSN.
  • the PDSN After receiving the accounting request response message from AAA, the PDSN resets the session activation trigger, traffic trigger, and rate switching trigger according to the Session-Time-Remaining parameter, Remanent- Volume parameter, and Tariff-Switch-Duration parameter.
  • the PDSN When the rate switching trigger is triggered, the PDSN sends an Accounting Request (Interim-Update) message to AAA, where the trigger type is 2 and includes the Acct-Session-Time parameter, the Acct-Input-Octets parameter, and the Acct-Output-Octets parameter.
  • the trigger type is 2 and includes the Acct-Session-Time parameter, the Acct-Input-Octets parameter, and the Acct-Output-Octets parameter.
  • AAA obtains the user's used expenses in this segment, and subtracts the used expenses from the current segment expenses to obtain the unused expenses. If the unused fee is 0, AAA applies a fee to the SCP in a similar manner to step 708, and then calculates the value of the Session-Time-Remaining parameter and the Remanent- Volume parameter for the newly applied fee at the new rate. If the unused fee is not 0, AAA recalculates the values of the Session-Time-Remaining parameter and the Remanent- Volume parameter based on the unused fee at the new rate.
  • AAA re-determines the Tariff-Switch-Duration parameters and includes the new Session-Time-Remaining parameters, Remanent- Volume parameters and Tariff-Switch-Duration parameters in the charging request response message and returns it to the PDSN.
  • the PDSN After receiving the accounting request response message from AAA, the PDSN uses the Session-Time-Remaining parameter, Remanent- Volume parameter, and The Tariff-Switch-Duration parameter resets the session activation trigger, traffic trigger, and rate switching trigger.
  • the mobile station MS may perform a Simple IP (Simple IP) switch or a Mobile IP (Mobile IP) switch. These two handover methods are similar.
  • the following uses simple IP handover as an example to describe the processing flow.
  • the MS switches between different PCFs belonging to the same PDSN, since the PPP session does not need to be renegotiated, the user's balance information on the client can continue to be used.
  • the PDSN supports fast handover, when the MS performs a hard handover across the PDSN, a P-P session is established between the target PDSN and the serving PDSN. Since the serving PDSN is the same as the serving PDSN before the handover, there is no need to renegotiate the PPP session, and the user's balance information on the client can continue to be used.
  • Both the dormant handover across the PDSN and the hard handover between PDSNs that do not support fast handover need to change the serving PDSN, so PPP needs to be renegotiated. If the MS's account balance on the SCP before the handover is not much, and all of it is allocated to the PDSN before the handover, if this part of the balance before the handover uses only a small part of the MS, a sleep handover across the PDSN is performed or is not supported For a hard handover between fast-switching PDSNs, the MS may refuse access due to insufficient SCP account balance when authenticating on the new PDSN.
  • the home AAA needs to actively request the PDSN before the switch to end the session through the RADIUS extended message SessionControl (Terminate-Request) and report the Accounting Request (Stop).
  • the home AAA returns the fee to the SCP, and the SCP allocates this balance to the switched PDSN.
  • HA is required to maintain the user's IMSI and the IP address of the accessed PDSN and changes.
  • step 901 when the MS switches to the target PDSN, authentication is performed in the PPP Link Configuration Protocol (LCP) phase, and the target PDSN sends an access request message Access to the home AAA. Rsqusst.
  • LCP Link Configuration Protocol
  • step 902 the AAA sends an authentication request message to the SCP.
  • step 903 the SCP rejects the user's access request because of insufficient user account balance, and sends an authentication request response message to the AAA indicating that the authentication has failed.
  • step 904 the AAA sends a Session Control message to the PDSN before the handover, and requests to recover the amount allocated to the MS before the handover.
  • step 905 the PDSN before the handover returns the duration balance or traffic balance to the AAA through an Accounting Request (Stop).
  • step 906 the AAA converts the duration balance or traffic balance into an account balance, and returns it to the SCP through an Accounting Request fee of operation type 2.
  • step 907 the AAA sends an Authentication Request message to the SCP again.
  • step 908 the SCP allocates the amount, and sends the allocated amount to the AAA through a response message indicating that the authentication is successful.
  • step 909 the AAA determines the corresponding duration or traffic, and then sends an access request response message to the PDSN, allowing the user to use the data service.
  • FIG. 10 shows a system structure of a second embodiment of the CDMA 2000 according to the present invention. It can be seen that, compared with FIG. 2, a data service network further adds a prepaid server (PPS), which is hereinafter referred to as data PPS, and is used for account storage, fee budget, and billing of data service prepaid users.
  • PPS prepaid server
  • the interface between the voice network and the data network is not established between the SCP and AAA, but is established between the SCP and the data PPS.
  • all signaling interactions between AAA and SCP need to be forwarded through data PPS.
  • the second embodiment is basically similar to the first embodiment. It will not be described in detail here.
  • the data PPS may be integrated with a business content service gateway (CP GW).
  • CP GW business content service gateway
  • the data PPS can also be integrated into the AAA, so that its basic processing flow is exactly the same as the first embodiment.
  • a PPS may be integrated in the SCP of the voice network, which will be referred to as a voice PPS in the following. Operations such as account creation, authentication, and chargeback described in the present invention are all performed in the voice PPS in the SCP.
  • the voice PPS can also be separately set in the voice network.
  • the present invention is preferably applicable to a CDMA 2000 network, especially a CDMA 2000 IX network, but the present invention is not limited to this, and the above-mentioned spirit of the present invention can be applied to other mobile communication systems.

Landscapes

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

Abstract

A system for implementing data service prepayment in the network. The system includes voice network and data network, and the voice network includes the service control point (SCP) used for storing the information of user account number and executing fee deducting operation, then the data network includes PDSN and AAA. In this system, the SCP is connected with the AAA via a signaling transmission link, and assigns some fee from the corresponding user account number after receiving the accounting request from the AAA, then returns the fee assigned back to the AAA. The AAA controls the data service of the PDSN access users according to the accounting response from the SCP. There is also a method for implementing data service prepayment in the network.

Description

一种在码分多址网络中实现数据业务预付费的系统和方法 技术领域  System and method for realizing data service prepayment in code division multiple access network
本发明涉及移动通信系统的数据业务预付费, 具体涉及一种在码分 多址(CDMA ) 网絡中实现数据业务预付费的系统和方法。 发明背景  The present invention relates to data service prepayment of a mobile communication system, and particularly to a system and method for implementing data service prepayment in a code division multiple access (CDMA) network. Background of the invention
在 CDMA网络中, 除了传统的语音业务之外,数据业务也正在迅速 发展, 并且其地位和作用也曰益重要。 在现有的 CDMA 网络中, 根据 业务特性不同可以划分为语音网络和数据网络, 其中数据网络也被称为 分组网络。 CDMA核心交换网对于语音网络和数据网络分別采用不同的 设备, 其中语音业务信令通过七号信令网传送, 而数据业务信令通过网 际协议(IP )网絡传送。 由于七号信令网和 IP网络是两套相对独立的网 络, 因此语音业务的付费和数据业务的付费也相对独立。  In the CDMA network, in addition to the traditional voice services, data services are also rapidly developing, and their status and role are becoming more and more important. In the existing CDMA network, it can be divided into a voice network and a data network according to different service characteristics. The data network is also called a packet network. The CDMA core switching network uses different devices for the voice network and the data network, in which voice service signaling is transmitted through the No. 7 signaling network, and data service signaling is transmitted through the Internet Protocol (IP) network. Since the No. 7 signaling network and the IP network are two relatively independent networks, the payment of voice services and the payment of data services are also relatively independent.
图 1示出了现有的 CDMA 2000网络的一个基本结构。 如图 1所示, 移动台( MS )连接到无线网络( RN ),其中 RN包括基站控制器( BSC )、 基站收发信机 ( BTS )和分组控制功能(PCF )模块。 BSC/BTS连接到 用于对用户的语音业务进行控制的移动交换中心 (MSC ), MSC通过七 号信令网连接到归属位置寄存器( HLR )和智能网的业务控制点( SCP ), 并通过无线智能网(WIN )协议和 SCP进行交互, 以实现对预付费用户 账号的鉴权和计费。  Figure 1 shows a basic structure of an existing CDMA 2000 network. As shown in FIG. 1, a mobile station (MS) is connected to a wireless network (RN), where the RN includes a base station controller (BSC), a base transceiver station (BTS), and a packet control function (PCF) module. The BSC / BTS is connected to a mobile switching center (MSC) for controlling the user's voice service. The MSC is connected to the home location register (HLR) and the intelligent network service control point (SCP) through the SS7 network, and passes The Wireless Intelligent Network (WIN) protocol interacts with the SCP to implement authentication and charging of pre-paid user accounts.
在目前语音网络可以对用户提供预付费, 也就是用户可以先购买一 ^包括一定金额的电话卡, 从而建立一个账号, 然后每次通话之前, 语 音网络对用户进行鉴权, 在确定该用户是预付费业务用户并且该用户的 电话卡里还具有充足的余额之后, 允许用户的电话接入, 并根据用户的 语音通话时间实时在用户账号中扣费。 这里的账号建立、 鉴权和扣费等 操作都是在 SCP中完成的。 At present, the voice network can provide users with prepayment, that is, the user can first purchase a phone card including a certain amount to establish an account, and then before each call, the voice network authenticates the user and determines that the user is prepaid. After paying a service user and the user ’s phone card has sufficient balance, the user ’s phone access is allowed, and according to the user ’s The voice call time is deducted from the user account in real time. The operations of account creation, authentication, and deduction here are all completed in SCP.
对于数据业务来说, MS通过 RN中的 PCF模块接入分組数据服务 节点(PDSN ), PDSN是一个接入网关, 为 MS提供通过 IP接入访问因 特网的服务, 具体地说负责管理用户状态、 转发用户数据并为 MS分配 IP地址。 PDSN通过 IP网络连接到归属认证、授权和计费服务器( AAA ), AAA用于完成对用户账号的认证、 授权和计费功能。 PDSN和 AAA之 对于数据业务来说, 通信运营商同样希望能提供预付费业务, 这样 可以保障数据业务的收费, 从而保障通信运营商的运营收入。 但是, 在 目前还没有针对 CDMA 2000的数据业务预付费的标准或者解决方案, 通信运营商如何为无线用户提供数据业务预付费成为一个急需解决的 问题。 发明内容  For data services, the MS accesses the packet data service node (PDSN) through the PCF module in the RN. The PDSN is an access gateway that provides services for the MS to access the Internet through IP access. It is specifically responsible for managing user status, Forward user data and assign an IP address to the MS. The PDSN is connected to the home authentication, authorization, and accounting server (AAA) through the IP network. AAA is used to complete the authentication, authorization, and accounting functions of the user account. For data services of PDSN and AAA, communication operators also hope to provide prepaid services, which can guarantee the charging of data services and thus guarantee the operating income of communication operators. However, at present, there is no standard or solution for the prepayment of data services for CDMA 2000. How to provide prepayment for data services for wireless users by communication operators has become an urgent problem. Summary of the invention
有鉴于此,本发明的一个目的是提供一种在 CDMA网络中实现数据 业务预付费的系统, 使得通信运营商能够对数据业务用户提供预付费业 务, 从而保障通信运营商的数据业务运营收入。  In view of this, an object of the present invention is to provide a system for prepaid data services in a CDMA network, so that a communication operator can provide a prepaid service to a data service user, thereby ensuring the data service operation income of the communication operator.
本发明的另一个目的是提供一种在 CDMA 网络中实现数据业务预 付费的方法, 使得通信运营商能够对数据业务用户提供预付费业务, 从 而保障通信运营商的数据业务运营收入。  Another object of the present invention is to provide a method for implementing prepayment of data services in a CDMA network, so that a communication operator can provide a prepayment service to a data service user, thereby guaranteeing the data service operation income of the communication operator.
根据本发明的在 CDMA 网络中实现数据业务预付费的系统包括语 音网络和数据网络两部分, 所述语音网络包括用于保存用户账号信息并 进行扣费操作的业务控制点 SCP, 所述数据网络包括 PDSN和 AAA, 并且 SCP通过一个信令传输链路连接到所述 AAA, 并在接收到来自 AAA的计费请求后,从对应用户账号中分配一段费用, 然后将所分配的 费用返回给 AAA,所述 AAA进一步用于根据来自 SCP的费用控制 PDSN 接入用户的数据业务。 A system for implementing prepayment of data services in a CDMA network according to the present invention includes two parts, a voice network and a data network, and the voice network includes a service control point SCP for storing user account information and performing a chargeback operation, the data network Including the PDSN and AAA, and the SCP is connected to the AAA through a signaling transmission link, and receives After the AAA charging request, a certain fee is allocated from the corresponding user account, and the allocated fee is returned to the AAA. The AAA is further used to control the data service of the PDSN access user according to the fee from the SCP.
根据本发明的在 CDMA 网络中实现数据业务预付费的方法至少包 括:  The method for implementing data service prepayment in a CDMA network according to the present invention includes at least:
a. 预先建立语音网絡的 SCP和数据网络的 AAA之间的信令传输链 路;  a. Establish a signaling transmission link between the SCP of the voice network and the AAA of the data network in advance;
b. 在接收到来自移动终端的数据业务请求后, PDSN向 AAA发送 接入请求, AAA在判断出该移动终端用户是数据业务预付费用户后,通 过所述信令传输链路向 SGP发送鉴权请求;  b. After receiving the data service request from the mobile terminal, the PDSN sends an access request to AAA. After determining that the mobile terminal user is a prepaid user of the data service, the AAA sends an authentication to the SGP through the signaling transmission link. Claim
c SCP在对移动终端鉴权成功后从该用户的账户中分配一段费用, 然后通过所述信令传输链路将分配的费用返回给 AAA;  c SCP allocates a fee from the user's account after successfully authenticating the mobile terminal, and then returns the allocated fee to AAA through the signaling transmission link;
d. AAA指令 PDSN允许移动终端接入, 并根据 SCP分配的费用控 制移动终端使用数据业务。  d. AAA instruction PDSN allows mobile terminals to access, and controls mobile terminals to use data services according to the cost allocated by SCP.
从本发明的上述技术方案可以看出, 本发明通过在现有的移动通信 系统的语音网络的 SCP和数据网络的 AAA之间建立一个信令传输链路, 从而建立了语音网络和数据网络之间的联系, 数据网络的用户可以使用 他的语音网络的预付费账号对自己的数据业务进行预付费, 从而对数据 业务用户实现了预付费方案, 保障了通信运营商的运营收入, 促进了通 信运营商发展数椐业务的积极性, 从而极大地加快了移动通信数据业务 的普及和发展。  As can be seen from the above technical solution of the present invention, the present invention establishes a signaling transmission link between the voice network SCP of the existing mobile communication system and the AAA of the data network, thereby establishing The data network user can use his voice network pre-paid account to pre-pay his own data service, thereby implementing a pre-paid solution for the data service user, ensuring the operating income of the communication operator, and promoting communication. The enthusiasm of operators to develop data services has greatly accelerated the popularity and development of mobile communication data services.
数据业务预付费用户可以使用他的语音网络预付费账号对自己的数 据业务进行预付费, 这样他没有必要为数据业务和语音业务分别注册和 建立账号 , 从而极大地提高了数据业务用户使用数据业务的方便性。  The data service pre-paid user can use his voice network pre-paid account to pre-pay his own data service, so he does not need to register and set up separate accounts for the data service and voice service, thereby greatly improving the data service user's use of data services Convenience.
本发明提出了按照时长计费、 按照流量计费和按照时长流量计费这 三种方式, 使通信运营商可以灵活地提供数据业务, 而数据业务用户则 可以根据自己的情况灵活地选择计费方式, 从而同时方便了通信运营商 和用.户。 The invention proposes to charge according to the time, charge according to the flow rate and charge according to the length of the flow. Three methods allow communication operators to flexibly provide data services, and users of data services can flexibly choose a charging method according to their own circumstances, thereby facilitating communication operators and users at the same time.
在本发明中, 用户请求使用数据业务时, 首先由 SCP从用户账户中 分配一定金额, 然后用户在该分配金额限度内使用数据业务。 当用户使 用的数据业务所对应的金额接近该分配金额限度时,再次请求 SCP分配 一定金额, 并如此往复。 如果在某一次请求 SCP分配一定金额时, SCP 发现用户账户中没有足够余额, 则停止用户使用数据业务。 当然, 如果 在第一次分配金额时用户账户中就没有足够余额, 则直接拒绝用户使用 数据业务。 因此, 本发明实现了完全的实时扣费, 成功地保障了数据业 务提供商的利益, 为数据业务的发展提供了更充分的保证。 同时, 如果 用户主动停止某次数据业务的使用, 本发明能将已分配金额中未使用部 分返回到用户账户, 充分保障了用户的利益不受损失。 附图简要说明  In the present invention, when a user requests to use a data service, the SCP first allocates a certain amount from the user account, and then the user uses the data service within the limit of the allocated amount. When the amount corresponding to the data service used by the user is close to the limit of the allocated amount, the SCP is requested again to allocate a certain amount, and so on. If at some time when the SCP is requested to allocate a certain amount, the SCP finds that there is not enough balance in the user's account, and the user is stopped from using the data service. Of course, if there is not enough balance in the user account when the amount is allocated for the first time, the user is directly rejected from using the data service. Therefore, the present invention realizes complete real-time deduction, successfully protects the interests of the data service provider, and provides a more sufficient guarantee for the development of the data service. At the same time, if the user actively stops the use of a certain data service, the present invention can return the unused part of the allocated amount to the user account, which fully protects the user's interests from being lost. Brief description of the drawings
图 1是现有技术中 CDMA 2000网络的基本结构。  Figure 1 shows the basic structure of a CDMA 2000 network in the prior art.
图 2是根据本发明的在 CDMA网络中实现数据业务预付费的系统的 第一实施例的基本结构。  Fig. 2 is a basic structure of a first embodiment of a system for realizing data service prepayment in a CDMA network according to the present invention.
图 3是根据第一实施例的按时长计费的消息流程图, 其中数据业务 的停止是由于用户账户余额不足而引起的。  Fig. 3 is a message flow chart of charging according to the first embodiment according to the first embodiment, in which the suspension of the data service is caused by the insufficient account balance of the user.
图 4是根据第一实施例的按时长计费的消息流程图, 其中数据业务 的停止是由用户主动终止数据业务的使用而引起的。  Fig. 4 is a message flow chart of charging according to the duration according to the first embodiment, wherein the stop of the data service is caused by the user actively terminating the use of the data service.
图 5是根据第一实施例的按流量计费的消息流程图, 其中数据业务 的停止是由于用户账户余额不足而引起的。  Fig. 5 is a flow chart of a flow metering message according to the first embodiment, in which the suspension of the data service is caused by the insufficient account balance of the user.
图 6是根据第一实施例的按流量计费的消息流程图, 其中数据业务 的停止是由用户主动终止数据业务的使用而引起的。 FIG. 6 is a message flow chart of charging according to a flow rate according to a first embodiment, in which a data service The suspension was caused by the user's voluntary termination of the use of data services.
图 7是根据第一实施例的按时长流量计费的消息流程图, 其中数据 业务的停止是由于用户账户余额不足而引起的。  FIG. 7 is a message flow chart of flow-rate-based charging according to the first embodiment, in which the suspension of data services is caused due to insufficient user account balance.
图 8是根据第一实施例的按时长流量计费的消息流程图, 其中数据 业务的停止是由用户主动终止数据业务的使用而引起的。  FIG. 8 is a message flow chart of charging according to duration according to the first embodiment, in which the stop of the data service is caused by the user actively terminating the use of the data service.
图 9是对于跨越 PDSN的休眠切换和在不支持快速切换的 PDSN之 间进行硬切换时的处理流程。  Figure 9 is the processing flow when dormant handover across PDSN and hard handover between PDSNs that do not support fast handover.
图 10是根据本发明的在 CDMA网络中实现数据业务预付费的系统 的第二实施例的基本结构。 实施本发明的方式  Fig. 10 is a basic structure of a second embodiment of a system for realizing prepayment of data services in a CDMA network according to the present invention. Mode of Carrying Out the Invention
下面结合附图和具体实施例对本发明进行详细说明。  The present invention is described in detail below with reference to the drawings and specific embodiments.
为了使语音预付费账户的信息可以传送到数据业务网络, 本发明首 先在语音网络的网络设备和数据网絡的网络设备之间建立了连接, 也就 是建立了可以进行消息交互的信令传输链路, 并新定义了一套在语音网 络的网络设备和数据网络的网络设备之间交互的消息的结构。 统的第一实施例的系统结构。 可以看出, 和图 1相比, 本发明在语音网 络的 SCP和分组网络的 AAA之间建立了连接, 也就是建立了信令传输 链路。 本发明借鉴了现有的 TCP/IP协议, 并对其进行了扩展, 将经过 扩展的 TCP/IP 协议作为该连接所采用的协议。 较佳地, 采用扩展 RADIUS协议的方式扩展 TCP/IP协议。 同时, 为了实现使用语音预付 费用户账号对数据业务提供预付费, 本发明还需要对现有的 SCP、 AAA 和 PDSN进行修改, 并相应地修改 PDSN和 AAA之间的信令。 下面将 对本发明新建的信令传输链路和对现有网络设备及协议的修改进行详 细说明。 In order to enable the information of the voice prepaid account to be transmitted to the data service network, the present invention first establishes a connection between the network device of the voice network and the network device of the data network, that is, a signaling transmission link capable of message interaction is established. And newly defined a set of message structures that interact between network devices in the voice network and network devices in the data network. The system structure of the first embodiment of the system. It can be seen that, compared with FIG. 1, the present invention establishes a connection between the SCP of the voice network and the AAA of the packet network, that is, a signaling transmission link is established. The present invention draws on the existing TCP / IP protocol and extends it, and uses the extended TCP / IP protocol as the protocol used for the connection. Preferably, the TCP / IP protocol is extended by extending the RADIUS protocol. At the same time, in order to provide prepayment for data services using a voice prepaid user account, the present invention also needs to modify the existing SCP, AAA and PDSN, and modify the signaling between PDSN and AAA accordingly. The following will detail the new signaling transmission link of the present invention and the modification of existing network equipment and protocols. Detailed explanation.
根据本发明的 PDSN在原有功能的基础上,进一步增加了如下功能: 在接入请求消息(Access Request )中向 AAA上报是否支持预付费业务; 管理和维护为每个用户配置的触发器, 并在满足触发条件时向 AAA发 送计费请求消息 ( Accounting Request ); 根据 AAA的请求终止某个会话 并报告资源使用情况, 以便 AAA完成计费。  On the basis of the original function, the PDSN according to the present invention further adds the following functions: reporting to the AAA whether the prepaid service is supported in an Access Request message; managing and maintaining triggers configured for each user, and When a trigger condition is met, an accounting request message (Accounting Request) is sent to the AAA; according to the AAA request, a session is terminated and the resource usage is reported, so that the AAA completes the accounting.
根据本发明的 AAA在原有功能的基础上, 进一步增加了如下功能: 为预付费业务存储计费策略和用户配置数据;为预付费用户向 SCP申请 一部分费用; 根据计费策略为用户确定可以维持的会话时长或者可以传 送的流量; 根据通信运营商的要求或者其他原因, 例如休眠切换 ( handoff), 主动向 PDSN发送一条消息以终止 PDSN上的某个会话; 存储 PDSN的 IP地址并根据 IP地址变化,以确定是否有休眠状态发生。  The AAA according to the present invention further adds the following functions on the basis of the original functions: storing charging policies and user configuration data for pre-paid services; applying a part of the fee to the SCP for pre-paid users; determining that the users can be maintained according to the charging policies According to the requirements of the communication operator or other reasons, such as handoff, actively send a message to the PDSN to terminate a session on the PDSN; store the IP address of the PDSN and according to the IP address Change to determine if a sleep state has occurred.
根据本发明的 SCP在现有功能的基 上, 进一步增加了如下功能: 存储数据业务预付费用户的用户账号信息; 验证数据业务预付费用户账 号是否出于有效状态; 根据预先确定的费用分配策略为 AAA分配一段 费用; 处理 AAA返回给 SCP的费用; 实时扣除数据业务预付费用户账 户使用费用。  Based on the existing functions of the SCP according to the present invention, the following functions are further added: storing the user account information of the data service pre-paid user; verifying whether the data service pre-paid user account is in a valid state; according to a predetermined fee allocation policy Allocate a fee for AAA; process the fee returned by AAA to the SCP; deduct real-time user account usage fees for data services in real time.
为了支持数据业务预付费, PDSN需要在向 AAA发送的接入请求消 息 Access Request中向 AAA上报是否支持预付费业务。 在接收到来自 PDSN的接入请求消息后, AAA会根据该用户的用户配置数据确定该用 户是否是预付费用户, 如果是, 在向 PDSN发送的接入请求接受消息 ( Access Accept ) 中通知 PDSN此用户是否需要预付费业务特性, 这是 通过在该消息中增加一个如表 1所示的字段来实现的。 Access Request Access Accept Access Reject 属性 · 类型值 说明 In order to support the prepayment of data services, the PDSN needs to report to the AAA whether the prepayment service is supported in the access request message Access Request sent to the AAA. After receiving the access request message from the PDSN, the AAA determines whether the user is a prepaid user according to the user configuration data of the user, and if so, notifies the PDSN in an access request acceptance message (Access Accept) sent to the PDSN Whether the user needs a prepaid service feature is achieved by adding a field shown in Table 1 to the message. Access Request Access Accept Access Reject propertyType value description
消息 消息 消息 预付费特性  Message message message prepaid feature
Pre-Paid-Enabled 26/100 0 0-1 0  Pre-Paid-Enabled 26/100 0 0-1 0
激活标志 表 1所示的属性 Pre-Paid-Enabled在 AAA通知 PDSN此用户是否需 要激活预付费业务特性时使用,该属性值可以出现在 Access Accept消息 中。 如果不包含该属性, 则 PDSN不激活预付费特性。  Activation flag The attribute Pre-Paid-Enabled shown in Table 1 is used when the AAA notifies the PDSN whether the user needs to activate the prepaid service feature. This attribute value can appear in the Access Accept message. If this attribute is not included, the PDSN does not activate the prepaid feature.
属性 Pre-Paid-Enabled的类型为 26/100, 长度为 4字节, 值可以为 0 和 1 , 其中 0代表不激活预付费特性, 而 1代表激活预付费特性。  The type of the attribute Pre-Paid-Enabled is 26/100, the length is 4 bytes, and the values can be 0 and 1, where 0 represents that the pre-paid feature is not activated and 1 represents that the pre-paid feature is activated.
PDSN向 AAA发送的计费请求消息( Accounting Request )以及 AAA 返回给 PDSN的计费请求响应消息( Accounting Response ) 的扩展属性 如表 2所示。  The extended attributes of the Accounting Request message (Accounting Request) sent by the PDSN to the AAA and the Accounting Request response message (Accounting Response) returned by the AAA to the PDSN are shown in Table 2.
表 2  Table 2
Accounting Accounting Accounting  Accounting Accounting Accounting
Accounting Accounting
Request Request Request Request Request Request
属性 类型值 说明 Response Property Type Value Description Response
(start) (Interim-Update) (stop)  (start) (Interim-Update) (stop)
消息 消息 消息 消息  Message message message
Remanent- 用户可维持流  Remanent- Users can maintain the flow
26/101 0 0 0 0-1  26/101 0 0 0 0-1
Volume s. Volume s.
Session- 用户允许使用  Session- user allowed
Time- 26/102 的会话激活部 0 0 0 0-1  Time- 26/102 Session Activation 0 0 0 0-1
Remaining 分时长  Remaining minutes
最近的下一次  The next time
Tari f- 费率切换时刻  Tari f- rate switching time
Switch- 26/103 0 0 0 0-1  Switch- 26/103 0 0 0 0-1
与当前时刻的  With the current moment
Duration  Duration
时间间隔 (S )  Time interval (S)
Trigger- Interim-Update  Trigger- Interim-Update
26/104 0 1 0 0 Type 消息上发的触 发器类型 26/104 0 1 0 0 Type Hair type
Session- 当前会话是否  Session- Whether the current session
26/105 0 0 0 0-1 Cont 结束 在上述扩展属性中, Remanent-Volume的长度为 4字节, 用来控制 当前连接可转发的字节数, 具体表示该连接还能转发多少千字节, 包含 了收和发两个方向。 如果没有该参数, PDSN不会因为使用的流量太多 而切断连接。 该参数出现在计费请求响应消息( Accounting Response ) 中。  26/105 0 0 0 0-1 Cont End In the above extended attributes, the length of the Remanent-Volume is 4 bytes, which is used to control the number of bytes that can be forwarded by the current connection, which specifically indicates how many kilobytes can be forwarded by the connection. , Including two directions of receiving and sending. Without this parameter, the PDSN will not disconnect the connection because it uses too much traffic. This parameter appears in the Accounting Request Response message (Accounting Response).
Session-Time-Remaining的长度为 6字节, 用于由 AAA控制 PDSN 在当前分段预留费用内处于会话激活状态的可维持时长, 具体表示该连 接在当前分段预留费用内处于会话激活状态的可维持时长。 如果该参数 未出现, 则 PDSN不会因为使用的时间太长而切断连接。 该参数出现在 计费请求响应消息 ( Accounting Response ) 中。 另外, 需要说明的是, 此参数和表示当前分段预留费用内处于 PPP会话状态的可维持时长的标 准 RADIUS 参数 Session-Timeout是不同的。 存在这两种参数是因为 CDMA 2000的信道连接具有两种状态: PPP会话状态和会话激活状态。 处于这两种状态的费率不同, 因此 AAA需要根据不同的费率进行相应 的预算。 .  Session-Time-Remaining is 6 bytes in length and is used by AAA to control the duration that the PDSN can maintain the session activation status within the current segment reservation fee, which specifically indicates that the connection is in session activation within the current segment reservation fee. How long the state can be maintained. If this parameter does not appear, the PDSN will not disconnect the connection because it is used for too long. This parameter appears in the Accounting Request Response message (Accounting Response). In addition, it should be noted that this parameter is different from the standard RADIUS parameter Session-Timeout, which indicates that the PPP session state can be maintained within the current segment reservation fee. These two parameters exist because the channel connection of CDMA 2000 has two states: PPP session state and session activation state. The rates in these two states are different, so AAA needs to make corresponding budgets based on different rates. .
Tariff-Switch-Duration的长度为 4字节, 用于 AAA通知 PDSN设备 费率切换点, 具体表示将要进行费率切换的时间间隔。 该时间间隔是从 这个连接最近一次发送计费请求消息开始计时。 如果未出现该参数, 则 PDS 认为不需要进行费率切换。  The length of the Tariff-Switch-Duration is 4 bytes. It is used by the AAA to notify the PDSN device of the rate switching point, and specifically indicates the time interval at which the rate switching is to be performed. The time interval is counted from the last time the connection sent a charging request message for this connection. If this parameter does not appear, the PDS does not consider it necessary to perform rate switching.
Trigger-Type 的长度为 4字节, 用于指示上报 Accounting Request (Interim-Update)消息的触发器类型。 目前的触发器类型有四种, 值为 1 代表计费周期触发器; 值为 2代表费率切换触发器; 值为 3代表会话激 活触发器; 值为 4代表流量触发器。 其中计费周期触发器用于计费周期 达到时上报 AAA,适用于所有计费方式; 费率切换触发器用于在到达费 率切换点时上报 AAA,适用于所有计费方式;会话激活触发器用于分段 预留费用可维持时间内会话激活可用时长用尽后上拫 AAA,适用于按时 长计费; 流量触发器用于分段预留费用可维持时间内可用流量用尽后上 报 AAA,适用于按流量计费。对于计费方式,本发明将在后面详细说明。 The Trigger-Type is 4 bytes in length and is used to indicate the trigger type for reporting an Accounting Request (Interim-Update) message. There are currently four types of triggers, with a value of 1 for the charging cycle trigger, a value of 2 for the rate switching trigger, and a value of 3 for the session trigger. Live trigger; value 4 means traffic trigger. The charging cycle trigger is used to report AAA when the charging cycle is reached, which is applicable to all charging methods. The rate switching trigger is used to report AAA when the rate switching point is reached, which is applicable to all charging methods. The session activation trigger is used to The segmentation reservation fee can be maintained for AAA during the duration of the session activation. It is suitable for charging according to the duration. The traffic trigger is used to segment the reservation fee and can be reported to the AAA after the available traffic is exhausted within the maintenance period. Charged by traffic. As for the charging method, the present invention will be described in detail later.
Session-Cont的长度为 6字节,用于表示会话是否继续下去。该属性 出现在 Accounting Response中。 如果该属性的值为表示终止会话的 0, PDSN立即向 AAA上报 Accounting Request(Stop), 并终止会话。如果该 属性的值为表示继续会话的 1, 或者该属性未出现在 Accounting Response中, PDSN不终止会话, 使得会话继续下去。  Session-Cont is 6 bytes in length and is used to indicate whether the session continues. This attribute appears in Accounting Response. If the value of this attribute is 0, which indicates that the session is terminated, the PDSN immediately reports an Accounting Request (Stop) to the AAA, and terminates the session. If the value of this attribute is 1 indicating that the session is continued, or the attribute does not appear in the Accounting Response, the PDSN does not terminate the session, so that the session continues.
上面说明了 PDSN和 AAA之间的信令修改,下面说明 AAA和 SCP 之间的信令交互, 以实现 AAA和 SCP协同工作, 完成数据业务的预付 费。  The above describes the modification of the signaling between the PDSN and the AAA, and the following describes the signaling interaction between the AAA and the SCP, so as to realize the cooperative work of the AAA and the SCP, and complete the prepayment of the data service.
在现有技术中没有 AAA和 SCP之间的信令协议, 因此本发明对现 有的 RADIUS协议进行扩展,也就是新定义用于在 AAA和 SCP之间交 互的消息结构。 该消息结构包括消息头和消息体。 其中消息头的结构如 表 3所示, 包括命令长度和命令标识两部分。  In the prior art, there is no signaling protocol between AAA and SCP. Therefore, the present invention extends the existing RADIUS protocol, that is, newly defines a message structure for interaction between AAA and SCP. The message structure includes a message header and a message body. The structure of the message header is shown in Table 3. It includes the command length and command identifier.
表 3
Figure imgf000011_0001
如表 4所示, 命令有四种: 鉴权请求消息、 鉴权请求响应消息、 计 费请求消息和计费请求响应消息, 它们的命令标识分别为 1、 2、 3和 4。 表 4
table 3
Figure imgf000011_0001
As shown in Table 4, there are four types of commands: an authentication request message, an authentication request response message, an accounting request message, and an accounting request response message, and their command identifiers are 1, 2, 3, and 4, respectively. Table 4
Command— ID 数值 描迷  Command- ID value
Auth-Request 1 養权清求消息  Auth-Request 1 message
Auth-Response 2 鉴权请求响应消息  Auth-Response 2 authentication request response message
Accounting-Request 3 费用倩求消息  Accounting-Request 3
Accounting-Response 4 费用请求响应消息 下面分别说明每一种命令的消息体结构。 鉴权请求消息 Accounting-Response 4 Charge Request Response Message The following describes the message body structure of each command. Authentication request message
Authentication Request是由 AAA主动发送给 SCP,请求鉴权并申请费用 , 其扩展属性如表 5所示。 The Authentication Request is sent by the AAA to the SCP to request authentication and apply for fees. The extended attributes are shown in Table 5.
表 5  table 5
Figure imgf000012_0001
鉴权请求响应消息 Authentication Response是由 SCP返回给 AAA, 表明接受或者拒绝接入, 如果接受将同时分配会话的费用。 其扩展属性 如表 6所示。 表 6
Figure imgf000012_0001
The Authentication Response message is returned by the SCP to the AAA, indicating that the access is accepted or rejected. If accepted, the session fee will be allocated at the same time. Its extended attributes are shown in Table 6. Table 6
Figure imgf000013_0001
在上述表 6中, 鉴权回应有六种取值, 如果值为 0表示认证通过; 值为 1表示用户数据不存在; 值为 2表示储值卡失效; 值为 3表示用户 账户余额不大于零; 值为 4表示该用户已被封锁; 值为 5表示系统出现 错误。
Figure imgf000013_0001
In Table 6 above, there are six types of authentication responses. If the value is 0, the authentication is passed; the value is 1, the user data does not exist; the value is 2, the stored value card is invalid; the value is 3, the user account balance is not greater than Zero; a value of 4 indicates that the user has been blocked; a value of 5 indicates a system error.
计费请求消息 Accounting Request是由 AAA主动发送给 SCP,请求 从用户账号中实时扣除余额, 其扩展属性如表 7所示。  Accounting Request Message The Accounting Request is actively sent by the AAA to the SCP, requesting real-time deduction of the balance from the user account. The extended attributes are shown in Table 7.
表 7  Table 7
字段 类型值 字节数 属性 描述 类型  Field Type Value Bytes Property Description Type
SessionID 26/121 4 INTEGER 会话标识 必选 (extension) SessionID 26/121 4 INTEGER Session ID required (extension)
MSISDN 26/122 最长 21 CHAR 移动终端号 必选 MSISDN 26/122 up to 21 CHAR mobile terminal number required
码 (existing) Code (existing)
AAA-Address 26/123 最长 15 CHAR AAA服务器 可选 AAA-Address 26/123 up to 15 CHAR AAA server optional
的 IP地址 (existing) IP address (existing)
AAA-ID 26/124 4 INTEGER AAA服务器 可选 AAA-ID 26/124 4 INTEGER AAA server optional
的编号 (existing) OperationType 26/127 4 INTEGER 操作类型; 1 必选 Numbering OperationType 26/127 4 INTEGER Operation type; 1 required
表示费用申 (extension) 请消息, 2表  Indicate the fee application (extension) Please message, Form 2
示费用返还  Show fee refund
消息  News
FeeApply 26/128 4 INTEGER 申倩费用 OperationType- 1 时必选  FeeApply 26/128 4 INTEGER Required for OperationType- 1
(extension) (extension)
FeeLeft 26/129 4 INTEGER 剩佘费用 OperationType- 1 时可选 FeeLeft 26/129 4 INTEGER Remaining fee Operation type- 1 optional
(extension) (extension)
FeeReturn 26/130 4 INTEGER 返还费用 OperationType=2 时可选 FeeReturn 26/130 4 INTEGER Optional fee refund type OperationType = 2
(extension) 计费奇求响应消息 Accounting Response是由 SCP将分配的费用返回 给 AAA, 其扩展属性如表 8所示。  (extension) The Accounting Response Request message is returned by the SCP to the AAA. Its extended attributes are shown in Table 8.
表 8  Table 8
字段 类型值 字节数 属性 描述 类型 Field Type Value Bytes Property Description Type
SessionID 26/121 4 INTEGER 会话标识 必选 (extension) SessionID 26/121 4 INTEGER Session ID required (extension)
MSISDN 26/122 最长 21 CHAR 移动终端号 必选 MSISDN 26/122 up to 21 CHAR mobile terminal number required
码 (extension) Code (extension)
AAA-Address 26/123 最长 15 CHAR AAA服务器 可选 AAA-Address 26/123 up to 15 CHAR AAA server optional
的 IP地址 (extension) IP address (extension)
AAA-ID 26/124 4 INTEGER AAA服务器 可选 AAA-ID 26/124 4 INTEGER AAA server optional
的编号 (extension) Number (extension)
OperationType 26/127 4 INTEGER 操作类型; 1 必选 OperationType 26/127 4 INTEGER Operation type; 1 required
表示费用申 (extension) 请响应消息,  Indicates an extension request response message.
2表示费用返  2 means cost return
还确认消息  Also confirm message
FeeApplied 26/128 4 INTEGER 申请到的费 OperationType=l
Figure imgf000015_0001
在本发明中有三种计费方式, 分別为按时长计费、 按流量计费和按 时长 /流量计费。其中按时长计费也就是每次将一定的金额转换为一定的 时间长度, 用户可以在该时间长度内使用数据业务, 如果超过该时间长 度, 则停止向用户提供数据业务或者重新分配费用。 按流量计费也就是 每次将一定的金额转换成一定的流量数, 用户可以在该流量数的额度内 使用数据业务, 如果超过该流量数, 则停止向用户提供数据业务或者重 新分配费用。 而按时长 /流量计费则是上述两种方式的综合, 也就是根据 预先设定的策略将一定的金额转换成一定的时间长度和一定的流量数, 用户使用数据业务一旦达到该时间长度和流量数之一 , 则停止向用户提 供数据业务或者重新分配费用。 第三种方式, 也就是按照时长 /流量计费 方式可以防止用户长期接入到数据业务网络而不进行数据传送的情况, 也防止了用户在短时间内进行大量数据传送的情况, 从而避免了前两种 方式的缺点, 更加有效地保证了通信运营商的利益。
FeeApplied 26/128 4 INTEGER Operation Type = l
Figure imgf000015_0001
In the present invention, there are three charging methods, which are charging according to the duration, charging according to the flow rate, and charging according to the length / flow rate. Among them, charging according to the duration means that a certain amount of money is converted into a certain length of time each time. The user can use the data service within this time length. If the time length is exceeded, the data service is stopped to be provided to the user or the cost is redistributed. According to the flow metering, a certain amount of money is converted into a certain number of traffic each time. The user can use the data service within the amount of the traffic amount. If the traffic amount is exceeded, the data service is stopped to be provided to the user or the cost is redistributed. The duration / flow rate charging is a combination of the above two methods, that is, a certain amount is converted into a certain length of time and a certain number of traffic according to a preset policy. Once the user uses the data service to reach the time length and One of the traffic numbers, stop providing data services to users or reallocating expenses. The third method, that is, according to the duration / flow metering method, can prevent users from accessing the data service network for a long time without data transmission, and also prevents users from transmitting a large amount of data in a short time, thereby avoiding The disadvantages of the first two methods more effectively ensure the interests of communication operators.
下面分别针对这三种计费模式说明本发明的处理流程。 图 3示出了 按照时长计费方式的流程图。  The following describes the processing flow of the present invention with respect to these three charging modes, respectively. Figure 3 shows the flow chart of charging by duration.
在步骤 301 ,移动用户请求接入分组网络, PDSN在接收到移动用户 的请求后向 AAA发送接入请求消息( Access Request )。 PDSN在该消息 中包括一个表示该 PDSN是否支持预付费业务的信息。  In step 301, the mobile user requests to access the packet network, and the PDSN sends an access request message (Access Request) to the AAA after receiving the request from the mobile user. The PDSN includes information indicating whether the PDSN supports prepaid services.
在步骤 302, AAA在接收到来自 PDSN的接入请求消息后, 根据消 息中携带的表示该 PDSN是否支持预付费业务的信息确定该 PDSN是否 支持预付费,如果是, AAA根据自己保存的用户信息确定主叫是否是一 个预付费用户, 如果主叫是预付费用户, AAA向语音网络中的 SCP发 送鉴权请求消息 ( Authentication Request ), 在该消息中包含申请费用参 数 FeeApply, 以请求 SCP分配一段费用, 并且这里的 SessionID参数为 1。 如果 AAA判断出 PDSN不支持预付费或者主叫并不是预付费用户, 则按照现有的分组网络的处理流程进行处理, 也就是指示 PDSN不允许 接入该移动终端。 In step 302, after receiving the access request message from the PDSN, the AAA determines whether the PDSN supports prepayment according to the information carried in the message indicating whether the PDSN supports prepaid services. If so, the AAA according to the user information saved by itself Determine whether the caller is a pre-paid user. If the caller is a pre-paid user, AAA sends an SCP to the voice network. Send an authentication request message (Authentication Request), which includes FeeApply, an application fee parameter, to request the SCP to allocate a fee, and the SessionID parameter here is 1. If the AAA judges that the PDSN does not support prepaid or the caller is not a prepaid user, it performs processing according to the processing flow of the existing packet network, that is, instructs the PDSN not to allow access to the mobile terminal.
在步骤 303 , SCP通过用户鉴权, 然后根据鉴权请求消息中的申请 费用参数以及自己保存的用户账号中的剩余费用为用户分配一段费用, 然后向 AAA返回鉴权请求响应消息( Authentication Response ), 其中包 括表示为用户分配的费用信息的 FeeApplied参数。  In step 303, the SCP passes the user authentication, and then allocates a fee to the user according to the application fee parameters in the authentication request message and the remaining cost in the user account saved by itself, and then returns an authentication request response message (Authentication Response) to the AAA. , Which includes the FeeApplied parameter representing the cost information assigned to the user.
在步骤 304 , AAA 向 PDSN 返回接入请求响应消息 (Access Response ), 指示 PDSN允许用户接入。  In step 304, the AAA returns an access request response message (Access Response) to the PDSN, indicating that the PDSN allows the user to access.
在步骤 305 , PDSN在接收到来自 AAA的允许用户接入的消息后, 向 AAA上报一个初始的计费请求消息( Accounting Request(start) )。  In step 305, the PDSN reports an initial accounting request message (Accounting Request (start)) to the AAA after receiving a message from the AAA that allows the user to access.
在步骤 306, AAA根据计费策略参数确定当前计费策略。 这里的计 费策略也就是按时长计费、 按流量计费和按时长流量计费中的一种。 具 体选择哪种计费策略是由通信运营商预先通过参数形式设置在 AAA中。 在此实施例中, 设定按照时长计费。 然后, AAA根据 SCP所分配的费 用计算激活会话可维持时间, 填入计费请求响应消息 ( Accounting Response )中的 Session- Time-Remaining参数,将 Session-Cont设置为 1。 然后将计费请求响应消息发送给 PDSN。 PDSN在接收到该消息后接入 用户, PPP协商成功, 会话建立, PDSN启动时间计数器。  In step 306, the AAA determines the current charging policy according to the charging policy parameters. The billing strategy here is one of billing by duration, billing by flow rate, and billing by length. The specific selection of the charging strategy is set in the AAA by the communication operator through parameters in advance. In this embodiment, the charging is set according to the duration. Then, AAA calculates the duration of the active session according to the cost allocated by the SCP, fills in the Session-Time-Remaining parameter in the Accounting Request response message, and sets the Session-Cont to 1. Then send a charging request response message to the PDSN. The PDSN accesses the user after receiving the message. The PPP negotiation succeeds, the session is established, and the PDSN starts a time counter.
在步骤 307,当 PDSN的计时达到 Session-Time-Remaining参数中的 时长时, PDSN向 AAA发送 Accounting Request(Interim-Update)消息, 其中触发器类型为 3。  In step 307, when the timing of the PDSN reaches the duration in the Session-Time-Remaining parameter, the PDSN sends an Accounting Request (Interim-Update) message to AAA, where the trigger type is 3.
在步骤 308 , AAA确认用户当前分段费用已用完, 向 SCP 发送 Accounting Request, 其中操作类型参数 ( Operation Type )为 1 , 表示费 用申请, 该消息中包括 FeeApply参数, 此时 SessionID参数表示第 2个 会话的 2。 In step 308, the AAA confirms that the user's current segmentation fee has been used up, and sends it to the SCP. Accounting Request, where the operation type parameter (Operation Type) is 1, indicating a fee application, the message includes the FeeApply parameter, and the SessionID parameter indicates 2 in the second session.
在步骤 309, SCP根据 Accounting Request中的 FeeApply参数以及 自己保存的用户账号中的剩余费用, 为用户分配一段费用, 并向 AAA 返回 Accounting Response, 其中操作类型参数 ( Operation Type ) 为 1 , 表示费用申请响应, 该消息中包括表示为用户分配的费用信息的 FeeApplied参数。  In step 309, the SCP allocates a fee to the user based on the FeeApply parameter in the Accounting Request and the remaining cost in the user account it has saved, and returns an Accounting Response to the AAA, where the Operation Type parameter (Operation Type) is 1, which indicates the fee application In response, the message includes a FeeApplied parameter indicating the cost information allocated for the user.
在步骤 310, AAA根据 SCP所分配的费用计算激活会话可维持时间, 填入 Accounting Response 中的 Session-Time-Remaining 参数, 将 Session-Cont设置为 1, 然后将计费请求响应消息发送给 PDSN。 然后, PDSN重新开始计时, 并向用户提供数据业务。  In step 310, the AAA calculates the activation session maintainable time according to the cost allocated by the SCP, fills in the Session-Time-Remaining parameter in the Accounting Response, sets the Session-Cont to 1, and then sends a charging request response message to the PDSN. Then, the PDSN restarts timing and provides data services to the user.
然后重复步驟 307至 310的操作, 直到用户主动停止数据业务或者 因为用户账户余额不足而由 PDSN停止用户的会话为止。 由于这两种方 式的处理流程有所区别, 下面分别进行说明。  Then, the operations of steps 307 to 310 are repeated until the user actively stops the data service or the PDSN stops the user's session because the user's account balance is insufficient. Because the processing procedures of these two methods are different, they are described separately below.
当用户主动停止数据业务时, 如图 3所示, 在步骤 320, PDSN接收 到用户停止数据业务的信息后 ' 向 AAA上报 Accounting Request(Stop) 消息, 其中包含 Acct-Session-Time参数, 表示在当前时间段内使用数据 业务的时长。 由于该参数是现有技术中已经存在的参数, 因此在表 2中 没有列出该参数。  When the user actively stops the data service, as shown in FIG. 3, in step 320, the PDSN reports the Accounting Request (Stop) message to the AAA after receiving the information that the user stopped the data service, which includes the Acct-Session-Time parameter, indicating that Duration of using data services in the current time period. Since this parameter is a parameter that already exists in the prior art, this parameter is not listed in Table 2.
在步骤 321 , AAA根据 Acct-Session-Time参数得知激活会话时长, 从而计算出本分段内用户已用费用和未使用费用。 AAA确定未使用费用 是否为零, 如果是, 结束本流程, 否则向 SCP发送 Accounting Request, 其中操作类型参数(Operation Type ) 为 2, 表示费用返还, 该消息中包 括 FeeReturn参数, 表示返还的费用, 也就是用户在本分段内的未使用 费用。 In step 321, the AAA learns the duration of the active session according to the Acct-Session-Time parameter, so as to calculate the user's used fee and unused fee in this segment. AAA determines whether the unused fee is zero. If so, end this process, otherwise send an Accounting Request to the SCP, where the Operation Type parameter is 2, which means the fee is refunded. The message includes the FeeReturn parameter, which indicates the fee returned. That is, unused by the user in this section Cost.
在步骤 322, SCP根据 FeeReturn参数将返还的费用加到用户账户中, 然后向 AAA返回 Accounting Response, 其中 Operation Type为 2, 表示 费用返还确认。  In step 322, the SCP adds the refunded fee to the user account according to the FeeReturn parameter, and then returns an Accounting Response to AAA, where Operation Type is 2, which indicates the fee refund confirmation.
在步骤 323, AAA 向 PDSN发送计费请求响应消息 Accounting Response, 其中 Session-Cont为 0 , 也就是指示 PDSN结束此次会话。  In step 323, the AAA sends an accounting request response message Accounting Response to the PDSN, where the Session-Cont is 0, that is, instructs the PDSN to end the session.
PDSN在接收到 Session-Cont为 0的 Accounting Response, 终止此 次会话。 至此处理流程结束。  The PDSN terminates the session after receiving an Accounting Response with a Session-Cont of 0. So far, the processing flow ends.
在因为用户账户余额不足而由 PDSN切换用户的会话的情况下, 其 处理流程如图 4所示。  In the case where the user's session is switched by the PDSN because the user account balance is insufficient, the processing flow is shown in Figure 4.
在步骤 420,当 PDSN的计时达到 Session-Time-Remaining参数中的 时长时, PDSN向 AAA发送 Accounting Request(Interim-Update)消息, 其中触发器类型为 3。  In step 420, when the timing of the PDSN reaches the duration in the Session-Time-Remaining parameter, the PDSN sends an Accounting Request (Interim-Update) message to AAA, where the trigger type is 3.
在步骤 421, AAA确认用户当前分段费用已用完, 向 SCP发送 Accounting Request, 其中操作类型参数 ( Operation Type )为 1 , 表示费 用申请, 该消息中包括 FeeApply参数。  In step 421, the AAA confirms that the user's current segmentation fee has been used up, and sends an Accounting Request to the SCP, where the Operation Type parameter (Operation Type) is 1, indicating a fee application, and the message includes the FeeApply parameter.
在步骤 422中, SCP根据 Accounting Request中的 FeeApply参数以 及自己保存的用户账号中的剩余费用, 确定剩余费用不足而不能为用户 分配一段费用, 向 AAA返回 Accounting Response, 其中操作类型参数 ( Operation Type )为 1 , 表示費用申请响应, 该消息中的 FeeApplied参 数的值为 0。  In step 422, the SCP determines that the remaining fee is insufficient to allocate a fee to the user according to the FeeApply parameter in the Accounting Request and the remaining fee in the user account saved by it, and returns an Accounting Response to the AAA, where the Operation Type parameter (Operation Type) A value of 1 indicates a fee application response, and the value of the FeeApplied parameter in the message is 0.
在步骤 423 中, AAA 根据 SCP 所分配的费用为 0 , 将 Session-Time-Remaining参数设置为 0,并《 Session-Cont参数设置为 0, 然后将计费请求响应消息发送给 PDSN。  In step 423, the AAA sets the Session-Time-Remaining parameter to 0 and the Session-Cont parameter to 0 according to the cost allocated by the SCP, and then sends a charging request response message to the PDSN.
PDS 在接收到 Session-Cont为 0的 Accounting Response, 终止此 次会话。 至此处理流程结束。 The PDS terminates this upon receiving an Accounting Response with a Session-Cont of 0 Sessions. So far, the processing flow ends.
上述流程是本发明的一个基本流程, 在 PDSN向 AAA上报的计费 请求消息中, 除了会话激活触发器之外, 还可以触发计费周期触发器和 费率切换触发器。  The above process is a basic process of the present invention. In addition to the session activation trigger, the charging request message reported by the PDSN to the AAA can also trigger a charging cycle trigger and a rate switching trigger.
当 PDSN 的计时到达预定的计费周期时, 计费周期触发器触发, PDSN向 AAA发送 Accounting Request(Interim-Update)消息, 其中触发 器类型为 1 , 并且包括 Acct-Session-Time参数。  When the timing of the PDSN reaches the predetermined charging period, the charging period trigger is triggered, and the PDSN sends an Accounting Request (Interim-Update) message to the AAA, where the trigger type is 1 and includes the Acct-Session-Time parameter.
AAA根据 Acct-Session-Time参数得出激活会话时长, 进而确定出 本分段内用户已用费用, 将当前分段费用减去已用费用得到未用费用。 如果未用费用为 0, AAA按照和步骤 308相似的方式向 SCP申请一段费 用, 然后对新申请的费用计算 Session-Time-Remaining参数的值。 如果 未用费用不为 0, AAA根据未用费用重新计算 Session-Time-Remaining 参数的值。 然后 AAA重新确定 Tariff-Switch-Duration参数, 并将新的 Session-Time-Remaining参数和 Tariff-Switch-Duration参数包含在计费请 求响应消息中返回给 PDSN。  AAA obtains the active session duration according to the Acct-Session-Time parameter, and then determines the user's used expenses in this segment, and subtracts the used expenses from the current segment expenses to obtain the unused expenses. If the unused fee is 0, AAA applies a fee to the SCP in a similar manner to step 308, and then calculates the value of the Session-Time-Remaining parameter for the newly applied fee. If the unused fee is not 0, AAA recalculates the value of the Session-Time-Remaining parameter based on the unused fee. Then AAA re-determines the Tariff-Switch-Duration parameters and includes the new Session-Time-Remaining parameters and Tariff-Switch-Duration parameters in the charging request response message and returns it to the PDSN.
PDSN 在接收到来自 AAA 的计费请求响应消息后, 根据 Session- Time-Remaining参数和 Tariff-Switch-Duration参数重新设置会话 激活触发器和费率切换触发器。  After receiving the charging request response message from AAA, the PDSN resets the session activation trigger and rate switching trigger according to the Session-Time-Remaining parameter and Tariff-Switch-Duration parameter.
在用户使用数据业务的过程中, 有可能到达了费率切换时间, 例如 到了晚上 12点费率开始半价。 此时, 费率切换触发器触发, PDSN向 AAA发送 Accounting Request(Interim-Update)消息, 其中触发器类型为 2, 并且包括 Acct-Session-Time参数。  In the process of using the data service by the user, it is possible to reach the rate switching time, for example, at 12 pm, the rate starts at half price. At this time, the rate switching trigger is triggered, and the PDSN sends an Accounting Request (Interim-Update) message to the AAA, where the trigger type is 2, and the Acct-Session-Time parameter is included.
AAA根据 Acct-Session-Time参数得出本分段内用户已用费用, 将 当前分段费用减去已用费用得到未用费用。 如果未用费用为 0, AAA按 照和步骤 308相似的方式向 SCP申请一段费用,然后对新申请的费用按 照新的费率计算 Session-Time-Remaining参数的值。 如果未用费用不为 0, AAA根据未用费用按照新的费率重新计算 Session-Time-Remaining 参数的值。 然后 AAA重新确定 Tariff-Switch-Duration参数, 并将新的 Session-Time-Remaining参数和 Tariff- Switch-Duration参数包含在计费请 求响应消息中返回给 PDSN。 According to the Acct-Session-Time parameter, AAA obtains the user's used expenses in this segment, and subtracts the used expenses from the current segment expenses to obtain the unused expenses. If the unused fee is 0, the AAA applies a fee to the SCP in a similar manner to step 308, and then applies the new application fee according to Calculate the value of the Session-Time-Remaining parameter at the new rate. If the unused fee is not 0, AAA recalculates the value of the Session-Time-Remaining parameter at the new rate based on the unused fee. Then AAA re-determines the Tariff-Switch-Duration parameter, and includes the new Session-Time-Remaining parameter and Tariff-Switch-Duration parameter in the charging request response message and returns it to the PDSN.
PDSN 在接收到来自 AAA 的计费请求响应消息后, 根据 Session-Time-Remaining参数和 Tariff-Switch-Duration参数重新设置会话 激活触发器和费率切换触发器。  After receiving the charging request response message from AAA, the PDSN resets the session activation trigger and rate switching trigger according to the Session-Time-Remaining parameter and Tariff-Switch-Duration parameter.
上面参照图 3和图 4说明了按照时长方式计费的处理流程, 下面参 照图 5和图 6说明按照流量方式计费的处理流程。  The processing flow of charging according to the duration method is described above with reference to FIG. 3 and FIG. 4, and the processing flow of charging according to the flow method is described below with reference to FIGS. 5 and 6.
如图 5所示, 步骤 501至步骤 505和图 3中的步骤 301至 305完全 相同, 这里不再赘述。  As shown in FIG. 5, steps 501 to 505 are the same as steps 301 to 305 in FIG. 3, and details are not described herein again.
在步驟 506, AAA根据计费策略参数确定当前计费策略。 这里的计 費策略也就是按时长计费、 按流量计费和按时长流量计费中的一种。 具 体选择哪种计费策略是由通信运营商预先通过参数形式设置在 AAA中。 在此实施例中, 设定按照流量计费。 AAA根据 SCP所分配的费用计算 可维持流量, 填入计费请求响应消息 ( Accounting Response ) 中的 Remanent- Volume参数, 将 Session-Cont设置为 1, 然后将计费请求响应 消息发送给 PDSN。 PDSN在接收到该消息后接入用户, PPP协商成功 , 会话建立, PDSN启动流量计数器。  In step 506, the AAA determines the current charging policy according to the charging policy parameters. The billing strategy here is one of billing by duration, billing by flow rate, and billing by length. The specific selection of the charging strategy is set in the AAA by the communication operator through parameters in advance. In this embodiment, the setting is charged according to the flow rate. AAA calculates the traffic that can be maintained according to the cost allocated by the SCP, fills in the Remanent- Volume parameter in the Accounting Request response message, sets the Session-Cont to 1, and then sends the Accounting Request Response message to the PDSN. After receiving the message, the PDSN accesses the user, the PPP negotiation succeeds, the session is established, and the PDSN starts a traffic counter.
在步骤 507, 当 PDSN的流量触发器触发时, PDSN向 AAA发送 Accounting Request(Interim-Update)消息, 其中触发器类型为 4。  In step 507, when the PDSN's traffic trigger is triggered, the PDSN sends an Accounting Request (Interim-Update) message to the AAA, where the trigger type is 4.
在步骤 508 , AAA 确认用户当前分段费用已用完, 向 SCP 发送 Accounting Request, 其中操作类型参数 ( Operation Type )为 1 , 表示费 用申请, 该消息中包括 FeeApply参数。 在步驟 509, SCP根据 Accounting Request中的 FeeApply参数以及 自己保存的用户账号中的剩余费用, 为用户分配一段费用, 并向 AAA 返回 Accounting Response, 其中操作类型参数 ( Operation Type ) 为 1, 表示费用申请响应, 该消息中包括表示为用户分配的费用信息的 Fee Applied参数。 In step 508, the AAA confirms that the user's current segmentation fee has been used up, and sends an Accounting Request to the SCP, where the Operation Type parameter (Operation Type) is 1, which indicates the fee application, and the message includes the FeeApply parameter. In step 509, the SCP allocates a fee to the user according to the FeeApply parameter in the Accounting Request and the remaining cost in the user account it has saved, and returns an Accounting Response to the AAA, where the Operation Type parameter (Operation Type) is 1, indicating the fee application In response, the message includes a Fee Applied parameter indicating the cost information allocated for the user.
在步骤 510, AAA根据 SCP所分配的费用计算可维持流量, 填入 Accounting Response中的 Remanent- Volume参数, 将 Session-Cont设置 为 1 , 然后将计费请求响应消息发送给 PDSN。 然后 PDSN重新开始计 算流量, 并向用户提供数据业务。  In step 510, the AAA calculates the maintainable traffic according to the cost allocated by the SCP, fills in the Remanent- Volume parameter in the Accounting Response, sets the Session-Cont to 1, and then sends the accounting request response message to the PDSN. The PDSN then resumes counting traffic and provides users with data services.
然后重复步骤 507至 510的操作, 直到用户主动停止数据业务或者 式的处理流程有所区别, 下面分别进行说明。  Then, the operations of steps 507 to 510 are repeated until the user actively stops the data service or the processing flow is different, which will be described separately below.
如图 5所示,在步驟 520,PDSN接收到用户停止数据业务的信息后, 向 AAA上报 Accounting Request(stop)消息, 其中包含表示输入流量的 Acct-Input-Octets参数和表示输出流量的 Acct-Output-Octets参数。 由于 这两个参数是现有技术中已经存在的参数, 因此在表 2中没有列出这两 个参数。  As shown in FIG. 5, in step 520, the PDSN reports the Accounting Request (stop) message to the AAA after receiving the information that the user stopped the data service, which contains the Acct-Input-Octets parameter representing the input traffic and the Acct- Output-Octets parameter. Since these two parameters are already existing in the prior art, they are not listed in Table 2.
在步骤 521 , AAA根据上述两个参数得知已用流量, 从而计算出本 分段内用户已用费用和未使用费用。  In step 521, the AAA learns the used traffic according to the above two parameters, and thereby calculates the used fee and the unused fee of the user in this segment.
在步驟 522, SCP根据 FeeReturn参数将返还的费用加到用户账户中, 然后向 AAA返回 Accounting Response, 其中 Operation Type为 2, 表示 费用返还确认。  In step 522, the SCP adds the refunded fee to the user account according to the FeeReturn parameter, and then returns an Accounting Response to the AAA, where the Operation Type is 2, which indicates the fee refund confirmation.
在步骤 523 , AAA 向 PDSN发送计费请求响应消息 Accounting Response, 其中 Session-Cont为 0, 也就是指示 PDSN结束此次会话。  In step 523, the AAA sends an accounting request response message Accounting Response to the PDSN, where the Session-Cont is 0, that is, instructs the PDSN to end the session.
PDS 在接收到 Session-Cont为 0的 Accounting Response, 终止此 次会话。 至此处理流程结束。 The PDS terminates this upon receiving an Accounting Response with a Session-Cont of 0 Sessions. So far, the processing flow ends.
在因为用户账户余额不足而由 PDSN切换用户的会话的情况下, 其 处理流程如图 6所示。  In the case that the user's session is switched by the PDSN because the user account balance is insufficient, the processing flow is shown in FIG. 6.
在步骤 620, 当 PDSN检测出流量用尽时, 流量触发器触发, PDSN 向 AAA发送 Accounting Request(Interim-Update)消息, 其中触发器类型 为 4。  In step 620, when the PDSN detects that the traffic is exhausted, the traffic trigger is triggered, and the PDSN sends an Accounting Request (Interim-Update) message to the AAA, where the trigger type is 4.
在步骤 621, AAA 确认用户当前分段费用已用完, 向 SCP发送 Accounting Request, 其中操作类型参数 ( Operation Type )为 1 , 表示费 用申请, 该消息中包括 FeeApply参数。  In step 621, the AAA confirms that the user's current segmentation fee has been used up, and sends an Accounting Request to the SCP, where the Operation Type parameter (Operation Type) is 1, indicating a fee application, and the message includes the FeeApply parameter.
在步驟 622, SCP根据 Accounting Request中的 FeeApply参数以及 自己保存的用户账号中的剩余费用, 确定剩余费用不足而不能为用户分 配一段费用, 向 AAA返回 Accounting Response, 其中操作类型参数 ( Opemtion Type )为 1 , 表示费用申请响应, 该消息中的 FeeApplied参 数的值为 0。  In step 622, the SCP determines that the remaining fee is insufficient to allocate a fee to the user based on the FeeApply parameter in the Accounting Request and the remaining fee in the user account it saved, and returns an Accounting Response to the AAA, where the operation type parameter (Operation Type) is 1, indicating a fee application response, and the value of the FeeApplied parameter in the message is 0.
在步骤 623 , AAA根据 SCP所分配的费用为 0,将 Remanent- Volume 参数设置为 0, 并将 Session-Cont参数设置为 0, 然后将计费请求响应消 息发送给 PDSN。  In step 623, the AAA sets the Remanent-Volume parameter to 0 and the Session-Cont parameter to 0 according to the cost allocated by the SCP, and then sends a charging request response message to the PDSN.
PDSN在接收到 Session-Cont为 0的 Accounting Response, 终止此 次会话。 至此处理流程结束。  The PDSN terminates the session after receiving an Accounting Response with a Session-Cont of 0. So far, the processing flow ends.
同样, 和使用时长计费方式类似, 当 PDSN的计时到达预定的计费 周期时, 计费触发器触发, PDSN 向 AAA 发送 Accounting equest(Interim-Update)消息, 其中触发器类型为 1 , 并且包括 Acct-Inp t-Octets参数和 Acct-Output-Octets参数。  Similarly, similar to the use-time charging method, when the PDSN timing reaches a predetermined charging period, a charging trigger is triggered, and the PDSN sends an Accounting equest (Interim-Update) message to AAA, where the trigger type is 1 and includes Acct-Inp t-Octets parameter and Acct-Output-Octets parameter.
AAA根据上述两个参数确定出本分段内用户已用费用,将当前分段 费用减去已用费用得到未用费用。 如果未用费用为 0, AAA按照和步歌 508 相似的方式向 SCP 申请一段费用, 然后对新申请的费用计算 Remanent-Volume参数的值。 如果未用费用不为 0, AAA根据未用费用 重新计算 Remanent-Volume 参数的值。 然后 AAA 重新确定 Tariff-Switch-Duration 参数, 并将新的 Remanent-Volume 参数和 Tariff-Switch-Duration参数包含在计费请求响应消息中返回给 PDSN。 AAA determines the user's used fees in this segment according to the above two parameters, and subtracts the used fees from the current segment fees to obtain unused fees. If the unused fee is 0, AAA follow 508 Requests a fee from the SCP in a similar manner, and then calculates the value of the Remanent-Volume parameter for the newly applied fee. If the unused cost is not 0, AAA recalculates the value of the Constant-Volume parameter based on the unused cost. Then the AAA re-determines the Tariff-Switch-Duration parameters, and includes the new Romantic-Volume parameters and Tariff-Switch-Duration parameters in the charging request response message and returns it to the PDSN.
PDSN 在接收到来自 AAA 的计费请求响应消息后, 根据 Remanent-Volume参数和 Tariff-Switch-Duration参数重新设置流量触发 器和费率切换触发器。  After receiving the accounting request response message from AAA, the PDSN resets the traffic trigger and rate switching trigger according to the Remanent-Volume parameter and Tariff-Switch-Duration parameter.
当費率切换触发器触发时, PDSN 向 AAA 发送 Accounting Request(Interim-Update)消息, 其中触发器类型为 2 , 并且包括 Acct-Input-Octets参数和 Acct-Output-Octets参数。  When the rate switching trigger is triggered, the PDSN sends an Accounting Request (Interim-Update) message to AAA, where the trigger type is 2 and includes the Acct-Input-Octets parameter and the Acct-Output-Octets parameter.
AAA根据这两个参数得出本分段内用户已用费用,将当前分段费用 减去已用费用得到未用费用。 如果未用费用为 0, AAA按照和步骤 508 相似的方式向 SCP申请一段费用,然后对新申请的费用按照新的费率计 算 Remanent-Volume参数的值。 如果未用费用不为 0, AAA根据未用费 用按照新的费率重新计算 Remanent-Volume参数的值。 然后 AAA重新 确定 Tariff-Switch-Dumtion参数, 并将新的 Remanent-Volume 参数和 Tariff-Switch-Duration参数包含在计费请求响应消息中返回给 PDSN。  Based on these two parameters, AAA obtains the user's used expenses in this segment, and subtracts the used expenses from the current segment expenses to obtain the unused expenses. If the unused fee is 0, AAA applies a fee to the SCP in a similar manner to step 508, and then calculates the value of the Remanent-Volume parameter for the newly applied fee at the new rate. If the unused fee is not 0, AAA recalculates the value of the Remanent-Volume parameter based on the unused fee at the new rate. Then AAA re-determines the Tariff-Switch-Dumtion parameters, and includes the new Remanent-Volume parameters and Tariff-Switch-Duration parameters in the charging request response message and returns it to the PDSN.
PDSN 在接收到来自 AAA 的计费请求响应消息后, 根据 Remanent-Volume春数和 Tariff-Switch-Duration参数重新设置流量触发 器和费率切换触发器。  After receiving the charging request response message from AAA, the PDSN resets the traffic trigger and the rate switching trigger according to the spring-volume number and the Tariff-Switch-Duration parameter.
下面再参考图 7和图 8说明按照时长流量计费方式的处理流程。 如图 7所示, 步骤 701至步骤 705和图 3中的步驟 301至 305完全 相同, 这里不再赘迷。  Next, referring to FIG. 7 and FIG. 8, a description will be given of a processing flow according to a time-based traffic charge method. As shown in FIG. 7, steps 701 to 705 are completely the same as steps 301 to 305 in FIG. 3, and are not repeated here.
在步骤 706, AAA根据计费策略参数确定当前计费策略。 这里的计 费策略也就是按时长计费、 按流量计费和按时长流量计费中的一种。 具 体选择哪种计费策略是由通信运营商预先通过参数形式设置在 AAA中。 在此实施例中, 设定按照时长流量计费。 AAA根据 SCP所分配的费用 以及预先确定的时间流量金额分配策略计算用于时长和流量的预算费 用 , 然后分别根据时间费率和流量费率计算可维持时间和可维持流量, 分另1 J填入计费请求响应 消 息 ( Accounting Response ) 中 的 Session- Time-Remaining参数和 Remanent- Volume参数, 将 Session-Cont 设置为 1, 然后将计费请求响应消息发送给 PDSN。 PDSN在接收到该消 息后接入用户, PPP协商成功, 会话建立, PDSN启动计时器和流量计 数器。 In step 706, the AAA determines the current charging policy according to the charging policy parameters. Here's the plan The charging strategy is one of charging by duration, charging by flow rate, and charging by length flow rate. The specific selection of the charging strategy is set in the AAA by a parameter in advance by the communication operator. In this embodiment, the flow rate is set according to the duration. The cost allocation AAA SCP assigned a predetermined time and the amount of traffic policy calculates the estimated cost of the flow rate and duration, and then calculates the time based on time can maintain flow rates and flow rates can be maintained and, to fill the other points 1 J Set the Session-Cont to 1 in the Session-Time-Remaining parameter and the Remanent- Volume parameter in the Accounting Request Response message (Accounting Response), and then send the Accounting Request Response message to the PDSN. After receiving the message, the PDSN accesses the user, the PPP negotiation succeeds, the session is established, and the PDSN starts a timer and a traffic counter.
在步骤 707,当 PDSN的计时达到 Session-Time-Remaining参数中的 时长时, PDSN向 AAA发送 Accounting Request(Interim-Update)消息, 其 中 包括 Acct-Session-Time 参数、 Acct-Input-Octets 参数和 Acct-Output-Octets参数, 并且触发器类型为 3。  In step 707, when the timing of the PDSN reaches the duration in the Session-Time-Remaining parameter, the PDSN sends an Accounting Request (Interim-Update) message to the AAA, which includes the Acct-Session-Time parameter, the Acct-Input-Octets parameter, and the Acct -Output-Octets parameter, and trigger type is 3.
在步骤 708, AAA根据 Accounting Request(Interim-Update)消息的上 述三个参数计算当前已用分段费用, 确定用户当前分段费用是否低于一 个预定阁值, 如果大于等于该闹值, 直接执行步骤 710 (图中未示出)。 如果小于该阈值, AAA向 SCP发送 Accounting Request, 其中操作类型 参数 ( Operation Type )为 1, 表示费用申请, 该消息中包括 FeeApply 参数。  In step 708, the AAA calculates the currently used segmentation fee according to the above three parameters of the Accounting Request (Interim-Update) message, and determines whether the user's current segmentation fee is lower than a predetermined cabinet value, and if it is greater than or equal to the alarm value, directly execute Step 710 (not shown in the figure). If it is less than the threshold, the AAA sends an Accounting Request to the SCP, where the Operation Type parameter (Operation Type) is 1, indicating a fee application, and the message includes the FeeApply parameter.
在步骤 709, SCP根据 Accounting Request中的 FeeApply参数以及 自己保存的用户账号中的剩余费用, 为用户分配一段费用, 并向 AAA 返回 Accounting Response, 其中操作类型参数 ( Operation Type ) 为 1 , 表示费用申请响应, 该消息中包括表示为用户分配的费用信息的 FeeApplied参数。 在步骤 710, AAA根据 SCP所分配的费用或者用户的当前分段费用 以及预定的时间流量金额分配策略计算用于时长和流量的预算费用, 然 后分别根据时间费率和流量费率计算可维持时间和可维持流量, 分别填 入 Accounting Response 中 的 Session- Time-Remaining 参数和 Remanent-Volume参数,将 Session-Cont设置为 1, 然后将计费请求响应 消息发送给 PDSN。 然后 PDSN重新开始计算时间和流量, 并向用户提 供数据业务。 In step 709, the SCP allocates a fee to the user according to the FeeApply parameter in the Accounting Request and the remaining cost in the user account it has saved, and returns an Accounting Response to the AAA, where the Operation Type parameter (Operation Type) is 1, which indicates the fee application In response, the message includes a FeeApplied parameter indicating the cost information allocated for the user. In step 710, the AAA calculates a budget cost for the duration and the traffic according to the cost allocated by the SCP or the user's current segmentation cost and a predetermined time traffic amount allocation strategy, and then calculates the maintainable time according to the time rate and the traffic rate, respectively. And maintainable traffic, fill in the Session-Time-Remaining parameter and the Remanent-Volume parameter in the Accounting Response, set the Session-Cont to 1, and then send the charging request response message to the PDSN. Then PDSN restarts to calculate time and traffic, and provides users with data services.
然后重复步骤 707至 710的操作, 直到用户主动停止数据业务或者 因为用户账户余额不足而由 PDSN停止用户的会话为止。  Then, the operations of steps 707 to 710 are repeated until the user actively stops the data service or the PDSN stops the user's session because the user's account balance is insufficient.
上述步骤 707示出的是由于会话激活触发器的触发而执行的情况。 对于流量触发器触发的情况, 除了 Accounting Request(Interim-Update) 消息中的触发器类型为 4之外, 其余处理完全相同, 因此不再赘述。  The above step 707 shows the case where it is executed due to the trigger of the session activation trigger. For the triggering of the traffic trigger, except that the trigger type in the Accounting Request (Interim-Update) message is 4, the rest of the processing is exactly the same, so it will not be described again.
下面同样结合图 7说明用户主动停止数据业务时的处理流程。  The following also describes the processing flow when the user actively stops the data service with reference to FIG. 7.
如图 7所示,在步骤 720, PDSN接收到用户停止数据业务的信息后, 向 AAA上报 Accounting Request(stop)消息,其中包含 Acct-Session-Time 参数、 Acct-Input-Octets参数和 Acct-Output-Octets参数。  As shown in FIG. 7, in step 720, the PDSN reports the Accounting Request (stop) message to the AAA after receiving the information that the user stopped the data service, which includes the Acct-Session-Time parameter, the Acct-Input-Octets parameter, and the Acct-Output -Octets parameter.
在步骤 721 , AAA根据上述三个参数得知已用时长和已用流量, 从 而计算出本分段内用户已用费用和未使用费用。  In step 721, the AAA learns the used time and used traffic according to the above three parameters, so as to calculate the user's used fee and unused fee in this segment.
在步驟 722 , SCP根据 FeeReturn参数将返还的费用加到用户账户中, 然后向 AAA返回 Accounting Response, 其中 Operation Type为 2, 表示 费用返还确认。  In step 722, the SCP adds the refunded fee to the user account according to the FeeReturn parameter, and then returns an Accounting Response to the AAA, where Operation Type is 2, which indicates the fee refund confirmation.
在步骤 723 , AAA 向 PDSN发送计费请求响应消息 Accounting Response, 其中 Session-Cont为 0, 也就是指示 PDSN结束此次会话。  In step 723, the AAA sends an accounting request response message Accounting Response to the PDSN, where the Session-Cont is 0, that is, instructs the PDSN to end the session.
PDSN在接收到 Session-Cont为 0的 Accounting Response, 终止此 次会话。 至此处理流程结束。 在因为用户账户余额不足而由 PDSN切换用户的会话的情况下, 其 处理流程如图 8所示。 The PDSN terminates the session after receiving an Accounting Response with a Session-Cont of 0. So far, the processing flow ends. In the case where the user's session is switched by the PDSN because the user account balance is insufficient, the processing flow is shown in FIG. 8.
在步骤 820, 当 PDSN检测出时长或者流量用尽时, 时长触发器触 发或者流量触发器触发, PDSN 向 AAA 发送 Accounting Request(Interim-Update)消息, 其中触发器类型为 3或 4。  In step 820, when the PDSN detects the duration or the traffic is exhausted, the duration trigger or the traffic trigger is triggered, and the PDSN sends an Accounting Request (Interim-Update) message to the AAA, where the trigger type is 3 or 4.
在步骤 821 , AAA确认用户当前分段费用已低于预定阈值, 向 SCP 发送 Accounting Request, 其中操作类型参数( Operation Type )为 1 , 表 示费用申请, 该消息中包括 FeeApply参数。  In step 821, the AAA confirms that the user's current segmentation fee has fallen below a predetermined threshold, and sends an Accounting Request to the SCP, where the Operation Type parameter is 1 to indicate a fee application, and the message includes the FeeApply parameter.
在步骤 822, SCP根据 Accounting Request中的 FeeApply参数以及 自己保存的用户账号中的剩余费用, 确定剩余费用不足而不能为用户分 配一段费用, 向 AAA返回 Accounting Response, 其中操作类型参数 ( Operation Type )为 1 , 表示费用申请响应, 该消息中的 FeeApplied参 数的值为 0。  In step 822, the SCP determines that the remaining fee is insufficient to allocate a fee to the user based on the FeeApply parameter in the Accounting Request and the remaining fee in the user account it has saved, and returns an Accounting Response to the AAA, where the Operation Type parameter (Operation Type) is 1, indicating a fee application response, and the value of the FeeApplied parameter in the message is 0.
在步骤 823 , AAA 根据 SCP 所分配的 费用为 0 , 将 Session-Time-Remaining参数和 Remanent- Volume参数设置为 0, 并将 Session-Cont参数设置为 0, 然后将计费请求响应消息发送给 PDSN。  At step 823, the AAA sets the Session-Time-Remaining parameter and the Remanent-Volume parameter to 0, sets the Session-Cont parameter to 0, and sends a charging request response message to the PDSN according to the cost allocated by the SCP. .
PDSN在接收到 Session-Cont为 0的 Accounting Response, 终止此 次会话。 至此处理流程结束。  The PDSN terminates the session after receiving an Accounting Response with a Session-Cont of 0. So far, the processing flow ends.
同样, 和使用时长计费方式类似, 当 PDSN的计时到达预定的计费 周期时, 计费触发器触发, PDSN 向 AAA 发送 Accounting Request(Interim-Update)消息, 其中触发器类型为 1 , 并且包括 Acct- Session-Time参数、 Acct-Input-Octets参数和 Acct-Output-Octets参 数。  Similarly, similar to the duration charging method, when the PDSN timing reaches a predetermined charging period, a charging trigger is triggered, and the PDSN sends an Accounting Request (Interim-Update) message to AAA, where the trigger type is 1 and includes Acct-Session-Time parameters, Acct-Input-Octets parameters, and Acct-Output-Octets parameters.
AAA根据上述三个参数确定出本分段内用户已用费用,将当前分段 费用减去已用费用得到未用费用。 如果未用费用为 0, AAA按照和步骤 708 相似的方式向 SCP 申请一段费用, 然后对新申请的费用计算 Session-Time-Remaining参数和 Remanent- Volume参数的值。如果未用费 用不为 0, AAA根据未用费用重新计算 Session-Time-Remaining参数和 Remanent- Volume参数的值。 然后 AAA重新确定 Tariff-Switch-Duration 参数, 并将新的. Remanent- Volume参数和 Tariff-Switch-Duration参餘包 含在计费请求响应消息中返回给 PDSN。 AAA determines the user's used fees in this segment according to the above three parameters, and subtracts the used fees from the current segment fees to obtain unused fees. If the unused fee is 0, AAA follows and steps 708 applies a fee to the SCP in a similar manner, and then calculates the value of the Session-Time-Remaining parameter and the Remanent- Volume parameter for the newly applied fee. If the unused cost is not 0, AAA recalculates the values of the Session-Time-Remaining parameter and the Remanent- Volume parameter based on the unused cost. Then AAA re-determines the Tariff-Switch-Duration parameters and includes the new. Remanent- Volume parameters and Tariff-Switch-Duration parameters in the charging request response message and returns it to the PDSN.
PDSN 在接收到来自 AAA 的计费请求响应消息后, 根据 Session-Time-Remaining 参 数 、 Remanent- Volume 参 数 和 Tariff-Switch-Duration参数重新设置会话激活触发器、 流量触发器和费 率切换触发器。  After receiving the accounting request response message from AAA, the PDSN resets the session activation trigger, traffic trigger, and rate switching trigger according to the Session-Time-Remaining parameter, Remanent- Volume parameter, and Tariff-Switch-Duration parameter.
当费率切换触发器触发时, PDSN 向 AAA 发送 Accounting Request(Interim-Update)消息, 其中触发器类型为 2 , 并且包括 Acct-Session-Time参数、 Acct-Input-Octets参数和 Acct-Output-Octets参 数。  When the rate switching trigger is triggered, the PDSN sends an Accounting Request (Interim-Update) message to AAA, where the trigger type is 2 and includes the Acct-Session-Time parameter, the Acct-Input-Octets parameter, and the Acct-Output-Octets parameter.
AAA根据这三个参数得出本分段内用户已用费用,将当前分段费用 减去已用费用得到未用费用。 如果未用费用为 0, AAA按照和步骤 708 相似的方式向 SCP申请一段费用,然后对新申请的费用按照新的费率计 算 Session-Time-Remaining参数和 Remanent- Volume参数的值。 如果未 用 费用不为 0 , AAA 根据未用 费用按照新的费率重新计算 Session- Time-Remaining参数和 Remanent- Volume参数的值。 然后 AAA 重新确定 Tariff-Switch-Duration参数,并将新的 Session-Time-Remaining 参数、 Remanent- Volume参数和 Tariff- Switch-Duration参数包含在计费 请求响应消息中返回给 PDSN。  Based on these three parameters, AAA obtains the user's used expenses in this segment, and subtracts the used expenses from the current segment expenses to obtain the unused expenses. If the unused fee is 0, AAA applies a fee to the SCP in a similar manner to step 708, and then calculates the value of the Session-Time-Remaining parameter and the Remanent- Volume parameter for the newly applied fee at the new rate. If the unused fee is not 0, AAA recalculates the values of the Session-Time-Remaining parameter and the Remanent- Volume parameter based on the unused fee at the new rate. Then AAA re-determines the Tariff-Switch-Duration parameters and includes the new Session-Time-Remaining parameters, Remanent- Volume parameters and Tariff-Switch-Duration parameters in the charging request response message and returns it to the PDSN.
PDSN 在接收到来自 AAA 的计费请求响应消息后, 根据 Session-Time-Remaining 参 数 、 Remanent- Volume 参 数 和 Tariff-Switch-Duration参数重新设置会话激活触发器、 流量触发器和费 率切换触发器。 After receiving the accounting request response message from AAA, the PDSN uses the Session-Time-Remaining parameter, Remanent- Volume parameter, and The Tariff-Switch-Duration parameter resets the session activation trigger, traffic trigger, and rate switching trigger.
在实际应用过程中, 移动台 MS可能会进行简单 IP ( Simple IP )切 换或者移动 IP ( Mobile IP )切换。 这两种切换的方式类似, 下面以简单 IP切换为例说明其处理流程。  In an actual application process, the mobile station MS may perform a Simple IP (Simple IP) switch or a Mobile IP (Mobile IP) switch. These two handover methods are similar. The following uses simple IP handover as an example to describe the processing flow.
当 MS在归属于同一个 PDSN的不同 PCF之间切换时, 由于不需要 重新协商 PPP会话, 因此用户在客户机上的余额信息可以继续使用。  When the MS switches between different PCFs belonging to the same PDSN, since the PPP session does not need to be renegotiated, the user's balance information on the client can continue to be used.
如果 PDSN支持快速切换, 当 MS跨越 PDSN进行硬切换时, 目标 PDSN和服务 PDSN之间建立 P-P会话。 由于服务 PDSN和切换前的服 务 PDSN相同, 因此也不需要重新协商 PPP会话, 用户在客户机上的余 额信息可以继续使用。  If the PDSN supports fast handover, when the MS performs a hard handover across the PDSN, a P-P session is established between the target PDSN and the serving PDSN. Since the serving PDSN is the same as the serving PDSN before the handover, there is no need to renegotiate the PPP session, and the user's balance information on the client can continue to be used.
对于跨越 PDSN的休眠切换和在不支持快速切换的 PDSN之间进行 硬切换时, 都需要改变服务 PDSN, 因此需要重新协商 PPP。 如果 MS 在切换前 SCP 上的账户余额已经不多, 并且全部分配给了切换前的 PDSN, 如果切换前的这部分余额只用了一小部分 MS 就进行了跨越 PDSN的休眠切换或者在不支持快速切换的 PDSN之间的硬切换, MS 在新的 PDSN上鉴权时将可能因为 SCP的账户余额不足而拒绝接入。此 时 需 要 归 属 AAA 通 过 RADIUS 扩 展 消 息 SessionControl(Terminate-Request)主动请求切换前的 PDSN结束会话,上 报 Accounting Request(Stop), 归属 AAA将费用返回给 SCP, 然后 SCP 将这部分余额分配给切换后的 PDSN。 在这个过程中, 要求 HA维护用 户的 IMSI和接入的 PDSN的 IP地址以及变化等信息。 其具体处理流程 如图 9所示。  Both the dormant handover across the PDSN and the hard handover between PDSNs that do not support fast handover need to change the serving PDSN, so PPP needs to be renegotiated. If the MS's account balance on the SCP before the handover is not much, and all of it is allocated to the PDSN before the handover, if this part of the balance before the handover uses only a small part of the MS, a sleep handover across the PDSN is performed or is not supported For a hard handover between fast-switching PDSNs, the MS may refuse access due to insufficient SCP account balance when authenticating on the new PDSN. At this time, the home AAA needs to actively request the PDSN before the switch to end the session through the RADIUS extended message SessionControl (Terminate-Request) and report the Accounting Request (Stop). The home AAA returns the fee to the SCP, and the SCP allocates this balance to the switched PDSN. In this process, HA is required to maintain the user's IMSI and the IP address of the accessed PDSN and changes. The specific processing flow is shown in Figure 9.
在步骤 901 , MS切换到目标 PDSN时,在 PPP的链路配置协议 ( LCP ) 阶段进行鉴权, 标 PDSN 向归属 AAA发送接入请求消息 Access Rsqusst。 In step 901, when the MS switches to the target PDSN, authentication is performed in the PPP Link Configuration Protocol (LCP) phase, and the target PDSN sends an access request message Access to the home AAA. Rsqusst.
在步骤 902, AAA向 SCP发送鉴权请求消息 Authenticating Request 在步骤 903 , SCP因为用户账户余额不足而拒接用户的接入请求, 向 AAA发送表示鉴权失败的鉴权请求响应消息。  In step 902, the AAA sends an authentication request message to the SCP. In step 903, the SCP rejects the user's access request because of insufficient user account balance, and sends an authentication request response message to the AAA indicating that the authentication has failed.
在步骤 904, AAA向切换前的 PDSN发送 Session Control消息, 要 求回收分配给 MS切换前的金额。  In step 904, the AAA sends a Session Control message to the PDSN before the handover, and requests to recover the amount allocated to the MS before the handover.
在步骤 905, 切换前的 PDSN通过 Accounting Request(Stop)将时长 余额或流量余额返回给 AAA。  In step 905, the PDSN before the handover returns the duration balance or traffic balance to the AAA through an Accounting Request (Stop).
在步骤 906, AAA将时长余额或流量余额转化成账户余额, 通过操 作类型为 2的 Accounting Request费用返回给 SCP。  In step 906, the AAA converts the duration balance or traffic balance into an account balance, and returns it to the SCP through an Accounting Request fee of operation type 2.
在步驟 907, AAA再次向 SCP发送鉴权请求消息 Authentication Request.,  In step 907, the AAA sends an Authentication Request message to the SCP again.,
在步驟 908, SCP分配金额, 通过表示鉴权成功的婆权请求响应消 息将分配的金额发送给 AAA。  In step 908, the SCP allocates the amount, and sends the allocated amount to the AAA through a response message indicating that the authentication is successful.
在步骤 909, AAA确定相应的时长或者流量, 然后向 PDSN发送接 入请求响应消息, 允许用户使用数据业务。  In step 909, the AAA determines the corresponding duration or traffic, and then sends an access request response message to the PDSN, allowing the user to use the data service.
上面说明了本发明的第一实施例。图 10示出了根据本发明的 CDMA 2000的第二实施例的系统结构。 可以看出, 和图 2相比, 数据业务网絡 中进一步增加了一个预付费服务器(PPS ), 在下文中称为数据 PPS, 它 用于数据业务预付费用户的账户存储、费用预算和计费等功能。数据 PPS 和数据网络中的 AAA连接。  The first embodiment of the present invention has been described above. FIG. 10 shows a system structure of a second embodiment of the CDMA 2000 according to the present invention. It can be seen that, compared with FIG. 2, a data service network further adds a prepaid server (PPS), which is hereinafter referred to as data PPS, and is used for account storage, fee budget, and billing of data service prepaid users. Features. Data PPS and AAA connections in the data network.
在第二实施例中, 语音网络和数据网络之间的接口不是建立在 SCP 和 AAA之间, 而是建立在 SCP和数据 PPS之间。 这样, 在笫一实施例 中所有的 AAA和 SCP之间的信令交互都需要通过数据 PPS转发。 除了 上述由数据 PPS转发信令之外, 第二实施例和第一实施例基本类似, 这 里不再详细说明。 In the second embodiment, the interface between the voice network and the data network is not established between the SCP and AAA, but is established between the SCP and the data PPS. In this way, in the first embodiment, all signaling interactions between AAA and SCP need to be forwarded through data PPS. Except that the signaling is forwarded by the data PPS described above, the second embodiment is basically similar to the first embodiment. It will not be described in detail here.
在第二实施例中, 数据 PPS可以和业务内容服务网关(CP GW )集 成在一起。 另外, 数据 PPS也可以集成在 AAA之中, 这样其基本处理 流程就和第一实施例完全相同了。  In the second embodiment, the data PPS may be integrated with a business content service gateway (CP GW). In addition, the data PPS can also be integrated into the AAA, so that its basic processing flow is exactly the same as the first embodiment.
在第一和第二实施例中, 可以在语音网络的 SCP中集成一个 PPS, 在下文中成为语音 PPS。 本发明所述的账号建立、 鉴权和扣费等操作都 是在 SCP中的语音 PPS中完成的。 当然, 可以理解, 语音 PPS也可以 单独设置在语音网络中。  In the first and second embodiments, a PPS may be integrated in the SCP of the voice network, which will be referred to as a voice PPS in the following. Operations such as account creation, authentication, and chargeback described in the present invention are all performed in the voice PPS in the SCP. Of course, it can be understood that the voice PPS can also be separately set in the voice network.
本发明较佳地适用于 CDMA 2000网络, 特别是 CDMA 2000 IX网 络, 但是本发明并不局限于此, 本发明的上述精神可以应用到其它移动 通信系统。  The present invention is preferably applicable to a CDMA 2000 network, especially a CDMA 2000 IX network, but the present invention is not limited to this, and the above-mentioned spirit of the present invention can be applied to other mobile communication systems.
以上所述仅为本发明的较佳实施例而已 , 并不用以限制本发明, 凡 在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均 应包含在本发明的保护范围之内。  The above descriptions are merely preferred embodiments of the present invention, and are not intended to limit the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention shall be included in the present invention. Within the scope of protection.

Claims

权利要求书 Claim
1、 一种在 CDMA网络中实现数椐业务预付费的系统, 所述 CDMA 网络包括语音网络和数据网络两部分, 所述语音网络包括用于保存用户 账号信息并进行扣费操作的业务控制点 SCP, 所述数据网络包括 PDSN 和 AAA,其特征是,所述 SCP通过一个信令传输链路连接到所述 AAA, 并在接收到来自 AAA的计费请求后,从对应用户账号中分配一段费用, 然后将所分配的费用返回给 AAA, 所述 AAA进一步用于根据来自 SCP 的费用控制 PDSN接入用户的数据业务。  1. A system for implementing prepaid data services in a CDMA network, the CDMA network includes a voice network and a data network, and the voice network includes a service control point for storing user account information and performing chargeback operations SCP, the data network includes PDSN and AAA, which is characterized in that the SCP is connected to the AAA through a signaling transmission link, and after receiving a charging request from the AAA, allocates a segment from the corresponding user account The fee, and then return the allocated fee to the AAA, which is further used to control the data service of the PDSN access user according to the fee from the SCP.
2、根据权利要求 1所述的系统,其特征是,所述传输链路采用 TCP/IP 协议。  2. The system according to claim 1, wherein the transmission link uses a TCP / IP protocol.
3、 根据权利要求 2所述的系统, 其特征是, 所述 TCP/IP协议是经 过扩展的 RADIUS 协议, 所述传输链路上传输的信令包括鉴权请求消 息、 鉴权请求响应消息、 计费请求消息和计费请求响应消息。  3. The system according to claim 2, wherein the TCP / IP protocol is an extended RADIUS protocol, and the signaling transmitted on the transmission link includes an authentication request message, an authentication request response message, Accounting request message and accounting request response message.
4、根据权利要求 3所述的系统, 其特征是, 所述鉴权请求消息、 鉴 权请求响应消息、 计费请求消息和计费请求响应消息至少包括会话标识 和移动终端号码信息。  4. The system according to claim 3, wherein the authentication request message, the authentication request response message, the charging request message and the charging request response message include at least a session identifier and mobile terminal number information.
5、根据权利要求 4所述的系统, 其特征是, 所述鉴权请求响应消息 进一步包括分配的费用信息和表示鉴权结果的鉴权回应信息; 所述计费 请求消息进一步包括操作类型信息, 在所述操作类型表示费用申请时进 一步包括申请费用信息, 在所述操作类型表示费用返还时进一步包括返 还的费用信息; 所述计费请求响应消息进一步包括操作类型信息, 在所 述操作类型表示费用申请响应时进一步包括申请到的费用信息。  5. The system according to claim 4, wherein the authentication request response message further includes allocated cost information and authentication response information indicating an authentication result; and the charging request message further includes operation type information. When the operation type indicates a fee application, further including application fee information, and when the operation type indicates a fee refund, further including the returned cost information; the charging request response message further includes operation type information, and in the operation type Indicating the fee application response further includes the requested fee information.
6、根据权利要求 5所述的系统, 其特征是, 所述鉴权结果是鉴权通 过、 用户数据不存在、 储值卡失效、 用户账户余额不大于零、 该用户已 被封锁和系统出现错误中的一种。 6. The system according to claim 5, wherein the authentication result is that the authentication is passed, the user data does not exist, the stored value card is invalid, the user account balance is not greater than zero, and the user has One of blocked and system errors.
7、根据权利要求 1所述的系统, 其特征是, 所述数据网络进一步包 括一个数据预付费服务器 PPS , SCP通过一个信令传输链路连接到所述 AAA是经过所述数据 PPS进行连接的。  7. The system according to claim 1, wherein the data network further comprises a data prepaid server PPS, and the SCP is connected to the AAA through a signaling transmission link via the data PPS for connection .
8、 根据权利要求 1至 7中任意一项所述的系统, 其特征是, 所述 SCP进一步包括一个语音 PPS, 所述保存用户账号信息并进行扣费操作 是由语音 PPS完成的, 所述 SCP通过一个信令传输链路连接到 AAA是 SCP中的语音 PPS通过一个信令传输链路连接到 AAA, 所述 SCP在接 收到来自 AAA的计费请求后从对应用户账号中分配一段费用是由语音 PPS完成的。  8. The system according to any one of claims 1 to 7, characterized in that the SCP further includes a voice PPS, and the storing and deducting user account information is performed by the voice PPS, and the The SCP is connected to AAA through a signaling transmission link. The voice PPS in the SCP is connected to AAA through a signaling transmission link. The SCP allocates a fee from the corresponding user account after receiving a charging request from AAA. This is done by voice PPS.
9、 一种在 CDMA网络中实现数据业务预付费的方法, 所述 CDMA 网络包括语音网络和数据网络两部分, 所述语音网络包括用于保存用户 账号信息并进行扣费操作的业务控制点 SCP, 所述数据网络包括 PDSN 和 AAA, 该方法至少包括:  9. A method for implementing prepayment of data services in a CDMA network, the CDMA network includes a voice network and a data network, and the voice network includes a service control point SCP for storing user account information and performing a chargeback operation The data network includes PDSN and AAA, and the method at least includes:
a.预先建立语音网络的 SCP和数据网络的 AAA之间的信令传输链 路;  a. Establish a signaling transmission link between the SCP of the voice network and the AAA of the data network in advance;
b. 在接收到来自移动终端的数据业务请求后, PDSN向 AAA发送 接入请求, AAA在判断出该移动终端用户是数据业务预付费用户后,通 过所述信令传输链路向 SCP发送鉴权请求;  b. After receiving the data service request from the mobile terminal, the PDSN sends an access request to AAA. After determining that the mobile terminal user is a prepaid user of the data service, the AAA sends an authentication to the SCP through the signaling transmission link. Claim
c SCP在对移动终端鉴权成功后从该用户的账户中分配一段费用, 然后通过所述信令传输链路将分配的费用返回给 AAA;  c SCP allocates a fee from the user's account after successfully authenticating the mobile terminal, and then returns the allocated fee to AAA through the signaling transmission link;
d. AAA指令 PDSN允许移动终端接入, 并根据 SCP分配的费用控 制移动终端使用数据业务。  d. AAA instruction PDSN allows mobile terminals to access, and controls mobile terminals to use data services according to the cost allocated by SCP.
10、 根据权利要求 9所述的方法, 其特征是, 步骤 a中建立 SCP和 AAA之间的信令传输链路是通过扩展 RADIUS协议定义传输信令的消 息格式, 所述传输信令包括鉴权请求消息、 鉴权请求响应消息、 计费请 求消息和计费请求响应消息。 10. The method according to claim 9, wherein the establishment of the signaling transmission link between SCP and AAA in step a is to define the consumption of transmission signaling by extending the RADIUS protocol. Information format, the transmission signaling includes an authentication request message, an authentication request response message, a charging request message, and a charging request response message.
11、 根据权利要求 10所述的方法, 其特征是, 所述鉴权请求消息、 鉴权请求响应消息、 计费请求消息和计费请求响应消息至少包括会话标 识和移动终端号码信息。  11. The method according to claim 10, wherein the authentication request message, the authentication request response message, the charging request message, and the charging request response message include at least a session identifier and mobile terminal number information.
12、根据权利要求 11所述的方法, 其特征是, 所述鉴权请求响应消 息进一步包括分配的费用信息和鉴权回应信息; 所述计费请求消息进一 步包括操作类型信息, 在所述操作类型表示费用申请时进一步包括申请 费用信息, 在所述操作类型表示费用返还时进一步包括返还的费用信 息; 所述计费请求响应消息进一步包括操作类型信息, 在所述操作类型 表示费用申请响应时进一步包括申请到的费用信息。  12. The method according to claim 11, wherein the authentication request response message further includes allocated cost information and authentication response information; the charging request message further includes operation type information, and in the operation When the type indicates the fee application, the application fee information is further included, and when the operation type indicates the fee refund, the returned cost information is further included; the charging request response message further includes the operation type information, when the operation type indicates the fee application response It also includes information on the fees requested.
13、根据权利要求 9所述的方法, 其特征是, 步骤 b中进一步包括: PDSN在向 AAA发送的接入请求中增加用于表示该 PDSN是否支持预 付费的信息, AAA在接收到该请求后, 进一步判断 PDSN是否支持预 付费, 如果是, 执行判断该移动终端用户是否是数据业务预付费用户的 步骤, 否则指示 PDSN不允许接入该移动终端。  13. The method according to claim 9, characterized in that, step b further comprises: adding an information indicating whether the PDSN supports prepayment to the access request sent by the PDSN to the AAA, and the AAA receives the request Then, it is further determined whether the PDSN supports prepayment, and if so, the step of judging whether the mobile terminal user is a prepaid user of the data service is performed; otherwise, the PDSN is instructed to not allow access to the mobile terminal.
14、 根据权利要求 9所述的方法, 其特征是, 步骤 d中根据 SCP分 配的费用控制移动终端使用数据业务包括:  14. The method according to claim 9, characterized in that, in step d, controlling the mobile terminal to use the data service according to the cost allocated by the SCP comprises:
dl、 PDSN在接收到允许移动终端接入的消息后 , 向 AAA上报一个 初始的计费请求消息;  dl. After receiving the message that the mobile terminal is allowed to access, the PDSN reports an initial charging request message to the AAA;
d2、 AAA根据预先确定的计费策略将 SCP分配的费用转换成用于 表示停止向移动终端提供数据业务的条件的控制信息, 然后将所述控制 信息发送给 PDSN;  d2, the AAA converts the cost allocated by the SCP into control information used to indicate a condition for stopping providing data services to the mobile terminal according to a predetermined charging policy, and then sends the control information to the PDSN;
d3、 PDSN根据接收自 AAA的控制信息监测移动终端使用数据业务 的状态, 并在达到所述条件时停止向移动终端提供数据业务。 d3. The PDSN monitors the state of the mobile terminal using the data service according to the control information received from the AAA, and stops providing the data service to the mobile terminal when the condition is met.
15、根据权利要求 14所述的方法, 其特征是, 所述控制信息是表示 激活会话可维持时间的参数, 所述 PDSN进一步包括会话激活触发器, 步骤 d3包括: 15. The method according to claim 14, characterized in that the control information is a parameter indicating a duration for which an active session can be maintained, the PDSN further includes a session activation trigger, and step d3 includes:
PDSN的会话激活触发器监测移动终端使用数据业务的时间长度, 并在所监测的时间长度等于所述激活会话可维持时间时触发, PDSN在 检测到所述触发时停止向移动终端提供数据业务。  The PDSN's session activation trigger monitors the length of time that the mobile terminal uses the data service, and triggers when the monitored time length is equal to the activation session's sustainable time, and the PDSN stops providing data services to the mobile terminal when it detects the trigger.
16、根据权利要求 14所述的方法, 其特征是, 所述控制信息是表示 可维持流量的参数, 所述 PDSN进一步包括流量触发器, 步骤 d3包括: 16. The method according to claim 14, wherein the control information is a parameter indicating that the traffic can be maintained, the PDSN further includes a traffic trigger, and step d3 includes:
PDSN的流量触发器监测移动终端使用数据业务的流量, 并在所监 测的流量等于所述可维持流量时触发, PDSN在检测到所述触发时停止 向移动终端提供数据业务。 The PDSN's traffic trigger monitors the traffic of the mobile terminal using data services, and triggers when the monitored traffic is equal to the maintainable traffic, and the PDSN stops providing data services to the mobile terminal when it detects the trigger.
17、根据权利要求 14所述的方法, 其特征是, 所述控制信息是表示 激活会话可维持时间的参数和可维持流量的参数, 所述 PDSN进一步包 括会话激活触发器和流量触发器, 步骤 d3包括:  17. The method according to claim 14, wherein the control information is a parameter indicating a sustainable time and a sustainable flow parameter of the activation session, and the PDSN further includes a session activation trigger and a traffic trigger, and d3 includes:
PDSN的会话激活触发器监测移动终端使用数据业务的时间长度, 并在所监测的时间长度等于所述激活会话可维持时间时触发, 流量触发 器监测移动终端使用数据业务的流量, 并在所监测的流量等于所述可维 持流量时触发, PDSN在检测到任意一个触发时, 停止向移动终端提供 数据业务。  The PDSN's session activation trigger monitors the length of time that the mobile terminal uses the data service and triggers when the monitored time length is equal to the duration of the activation session. The traffic trigger monitors the traffic of the mobile terminal using the data service and monitors the The trigger is triggered when the traffic equals the maintainable traffic, and the PDSN stops providing data services to the mobile terminal when any trigger is detected.
18、 根据权利要求 15至 17中任意一项所述的方法, 其特征是, 在 PDSN检测到所述触发和停止提供数据业务之间进一步包括:  18. The method according to any one of claims 15 to 17, characterized in that between the PDSN detecting the triggering and stopping providing data services further comprises:
d41、 PDSN在接测到所述触发后, 向 AAA发送中间计费请求消息; d42、 AAA向 SCP发送计费请求消息, SCP判断用户账户余额是否 充足, 如果是, 执行步骤 d43 , 否则执行步骤 d46;  d41. After receiving the trigger, the PDSN sends an intermediate charging request message to the AAA; d42, the AAA sends a charging request message to the SCP, and the SCP determines whether the user account balance is sufficient. If yes, perform step d43, otherwise perform step d46;
d43、 SCP从用户账户中分配一段费用,然后将分配的费用通过计费 请求响应消息返回给 AAA; d43, SCP allocates a fee from the user account, and then passes the allocated fee through billing Request response message returned to AAA;
d44、 AAA根据预先确定的计费策略将 SCP分配的费用转换成控制 信息, 然后将所述控制信息发送给 PDSN;  d44. The AAA converts the cost allocated by the SCP into control information according to a predetermined charging policy, and then sends the control information to the PDSN;
d45、 PDSN的触发器根据控制信息监测移动终端使用数据业务的状 态, 并在达到所述条件时触发, 然后返回到步骤 d41;  d45, the trigger of the PDSN monitors the status of the mobile terminal using the data service according to the control information, and triggers when the condition is reached, and then returns to step d41;
d46、 SCP向 AAA返回表示未分配费用的计费请求响应消息; d47、 AAA将控制信息设置为零, 并设置控制会话参数为零, 然后 将所述信息通过计费请求响应消息发送给 PDSN;  d46. The SCP returns a charging request response message indicating unallocated charges to AAA; d47, AAA sets the control information to zero and sets the control session parameters to zero, and then sends the information to the PDSN through the charging request response message;
d48、 PDSN在接收到该计费请求响应消息后, 停止向移动终端提供 数据业务。  d48. After receiving the charging request response message, the PDSN stops providing data services to the mobile terminal.
19、 根据权利要求 15至 17中任意一项所述的方法, 其特征是, 在 PDSN检测到所述触发之前进一步包括:  19. The method according to any one of claims 15 to 17, before the PDSN detects the trigger, further comprising:
PDSN在接收到移动终端主动停止数据业务的信息后,向 AAA上报 表示停止的计费请求消息, 其中包含移动终端使用数据业务的当前状 态;  After receiving the information that the mobile terminal actively stops the data service, the PDSN reports to the AAA a charging request message indicating the stop, which includes the current status of the mobile terminal using the data service;
AAA根据所述当前状态确定所分配的费用中的剩余费用,然后将剩 余的费用通过计费请求发送给 SCP;  AAA determines the remaining cost of the allocated cost according to the current state, and then sends the remaining cost to the SCP through a billing request;
SCP将所述剩余费用返回到移动终端用户的账户中, 然后向 AAA 返回确认信息;  SCP returns the remaining charges to the account of the mobile terminal user, and then returns confirmation information to AAA;
AAA指示 PDSN停止向移动终端提供数据业务。  AAA instructs PDSN to stop providing data services to mobile terminals.
20、 根据权利要求 15至 17中任意一项所述的方法, 其特征是, 所 述 PDSN进一步包括计费周期触发器, 在 PDSN检测到计费周期触发器 的触发之后进一步包括:  20. The method according to any one of claims 15 to 17, wherein the PDSN further comprises a charging cycle trigger, and after the PDSN detects the triggering of the charging cycle trigger, further comprising:
PDSN向 AAA发送中间计费请求消息,其中触发器类型表示计费周 期触发器触发, 所述请求消息中包括移动终端使用数据业务的当前状 态; The PDSN sends an intermediate charging request message to the AAA, where the trigger type indicates that the charging cycle trigger is triggered, and the request message includes the current status of the mobile terminal using the data service. State
AAA根据所述当前状态确定所分配的费用中的剩余费用,并确定剩 余费用是否为零, 如果是, 向 SCP发送用于申请费用的计费请求消息, 然后根据 SCP分配的费用确定控制信息;否则直接根据剩余费用确定控 制信息;  AAA determines the remaining cost of the allocated fees according to the current state, and determines whether the remaining fees are zero, and if so, sends a billing request message for applying for fees to the SCP, and then determines control information according to the fees allocated by the SCP; Otherwise, the control information is directly determined based on the remaining costs;
AAA将控制信息发送给 PDSN, PDSN根据所述控制信息重新设置 计费周期触发器、 会话激活触发器和 /或流量触发器。  The AAA sends control information to the PDSN, and the PDSN resets a charging cycle trigger, a session activation trigger, and / or a traffic trigger according to the control information.
21、 根据权利要求 15至 17中任意一项所述的方法, 其特征是, 所 述 PDSN进一步包括费率切换触发器, 在 PDSN检测到费率切换触发器 的触发之后进一步包括:  21. The method according to any one of claims 15 to 17, wherein the PDSN further comprises a rate switching trigger, and after the PDSN detects the trigger of the rate switching trigger, further comprising:
PDSN向 AAA发送中间计费请求消息,其中触发器类型表示费率切 换触发器触发, 所述请求消息中包括移动终端使用数据业务的当前状 态;  The PDSN sends an intermediate charging request message to AAA, where the trigger type indicates that the rate switching trigger is triggered, and the request message includes the current status of the mobile terminal using the data service;
AAA根据所述当前状态确定所分配的费用中的剩余费用,并确定剩 余费用是否为零, 如果是, 向 SCP发送用于申请费用的计费请求消息, 然后根据 SCP分配的费用和新的费率确定控制信息;否则直接根据剩余 费用和新的费率确定控制信息;  AAA determines the remaining cost of the allocated costs according to the current status, and determines whether the remaining costs are zero, and if so, sends a billing request message to the SCP for the application fee, and then according to the SCP's allocated fee and the new fee Rate control information; otherwise, control information is determined directly based on the remaining cost and the new rate
AAA将控制信息发送给 PDSN, PDSN根据所述控制信息重新设置 费率切换触发器、 会话激活触发器和 /或流量触发器。  The AAA sends control information to the PDSN, and the PDSN resets a rate switching trigger, a session activation trigger, and / or a traffic trigger according to the control information.
22、 根据权利要求 9所述的方法, 其特征是, 在移动终端进行跨越 一步包括:  22. The method according to claim 9, wherein the step of performing a leap on the mobile terminal comprises:
SCP在确定用户账户余额不足后, 向 AAA发送表示鉴权失败的鉴 权请求响应消息;  After determining that the user account balance is insufficient, the SCP sends an authentication request response message to the AAA indicating that the authentication has failed;
AAA向切换前的 PDSN发送指示 PDSN回收再移动终端切换前时分 配给移动终端的费用; AAA sends the PDSN before the handover to instruct the PDSN to recycle and then the mobile terminal time before the handover The cost of allocating mobile terminals;
切换前的 PDSN通过表示停止的计费请求消息将移动终端使用数据 业务的当前状态发送给 AAA;  The PDSN before the handover sends the current status of the mobile terminal's data service to the AAA through a charging request message indicating the stop;
AAA根据所述当前状态确定剩余费用, 然后将剩余费用返回给 SCP;  AAA determines the remaining cost according to the current state, and then returns the remaining cost to the SCP;
SCP将剩余费用返回到用户账户中,然后为移动终端分配一段费用, 将分配的费用发送给 AAA;  SCP returns the remaining charges to the user account, then allocates a fee for the mobile terminal, and sends the allocated fee to AAA;
AAA指令 PDSN允许移动终端接入, 并根据 SCP分配的费用控制 移动终端使用数据业务。 '  The AAA instructs the PDSN to allow the mobile terminal to access, and controls the mobile terminal to use the data service according to the cost allocated by the SCP. '
23、 根据权利要求 9所述的方法, 其特征是, 所述数据网絡进一步 包括数据 PPS, 所述 AAA和 SCP的信息交互通过所述数据 PPS转发。  23. The method according to claim 9, wherein the data network further comprises a data PPS, and the information exchange between the AAA and the SCP is forwarded through the data PPS.
24、 根据权利要求 9所述的方法, 其特征是, 所述 SCP进一步包括 一个语音 PPS, 所述预先建立 SCP和 AAA之间的信令传输链路是建立 SCP中的语音 PPS和 AAA之间的信令传输链路; 步骤 c中 SCP分配一 段費用并将分配的费用返回给 AAA是由 SCP中的语音 PPS完成的。  24. The method according to claim 9, wherein the SCP further comprises a voice PPS, and the pre-established signaling transmission link between the SCP and AAA is to establish the voice between the PPS and AAA in the SCP. The signaling transmission link in step c; in step c, the SCP allocates a fee and returns the allocated fee to AAA by the voice PPS in the SCP.
PCT/CN2004/001571 2003-12-29 2004-12-29 Method and systems for implementing data service prepayment in a cdma network WO2005083933A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200310116024 CN1635726A (en) 2003-12-29 2003-12-29 Method for implementing CDMA20001X packet prepay service
CN200310116024.5 2003-12-29

Publications (1)

Publication Number Publication Date
WO2005083933A1 true WO2005083933A1 (en) 2005-09-09

Family

ID=34843527

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2004/001571 WO2005083933A1 (en) 2003-12-29 2004-12-29 Method and systems for implementing data service prepayment in a cdma network

Country Status (2)

Country Link
CN (1) CN1635726A (en)
WO (1) WO2005083933A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008028394A1 (en) * 2006-08-29 2008-03-13 Zte Corporation A method for implementing prepaid service switching in code division multiple access network
US11729588B1 (en) 2021-09-30 2023-08-15 T-Mobile Usa, Inc. Stateless charging and message handling

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100365983C (en) * 2005-11-29 2008-01-30 华为技术有限公司 Method for realizing packet data prepayment service
CN1992763B (en) * 2005-12-31 2010-12-01 中兴通讯股份有限公司 Method for realizing prepayment of digital trunking system
CN101001298B (en) * 2006-01-12 2010-12-08 中兴通讯股份有限公司 Method for group prepayment of digital trunking system
CN101026664B (en) * 2006-02-17 2010-12-08 华为技术有限公司 Prepaid business charging method and system
CN101031009A (en) * 2006-03-04 2007-09-05 中兴通讯股份有限公司 Method for realizing packet prepaid in CDMA system
CN101090326B (en) * 2006-09-08 2010-05-12 中兴通讯股份有限公司 Prepayment implement method based on access characteristic parameter
CN101094514B (en) * 2006-09-30 2010-07-14 中兴通讯股份有限公司 Access control method for prepaid users in cluster communication system
CN100481931C (en) * 2007-03-16 2009-04-22 清华大学 Charging realizing method adapted to flow media
CN101420494B (en) * 2007-10-24 2012-11-21 朗讯科技公司 Method and apparatus for establishing session connection for prepaid user
CN101183957B (en) * 2007-12-10 2011-08-10 华为技术有限公司 Online charging method, system and equipment
CN101227300B (en) * 2007-12-19 2010-05-19 华为技术有限公司 Post-paying charge rate switch method and access service network gateway
CN101616392B (en) * 2009-06-26 2012-04-18 中兴通讯股份有限公司 Value added service providing system and method
CN102244852A (en) * 2010-05-13 2011-11-16 华为技术有限公司 Charging method and system
CA2910662C (en) 2013-04-26 2017-10-31 Huawei Technologies Co., Ltd. Data transmission method, base station, and wireless communications device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002017561A2 (en) * 2000-08-18 2002-02-28 Telefonaktiebolaget L M Ericsson (Publ) System and method of monitoring and reporting accounting data based on volume
EP1265397A2 (en) * 2001-06-07 2002-12-11 Fujitsu Limited IP billing system, and device
WO2003003654A1 (en) * 2001-06-29 2003-01-09 Telecom Italia S.P.A. Identification and documentation of accesses to a communication network
US20030061160A1 (en) * 2001-09-21 2003-03-27 Nec Corporation Information processing system for billing system and billing information collection method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002017561A2 (en) * 2000-08-18 2002-02-28 Telefonaktiebolaget L M Ericsson (Publ) System and method of monitoring and reporting accounting data based on volume
EP1265397A2 (en) * 2001-06-07 2002-12-11 Fujitsu Limited IP billing system, and device
WO2003003654A1 (en) * 2001-06-29 2003-01-09 Telecom Italia S.P.A. Identification and documentation of accesses to a communication network
US20030061160A1 (en) * 2001-09-21 2003-03-27 Nec Corporation Information processing system for billing system and billing information collection method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008028394A1 (en) * 2006-08-29 2008-03-13 Zte Corporation A method for implementing prepaid service switching in code division multiple access network
US11729588B1 (en) 2021-09-30 2023-08-15 T-Mobile Usa, Inc. Stateless charging and message handling
US12041521B2 (en) 2021-09-30 2024-07-16 T-Mobile Usa, Inc. Stateless charging and message handling

Also Published As

Publication number Publication date
CN1635726A (en) 2005-07-06

Similar Documents

Publication Publication Date Title
US8498391B2 (en) Methods, systems and program products for supporting prepaid service within a communication network
US7885636B2 (en) Data pre-paid in simple IP data roaming
US8260254B2 (en) Network billing
CN101222341B (en) Method for accounting in telecommunication system
KR101421041B1 (en) Local roaming charging in lte/epc networks
US6970693B2 (en) Method, system and telecommunication node for alternative prepaid support
WO2005083933A1 (en) Method and systems for implementing data service prepayment in a cdma network
US20080270299A1 (en) Wap gateway and method for implementing billing control on prepaid subscribers
CN101208943A (en) Controlling the provision of services in a communication network
WO2009100669A1 (en) Charging method, control device, charging device and charging system
CN100466526C (en) Credit control client, credit control server, billing system and billing method
US20120123919A1 (en) Method And System For Billing In A Communication Network
WO2013185530A1 (en) Method for billing control and device thereof
CN109547956B (en) A multi-service concurrent processing method
WO2005004389A1 (en) System and method for implementing data service prepayment
KR20030052567A (en) Method for Processing Pre-Paid Account of Authentication Authorization Accounting Server in Mobile Communication Packet Data Network
WO2017084394A1 (en) Roaming charging method, relevant apparatus, and online charging system
WO2010069270A1 (en) Online recharging method, system and equipment
KR100812484B1 (en) System and method for providing free contents in WBC network
WO2009070947A1 (en) Prepay content accounting system and method thereof
KR100815390B1 (en) How to notify prepaid subscribers about running out of balance
KR101452413B1 (en) System and method for providing data service upon expiration of packet limit
WO2011153871A1 (en) Method and system for implementing packet prepayment
WO2008154834A1 (en) Method and equipment for transmitting user number
WO2008028394A1 (en) A method for implementing prepaid service switching in code division multiple access network

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

122 Ep: pct application non-entry in european phase