WO2014000171A1 - Management method and apparatus for billing package before and after package time limit - Google Patents

Management method and apparatus for billing package before and after package time limit Download PDF

Info

Publication number
WO2014000171A1
WO2014000171A1 PCT/CN2012/077595 CN2012077595W WO2014000171A1 WO 2014000171 A1 WO2014000171 A1 WO 2014000171A1 CN 2012077595 W CN2012077595 W CN 2012077595W WO 2014000171 A1 WO2014000171 A1 WO 2014000171A1
Authority
WO
WIPO (PCT)
Prior art keywords
package
message
old
quota
expires
Prior art date
Application number
PCT/CN2012/077595
Other languages
French (fr)
Chinese (zh)
Inventor
夏霄轶
赵林东
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201280000714.1A priority Critical patent/CN102870441B/en
Priority to PCT/CN2012/077595 priority patent/WO2014000171A1/en
Publication of WO2014000171A1 publication Critical patent/WO2014000171A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/82Criteria or parameters used for performing billing operations
    • H04M15/8214Data or packet based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • H04L12/1467Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network involving prepayment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/43Billing software details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a management method and apparatus before and after an expired billing package.
  • Prepaid users can purchase multiple billing packages, each of which has an expiration date, that is, it is used within the valid period. After the expiration date, the current package is not available, and a new package is required. Moreover, the operator usually prompts the user before the new package is enabled, such as: "The old package expires, the new package is enabled", and after the user chooses to enable it, the fee is deducted from the new package.
  • a management method for a billing package that is commonly used in the prior art before and after the expiration includes:
  • Step 101 The online charging system (OCS, Online Charging System) receives the gateway general wireless radio service support node (GGSN, Gateway GPRS (General Packet Radio Service) Support Node every time the old package is about to expire. After the sent credit control request (CCR, Credit Control Request), the remaining validity period of the old package is calculated and the timing of the next re-authorization credit control request CCR of the GGSN is controlled by the Validity Timer (VT) parameter to ensure the GGSN. Send CCR to OCS 5 minutes before the expiration; Step 102: GGSN sends CCR to OCS at 5 minutes from the time when the old package expires;
  • OCS Online Charging System
  • Step 103 After receiving the CCR, the OCS sends a credit control response (CCA, Credit Control).
  • CCA Credit Control
  • the CCA includes: zero quota and redirect address
  • Step 104 The GGSN receives the CCA sent in step 103, performs redirection processing according to the redirected address, redirects the user to the reminder page, and provides the reminder information to the user.
  • Step 105 The GGSN sends the CCR to the OCS again due to quota exhaustion;
  • Step 106 The OCS receives the CCR in step 105, and sends a CCA to the GGSN, where the CCA includes: a short VT for controlling the duration of the redirection;
  • Step 107 After the GGSN receives the CCA in step 106, after a brief VT timeout, the GGSN sends a CCR to the OCS;
  • Step 108 After receiving the CCR in step 107, the OCS sends a CCA to the GGSN, where The CCA includes: the timeout point of the old package, and the quota in the new package;
  • the dotted line in Figure 1 is used to divide the old package before and after the expiration, and the above-mentioned operation steps occur before the old package expires.
  • Step 109 After the GGSN receives the CCA sent in step 108, the user can continue to access the service, and the GGSN reports the consumption information of the new and old packages to the OCS through the CCR after the old package expires;
  • Step 110 OCS deducts the consumption of the old package from the old package before the time limit, and deducts the consumption after the old package expires from the new package.
  • the OCS calculates the CCR after receiving the CCR sent by the GGSN every time the old package is about to expire.
  • the remaining VT of the old package is used to ensure that the GGSN sends the CCR to the OCS 5 minutes before the expiration. Therefore, the OCS repeatedly calculates the VT occupied resources multiple times during the period when the old package is approaching the expiration.
  • the CCA message transmitted between the OCS and the GGSN due to the network delay relationship, usually the GGSN starts the VT timer after receiving the CCA, and the actual timeout point in the GGSN is delayed more than the OCS expected timeout period. If the reminder time is set at the actual time of the package expiration, the consequences are: Since the VT delay causes the user to actually use the old package, the user can still use the quota in the old package. Therefore, the reminder time must be 5 minutes in advance, and at this time, because the package is valid for 5 minutes, the terminal customer may doubt the timing accuracy of the operator.
  • the settlement is also calculated between the old and new packages, and the billing process is highly complex, and various abnormal scenarios are difficult to handle. For example, after the overdue reminder is over, the quota for the subsequent quotas of the online billing user can only come from the same package, that is, the new package. Since the timeout period of the old package has not arrived, after the user uses it, the OCS needs to distinguish which package from which the actual quota consumption is to be deducted. The processing is complicated.
  • OCS has to carry out the cross-package settlement of the fee, more serious if the new package signing information specifies the use
  • the starting time must be in the old package overdue point After that, the OCS had to abandon the deduction of the portion of the old package that exceeded the old package quota limit before the old package expired.
  • the embodiment of the invention provides a management method and device for the pre- and post-period of the billing package, which can reduce the number of VTs remaining in the OCS in calculating the remaining package, and accurately control the CCR to be reported by the GGSN when the old package expires. Reduce the number of messages between OCS and GGSN.
  • An embodiment of the present invention provides a method for managing a charging package, the method comprising: sending a first message to a gateway general wireless packet service support node (GGSN) before the old package expires, the first message at least including : The old package package expires at the time point and the old package includes the remaining quota;
  • GGSN gateway general wireless packet service support node
  • the GGSN And receiving, by the GGSN, the second message, where the second message includes: the quota consumption information of the old package before expiration;
  • a new package quota is sent to the GGSN based on the stored new package information.
  • the embodiment of the invention further provides a management method before and after the charging package is overdue, and the method comprises:
  • the OCS Receiving a first message sent by the OCS, where the first message includes at least: an old package packet expiration time point and a remaining quota of the old package packet;
  • the user Before the old package expires, the user is provided with a corresponding service according to the remaining quota of the old package; according to the expired time point of the old package, the second message is sent after the old package expires, the second message includes : the old package package expires quota consumption information;
  • the embodiment of the invention further provides a management method before and after the charging package is overdue, and the method comprises:
  • the third message is sent to the GGSN, and the third message includes at least: the old package timeout point, the old package remaining quota, and the new package quota;
  • the embodiment of the invention further provides a management method before and after the charging package is overdue, and the method comprises:
  • the third message includes: at least: an expired time point of the old package, an remaining quota of the old package, and a quota of a new package;
  • the fourth message includes: consumption information of the new and old package quotas.
  • An embodiment of the present invention further provides a management apparatus, where the apparatus includes: a first sending unit, a first receiving unit, a first charging unit, and a second sending unit;
  • the first sending unit is configured to send a first message to the GGSN before the old package expires, the first message at least: the old package expired time point and the old package remaining quota; the first a receiving unit, configured to receive a second message sent by the GGSN, where the second message includes: the pre-expiration quota consumption information of the old package packet;
  • the first debit unit is configured to deduct a corresponding fee from the old package according to the pre-expiration quota message information of the old package;
  • the second sending unit is configured to send a new package quota to the GGSN according to the stored new package information.
  • An embodiment of the present invention further provides a management apparatus, where the apparatus includes: a second receiving unit, a first serving unit, a third sending unit, and a third receiving unit;
  • the second receiving unit is configured to receive a first message sent by the OCS, where the first message includes at least: an old package packet expiration time point and a remaining quota of the old package package;
  • the first service unit is configured to provide a corresponding service to the user according to the remaining quota of the old package before the old package expires;
  • the third sending unit is configured to send, according to the expired time point of the old package, a second message after the old package expires, the second message includes: the pre-expiration quota consumption information of the old package;
  • the third receiving unit is configured to receive a new package quota that is sent by the OCS, so that the user accesses the service by using the new package quota.
  • the embodiment of the invention further provides a management device, the device comprising: a fourth sending unit, a fourth receiving unit, and a second charging unit,
  • the fourth sending unit is configured to send a third message to the GGSN before the old package expires, the third message at least: the old package timeout point, the old package remaining quota, and the new package Three quotas;
  • the fourth receiving unit is configured to receive a fourth message sent by the GGSN, where the fourth message includes: consumption information of a new and old package quota;
  • the second debit unit is configured to deduct a corresponding fee from the old and new kits according to the consumption information of the new and old package quotas.
  • the embodiment of the invention further provides a management device, the device comprising: a fifth receiving unit, a second service unit, a third service unit, and a fifth sending unit;
  • the fifth receiving unit is configured to receive a third message that is sent by the OCS, where the third message includes: at least: an expired time point of the old package, an remaining quota of the old package, and a new package quota; a second service unit, configured to provide a corresponding service to the user according to the remaining quota of the old package before the old package expires;
  • the third service unit is configured to provide a corresponding service to the user according to the new package quota after the old package expires;
  • the fifth sending unit is configured to send a fourth message to the OCS after the quota of the new package is exhausted, where the fourth message includes: consumption information of the old and new package quotas.
  • the embodiment of the present invention uses the OCS to send a first message to the GGSN before the old package expires.
  • the first message includes at least: the old package expired time point and the old package remaining quota, so that the OCS It is not necessary to calculate whether the current time is over a fixed period of 5 minutes from the time when the old package packet expires after receiving the message sent by the GGSN, and avoiding the network delay caused by the transmission of the message between the OCS and the GGSN.
  • the GGSN judges the time limit of the old package package overdue.
  • the first message includes the remaining quota of the old package, so that the GGSN can control the used resources within the remaining quota of the old package before the old package expires, reducing the complexity of subsequent charging in the OCS.
  • FIG. 1 is a flow chart of a management method before and after a billing package that is commonly used in the prior art
  • FIG. 2 is a flow chart of a management method before and after a billing package is provided in the first embodiment of the present invention
  • FIG. 3 is a flow chart of a management method before and after an overdue billing package package according to Embodiment 2 of the present invention.
  • Embodiment 4 is a flowchart of a management method before and after an overdue billing package is provided in Embodiment 3 of the present invention.
  • FIG. 5 is a schematic diagram of information transmission between devices in a redirection operation
  • Figure 6 is an example of a specific reminder page
  • FIG. 7 is a flowchart of a management method before and after an overdue billing package is provided in Embodiment 4 of the present invention.
  • Embodiment 8 is a flowchart of a management method before and after an overdue billing package is provided in Embodiment 5 of the present invention.
  • Embodiment 9 is a flowchart of a management method before and after an overdue billing package is provided in Embodiment 6 of the present invention.
  • FIG. 10 is a schematic diagram of information transmission between devices in another redirection operation
  • FIG. 11 is another example of a specific reminder page
  • Figure 12 is a schematic view of a management device provided in Embodiment 7 of the present invention.
  • FIG 13 is a schematic view of a management device according to Embodiment 8 of the present invention.
  • Figure 14 is a schematic view of a management device provided in Embodiment 9 of the present invention.
  • Figure 15 is a schematic view of a management device provided in Embodiment 10 of the present invention.
  • the embodiment of the present invention provides a management method before and after the charging package expires.
  • the OCS controls the GGSN through the CCA message, and the CCA message includes at least: the time point of the old package expires and the old package.
  • the remaining quota of the package and the processing method of the overdue GGSN enable the GGSN to accurately control the CCR when the old package expires.
  • the GGSN knows the remaining quota of the old package, the new package may not be consumed before the old package expires.
  • the quota is convenient for the accounting of the old and new packages in the OCS, that is, the OCS billing is only based on the timeout point of the old package, and the deduction of the consumption of the old and new packages is not involved (not related to the expiration of the old package). The case where a new package quota has been used).
  • the embodiment of the present invention provides a method for managing the charging package before and after the expiration.
  • the executor of the method may be an OCS, but is not limited to the OCS, and the solution adopts an online charging double quota technology.
  • the two multi-service credit control instances (MSCC, Attribute-Value Pair) of the same rate group are included in the same CCA message, and each MSCC contains a quota. , respectively, before and after the rate switching.
  • a single quota technology is adopted, that is, one CCC only issues one MSCC of the same rate group, and the quotas before and after the rate switching cannot be distinguished.
  • Step 201 Before the old package expires, send the first message to the GGSN, where the first message includes at least: the old package expired time point and the old package remaining quota (or referred to as "old package available quota");
  • CCA is the carrier of the first message, but the carrier is not limited to CCA.
  • OCS will send the first message including at least the old package package expiration time point and the old package package remaining quota to the GGSN, so that the GGSN can accurately know the old package package expiration time point without worrying that the old package package cannot be accurately expired due to network delay. After that, follow-up operations;
  • the GGSN receives the remaining quota of the old package in the first message sent by the OCS, so that the GGSN can easily control the available quota of the user before the old package expires, preventing excessive use. Billing problem.
  • Step 202 Receive a second message sent by the GGSN, where the second message includes: an expired quota consumption information of the old package packet;
  • the carrier of the second message may specifically be a CCR, but is not limited to CCR.
  • the timing at which the OCS receives the second message sent by the GGSN is after the old package expires. Usually, after the old package expires (because the GGSN knows the timeout point of the old package), the GGSN triggers the CCR in the CCR message. Carrying the quota consumption information of the old package before the expiration, it is convenient for OCS to deduct the old package after the old package expires, and allocate the quota of the new package to the GGSN in time.
  • Step 203 Deduct the corresponding fee (debit fee) in the old package according to the quota consumption information of the old package before the expiration;
  • Step 204 Send a new package quota to the GGSN according to the stored new package information.
  • the OCS can simultaneously trigger the execution of step 203 and step 204, that is, the old package is deducted in the OCS, and the new package is sent at the same time as the new package is enabled.
  • the package quota is given to the GGSN.
  • the method uses the OCS to send the first message to the GGSN before the old package expires
  • the first message includes at least: the old package The expired time point of the package and the remaining quota of the old package, so that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN, and avoids the OCS and
  • the network delay of the transmission of the message between the GGSNs makes the GGSN accurately judge the timeout point of the old package.
  • the first message includes the remaining quota of the old package, so that the GGSN can control the resources used in the remaining quota of the old package before the old package expires, which reduces the complexity of subsequent charging in the OCS.
  • the embodiment of the present invention provides a management method before and after the charging of the charging package.
  • the embodiment is an embodiment corresponding to the first embodiment.
  • the first embodiment is illustrated from the perspective of the OCS, and the second embodiment is Explain from the perspective of the GGSN.
  • the executor of the method may be a GGSN, but is not limited to the GGSN.
  • the method includes the following:
  • Step 301 The receiving OCS sends a first message, where the first message includes at least: Time point and the remaining quota of the old package;
  • the GGSN usually receives the first message sent by the OCS before the old package expires, and the first message may be specifically carried on the CCA sent by the OCS.
  • the OCS does not have to calculate the time point 5 minutes away from the old package expires (the 5 minutes is the time point usually set in the prior art;), and sends CCA.
  • the GGSN knows the timeout point of the old package, there is no need to worry about the inability to accurately follow the old package after the network delay.
  • Step 302 Before the old package expires, provide the corresponding service according to the remaining quota of the old package;
  • Step 303 Send a second message after the old package packet expires according to the expired time point of the old package package, where the second message includes: the quota consumption information of the old package package before the expiration;
  • the GGSN knows the timeout point of the old package, after the old package expires,
  • the GGSN may specifically send a CCR, and carry a second message in the CCR, informing the OCS to allocate a new package quota for the user, and also notifying the OCS to deduct the fee.
  • Step 304 Receive a new package quota issued by the OCS, so that the user accesses the service by using the new package quota.
  • the method uses the GGSN to receive the first message sent by the OCS before the old package expires, and the first message includes at least: the old message The expired time point of the package package and the remaining quota of the old package, so that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN, and avoids the OCS.
  • the network delay of the transmission of the message between the GGSN and the GGSN makes the GGSN accurately judge the timeout point of the old package.
  • the first message also includes the remaining quota of the old package, so that the GGSN can control the resources used in the remaining quota of the old package before the old package expires, reducing the complexity of subsequent charging in the OCS.
  • Embodiment 3 The embodiment of the present invention provides a management method before and after the charging package is expired. This embodiment is combined with the foregoing Embodiments 1 and 2, and a specific example of adding a redirection operation.
  • the method includes: Step 401: The OCS sends a first message to the GGSN before the old package expires.
  • the first message includes: the old package expired time point and the old package remaining quota, the first message further includes: a redirect page address Redirect time (VT) timer; it should be understood that the typical application of the AoC (Advice of Charge) function in the mobile billing domain online charging function is to recharge the user account after the balance is exhausted. remind. It is completed by network elements such as OCS, GGSN, and Portal Server.
  • VT redirect page address Redirect time
  • the OCS sends the address of the reminder page to the GGSN.
  • the GGSN monitors the usage of the quota. When the quota is exhausted, the GGSN redirects the terminal user to the reminder page through the redirect mode, which facilitates the user to perform recharge and other processing.
  • Step 402 The GGSN receives the first message sent by the OCS, where the first message includes: an old package expired time point and an old package remaining quota; the first message further includes: the redirected page address after the old package expires, and the redirect is effective Time (VT) timer;
  • Step 403 Before the old package expires, the GGSN provides the corresponding service according to the remaining quota of the old package; the GGSN expires according to the old package, after the old package expires, when the user initiates the Internet
  • the GGSN sends the redirected page address (specifically, the URL address suffix user mobile phone number) to the user terminal;
  • Step 404 When the user clicks the redirect page address, the user terminal obtains the reminder page on the Portal Server through the GGSN; 5, as shown in FIG.
  • FIG. 5 is a schematic diagram of information transmission between devices in a redirection operation, wherein, when the GGSN determines that the old package expires, the user has initiated access to the Internet. Operation, and the accessed Internet address is www.xyz.com, when the user clicks on the w on the terminal When ww.xyz.com address, GGSN ⁇ ! The redirect address www.portal.com is sent to the user, and the user has to click the link of the address to see the reminder page, so the user's click operation is actually displayed as the reminder page stored on the portal server.
  • the portal server sends the user's selection result to the OCS, so that the OCS can perform quota and policy control on the GGSN.
  • the reminder page in step 404 can display: an old package overdue reminder, and a button for whether the new package is used. If the user launches a button that uses the new package, the portal server notifies the OCS of the button's instructions.
  • FIG. 6 shows an example of a specific reminder page, where ⁇ Use>, ⁇ Reject> represents a button that two users can select. After the user selects a specific button, the portal server can notify the OCS of the selection result, so that the OCS can further control the GGSN.
  • Step 405 After the GGSN ends the redirection effective time (VT), the GGSN sends a second message, where the second message includes: a message including the quota consumption information of the old package packet before the expiration;
  • the redirect effective time can be set to a very short period of time (which can be a few seconds), so that the GGSN can be redirected in a short time after the old package expires.
  • the reminder page is displayed to the user, but at the same time, the CCR that carries the second message after the end of the redirected VT does not affect the user to start the new package.
  • Step 406 The OCS receives the second message sent by the GGSN, where the second message includes: the quota consumption information of the old package packet before the expiration;
  • Step 407 The OCS deducts the corresponding fee (debit fee) from the old package according to the quota consumption information of the old package package.
  • Step 408 The OCS sends a new package quota to the GGSN according to the stored new package information.
  • the method uses the OCS to send the first message to the GGSN before the old package expires, and the first message includes at least: the old package The expired time point of the package and the remaining quota of the old package, so that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN, and avoids the OCS and The network delay of the transmission of the message between the GGSNs makes the GGSN accurately judge the timeout point of the old package.
  • the first message includes the remaining quota of the old package, so that the GGSN can control the resources used in the remaining quota of the old package before the old package expires, which reduces the complexity of subsequent charging in the OCS.
  • the first message includes: a redirect page address after the old package packet expires, and a redirect valid time (VT) timer, so that the GGSN performs a redirection process to display the reminder page to the user, but at the same time, in the redirect After the VT ends, the CCR carrying the second message is sent, and does not affect the user to start the new package.
  • Embodiment 4 The embodiment of the present invention provides a management method for a charging package before and after an expired period. As shown in FIG. 7 , the executor of the method may be an OCS, but is not limited to the OCS.
  • the method includes the following steps: Step 701 Before the old package expires, the third message is sent to the GGSN, and the third message includes at least: the old package expires, the old package remaining quota, and the new package quota; wherein, step 701 and the first embodiment
  • the step 201 is similar, that is, the third message is similar to the first message in the first embodiment, that is: the OCS can specifically pass the CCA as the carrier of the third message, but the carrier is not limited to the CCA; the OCS will include at least the old package packet expiration time point and
  • the message of the remaining quota of the old package is sent to the GGSN, so that the GGSN side knows the timeout point of the old package, so that the GGSN can accurately know the timeout point of the old package, without worrying that the network package may not be accurate after the old package expires.
  • step 701 is different from step 201 in the first embodiment in that the third message includes not only the same as the first message: the old package packet expired time point, and the old package packet remaining quota, and further includes a different from the first message.
  • New package package quota OCS can issue a new package quota before the old package expires, so that the GGSN does not need to send the CCR immediately after the old package expires.
  • the GGSN can send a CCR request after the old package expires and the new quota is exhausted.
  • OCS Unlike in the first embodiment, the OCS needs to send a new quota to the GGSN after the old package expires, saving the process.
  • Step 702 Receive a fourth message sent by the GGSN, where the fourth message includes: consumption information of the new and old package quotas; wherein, the GGSN may be after the old package expires, and after the new package quota is exhausted, send the above
  • the fourth message, the fourth message can be carried by the CCR.
  • Step 703 Deduct the corresponding fee from the new and old package according to the consumption information of the new and old package quotas.
  • the management method before and after the overdue of a charging package uses OCS to send a third message to the GGSN before the old package expires.
  • the third message includes at least: the old package timeout point, the old package remaining quota, and the new package quota, so that the OCS can
  • the judgment of the old package package is accurate.
  • the third message also includes the remaining quota of the old package, so that the GGSN can control the used resources within the remaining quota of the old package before the old package expires, reducing the complexity of subsequent charging in the OCS.
  • the third message sent by the OCS further includes a new package quota, so that the GGSN does not have to trigger the operation for requesting the OCS to allocate a new package quota immediately after the old package expires, but the GGSN according to the new message in the third message.
  • the quota message provides the user with a new package quota service after the expiration, thereby saving the number of communication between the OCS and the GGSN.
  • Embodiment 5 The embodiment of the present invention provides a management method for a charging package before and after an expired period.
  • the executor of the method may be a GGSN, but is not limited to the GGSN.
  • the method includes the following steps: Step 801 : receiving the third message sent by the OCS, the third message at least: the old package expired time point, the old package remaining quota, and the new package quota; wherein, the GGSN usually receives the OCS before the old package expires
  • the third message sent, the third message may be specifically carried on the CCA sent by an OCS.
  • Step 802 Before the old package expires, provide the corresponding service according to the remaining quota of the old package; after the old package expires, provide the corresponding service according to the new package quota;
  • the third message sent by the OCS includes: the old package package expired time point, the old package package remaining quota, and the new package package quota, so that the GGSN can easily perform step 802, in the old package Before the package expires, the user is provided with the corresponding business according to the remaining quota of the old package; after the old package expires, the user is provided with the corresponding service according to the new package quota.
  • the fourth message includes: Consumption information of the new and old package quotas.
  • the GGSN may trigger the sending of the CCR to the OCS when the new package quota is exhausted.
  • the CCR carries the fourth message, and the fourth message includes the consumption information of the old and new package quotas to facilitate the calculation of the fee in the OCS.
  • the method uses the OCS to send a third message to the GGSN before the old package expires, the third message at least including: the old package The overdue time of the package, the remaining quota of the old package, and the quota of the new package, so that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN. Moreover, the network delay of the transmission of the message between the OCS and the GGSN is avoided, so that the GGSN can accurately determine the timeout point of the old package.
  • the third message also includes the remaining quota of the old package, so that the GGSN can control the used resources within the remaining quota of the old package before the old package expires, reducing the complexity of subsequent charging in the OCS.
  • the third message sent by the OCS further includes a new package quota, so that the GGSN does not have to trigger the request for the OCS to allocate a new package quota immediately after the old package expires, but the GGSN according to the new message in the third message.
  • the quota message provides the user with a new package quota service after the expiration, thereby saving the number of communication between the OCS and the GGSN.
  • Embodiment 6 The embodiment of the present invention provides a management method before and after the charging package is expired. This embodiment is combined with the above embodiments 4 and 5, and a specific example of adding a redirection operation. As shown in FIG. 9, the method includes: Step 901: Before the old package expires, the OCS sends a third message to the GGSN, where the third message includes at least: an expired time point of the old package, an remaining quota of the old package, and The new package quota; the third message also includes: Redirect page address, redirection method is one-shot reset Direction
  • AoC Advanced of Charge
  • the redirected page address that can be included in the third message sent by the OCS, and the redirection indication in the redirect mode are one time, which is convenient for the GGSN to perform redirection after the old package expires, providing the user with Reminder page.
  • Step 903 Before the old package expires, the GGSN provides the corresponding service according to the remaining quota of the old package; the GGSN redirects according to the old package timeout and the redirect mode. Instructing, after the old package expires, when the user initiates an Internet access, the GGSN sends the redirected page address (specifically, the URL address suffix user mobile phone number) to the user terminal; wherein the GGSN redirection mode is limited in this embodiment. For one time, the method is to restrict the redirection by the number of redirections. In the third embodiment, the VT is used to control the redirection by redirecting.
  • Step 904 The user clicks the redirect page address, and the user terminal obtains the reminder page on the Portal Server through the GGSN. See FIG. 10, which is a schematic diagram of information transmission between devices in the redirection operation, where, when the GGSN It is judged that the timeout point of the old package has arrived.
  • the GGSN Replace the address with the redirect page address on the portal server (for example: www.portal.com?138xxx ), so the user's click action actually appears as a reminder page stored on the portal server.
  • the difference between the sixth embodiment and the third embodiment further includes: the button is not included in the reminder page of the user.
  • the purpose of the portal server is only to provide a reminder page for the user, and the user does not need to perform the Whether to enable the operation of the new package, in other words, automatically enable the new package after the old package expires, without user selection, the result is: no communication between the portal server and OCS, whether the user starts the new package information .
  • the reminder page can be displayed: the old package package is overdue reminder. As shown in FIG. 11, it is an example of a specific reminder page, which is for convenience of understanding the embodiments of the present invention, and is not intended to limit the present invention.
  • Step 905 After the old package expires, the GGSN provides the corresponding service according to the new package quota.
  • Step 906 The GGSN sends a fourth message to the OCS when the new package quota is exhausted.
  • the fourth message includes: The consumption information of the package quota.
  • Step 907 The OCS deducts the corresponding fee from the new and old package according to the consumption information of the new and old package quotas.
  • the method uses the OCS to send a third message to the GGSN before the old package expires, the third message at least including: the old package The expired time of the package, the remaining quota of the old package, and the quota of the new package, so that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN. Moreover, the network delay of the transmission of the message between the OCS and the GGSN is avoided, so that the GGSN can accurately judge the timeout point of the old package.
  • the third message also includes the remaining quota of the old package, so that the GGSN can control the used resources within the remaining quota of the old package before the old package expires, reducing the complexity of subsequent charging in the OCS.
  • the third message includes: a redirect page address after the old package expires, and the redirect mode is a one-shot redirect indication, so that the GGSN performs the redirection process, and displays the reminder page to the user.
  • the new package quota in the third message the user is provided with the corresponding service, and after the quota is exhausted, the CCR carrying the fourth message is sent, which saves communication resources between the OCS and the GGSN.
  • Embodiment 7 The embodiment of the present invention provides a management device, which may be an OCS device. As shown in FIG. 12, the device includes: a first sending unit A01, a first receiving unit A02, and a first charging unit A03. And the second sending unit A04; wherein, the first sending unit A01 is configured to send the first message to the old package before the old package expires
  • the first message includes at least: an expired time point of the old package package and a remaining quota of the old package package;
  • the first receiving unit A02 is configured to receive a second message sent by the GGSN, where the second message includes: the pre-expiration quota consumption information of the old package package;
  • the first debit unit A03 is configured to deduct a corresponding fee from the old package according to the pre-expiration quota message information of the old package;
  • the second sending unit A04 is configured to send a new package packet quota to the GGSN according to the stored new package information.
  • the first sending unit sends a first message to the GGSN before the old package expires, the first message includes at least: the old package expires at the time point and the old one, according to the description of the management device provided in the seventh embodiment of the present invention.
  • the remaining quota of the package package allows the OCS to calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN.
  • the message between the OCS and the GGSN is avoided.
  • the generated network delay makes the GGSN accurately judge the timeout point of the old package.
  • the first message includes the remaining quota of the old package, so that the GGSN can control the used resources within the remaining quota of the old package before the old package expires, which reduces the complexity of subsequent charging in the OCS.
  • the first message may further include: a redirect page address, and a redirect effective time timer;
  • the first message is specifically carried on a credit control response (CCA); the second message is specifically carried on a credit control request (CCR).
  • CCA credit control response
  • CCR credit control request
  • Embodiment 8 The embodiment of the present invention provides a management device, which may be a GGSN device. As shown in FIG. 13, the device includes: a second receiving unit B01, a first service unit B02, and a third sending a sending unit B03, and a third receiving unit B04;
  • the second receiving unit B01 is configured to receive a first message sent by the OCS, where the first message includes at least: an old package packet expiration time point and a remaining quota of the old package packet;
  • the first service unit B02 is configured to provide a corresponding service to the user according to the remaining quota of the old package before the old package expires;
  • the third sending unit B03 is configured to send, according to the expired time point of the old package, a second message after the old package expires, the second message includes: the pre-expiration quota consumption information of the old package ;
  • the third receiving unit B04 is configured to receive a quota of a new package that is sent by the OCS, so that the user accesses the service by using the new package quota.
  • the first receiving unit receives the first message sent by the OCS before the old package expires, the first message includes at least: the old package expires at the time point and the description of the management device provided by the eighth embodiment of the present invention.
  • the remaining quota of the old package includes that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN. Moreover, the message between the OCS and the GGSN is avoided. The resulting network delay makes the GGSN accurately judge the timeout point of the old package.
  • the first message includes the remaining quota of the old meal package, so that the GGSN can control the used resources within the remaining quota of the old package before the old package expires, which reduces the complexity of subsequent charging in the OCS. Further, the first message further includes: a redirect page address, and a redirect effective time timer;
  • the device further includes: a first redirecting unit B05,
  • the first redirection unit is configured to: after the old package package expires, when the user terminal initiates an Internet access, send the redirected page address to the user terminal, so that the terminal acquires a reminder page on the portal server;
  • the third sending unit B04 is specifically configured to send, according to the expired time point of the old package, after the old package expires, and after the redirection effective time ends, sending the second message, where the second message includes: The old package package expires quota consumption information.
  • the redirected page address after the old package expires, the redirect valid time (VT) timer, so that the GGSN performs the redirection process, and the reminder page is displayed for use.
  • the CCR that carries the second message after the end of the redirected VT does not affect the user to start the new package.
  • the first message is specifically carried on a credit control response (CCA); the second message is specifically carried on a credit control request (CCR).
  • CCA credit control response
  • CCR credit control request
  • the embodiment of the present invention provides a management device, which may be an OCS device.
  • the device includes: a fourth sending unit C01, a fourth receiving unit C02, and a second charging unit C03.
  • the fourth sending unit C01 is configured to send a third message to the GGSN before the old package expires, the third message at least: the old package expired time point, the old package remaining quota, and the new package Three quotas;
  • the fourth receiving unit C02 is configured to receive a fourth message sent by the GGSN, where the fourth message includes: consumption information of a new and old package quota;
  • the second deduction unit C03 is configured to deduct a corresponding fee from the new and old package according to the consumption information of the new and old package quotas.
  • the fourth sending unit sends a third message to the GGSN before the old package expires, and the third message includes at least: the old package expires at the time point, the old The remaining quota of the package, and the new package quota, so that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN, and avoids the OCS and
  • the network delay of the transmission of the message between the GGSNs makes the GGSN accurately judge the timeout point of the old package.
  • the remaining quota of the old package is included, so that the GGSN can control the resources used in the remaining quota of the old package before the old package expires, which reduces the complexity of subsequent charging in the OCS.
  • the third message further includes: a redirection page address, and a redirection indication that the redirection mode is one time; facilitating the GGSN side to perform the redirection operation.
  • the embodiment of the present invention provides a management device, which may be a GGSN device. As shown in FIG. 15, the device includes: a fifth receiving unit D01, a second service unit D02, and a third service unit D03. And a fifth transmitting unit D04;
  • the fifth receiving unit D01 is configured to receive a third message sent by the OCS, where the third message includes: at least: an expired time point of the old package, an remaining quota of the old package, and a quota of a new package;
  • the second service unit D02 is configured to provide a corresponding service to the user according to the remaining quota of the old package before the old package expires;
  • the third service unit D03 is configured to provide a corresponding service to the user according to the new package package quota after the old package package expires;
  • the fifth sending unit D04 is configured to send a fourth message to the OCS after the quota of the new package is exhausted, where the fourth message includes: consumption information of the new and old package quotas.
  • the fifth receiving unit receives a third primary school, and the third message includes at least: an expired time point of the old package, an remaining quota of the old package, and a new package.
  • the quota allows the OCS to calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN.
  • the network that avoids the transmission of messages between the OCS and the GGSN is avoided. The delay makes the GGSN judge the accuracy of the old package time.
  • the third message also includes the remaining quota of the old package, so that the GGSN can control the resources used in the remaining quota of the old package before the old package expires, which reduces the complexity of subsequent charging in the OCS.
  • the third message sent by the OCS further includes a new package quota, so that the GGSN does not have to trigger the operation for requesting the OCS to allocate a new package quota immediately after the old package expires, but the GGSN according to the new message in the third message.
  • the quota message provides the user with a new package quota service after the expiration, thereby saving the number of communication between the OCS and the GGSN.
  • the third message further includes: a redirect page address, and a redirection indication that the redirection mode is one time;
  • the device further includes: a second redirecting unit D05, configured to expire according to the old package
  • the inter-point and the redirection manner are a redirection indication. After the old package expires, when the user terminal initiates an Internet access, the redirected page address is sent to the user terminal, so that the terminal acquires the portal server. Reminder page.
  • the redirect mode is a one-shot redirect indication, so that the GGSN performs the redirection process, and displays the reminder page to the user, but at the same time
  • the CCR carrying the fourth message is sent, which saves communication resources between the OCS and the GGSN.
  • the third message is specifically carried on a credit control response (CCA);
  • the fourth message is specifically carried on the credit control request (CCR).
  • the program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD, etc.

Abstract

A management method and apparatus for a billing package before and after the package time limit. The technical solution enables an OCS not to be required to calculate whether a fixed 5 minutes is left between the current time and a time limit of an old package, after receiving a message sent by a GGSN each time, and avoids the network latency generated in message transmission between the OCS and the GGSN, thereby enabling the GGSN to accurately determine a time limit point of the old package. At the same time, a first message further comprises a remaining quota of the old package, so that the GGSN can control the use of resources within the remaining quota of the old package before the old package extends the time limit, thereby reducing the follow-up billing complexity in the OCS.

Description

一种计费套餐包超期前后的管理方法和装置  Management method and device before and after a billing package
技术领域 Technical field
本发明涉及通信技术领域,具体涉及一种计费套餐包超期前后的管理方法 和装置。  The present invention relates to the field of communications technologies, and in particular, to a management method and apparatus before and after an expired billing package.
背景技术 Background technique
预付费用户可以购买多个计费套餐包,每个套餐包都有有效期, 即在有效 期内使用, 超过有效期后, 当前的套餐是不可以使用的, 需使用新的套餐。 并 且, 通常运营商在新套餐包启用前给用户提示, 如: "旧套餐包超期, 新套餐 包启用", 用户选择同意启用后, 开始从新套餐包扣费。  Prepaid users can purchase multiple billing packages, each of which has an expiration date, that is, it is used within the valid period. After the expiration date, the current package is not available, and a new package is required. Moreover, the operator usually prompts the user before the new package is enabled, such as: "The old package expires, the new package is enabled", and after the user chooses to enable it, the fee is deducted from the new package.
如图 1所示, 为现有技术中常用的一种计费套餐包超期前后的管理方法, 包括:  As shown in FIG. 1 , a management method for a billing package that is commonly used in the prior art before and after the expiration includes:
步骤 101: 在线计费系统(OCS, Online Charging System )在旧套餐包即 将要超期的一段时间内,每次接收到网关通用无线分组业务支持节点( GGSN, Gateway GPRS ( General Packet Radio Service ) Support Node )发送的信用控 制请求(CCR, Credit Control Request )后, 会计算该旧套餐剩余的有效期并 通过有效时长(VT, Validity Timer )参数控制 GGSN下一次重授权信用控制 请求 CCR的发送时机, 确保 GGSN在超期前 5分钟时发送 CCR给 OCS; 步骤 102: GGSN在距离旧套餐包超期的时间点还有 5分钟的时刻, 发送 CCR给 OCS;  Step 101: The online charging system (OCS, Online Charging System) receives the gateway general wireless radio service support node (GGSN, Gateway GPRS (General Packet Radio Service) Support Node every time the old package is about to expire. After the sent credit control request (CCR, Credit Control Request), the remaining validity period of the old package is calculated and the timing of the next re-authorization credit control request CCR of the GGSN is controlled by the Validity Timer (VT) parameter to ensure the GGSN. Send CCR to OCS 5 minutes before the expiration; Step 102: GGSN sends CCR to OCS at 5 minutes from the time when the old package expires;
步骤 103: OCS接收到 CCR后, 发送信用控制响应(CCA, Credit Control Step 103: After receiving the CCR, the OCS sends a credit control response (CCA, Credit Control).
Answer )给 GGSN, 其中, 该 CCA中包括: 零配额和重定向地址; Answer) to the GGSN, where the CCA includes: zero quota and redirect address;
步骤 104: GGSN接收步骤 103中发送的 CCA,根据重定向地址进行重定 向处理, 将用户重定向到提醒页面, 将提醒信息提供给用户;  Step 104: The GGSN receives the CCA sent in step 103, performs redirection processing according to the redirected address, redirects the user to the reminder page, and provides the reminder information to the user.
步骤 105: GGSN由于配额耗尽再次发送 CCR给 OCS;  Step 105: The GGSN sends the CCR to the OCS again due to quota exhaustion;
步骤 106: OCS收到步骤 105中的 CCR, 发送 CCA给 GGSN, 该 CCA 中包括: 用于控制重定向持续时间的短暂 VT;  Step 106: The OCS receives the CCR in step 105, and sends a CCA to the GGSN, where the CCA includes: a short VT for controlling the duration of the redirection;
步骤 107: GGSN接收到步骤 106中的 CCA后,在短暂 VT超时后, GGSN 发送 CCR给 OCS;  Step 107: After the GGSN receives the CCA in step 106, after a brief VT timeout, the GGSN sends a CCR to the OCS;
步骤 108: OCS接收到步骤 107中发送 CCR后, 发送 CCA给 GGSN, 该 CCA中包括: 旧套餐包超期时间点, 和新套餐包中的配额; Step 108: After receiving the CCR in step 107, the OCS sends a CCA to the GGSN, where The CCA includes: the timeout point of the old package, and the quota in the new package;
其中, 图 1中虚线用于划分旧套餐包超期的前后, 以上说明的操作步骤发 生在旧套餐包超期之前。  Among them, the dotted line in Figure 1 is used to divide the old package before and after the expiration, and the above-mentioned operation steps occur before the old package expires.
步骤 109: GGSN接收到步骤 108中发送的 CCA后, 用户可以继续访问 业务, 并且, GGSN在旧套餐包超期之后, 将新旧套餐的消耗信息通过 CCR 上报给 OCS;  Step 109: After the GGSN receives the CCA sent in step 108, the user can continue to access the service, and the GGSN reports the consumption information of the new and old packages to the OCS through the CCR after the old package expires;
步骤 110: OCS将旧套餐包超期时间点之前的消耗从旧套餐包中扣除, 将 旧套餐包超期时间点之后的消耗从新套餐包中扣除。  Step 110: OCS deducts the consumption of the old package from the old package before the time limit, and deducts the consumption after the old package expires from the new package.
现有技术中的一种计费套餐包超期前后的管理方法的说明,可以看出 OCS 在旧套餐包快即将要超期的一段时间内, 每次接收到 GGSN发送的 CCR后, OCS会计算该旧套餐包剩余的 VT,用于确保 GGSN在超期前 5分钟的时刻发 送 CCR给 OCS, 因此, OCS在旧套餐包临近超期的一段时间内多次重复计算 VT占用资源。  In the prior art, a description of the management method before and after the billing package expires, it can be seen that the OCS calculates the CCR after receiving the CCR sent by the GGSN every time the old package is about to expire. The remaining VT of the old package is used to ensure that the GGSN sends the CCR to the OCS 5 minutes before the expiration. Therefore, the OCS repeatedly calculates the VT occupied resources multiple times during the period when the old package is approaching the expiration.
其次, OCS与 GGSN之间传输的 CCA消息, 由于网络时延的关系, 通常 GGSN收到 CCA后才启动 VT计时器, GGSN中实际超期时间点会比 OCS预 期的超期时间点延迟一些。如果提醒时间设置在套餐超期的实际时刻, 则产生 的后果是: 由于 VT延时导致用户在旧套餐包实际上已经失效后, 用户仍然可 以使用旧套餐包中的配额。 因此必须将提醒时间提前 5分钟, 而此时由于套餐 有效期还有 5分钟时间, 终端客户可能会怀疑运营商的计时精度。  Secondly, the CCA message transmitted between the OCS and the GGSN, due to the network delay relationship, usually the GGSN starts the VT timer after receiving the CCA, and the actual timeout point in the GGSN is delayed more than the OCS expected timeout period. If the reminder time is set at the actual time of the package expiration, the consequences are: Since the VT delay causes the user to actually use the old package, the user can still use the quota in the old package. Therefore, the reminder time must be 5 minutes in advance, and at this time, because the package is valid for 5 minutes, the terminal customer may doubt the timing accuracy of the operator.
再次, 旧套餐包超期之前 GGSN与 OCS之间至少有 3对 CCR和 CCA消 息交互, 对信令网络的沖击较大, 如果用户的套餐超期时间点比较统一, 比如 月末或凌晨, 很可能造成 GGSN和 OCS之间的信令风暴, 让网络不堪重负。  Again, there are at least 3 pairs of CCR and CCA messages between the GGSN and the OCS before the old package expires, which has a greater impact on the signaling network. If the user's package expires at a relatively uniform time, such as the end of the month or the early morning, it is likely to cause The signaling storm between the GGSN and the OCS overwhelm the network.
最后, 结算还要在新旧套餐包之间进行核算, 计费处理复杂程度较高, 各 种异常场景很难处理。 例如: 超期提醒结束之后, 在线计费用户后续的配额获 取的配额只能来自于同一个套餐包, 即新套餐包。 由于旧套餐包的时间超期时 间并未到, 用户使用后, OCS 还需要区分实际的配额消耗要从哪个套餐包中 扣除, 处理比较复杂。 特别是在某些异常场景下, 比如旧套餐超期前, 实际消 耗配额量已经超过旧套餐上限, OCS 不得不进行费用的跨套餐包结算, 更为 严重的如果新套餐签约信息中规定了使用的开始时间点必须在旧套餐超期点 之后, 则 OCS不得不放弃旧套餐超期点前超过旧套餐配额上限这部分消耗的 扣费。 Finally, the settlement is also calculated between the old and new packages, and the billing process is highly complex, and various abnormal scenarios are difficult to handle. For example, after the overdue reminder is over, the quota for the subsequent quotas of the online billing user can only come from the same package, that is, the new package. Since the timeout period of the old package has not arrived, after the user uses it, the OCS needs to distinguish which package from which the actual quota consumption is to be deducted. The processing is complicated. Especially in some abnormal situations, such as before the old package expires, the actual consumption quota has exceeded the old package limit, OCS has to carry out the cross-package settlement of the fee, more serious if the new package signing information specifies the use The starting time must be in the old package overdue point After that, the OCS had to abandon the deduction of the portion of the old package that exceeded the old package quota limit before the old package expired.
发明内容  Summary of the invention
本发明实施例提供了一种计费套餐包超期前后的管理方法和装置, 能够减 少 OCS 中的计算旧套餐包剩余的 VT的次数, 准确控制在旧套餐包超期之时 GGSN上报 CCR, 同时, 减少 OCS与 GGSN之间的消息数量。 本发明实施例提供了一种计费套餐包的管理方法, 该方法包括: 在旧套餐包超期之前, 发送第一消息给网关通用无线分组业务支持节点 ( GGSN ), 所述第一消息至少包括: 所述旧套餐包超期时间点和旧套餐包剩 余配额;  The embodiment of the invention provides a management method and device for the pre- and post-period of the billing package, which can reduce the number of VTs remaining in the OCS in calculating the remaining package, and accurately control the CCR to be reported by the GGSN when the old package expires. Reduce the number of messages between OCS and GGSN. An embodiment of the present invention provides a method for managing a charging package, the method comprising: sending a first message to a gateway general wireless packet service support node (GGSN) before the old package expires, the first message at least including : The old package package expires at the time point and the old package includes the remaining quota;
接收 GGSN发送的第二消息, 所述第二消息包括: 所述旧套餐包超期前 配额消耗信息;  And receiving, by the GGSN, the second message, where the second message includes: the quota consumption information of the old package before expiration;
根据所述旧套餐包超期前配额消息信息, 在所述旧套餐包中扣取相应费 用;  Deducting a corresponding fee from the old package according to the pre-expiration quota message information of the old package package;
根据存储的新套餐包信息, 发送新套餐包配额给所述 GGSN。  A new package quota is sent to the GGSN based on the stored new package information.
本发明实施例还提供了一种计费套餐包超期前后的管理方法, 该方法包 括:  The embodiment of the invention further provides a management method before and after the charging package is overdue, and the method comprises:
接收 OCS发送的第一消息, 所述第一消息至少包括: 旧套餐包超期时间 点和所述旧套餐包剩余配额;  Receiving a first message sent by the OCS, where the first message includes at least: an old package packet expiration time point and a remaining quota of the old package packet;
在旧套餐包超期之前, 根据所述旧套餐包剩余配额为用户提供相应业务; 根据所述旧套餐包超期时间点, 在所述旧套餐包超期之后发送第二消息, 所述第二消息包括: 所述旧套餐包超期前配额消耗信息;  Before the old package expires, the user is provided with a corresponding service according to the remaining quota of the old package; according to the expired time point of the old package, the second message is sent after the old package expires, the second message includes : the old package package expires quota consumption information;
接收所述 OCS发送的新套餐包配额, 使得用户利用新套餐包配额访问业 务。  Receiving a new package quota issued by the OCS, so that the user accesses the service by using the new package quota.
本发明实施例还提供了一种计费套餐包超期前后的管理方法, 该方法包 括:  The embodiment of the invention further provides a management method before and after the charging package is overdue, and the method comprises:
在旧套餐包超期之前, 发送第三消息给 GGSN, 所述第三消息至少包括: 所述旧套餐包超期时间点, 旧套餐包剩余配额, 和新套餐包配额三项;  Before the old package expires, the third message is sent to the GGSN, and the third message includes at least: the old package timeout point, the old package remaining quota, and the new package quota;
接收所述 GGSN发送的第四消息, 所述第四消息包括: 新旧套餐包配额 的消耗信息; Receiving a fourth message sent by the GGSN, where the fourth message includes: a new and old package quota Consumption information;
根据所述新旧套餐包配额的消耗信息, 从新旧套餐包中扣取相应费用。 本发明实施例还提供了一种计费套餐包超期前后的管理方法, 该方法包 括:  According to the consumption information of the new and old package quotas, the corresponding fee is deducted from the new and old package. The embodiment of the invention further provides a management method before and after the charging package is overdue, and the method comprises:
接收 OCS发送的第三消息, 所述第三消息至少包括: 所述旧套餐包超期 时间点, 旧套餐包剩余配额, 和新套餐包配额三项;  Receiving a third message sent by the OCS, where the third message includes: at least: an expired time point of the old package, an remaining quota of the old package, and a quota of a new package;
在旧套餐包超期之前, 根据所述旧套餐包剩余配额为用户提供相应业务; 在旧套餐包超期之后, 根据所述新套餐包配额为用户提供相应业务; 当所述新套餐包配额耗尽后, 发送第四消息给所述 OCS , 所述第四消息 包括: 新旧套餐包配额的消耗信息。  Before the old package expires, the user is provided with the corresponding service according to the remaining quota of the old package; after the old package expires, the user is provided with the corresponding service according to the new package quota; when the new package is exhausted After the fourth message is sent to the OCS, the fourth message includes: consumption information of the new and old package quotas.
本发明实施例还提供了一种管理装置, 该装置包括: 第一发送单元, 第一 接收单元, 第一扣费单元, 和第二发送单元;  An embodiment of the present invention further provides a management apparatus, where the apparatus includes: a first sending unit, a first receiving unit, a first charging unit, and a second sending unit;
所述第一发送单元, 用于在旧套餐包超期之前, 发送第一消息给 GGSN, 所述第一消息至少包括: 所述旧套餐包超期时间点和旧套餐包剩余配额; 所述第一接收单元, 用于接收 GGSN发送的第二消息, 所述第二消息包 括: 所述旧套餐包超期前配额消耗信息;  The first sending unit is configured to send a first message to the GGSN before the old package expires, the first message at least: the old package expired time point and the old package remaining quota; the first a receiving unit, configured to receive a second message sent by the GGSN, where the second message includes: the pre-expiration quota consumption information of the old package packet;
所述第一扣费单元, 用于根据所述旧套餐包超期前配额消息信息,在所述 旧套餐包中扣取相应费用;  The first debit unit is configured to deduct a corresponding fee from the old package according to the pre-expiration quota message information of the old package;
所述第二发送单元, 用于根据存储的新套餐包信息,发送新套餐包配额给 所述 GGSN。  The second sending unit is configured to send a new package quota to the GGSN according to the stored new package information.
本发明实施例还提供了一种管理装置, 该装置包括: 第二接收单元, 第一 服务单元, 第三发送单元, 和第三接收单元;  An embodiment of the present invention further provides a management apparatus, where the apparatus includes: a second receiving unit, a first serving unit, a third sending unit, and a third receiving unit;
所述第二接收单元, 用于接收 OCS发送的第一消息, 所述第一消息至少 包括: 旧套餐包超期时间点和所述旧套餐包剩余配额;  The second receiving unit is configured to receive a first message sent by the OCS, where the first message includes at least: an old package packet expiration time point and a remaining quota of the old package package;
所述第一服务单元, 用于在旧套餐包超期之前,根据所述旧套餐包剩余配 额为用户提供相应业务;  The first service unit is configured to provide a corresponding service to the user according to the remaining quota of the old package before the old package expires;
所述第三发送单元, 用于根据所述旧套餐包超期时间点,在所述旧套餐包 超期之后发送第二消息, 所述第二消息包括: 所述旧套餐包超期前配额消耗信 息; 所述第三接收单元, 用于接收所述 OCS发送的新套餐包配额, 使得用户 利用新套餐包配额访问业务。 The third sending unit is configured to send, according to the expired time point of the old package, a second message after the old package expires, the second message includes: the pre-expiration quota consumption information of the old package; The third receiving unit is configured to receive a new package quota that is sent by the OCS, so that the user accesses the service by using the new package quota.
本发明实施例还提供了一种管理装置, 该装置包括: 第四发送单元, 第四 接收单元, 和第二扣费单元,  The embodiment of the invention further provides a management device, the device comprising: a fourth sending unit, a fourth receiving unit, and a second charging unit,
所述第四发送单元, 用于在旧套餐包超期之前, 发送第三消息给 GGSN, 所述第三消息至少包括: 所述旧套餐包超期时间点, 旧套餐包剩余配额, 和新 套餐包配额三项;  The fourth sending unit is configured to send a third message to the GGSN before the old package expires, the third message at least: the old package timeout point, the old package remaining quota, and the new package Three quotas;
所述第四接收单元, 用于接收所述 GGSN发送的第四消息, 所述第四消 息包括: 新旧套餐包配额的消耗信息;  The fourth receiving unit is configured to receive a fourth message sent by the GGSN, where the fourth message includes: consumption information of a new and old package quota;
所述第二扣费单元, 用于根据所述新旧套餐包配额的消耗信息,从新旧套 餐包中扣取相应费用。  The second debit unit is configured to deduct a corresponding fee from the old and new kits according to the consumption information of the new and old package quotas.
本发明实施例还提供了一种管理装置, 该装置包括: 第五接收单元, 第二 服务单元, 第三服务单元, 和第五发送单元;  The embodiment of the invention further provides a management device, the device comprising: a fifth receiving unit, a second service unit, a third service unit, and a fifth sending unit;
所述第五接收单元, 用于接收 OCS发送的第三消息, 所述第三消息至少 包括: 所述旧套餐包超期时间点, 旧套餐包剩余配额, 和新套餐包配额三项; 所述第二服务单元, 用于在旧套餐包超期之前,根据所述旧套餐包剩余配 额为用户提供相应业务;  The fifth receiving unit is configured to receive a third message that is sent by the OCS, where the third message includes: at least: an expired time point of the old package, an remaining quota of the old package, and a new package quota; a second service unit, configured to provide a corresponding service to the user according to the remaining quota of the old package before the old package expires;
所述第三服务单元, 用于在旧套餐包超期之后,根据所述新套餐包配额为 用户提供相应业务;  The third service unit is configured to provide a corresponding service to the user according to the new package quota after the old package expires;
所述第五发送单元, 用于当所述新套餐包配额耗尽后,发送第四消息给所 述 OCS , 所述第四消息包括: 新旧套餐包配额的消耗信息。  The fifth sending unit is configured to send a fourth message to the OCS after the quota of the new package is exhausted, where the fourth message includes: consumption information of the old and new package quotas.
从以上技术方案可以看出, 本发明实施例采用 OCS在旧套餐包超期之前 发送第一消息给 GGSN, 该第一消息至少包括: 该旧套餐包超期时间点和旧套 餐包剩余配额, 使得 OCS可以不用每次接收到 GGSN发送的消息后, 都计算 当前时间距离旧套餐包超期的时间是否还有固定的 5分钟,而且,避免了 OCS 与 GGSN之间传输消息的产生的网络时延, 使得 GGSN对旧套餐包超期时间 点判断准确。 同时, 在第一消息中还包括旧套餐包剩余配额, 使得 GGSN在 旧套餐包超期之前, 能够控制使用的资源在旧套餐包剩余配额之内, 降低了后 续在 OCS中计费的复杂度。 附图说明 As can be seen from the above technical solution, the embodiment of the present invention uses the OCS to send a first message to the GGSN before the old package expires. The first message includes at least: the old package expired time point and the old package remaining quota, so that the OCS It is not necessary to calculate whether the current time is over a fixed period of 5 minutes from the time when the old package packet expires after receiving the message sent by the GGSN, and avoiding the network delay caused by the transmission of the message between the OCS and the GGSN. The GGSN judges the time limit of the old package package overdue. At the same time, the first message includes the remaining quota of the old package, so that the GGSN can control the used resources within the remaining quota of the old package before the old package expires, reducing the complexity of subsequent charging in the OCS. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作筒单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲,在不付 出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description It is merely some embodiments of the present invention, and other drawings may be obtained from those skilled in the art without departing from the drawings.
图 1为现有技术中常用的一种计费套餐包超期前后的管理方法流程图; 图 2 是本发明实施例一提供的一种计费套餐包超期前后的管理方法流程 筒图;  1 is a flow chart of a management method before and after a billing package that is commonly used in the prior art; FIG. 2 is a flow chart of a management method before and after a billing package is provided in the first embodiment of the present invention;
图 3 是本发明实施例二提供的一种计费套餐包超期前后的管理方法流程 筒图;  3 is a flow chart of a management method before and after an overdue billing package package according to Embodiment 2 of the present invention;
图 4 是本发明实施例三提供的一种计费套餐包超期前后的管理方法流程 筒图;  4 is a flowchart of a management method before and after an overdue billing package is provided in Embodiment 3 of the present invention;
图 5为一种重定向操作中各设备之间信息传输的示意筒图;  5 is a schematic diagram of information transmission between devices in a redirection operation;
图 6为一种具体的提醒页面实例;  Figure 6 is an example of a specific reminder page;
图 7 是本发明实施例四提供的一种计费套餐包超期前后的管理方法流程 筒图;  7 is a flowchart of a management method before and after an overdue billing package is provided in Embodiment 4 of the present invention;
图 8 是本发明实施例五提供的一种计费套餐包超期前后的管理方法流程 筒图;  8 is a flowchart of a management method before and after an overdue billing package is provided in Embodiment 5 of the present invention;
图 9 是本发明实施例六提供的一种计费套餐包超期前后的管理方法流程 筒图;  9 is a flowchart of a management method before and after an overdue billing package is provided in Embodiment 6 of the present invention;
图 10为另一种重定向操作中各设备之间信息传输的示意筒图; 图 11为另一种具体的提醒页面实例;  10 is a schematic diagram of information transmission between devices in another redirection operation; FIG. 11 is another example of a specific reminder page;
图 12是本发明实施例七提供的一种管理装置示意筒图;  Figure 12 is a schematic view of a management device provided in Embodiment 7 of the present invention;
图 13是本发明实施例八提供的一种管理装置示意筒图;  Figure 13 is a schematic view of a management device according to Embodiment 8 of the present invention;
图 14是本发明实施例九提供的一种管理装置示意筒图;  Figure 14 is a schematic view of a management device provided in Embodiment 9 of the present invention;
图 15是本发明实施例十提供的一种管理装置示意筒图。  Figure 15 is a schematic view of a management device provided in Embodiment 10 of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, instead of All embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种计费套餐包超期前后的管理方法,通过在旧套餐 包超期之前, OCS通过 CCA消息控制 GGSN, 该 CCA消息中至少包括: 旧 套餐包超期的时间点和旧套餐包剩余配额, 以及超期 GGSN 的处理方式, 使 得 GGSN能够准确控制在旧套餐包超期之时上报 CCR, 而且, 由于 GGSN获 知旧套餐包剩余配额,在旧套餐包超期之前可以不消耗新套餐包中的配额,便 于 OCS中对新旧套餐包的核算,即 OCS计费核算时仅根据旧套餐包超期时间 点划分, 对新旧套餐包中消耗分别扣取即可(不涉及在旧套餐包超期之前, 已 经使用新套餐包配额的情况)。 如下具体实施例中详细描述了本发明实施例提 供的技术方案。  The embodiment of the present invention provides a management method before and after the charging package expires. Before the old package expires, the OCS controls the GGSN through the CCA message, and the CCA message includes at least: the time point of the old package expires and the old package. The remaining quota of the package and the processing method of the overdue GGSN enable the GGSN to accurately control the CCR when the old package expires. Moreover, since the GGSN knows the remaining quota of the old package, the new package may not be consumed before the old package expires. The quota is convenient for the accounting of the old and new packages in the OCS, that is, the OCS billing is only based on the timeout point of the old package, and the deduction of the consumption of the old and new packages is not involved (not related to the expiration of the old package). The case where a new package quota has been used). The technical solutions provided by the embodiments of the present invention are described in detail in the following specific embodiments.
实施例一  Embodiment 1
本发明实施例提供了一种计费套餐包超期前后的管理方法, 如图 2所示, 该方法的执行主体具体可以是 OCS, 但不限于 OCS, 该方案采用在线计费双 配额技术, 其中, 在同一个 CCA消息中包含同一个费率组的两个多业务信用 控制实例 ( MSCC, Multiple Services Credit Control ) 属性值对( AVP, Attribute- Value Pair )组, 每个 MSCC中包含一份配额, 分别给费率切换前后 分别使用。 现有技术中, 采用单配额技术, 即一个 CCA只下发同一费率组的 一个 MSCC, 无法对费率切换前后的配额进行区分。  The embodiment of the present invention provides a method for managing the charging package before and after the expiration. As shown in FIG. 2, the executor of the method may be an OCS, but is not limited to the OCS, and the solution adopts an online charging double quota technology. In the same CCA message, the two multi-service credit control instances (MSCC, Attribute-Value Pair) of the same rate group are included in the same CCA message, and each MSCC contains a quota. , respectively, before and after the rate switching. In the prior art, a single quota technology is adopted, that is, one CCC only issues one MSCC of the same rate group, and the quotas before and after the rate switching cannot be distinguished.
如下该方法具体包括:  The method as follows specifically includes:
步骤 201: 在旧套餐包超期之前, 发送第一消息给 GGSN, 该第一消息至 少包括: 该旧套餐包超期时间点和旧套餐包剩余配额(或者称为 "旧套餐包可 用配额" );  Step 201: Before the old package expires, send the first message to the GGSN, where the first message includes at least: the old package expired time point and the old package remaining quota (or referred to as "old package available quota");
其中, CCA作为第一消息的载体, 但是载体不限于 CCA。 OCS将至少 包括旧套餐包超期时间点和旧套餐包剩余配额的第一消息发给 GGSN, 使得 GGSN准确的知道旧套餐包超期时间点,而不用担心因为网络延迟导致不能准 确在旧套餐包超期之后, 进行后续操作;  Among them, CCA is the carrier of the first message, but the carrier is not limited to CCA. OCS will send the first message including at least the old package package expiration time point and the old package package remaining quota to the GGSN, so that the GGSN can accurately know the old package package expiration time point without worrying that the old package package cannot be accurately expired due to network delay. After that, follow-up operations;
同时, GGSN在接收到 OCS发送的第一消息中的旧套餐包剩余配额, 使 得 GGSN容易在旧套餐包超期之前控制用户的可用配额, 防止超额使用而导 致的计费问题。 At the same time, the GGSN receives the remaining quota of the old package in the first message sent by the OCS, so that the GGSN can easily control the available quota of the user before the old package expires, preventing excessive use. Billing problem.
步骤 202: 接收 GGSN发送的第二消息, 该第二消息包括: 旧套餐包超期 前配额消耗信息;  Step 202: Receive a second message sent by the GGSN, where the second message includes: an expired quota consumption information of the old package packet;
其中,第二消息的载体可以具体是 CCR,但不限于 CCR。 OCS接收 GGSN 发送的第二消息的时机是在旧套餐包超期之后,通常,在旧套餐包超期之后(由 于 GGSN中知晓旧套餐包的超期时间点), GGSN会触发 CCR, 在该 CCR消 息中承载旧套餐包超期前配额消耗信息, 便于在旧套餐包超期之后 OCS对旧 套餐包进行扣费, 以及及时分配新套餐包的配额给 GGSN。  The carrier of the second message may specifically be a CCR, but is not limited to CCR. The timing at which the OCS receives the second message sent by the GGSN is after the old package expires. Usually, after the old package expires (because the GGSN knows the timeout point of the old package), the GGSN triggers the CCR in the CCR message. Carrying the quota consumption information of the old package before the expiration, it is convenient for OCS to deduct the old package after the old package expires, and allocate the quota of the new package to the GGSN in time.
步骤 203: 根据旧套餐包超期前配额消耗信息, 在旧套餐包中扣取相应费 用 (debit fee );  Step 203: Deduct the corresponding fee (debit fee) in the old package according to the quota consumption information of the old package before the expiration;
步骤 204: 根据存储的新套餐包信息, 发送新套餐包配额给 GGSN。 其中, 在 OCS接收到 GGSN发送的第二消息后, OCS可以同时触发执行 步骤 203和步骤 204, 即在 OCS中对旧套餐包进行扣取费用, 也在新套餐包 启用的同时下发新套餐包配额给 GGSN。  Step 204: Send a new package quota to the GGSN according to the stored new package information. After the OCS receives the second message sent by the GGSN, the OCS can simultaneously trigger the execution of step 203 and step 204, that is, the old package is deducted in the OCS, and the new package is sent at the same time as the new package is enabled. The package quota is given to the GGSN.
通过上述对本发明实施例一提供的一种计费套餐包超期前后的管理方法 的说明, 该方法采用 OCS在旧套餐包超期之前发送第一消息给 GGSN, 该第 一消息至少包括: 该旧套餐包超期时间点和旧套餐包剩余配额, 使得 OCS可 以不用每次接收到 GGSN发送的消息后, 都计算当前时间距离旧套餐包超期 的时间是否还有固定的 5分钟, 而且, 避免了 OCS与 GGSN之间传输消息的 产生的网络时延, 使得 GGSN对旧套餐包超期时间点判断准确。 同时, 在第 一消息中还包括旧套餐包剩余配额, 使得 GGSN在旧套餐包超期之前, 能够 控制使用的资源在旧套餐包剩余配额之内, 降低了后续在 OCS中计费的复杂 度。  According to the foregoing description of the management method of the charging package before and after the expiration of the first embodiment of the present invention, the method uses the OCS to send the first message to the GGSN before the old package expires, the first message includes at least: the old package The expired time point of the package and the remaining quota of the old package, so that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN, and avoids the OCS and The network delay of the transmission of the message between the GGSNs makes the GGSN accurately judge the timeout point of the old package. At the same time, the first message includes the remaining quota of the old package, so that the GGSN can control the resources used in the remaining quota of the old package before the old package expires, which reduces the complexity of subsequent charging in the OCS.
实施例二  Embodiment 2
本发明实施例提供了一种计费套餐包超期前后的管理方法,该实施例是与 上述实施例一相对应的实施例, 实施例一是从 OCS的角度说明的, 在本实施 例二是从 GGSN 的角度说明。 如图 3 所示, 该方法的执行主体具体可以是 GGSN, 但不限于 GGSN, 如下该方法具体包括:  The embodiment of the present invention provides a management method before and after the charging of the charging package. The embodiment is an embodiment corresponding to the first embodiment. The first embodiment is illustrated from the perspective of the OCS, and the second embodiment is Explain from the perspective of the GGSN. As shown in FIG. 3, the executor of the method may be a GGSN, but is not limited to the GGSN. The method includes the following:
步骤 301: 接收 OCS发送第一消息, 该第一消息至少包括: 旧套餐包超 期时间点和旧套餐包剩余配额; Step 301: The receiving OCS sends a first message, where the first message includes at least: Time point and the remaining quota of the old package;
其中, GGSN通常是在旧套餐包超期之前接收到 OCS发送的第一消息, 该第一消息可以具体承载在某一次 OCS发送的 CCA上。通过发送包括有旧套 餐包超期时间点的第一消息, 使得 OCS不必多次计算距离旧套餐包超期的时 间点 5分钟时(该 5分钟为现有技术中通常设置的时间点;),发送 CCA。 同时, 由于 GGSN 中获知该旧套餐包超期时间点, 而不用担心因为网络延迟导致不 能准确在旧套餐包超期之后, 进行后续操作。  The GGSN usually receives the first message sent by the OCS before the old package expires, and the first message may be specifically carried on the CCA sent by the OCS. By sending the first message including the expiration time point of the old package, the OCS does not have to calculate the time point 5 minutes away from the old package expires (the 5 minutes is the time point usually set in the prior art;), and sends CCA. At the same time, because the GGSN knows the timeout point of the old package, there is no need to worry about the inability to accurately follow the old package after the network delay.
步骤 302: 在旧套餐包超期之前, 根据所述旧套餐包剩余配额为用户提供 相应业务;  Step 302: Before the old package expires, provide the corresponding service according to the remaining quota of the old package;
步骤 303:根据旧套餐包超期时间点,在旧套餐包超期之后发送第二消息, 该第二消息包括: 旧套餐包超期前配额消耗信息;  Step 303: Send a second message after the old package packet expires according to the expired time point of the old package package, where the second message includes: the quota consumption information of the old package package before the expiration;
由于 GGSN 中获知旧套餐包超期时间点, 在旧套餐包超期时间点之后, As the GGSN knows the timeout point of the old package, after the old package expires,
GGSN具体可以发送 CCR, 在该 CCR中承载第二消息, 通知 OCS为用户分 配新套餐包配额, 也通知 OCS进行扣费。 The GGSN may specifically send a CCR, and carry a second message in the CCR, informing the OCS to allocate a new package quota for the user, and also notifying the OCS to deduct the fee.
步骤 304: 接收 OCS发送的新套餐包配额, 使得用户利用新套餐包配额 访问业务。  Step 304: Receive a new package quota issued by the OCS, so that the user accesses the service by using the new package quota.
通过上述对本发明实施例二提供的一种计费套餐包超期前后的管理方法 的说明, 该方法采用 GGSN在旧套餐包超期之前接收 OCS发送的第一消息, 该第一消息至少包括:该旧套餐包超期时间点和旧套餐包剩余配额,使得 OCS 可以不用每次接收到 GGSN发送的消息后, 都计算当前时间距离旧套餐包超 期的时间是否还有固定的 5分钟, 而且, 避免了 OCS与 GGSN之间传输消息 的产生的网络时延, 使得 GGSN对旧套餐包超期时间点判断准确。 同时, 在 第一消息中还包括旧套餐包剩余配额, 使得 GGSN在旧套餐包超期之前, 能 够控制使用的资源在旧套餐包剩余配额之内, 降低了后续在 OCS中计费的复 杂度。  According to the foregoing description of the management method of the charging package before and after the expiration of the second embodiment of the present invention, the method uses the GGSN to receive the first message sent by the OCS before the old package expires, and the first message includes at least: the old message The expired time point of the package package and the remaining quota of the old package, so that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN, and avoids the OCS. The network delay of the transmission of the message between the GGSN and the GGSN makes the GGSN accurately judge the timeout point of the old package. At the same time, the first message also includes the remaining quota of the old package, so that the GGSN can control the resources used in the remaining quota of the old package before the old package expires, reducing the complexity of subsequent charging in the OCS.
实施例三 本发明实施例提供了一种计费套餐包超期前后的管理方法,该实施例是结 合上述实施例一、 二, 以及增加了重定向操作的具体举例。 如图 4所示, 该方 法包括: 步骤 401: OCS在旧套餐包超期之前, 发送第一消息给 GGSN, 该第一消 息至少包括:该旧套餐包超期时间点和旧套餐包剩余配额,该第一消息还包括: 重定向页面地址, 重定向有效时间 (VT ) 定时器; 需要理解的是,通常移动分组域在线计费功能中的收费通知(AoC, Advice of Charge )功能的典型应用是在用户帐户余额耗尽后,进行充值提醒。 由 OCS, GGSN, 门户服务器( Portal Server )等网元配合完成。 OCS下发提醒页面的地 址给 GGSN。 GGSN监控配额使用情况, 当配额耗尽后, GGSN通过重定向方 式将终端用户重定向到提醒页面, 方便用户进行充值等处理。 Embodiment 3 The embodiment of the present invention provides a management method before and after the charging package is expired. This embodiment is combined with the foregoing Embodiments 1 and 2, and a specific example of adding a redirection operation. As shown in FIG. 4, the method includes: Step 401: The OCS sends a first message to the GGSN before the old package expires. The first message includes: the old package expired time point and the old package remaining quota, the first message further includes: a redirect page address Redirect time (VT) timer; it should be understood that the typical application of the AoC (Advice of Charge) function in the mobile billing domain online charging function is to recharge the user account after the balance is exhausted. remind. It is completed by network elements such as OCS, GGSN, and Portal Server. The OCS sends the address of the reminder page to the GGSN. The GGSN monitors the usage of the quota. When the quota is exhausted, the GGSN redirects the terminal user to the reminder page through the redirect mode, which facilitates the user to perform recharge and other processing.
步骤 402: GGSN接收 OCS发送第一消息, 该第一消息包括: 旧套餐包 超期时间点和旧套餐包剩余配额; 第一消息还包括: 旧套餐包超期之后的重定 向页面地址, 重定向有效时间 (VT )定时器; 步骤 403: GGSN在旧套餐包超期之前, 根据旧套餐包剩余配额为用户提 供相应业务; GGSN根据旧套餐包超期时间点, 在旧套餐包超期之后, 当用户 发起互联网访问, GGSN将重定向页面地址(具体可以是 URL地址后缀用户 手机号码)发送给用户终端; 步骤 404: 当用户点击重定向页面地址, 用户终端通过 GGSN获得 Portal Server上的提醒页面; 同时参考图 5 ,如图 5所示, 为一种重定向操作中各设备之间信息传输的 示意筒图, 其中, 当 GGSN 中判断出旧套餐包超期时间点已到, 若此时用户 发起访问互联网的操作,且访问的互联网地址为 www.xyz.com , 当用户点击终 端上的该 www.xyz.com地址时, GGSN ^!夺重定向地址 www.portal.com发送给 用户, 用户要再点击该地址的链接才能看到提醒页面, 因此用户的点击操作实 际上显示为门户服务器上存储的提醒页面。如果在该提醒页面上有按钮指示是 否选择新套餐, 用户通过终端对该按钮进行了选择, 则门户服务器会将用户的 选择结果发送 OCS, 使得 OCS可以对 GGSN进行配额和策略等控制。  Step 402: The GGSN receives the first message sent by the OCS, where the first message includes: an old package expired time point and an old package remaining quota; the first message further includes: the redirected page address after the old package expires, and the redirect is effective Time (VT) timer; Step 403: Before the old package expires, the GGSN provides the corresponding service according to the remaining quota of the old package; the GGSN expires according to the old package, after the old package expires, when the user initiates the Internet The GGSN sends the redirected page address (specifically, the URL address suffix user mobile phone number) to the user terminal; Step 404: When the user clicks the redirect page address, the user terminal obtains the reminder page on the Portal Server through the GGSN; 5, as shown in FIG. 5, is a schematic diagram of information transmission between devices in a redirection operation, wherein, when the GGSN determines that the old package expires, the user has initiated access to the Internet. Operation, and the accessed Internet address is www.xyz.com, when the user clicks on the w on the terminal When ww.xyz.com address, GGSN ^! The redirect address www.portal.com is sent to the user, and the user has to click the link of the address to see the reminder page, so the user's click operation is actually displayed as the reminder page stored on the portal server. If there is a button on the reminder page to indicate whether the new package is selected, and the user selects the button through the terminal, the portal server sends the user's selection result to the OCS, so that the OCS can perform quota and policy control on the GGSN.
其中, 步骤 404中提醒页面上可以显示: 旧套餐包超期提醒, 以及新套餐 包是否使用的按钮。如果用户启动使用新套餐包的按钮, 则门户服务器将按钮 的指令通知 OCS。 同时参考图 6, 图 6所示为一种具体的提醒页面实例,其中, 〈使用 >、 〈拒绝 >代表两个用户可以选择的按钮, 用户选择具体按钮后, 门户 服务器可以将选择结果通知 OCS, 便于 OCS进一步控制 GGSN。 该举例是为 了便于理解本发明实施例, 并非对本发明的限制。 步骤 405: GGSN在重定向有效时间 (VT )结束后, 发送第二消息, 该 第二消息包括: 包括旧套餐包超期前配额消耗信息的消息; The reminder page in step 404 can display: an old package overdue reminder, and a button for whether the new package is used. If the user launches a button that uses the new package, the portal server notifies the OCS of the button's instructions. Referring to FIG. 6 at the same time, FIG. 6 shows an example of a specific reminder page, where <Use>, <Reject> represents a button that two users can select. After the user selects a specific button, the portal server can notify the OCS of the selection result, so that the OCS can further control the GGSN. This example is made to facilitate an understanding of the embodiments of the present invention and is not intended to limit the invention. Step 405: After the GGSN ends the redirection effective time (VT), the GGSN sends a second message, where the second message includes: a message including the quota consumption information of the old package packet before the expiration;
需要理解的是, 通常重定向有效时间 (VT ) 可以设置为非常短暂的一段 时间 (可以是几秒), 以便于在旧套餐包超期之后很短的时间内, 使得 GGSN 进行重定向处理, 将提醒页面显示给用户, 但同时, 在重定向 VT结束后出 发承载有第二消息的 CCR, 不影响用户启动新套餐包。 步骤 406: OCS接收 GGSN发送的第二消息, 该第二消息包括: 旧套餐 包超期前配额消耗信息;  It should be understood that the redirect effective time (VT) can be set to a very short period of time (which can be a few seconds), so that the GGSN can be redirected in a short time after the old package expires. The reminder page is displayed to the user, but at the same time, the CCR that carries the second message after the end of the redirected VT does not affect the user to start the new package. Step 406: The OCS receives the second message sent by the GGSN, where the second message includes: the quota consumption information of the old package packet before the expiration;
步骤 407: OCS根据旧套餐包超期前配额消耗信息, 在旧套餐包中扣取相 应费用 (debit fee ); 步骤 408: OCS根据存储的新套餐信息, 发送新套餐包配额给 GGSN。 通过上述对本发明实施例三提供的一种计费套餐包超期前后的管理方法 的说明, 该方法采用 OCS在旧套餐包超期之前发送第一消息给 GGSN, 该第 一消息至少包括: 该旧套餐包超期时间点和旧套餐包剩余配额, 使得 OCS可 以不用每次接收到 GGSN发送的消息后, 都计算当前时间距离旧套餐包超期 的时间是否还有固定的 5分钟, 而且, 避免了 OCS与 GGSN之间传输消息的 产生的网络时延, 使得 GGSN对旧套餐包超期时间点判断准确。 同时, 在第 一消息中还包括旧套餐包剩余配额, 使得 GGSN在旧套餐包超期之前, 能够 控制使用的资源在旧套餐包剩余配额之内, 降低了后续在 OCS中计费的复杂 度。  Step 407: The OCS deducts the corresponding fee (debit fee) from the old package according to the quota consumption information of the old package package. Step 408: The OCS sends a new package quota to the GGSN according to the stored new package information. According to the foregoing description of the management method of the charging package before and after the expiration of the third embodiment of the present invention, the method uses the OCS to send the first message to the GGSN before the old package expires, and the first message includes at least: the old package The expired time point of the package and the remaining quota of the old package, so that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN, and avoids the OCS and The network delay of the transmission of the message between the GGSNs makes the GGSN accurately judge the timeout point of the old package. At the same time, the first message includes the remaining quota of the old package, so that the GGSN can control the resources used in the remaining quota of the old package before the old package expires, which reduces the complexity of subsequent charging in the OCS.
进一步, 在第一消息中包括: 旧套餐包超期之后的重定向页面地址, 重 定向有效时间 (VT )定时器, 使得 GGSN进行重定向处理, 将提醒页面显示 给用户, 但同时, 在重定向 VT结束后出发承载有第二消息的 CCR, 不影响用 户启动新套餐包。 实施例四 本发明实施例提供了一种计费套餐包超期前后的管理方法, 如图 7所示, 该方法的执行主体具体可以是 OCS, 但不限于 OCS, 如下该方法具体包括: 步骤 701: 在旧套餐包超期之前, 发送第三消息给 GGSN, 该第三消息至 少包括: 该旧套餐包超期时间点, 旧套餐包剩余配额, 和新套餐包配额; 其中, 步骤 701与实施例一中步骤 201相似, 即第三消息与实施例一中第 一消息相似, 即: OCS具体可以通过 CCA作为第三消息的载体, 但是载体不 限于 CCA; OCS 将至少包括旧套餐包超期时间点和旧套餐包剩余配额的消息 发给 GGSN,使得 GGSN侧获知了旧套餐包超期时间点,使得 GGSN准确的知 道旧套餐包超期时间点, 而不用担心因为网络延迟导致不能准确在旧套餐包超 期之后, 进行后续操作; 同时, GGSN在接收到 OCS发送的第三消息中的旧套 餐包剩余配额, 使得 GGSN容易控制用户在旧套餐包超期之前, 控制用户的可 以配额, 防止超额使用导致的计费问题。 但是, 步骤 701与实施例一中步骤 201不同在于, 第三消息中不仅包括 与第一消息相同的: 该旧套餐包超期时间点, 和旧套餐包剩余配额, 还包括 不同于第一消息的新套餐包配额。 OCS可以在旧套餐包超期之前下发新套餐 包配额, 使得 GGSN不需要在旧套餐包超期之后立即发送 CCR, GGSN可 以在旧套餐包超期之后, 且新配额消耗殆尽后, 发送 CCR请求给 OCS; 而不 同于实施例一中, OCS需要在旧套餐包超期之后发送新配额给 GGSN, 节约 流程。 步骤 702: 接收 GGSN发送的第四消息, 该第四消息包括: 新旧套餐包 配额的消耗信息; 其中, GGSN具体可以是在旧套餐包超期之后, 同时, 新套餐包配额消 耗完后, 发送上述第四消息, 该第四消息可以通过 CCR承载。 步骤 703: 根据新旧套餐包配额的消耗信息, 从新旧套餐包中扣取相应 费用。 Further, the first message includes: a redirect page address after the old package packet expires, and a redirect valid time (VT) timer, so that the GGSN performs a redirection process to display the reminder page to the user, but at the same time, in the redirect After the VT ends, the CCR carrying the second message is sent, and does not affect the user to start the new package. Embodiment 4 The embodiment of the present invention provides a management method for a charging package before and after an expired period. As shown in FIG. 7 , the executor of the method may be an OCS, but is not limited to the OCS. The method includes the following steps: Step 701 Before the old package expires, the third message is sent to the GGSN, and the third message includes at least: the old package expires, the old package remaining quota, and the new package quota; wherein, step 701 and the first embodiment The step 201 is similar, that is, the third message is similar to the first message in the first embodiment, that is: the OCS can specifically pass the CCA as the carrier of the third message, but the carrier is not limited to the CCA; the OCS will include at least the old package packet expiration time point and The message of the remaining quota of the old package is sent to the GGSN, so that the GGSN side knows the timeout point of the old package, so that the GGSN can accurately know the timeout point of the old package, without worrying that the network package may not be accurate after the old package expires. After the GGSN receives the remaining quota of the old package in the third message sent by the OCS, making the GGSN easy to control. Before the old package expires, the user can control the user's quota and prevent the charging problem caused by over-use. However, step 701 is different from step 201 in the first embodiment in that the third message includes not only the same as the first message: the old package packet expired time point, and the old package packet remaining quota, and further includes a different from the first message. New package package quota. OCS can issue a new package quota before the old package expires, so that the GGSN does not need to send the CCR immediately after the old package expires. The GGSN can send a CCR request after the old package expires and the new quota is exhausted. OCS; Unlike in the first embodiment, the OCS needs to send a new quota to the GGSN after the old package expires, saving the process. Step 702: Receive a fourth message sent by the GGSN, where the fourth message includes: consumption information of the new and old package quotas; wherein, the GGSN may be after the old package expires, and after the new package quota is exhausted, send the above The fourth message, the fourth message can be carried by the CCR. Step 703: Deduct the corresponding fee from the new and old package according to the consumption information of the new and old package quotas.
通过上述对本发明实施例四提供的一种计费套餐包超期前后的管理方法 的说明, 该方法采用 OCS在旧套餐包超期之前发送第三消息给 GGSN, 该第 三消息至少包括: 该旧套餐包超期时间点, 旧套餐包剩余配额, 和新套餐包配 额, 使得 OCS可以不用每次接收到 GGSN发送的消息后, 都计算当前时间距 离旧套餐包超期的时间是否还有固定的 5分钟, 而且, 避免了 OCS与 GGSN 之间传输消息的产生的网络时延, 使得 GGSN对旧套餐包超期时间点判断准 确。 同时, 在第三消息中还包括旧套餐包剩余配额, 使得 GGSN在旧套餐包 超期之前,能够控制使用的资源在旧套餐包剩余配额之内,降低了后续在 OCS 中计费的复杂度。 The management method before and after the overdue of a charging package provided by the fourth embodiment of the present invention The method uses OCS to send a third message to the GGSN before the old package expires. The third message includes at least: the old package timeout point, the old package remaining quota, and the new package quota, so that the OCS can After receiving the message sent by the GGSN, it is not necessary to calculate whether the current time is over a fixed period of 5 minutes from the old package, and the network delay of transmitting the message between the OCS and the GGSN is avoided, so that the GGSN is caused. The judgment of the old package package is accurate. At the same time, the third message also includes the remaining quota of the old package, so that the GGSN can control the used resources within the remaining quota of the old package before the old package expires, reducing the complexity of subsequent charging in the OCS.
进一步, OCS发送的第三消息中还包括新套餐包配额, 使得 GGSN不必 在旧套餐包超期之后立即触发请求 OCS为其分配新套餐包配额的操作, 而是 GGSN根据在第三消息中的新配额消息,在超期之后为用户提供新套餐包配额 的服务, 从而节约了 OCS与 GGSN之间的通信次数。  Further, the third message sent by the OCS further includes a new package quota, so that the GGSN does not have to trigger the operation for requesting the OCS to allocate a new package quota immediately after the old package expires, but the GGSN according to the new message in the third message. The quota message provides the user with a new package quota service after the expiration, thereby saving the number of communication between the OCS and the GGSN.
实施例五 本发明实施例提供了一种计费套餐包超期前后的管理方法, 如图 8所示, 该方法的执行主体具体可以是 GGSN,但不限于 GGSN,如下该方法具体包括: 步骤 801: 接收 OCS发送的第三消息, 该第三消息至少包括: 该旧套餐 包超期时间点, 旧套餐包剩余配额, 和新套餐包配额; 其中, GGSN通常是在旧套餐包超期之前接收到 OCS发送的第三消息, 该第三消息可以具体承载在某一次 OCS发送的 CCA上。通过发送包括有旧套 餐包超期时间点的第三消息, 使得 OCS不必多次计算距离旧套餐包超期的时 间点 5分钟时(该 5分钟为现有技术中通常设置的时间点 ),发送 CCA。 同时, 由于 GGSN 中获知该旧套餐包超期时间点, 而不用担心因为网络延迟导致不 能准确在旧套餐包超期之后, 进行后续操作。 步骤 802: 在旧套餐包超期之前, 根据旧套餐包剩余配额为用户提供相应 业务; 在旧套餐包超期之后, 根据新套餐包配额为用户提供相应业务;  Embodiment 5 The embodiment of the present invention provides a management method for a charging package before and after an expired period. As shown in FIG. 8 , the executor of the method may be a GGSN, but is not limited to the GGSN. The method includes the following steps: Step 801 : receiving the third message sent by the OCS, the third message at least: the old package expired time point, the old package remaining quota, and the new package quota; wherein, the GGSN usually receives the OCS before the old package expires The third message sent, the third message may be specifically carried on the CCA sent by an OCS. By sending a third message including the expiration time point of the old package, the OCS does not have to calculate the time point 5 minutes away from the old package expiration (the 5 minutes is the time point usually set in the prior art), and the CCA is sent. . At the same time, because the GGSN knows the timeout point of the old package, there is no need to worry about the inability to accurately follow the old package after the network delay. Step 802: Before the old package expires, provide the corresponding service according to the remaining quota of the old package; after the old package expires, provide the corresponding service according to the new package quota;
由于 OCS发送的第三消息中包括: 该旧套餐包超期时间点, 旧套餐包剩余 配额, 和新套餐包配额三项, 使得 GGSN中可以容易执行步骤 802, 在旧套餐 包超期之前, 根据旧套餐包剩余配额为用户提供相应业务; 在旧套餐包超期之 后, 根据新套餐包配额为用户提供相应业务. 步骤 803: 当新套餐包配额耗尽后, 发送第四消息给 OCS , 该第四消息包 括: 新旧套餐包配额的消耗信息。 其中, GGSN可以是在新套餐包配额耗尽时, 触发发送 CCR给 OCS, 在The third message sent by the OCS includes: the old package package expired time point, the old package package remaining quota, and the new package package quota, so that the GGSN can easily perform step 802, in the old package Before the package expires, the user is provided with the corresponding business according to the remaining quota of the old package; after the old package expires, the user is provided with the corresponding service according to the new package quota. Step 803: After the new package quota is exhausted, the fourth message is sent. For OCS, the fourth message includes: Consumption information of the new and old package quotas. The GGSN may trigger the sending of the CCR to the OCS when the new package quota is exhausted.
CCR上承载第四消息, 第四消息中包括新旧套餐包配额的消耗信息便于 OCS 中进行费用的计算。 The CCR carries the fourth message, and the fourth message includes the consumption information of the old and new package quotas to facilitate the calculation of the fee in the OCS.
通过上述对本发明实施例五提供的一种计费套餐包超期前后的管理方法 的说明,该方法采用 OCS在旧套餐包超期之前发送第三消息给 GGSN,该第三 消息至少包括: 该旧套餐包超期时间点, 旧套餐包剩余配额, 和新套餐包配额, 使得 OCS可以不用每次接收到 GGSN发送的消息后, 都计算当前时间距离旧 套餐包超期的时间是否还有固定的 5分钟, 而且, 避免了 OCS与 GGSN之间 传输消息的产生的网络时延, 使得 GGSN对旧套餐包超期时间点判断准确。 同 时,在第三消息中还包括旧套餐包剩余配额,使得 GGSN在旧套餐包超期之前, 能够控制使用的资源在旧套餐包剩余配额之内,降低了后续在 OCS中计费的复 杂度。 进一步, OCS发送的第三消息中还包括新套餐包配额, 使得 GGSN不必 在旧套餐包超期之后立即触发请求 OCS 为其分配新套餐包配额的操作, 而是 GGSN根据在第三消息中的新配额消息, 在超期之后为用户提供新套餐包配额 的服务, 从而节约了 OCS与 GGSN之间的通信次数。 实施例六 本发明实施例提供了一种计费套餐包超期前后的管理方法,该实施例是结 合上述实施例四、 五, 以及增加了重定向操作的具体举例。 如图 9所示, 该方 法包括: 步骤 901 : OCS在旧套餐包超期之前, 发送第三消息给 GGSN, 该第三 消息至少包括:该旧套餐包超期时间点, 旧套餐包剩余配额,和新套餐包配额; 该第三消息还包括: 重定向页面地址, 重定向方式为一次(one-shot ) 的重定 向指示; According to the foregoing description of the management method of the charging package before and after the expiration of the fifth embodiment of the present invention, the method uses the OCS to send a third message to the GGSN before the old package expires, the third message at least including: the old package The overdue time of the package, the remaining quota of the old package, and the quota of the new package, so that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN. Moreover, the network delay of the transmission of the message between the OCS and the GGSN is avoided, so that the GGSN can accurately determine the timeout point of the old package. At the same time, the third message also includes the remaining quota of the old package, so that the GGSN can control the used resources within the remaining quota of the old package before the old package expires, reducing the complexity of subsequent charging in the OCS. Further, the third message sent by the OCS further includes a new package quota, so that the GGSN does not have to trigger the request for the OCS to allocate a new package quota immediately after the old package expires, but the GGSN according to the new message in the third message. The quota message provides the user with a new package quota service after the expiration, thereby saving the number of communication between the OCS and the GGSN. Embodiment 6 The embodiment of the present invention provides a management method before and after the charging package is expired. This embodiment is combined with the above embodiments 4 and 5, and a specific example of adding a redirection operation. As shown in FIG. 9, the method includes: Step 901: Before the old package expires, the OCS sends a third message to the GGSN, where the third message includes at least: an expired time point of the old package, an remaining quota of the old package, and The new package quota; the third message also includes: Redirect page address, redirection method is one-shot reset Direction
需要理解的是,通常移动分组域在线计费功能中的收费通知(AoC, Advice of Charge )功能的典型应用是在用户帐户余额耗尽后,进行充值提醒。 由 OCS, GGSN, 门户服务器( Portal Server )等网元配合完成。 OCS下发提醒页面的地 址给 GGSN。 GGSN网元监控配额使用情况, 当配额耗尽后, GGSN通过重定 向方式将终端用户重定向到提醒页面, 方便用户进行充值等处理。  It should be understood that a typical application of the AoC (Advice of Charge) function in the online billing function of the mobile packet domain is to perform a recharge reminder after the user account balance is exhausted. It is completed by network elements such as OCS, GGSN, and Portal Server. The address of the reminder page issued by OCS is given to the GGSN. The GGSN network element monitors the quota usage. When the quota is exhausted, the GGSN redirects the terminal user to the reminder page by redirection, which facilitates the user to perform recharge and other processing.
在步骤 901中, OCS下发的第三消息中还可以包括的的重定向页面地址, 和重定向方式为一次的重定向指示, 方便 GGSN在旧套餐包超期之后, 进行 重定向, 为用户提供提醒页面。 步骤 902: GGSN接收 OCS发送的第三消息, 该第三消息至少包括: 该 旧套餐包超期时间点, 旧套餐包剩余配额, 和新套餐包配额, 以及重定向页 面地址, 重定向方式为一次(one-shot ) 的重定向指示; 步骤 903: GGSN在旧套餐包超期之前, 根据旧套餐包剩余配额为用户提 供相应业务; GGSN根据旧套餐包超期时间点和重定向方式为一次的重定向指 示, 在旧套餐包超期之后, 当用户发起互联网访问, GGSN将重定向页面地址 (具体可以是 URL地址后缀用户手机号码)发送给用户终端; 其中, GGSN 的重定向方式在该实施例中限制为一次, 该方式是通过重 定向的次数来约束重定向, 上述实施例三中通过重定向实现 VT来控制重定 向, 这里仅仅是为了便于理解本发明实施例的说明, 并非穷举, 也并非对本 发明实施例的限制。 步骤 904: 用户点击重定向页面地址, 用户终端通过 GGSN获得 Portal Server上的提醒页面; 参见图 10所示, 为一种重定向操作中各设备之间信息传输的示意筒图, 其中, 当 GGSN中判断出旧套餐包超期时间点已到, 若此时用户发起访问互 联网的操作, 且访问的互联网地址为 www.xyz.com, 当用户点击终端上的该 www.xyz.com地址时, GGSN将该地址替换为门户服务器上重定向页面地址 (举例为: www.portal.com?138xxx ), 因此用户的点击操作实际上显示为门户 服务器上存储的提醒页面。 还需要说明的是, 本实施例六与实施例三的不同点, 还包括: 在用户的 提醒页面上未包括有按钮, 因此, 门户服务器的用途仅在于为用户提供提醒 页面, 不需要用户进行是否启用新套餐包的操作, 换句话说, 在旧套餐包超 期后自动启用新套餐包,不用用户选择,产生的结果是:在门户服务器与 OCS 之间不用通信用户是否启动新套餐包的信息。 In step 901, the redirected page address that can be included in the third message sent by the OCS, and the redirection indication in the redirect mode are one time, which is convenient for the GGSN to perform redirection after the old package expires, providing the user with Reminder page. Step 902: The GGSN receives the third message sent by the OCS, where the third message includes at least: an expired time point of the old package, an remaining quota of the old package, a quota of the new package, and a redirected page address. (one-shot) redirection indication; Step 903: Before the old package expires, the GGSN provides the corresponding service according to the remaining quota of the old package; the GGSN redirects according to the old package timeout and the redirect mode. Instructing, after the old package expires, when the user initiates an Internet access, the GGSN sends the redirected page address (specifically, the URL address suffix user mobile phone number) to the user terminal; wherein the GGSN redirection mode is limited in this embodiment. For one time, the method is to restrict the redirection by the number of redirections. In the third embodiment, the VT is used to control the redirection by redirecting. The description is merely for the purpose of facilitating understanding of the description of the embodiments of the present invention, and is not exhaustive or Limitations on embodiments of the invention. Step 904: The user clicks the redirect page address, and the user terminal obtains the reminder page on the Portal Server through the GGSN. See FIG. 10, which is a schematic diagram of information transmission between devices in the redirection operation, where, when the GGSN It is judged that the timeout point of the old package has arrived. If the user initiates the operation of accessing the Internet at this time, and the accessed Internet address is www.xyz.com, when the user clicks the address of the www.xyz.com on the terminal, the GGSN Replace the address with the redirect page address on the portal server (for example: www.portal.com?138xxx ), so the user's click action actually appears as a reminder page stored on the portal server. It should be noted that the difference between the sixth embodiment and the third embodiment further includes: the button is not included in the reminder page of the user. Therefore, the purpose of the portal server is only to provide a reminder page for the user, and the user does not need to perform the Whether to enable the operation of the new package, in other words, automatically enable the new package after the old package expires, without user selection, the result is: no communication between the portal server and OCS, whether the user starts the new package information .
其中, 步骤 904中提醒页面上可以显示: 旧套餐包超期提醒等。 如图 11 所示, 为一种具体的提醒页面实例, 该举例是为了便于理解本发明实施例, 并非对本发明的限制。 步骤 905: GGSN在旧套餐包超期之后,根据新套餐包配额为用户提供相 应业务; 步骤 906: GGSN在新套餐包配额耗尽时, 发送第四消息给 OCS , 该第 四消息包括: 新旧套餐包配额的消耗信息。 步骤 907: OCS根据新旧套餐包配额的消耗信息, 从新旧套餐包中扣取 相应费用。 通过上述对本发明实施例五提供的一种计费套餐包超期前后的管理方 法的说明, 该方法采用 OCS在旧套餐包超期之前发送第三消息给 GGSN, 该 第三消息至少包括: 该旧套餐包超期时间点, 旧套餐包剩余配额, 和新套餐 包配额,使得 OCS可以不用每次接收到 GGSN发送的消息后,都计算当前时 间距离旧套餐包超期的时间是否还有固定的 5分钟, 而且, 避免了 OCS 与 GGSN之间传输消息的产生的网络时延, 使得 GGSN对旧套餐包超期时间点 判断准确。 同时, 在第三消息中还包括旧套餐包剩余配额, 使得 GGSN在旧 套餐包超期之前, 能够控制使用的资源在旧套餐包剩余配额之内, 降低了后 续在 OCS中计费的复杂度。 进一步,通过进行在第三消息中包括: 旧套餐包超期之后的重定向页面地 址, 重定向方式为一次(one-shot )重定向指示, 使得 GGSN进行重定向处理, 将提醒页面显示给用户,但同时,根据第三消息中的新套餐包配额为用户提供 相应业务,在该配额耗尽后发送 载有第四消息的 CCR,节约了 OCS与 GGSN 之间的通信资源。 实施例七 本发明实施例提供一种管理装置, 该管理装置具体可以是 OCS设备, 如 图 12所示, 该装置包括: 第一发送单元 A01 , 第一接收单元 A02, 第一扣费 单元 A03, 和第二发送单元 A04; 其中, 第一发送单元 A01 , 用于在旧套餐包超期之前, 发送第一消息给In the step 904, the reminder page can be displayed: the old package package is overdue reminder. As shown in FIG. 11, it is an example of a specific reminder page, which is for convenience of understanding the embodiments of the present invention, and is not intended to limit the present invention. Step 905: After the old package expires, the GGSN provides the corresponding service according to the new package quota. Step 906: The GGSN sends a fourth message to the OCS when the new package quota is exhausted. The fourth message includes: The consumption information of the package quota. Step 907: The OCS deducts the corresponding fee from the new and old package according to the consumption information of the new and old package quotas. According to the foregoing description of the management method of the charging package before and after the expiration of the fifth embodiment of the present invention, the method uses the OCS to send a third message to the GGSN before the old package expires, the third message at least including: the old package The expired time of the package, the remaining quota of the old package, and the quota of the new package, so that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN. Moreover, the network delay of the transmission of the message between the OCS and the GGSN is avoided, so that the GGSN can accurately judge the timeout point of the old package. At the same time, the third message also includes the remaining quota of the old package, so that the GGSN can control the used resources within the remaining quota of the old package before the old package expires, reducing the complexity of subsequent charging in the OCS. Further, the third message includes: a redirect page address after the old package expires, and the redirect mode is a one-shot redirect indication, so that the GGSN performs the redirection process, and displays the reminder page to the user. At the same time, according to the new package quota in the third message, the user is provided with the corresponding service, and after the quota is exhausted, the CCR carrying the fourth message is sent, which saves communication resources between the OCS and the GGSN. Embodiment 7 The embodiment of the present invention provides a management device, which may be an OCS device. As shown in FIG. 12, the device includes: a first sending unit A01, a first receiving unit A02, and a first charging unit A03. And the second sending unit A04; wherein, the first sending unit A01 is configured to send the first message to the old package before the old package expires
GGSN , 所述第一消息至少包括: 所述旧套餐包超期时间点和旧套餐包剩余配 额; The GGSN, the first message includes at least: an expired time point of the old package package and a remaining quota of the old package package;
所述第一接收单元 A02, 用于接收 GGSN发送的第二消息, 所述第二消 息包括: 所述旧套餐包超期前配额消耗信息;  The first receiving unit A02 is configured to receive a second message sent by the GGSN, where the second message includes: the pre-expiration quota consumption information of the old package package;
所述第一扣费单元 A03, 用于根据所述旧套餐包超期前配额消息信息, 在 所述旧套餐包中扣取相应费用;  The first debit unit A03 is configured to deduct a corresponding fee from the old package according to the pre-expiration quota message information of the old package;
所述第二发送单元 A04, 用于根据存储的新套餐包信息,发送新套餐包配 额给所述 GGSN。  The second sending unit A04 is configured to send a new package packet quota to the GGSN according to the stored new package information.
通过上述对本发明实施例七提供的一种管理装置的说明,采用第一发送单 元在旧套餐包超期之前发送第一消息给 GGSN, 该第一消息至少包括: 该旧套 餐包超期时间点和旧套餐包剩余配额, 使得 OCS可以不用每次接收到 GGSN 发送的消息后, 都计算当前时间距离旧套餐包超期的时间是否还有固定的 5 分钟, 而且, 避免了 OCS 与 GGSN之间传输消息的产生的网络时延, 使得 GGSN对旧套餐包超期时间点判断准确。 同时, 在第一消息中还包括旧套餐包 剩余配额, 使得 GGSN在旧套餐包超期之前, 能够控制使用的资源在旧套餐 包剩余配额之内, 降低了后续在 OCS中计费的复杂度。 进一步, 所述第一消息还可以包括: 重定向页面地址, 和重定向有效时间 定时器;  The first sending unit sends a first message to the GGSN before the old package expires, the first message includes at least: the old package expires at the time point and the old one, according to the description of the management device provided in the seventh embodiment of the present invention. The remaining quota of the package package allows the OCS to calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN. Moreover, the message between the OCS and the GGSN is avoided. The generated network delay makes the GGSN accurately judge the timeout point of the old package. At the same time, the first message includes the remaining quota of the old package, so that the GGSN can control the used resources within the remaining quota of the old package before the old package expires, which reduces the complexity of subsequent charging in the OCS. Further, the first message may further include: a redirect page address, and a redirect effective time timer;
进一步, 所述第一消息具体承载在信用控制响应上(CCA ); 所述第二消 息具体承载在信用控制请求上( CCR )。  Further, the first message is specifically carried on a credit control response (CCA); the second message is specifically carried on a credit control request (CCR).
实施例八 本发明实施例提供一种管理装置, 该管理装置具体可以是 GGSN设备, 如图 13所示, 该装置包括: 第二接收单元 B01 , 第一服务单元 B02, 第三发 送单元 B03 , 和第三接收单元 B04; Embodiment 8 The embodiment of the present invention provides a management device, which may be a GGSN device. As shown in FIG. 13, the device includes: a second receiving unit B01, a first service unit B02, and a third sending a sending unit B03, and a third receiving unit B04;
所述第二接收单元 B01 , 用于接收 OCS发送的第一消息, 所述第一消息 至少包括: 旧套餐包超期时间点和所述旧套餐包剩余配额;  The second receiving unit B01 is configured to receive a first message sent by the OCS, where the first message includes at least: an old package packet expiration time point and a remaining quota of the old package packet;
所述第一服务单元 B02, 用于在旧套餐包超期之前, 根据所述旧套餐包剩 余配额为用户提供相应业务;  The first service unit B02 is configured to provide a corresponding service to the user according to the remaining quota of the old package before the old package expires;
所述第三发送单元 B03, 用于根据所述旧套餐包超期时间点, 在所述旧套 餐包超期之后发送第二消息, 所述第二消息包括: 所述旧套餐包超期前配额消 耗信息;  The third sending unit B03 is configured to send, according to the expired time point of the old package, a second message after the old package expires, the second message includes: the pre-expiration quota consumption information of the old package ;
所述第三接收单元 B04, 用于接收所述 OCS发送的新套餐包配额, 使得用 户利用新套餐包配额访问业务。 通过上述对本发明实施例八提供的一种管理装置的说明, 采用第一接收 单元在旧套餐包超期之前接收 OCS发送的第一消息, 该第一消息至少包括: 该旧套餐包超期时间点和旧套餐包剩余配额, 使得 OCS可以不用每次接收到 GGSN发送的消息后,都计算当前时间距离旧套餐包超期的时间是否还有固定 的 5分钟, 而且, 避免了 OCS与 GGSN之间传输消息的产生的网络时延, 使 得 GGSN对旧套餐包超期时间点判断准确。 同时, 在第一消息中还包括旧套 餐包剩余配额, 使得 GGSN在旧套餐包超期之前, 能够控制使用的资源在旧 套餐包剩余配额之内, 降低了后续在 OCS中计费的复杂度。 进一步, 所述第一消息还包括: 重定向页面地址, 和重定向有效时间定时 器;  The third receiving unit B04 is configured to receive a quota of a new package that is sent by the OCS, so that the user accesses the service by using the new package quota. The first receiving unit receives the first message sent by the OCS before the old package expires, the first message includes at least: the old package expires at the time point and the description of the management device provided by the eighth embodiment of the present invention. The remaining quota of the old package includes that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN. Moreover, the message between the OCS and the GGSN is avoided. The resulting network delay makes the GGSN accurately judge the timeout point of the old package. At the same time, the first message includes the remaining quota of the old meal package, so that the GGSN can control the used resources within the remaining quota of the old package before the old package expires, which reduces the complexity of subsequent charging in the OCS. Further, the first message further includes: a redirect page address, and a redirect effective time timer;
所述装置还包括: 第一重定向单元 B05,  The device further includes: a first redirecting unit B05,
所述第一重定向单元, 用于在旧套餐包超期之后, 当用户终端发起互联网 访问,将所述重定向页面地址发送给所述用户终端,使得所述终端获取门户服 务器上的提醒页面;  The first redirection unit is configured to: after the old package package expires, when the user terminal initiates an Internet access, send the redirected page address to the user terminal, so that the terminal acquires a reminder page on the portal server;
则第三发送单元 B04, 具体用于根据所述旧套餐包超期时间点, 在所述旧 套餐包超期之后, 且在重定向有效时间结束后, 发送第二消息, 所述第二消息 包括: 所述旧套餐包超期前配额消耗信息。  The third sending unit B04 is specifically configured to send, according to the expired time point of the old package, after the old package expires, and after the redirection effective time ends, sending the second message, where the second message includes: The old package package expires quota consumption information.
由于第一消息中增加了: 旧套餐包超期之后的重定向页面地址, 重定向 有效时间 (VT )定时器, 使得 GGSN进行重定向处理, 将提醒页面显示给用 户, 但同时, 在重定向 VT结束后出发承载有第二消息的 CCR, 不影响用户 启动新套餐包。 As the first message is added: the redirected page address after the old package expires, the redirect valid time (VT) timer, so that the GGSN performs the redirection process, and the reminder page is displayed for use. At the same time, the CCR that carries the second message after the end of the redirected VT does not affect the user to start the new package.
进一步, 所述第一消息具体承载在信用控制响应上(CCA ); 所述第二消 息具体承载在信用控制请求上(CCR )。  Further, the first message is specifically carried on a credit control response (CCA); the second message is specifically carried on a credit control request (CCR).
实施例九  Example nine
本发明实施例提供一种管理装置, 该管理装置具体可以是 OCS设备, 如 图 14所示, 该装置包括: 第四发送单元 C01 , 第四接收单元 C02, 和第二扣 费单元 C03; 所述第四发送单元 C01 , 用于在旧套餐包超期之前, 发送第三消息给 GGSN, 所述第三消息至少包括: 所述旧套餐包超期时间点, 旧套餐包剩余配 额, 和新套餐包配额三项;  The embodiment of the present invention provides a management device, which may be an OCS device. As shown in FIG. 14, the device includes: a fourth sending unit C01, a fourth receiving unit C02, and a second charging unit C03. The fourth sending unit C01 is configured to send a third message to the GGSN before the old package expires, the third message at least: the old package expired time point, the old package remaining quota, and the new package Three quotas;
所述第四接收单元 C02, 用于接收所述 GGSN发送的第四消息, 所述第四 消息包括: 新旧套餐包配额的消耗信息;  The fourth receiving unit C02 is configured to receive a fourth message sent by the GGSN, where the fourth message includes: consumption information of a new and old package quota;
所述第二扣费单元 C03, 用于根据所述新旧套餐包配额的消耗信息, 从新 旧套餐包中扣取相应费用。  The second deduction unit C03 is configured to deduct a corresponding fee from the new and old package according to the consumption information of the new and old package quotas.
通过上述对本发明实施例九提供的一种管理装置的说明, 采用第四发送 单元在旧套餐包超期之前发送第三消息给 GGSN, 该第三消息至少包括: 该旧 套餐包超期时间点, 旧套餐包剩余配额, 和新套餐包配额, 使得 OCS可以不 用每次接收到 GGSN发送的消息后, 都计算当前时间距离旧套餐包超期的时 间是否还有固定的 5分钟, 而且, 避免了 OCS与 GGSN之间传输消息的产生 的网络时延, 使得 GGSN对旧套餐包超期时间点判断准确。 同时, 在第三消 息中还包括旧套餐包剩余配额, 使得 GGSN在旧套餐包超期之前, 能够控制 使用的资源在旧套餐包剩余配额之内, 降低了后续在 OCS中计费的复杂度。  According to the foregoing description of a management apparatus provided in Embodiment 9 of the present invention, the fourth sending unit sends a third message to the GGSN before the old package expires, and the third message includes at least: the old package expires at the time point, the old The remaining quota of the package, and the new package quota, so that the OCS can calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN, and avoids the OCS and The network delay of the transmission of the message between the GGSNs makes the GGSN accurately judge the timeout point of the old package. At the same time, in the third message, the remaining quota of the old package is included, so that the GGSN can control the resources used in the remaining quota of the old package before the old package expires, which reduces the complexity of subsequent charging in the OCS.
进一步, 所述第三消息还包括: 重定向页面地址, 和重定向方式为一次的 重定向指示; 便于 GGSN侧进行重定向操作。  Further, the third message further includes: a redirection page address, and a redirection indication that the redirection mode is one time; facilitating the GGSN side to perform the redirection operation.
进一步, 所述第三消息具体承载在信用控制响应上(CCA ); 所述第四消 息具体承载在信用控制请求上(CCR )。 实施例十 本发明实施例提供一种管理装置, 该管理装置具体可以是 GGSN设备, 如图 15所示, 该装置包括: 第五接收单元 D01 , 第二服务单元 D02, 第三服 务单元 D03, 和第五发送单元 D04; Further, the third message is specifically carried on a credit control response (CCA); the fourth message is specifically carried on a credit control request (CCR). Embodiment 10 The embodiment of the present invention provides a management device, which may be a GGSN device. As shown in FIG. 15, the device includes: a fifth receiving unit D01, a second service unit D02, and a third service unit D03. And a fifth transmitting unit D04;
所述第五接收单元 D01 , 用于接收 OCS发送的第三消息, 所述第三消息 至少包括: 所述旧套餐包超期时间点, 旧套餐包剩余配额, 和新套餐包配额三 项;  The fifth receiving unit D01 is configured to receive a third message sent by the OCS, where the third message includes: at least: an expired time point of the old package, an remaining quota of the old package, and a quota of a new package;
所述第二服务单元 D02, 用于在旧套餐包超期之前,根据所述旧套餐包剩 余配额为用户提供相应业务;  The second service unit D02 is configured to provide a corresponding service to the user according to the remaining quota of the old package before the old package expires;
所述第三服务单元 D03, 用于在旧套餐包超期之后,根据所述新套餐包配 额为用户提供相应业务;  The third service unit D03 is configured to provide a corresponding service to the user according to the new package package quota after the old package package expires;
所述第五发送单元 D04, 用于当所述新套餐包配额耗尽后,发送第四消息 给所述 OCS, 所述第四消息包括: 新旧套餐包配额的消耗信息。  The fifth sending unit D04 is configured to send a fourth message to the OCS after the quota of the new package is exhausted, where the fourth message includes: consumption information of the new and old package quotas.
通过上述对本发明实施例十提供的一种管理装置的说明,第五接收单元接 收第三小学, 该第三消息至少包括: 该旧套餐包超期时间点, 旧套餐包剩余配 额, 和新套餐包配额, 使得 OCS可以不用每次接收到 GGSN发送的消息后, 都计算当前时间距离旧套餐包超期的时间是否还有固定的 5分钟, 而且,避免 了 OCS与 GGSN之间传输消息的产生的网络时延,使得 GGSN对旧套餐包超 期时间点判断准确。同时,在第三消息中还包括旧套餐包剩余配额,使得 GGSN 在旧套餐包超期之前, 能够控制使用的资源在旧套餐包剩余配额之内, 降低了 后续在 OCS中计费的复杂度。 进一步, OCS发送的第三消息中还包括新套餐包配额, 使得 GGSN不必 在旧套餐包超期之后立即触发请求 OCS为其分配新套餐包配额的操作, 而是 GGSN根据在第三消息中的新配额消息,在超期之后为用户提供新套餐包配额 的服务, 从而节约了 OCS与 GGSN之间的通信次数。 进一步, 所述第三消息还包括: 重定向页面地址, 和重定向方式为一次的 重定向指示;  According to the foregoing description of a management apparatus provided in Embodiment 10 of the present invention, the fifth receiving unit receives a third primary school, and the third message includes at least: an expired time point of the old package, an remaining quota of the old package, and a new package. The quota allows the OCS to calculate whether the current time is over a fixed period of 5 minutes from the time when the old package expires without receiving the message sent by the GGSN. Moreover, the network that avoids the transmission of messages between the OCS and the GGSN is avoided. The delay makes the GGSN judge the accuracy of the old package time. At the same time, the third message also includes the remaining quota of the old package, so that the GGSN can control the resources used in the remaining quota of the old package before the old package expires, which reduces the complexity of subsequent charging in the OCS. Further, the third message sent by the OCS further includes a new package quota, so that the GGSN does not have to trigger the operation for requesting the OCS to allocate a new package quota immediately after the old package expires, but the GGSN according to the new message in the third message. The quota message provides the user with a new package quota service after the expiration, thereby saving the number of communication between the OCS and the GGSN. Further, the third message further includes: a redirect page address, and a redirection indication that the redirection mode is one time;
则该装置还包括: 第二重定向单元 D05 , 用于根据所述旧套餐包超期时 间点和所述重定向方式为一次重定向指示, 在旧套餐包超期之后, 当用户终端 发起互联网访问,将所述重定向页面地址发送给所述用户终端,使得所述终端 获取门户服务器上的提醒页面。 通过进行在第三消息中包括: 旧套餐包超期之后的重定向页面地址, 重定 向方式为一次(one-shot )重定向指示, 使得 GGSN进行重定向处理, 将提醒 页面显示给用户,但同时,根据第三消息中的新套餐包配额为用户提供相应业 务, 在该配额耗尽后发送承载有第四消息的 CCR, 节约了 OCS与 GGSN之间 的通信资源。 The device further includes: a second redirecting unit D05, configured to expire according to the old package The inter-point and the redirection manner are a redirection indication. After the old package expires, when the user terminal initiates an Internet access, the redirected page address is sent to the user terminal, so that the terminal acquires the portal server. Reminder page. By performing the third message: the redirected page address after the old package expires, the redirect mode is a one-shot redirect indication, so that the GGSN performs the redirection process, and displays the reminder page to the user, but at the same time According to the new package quota in the third message, the user is provided with the corresponding service, and after the quota is exhausted, the CCR carrying the fourth message is sent, which saves communication resources between the OCS and the GGSN.
进一步, 所述第三消息具体^载在信用控制响应上(CCA );  Further, the third message is specifically carried on a credit control response (CCA);
所述第四消息具体^载在信用控制请求上( CCR )。  The fourth message is specifically carried on the credit control request (CCR).
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: ROM、 RAM, 磁盘或光盘等。  A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be completed by a program instructing related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD, etc.
以上对本发明实施例所提供的一种计费套餐包超期前后的管理方法和装 了阐述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同 时, 对于本领域的一般技术人员, 依据本发明的思想, 在具体实施方式及应用 范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。  The above description of the management method and the loading and unloading of the billing package package provided by the embodiment of the present invention is only used to help understand the method and core idea of the present invention. Meanwhile, the general technology in the field is In the following, the description of the present invention should not be construed as limiting the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种计费套餐包的管理方法, 其特征在于, 该方法包括: 1. A method for managing billing packages, characterized in that the method includes:
在旧套餐包超期之前, 发送第一消息给网关通用无线分组业务支持节点 Before the old package expires, send the first message to the gateway general wireless packet service support node
( GGSN ), 所述第一消息至少包括: 所述旧套餐包超期时间点和旧套餐包剩 余配额; (GGSN), the first message at least includes: the expiration time point of the old package and the remaining quota of the old package;
接收所述 GGSN发送的第二消息, 所述第二消息包括: 所述旧套餐包超 期前配额消耗信息; Receive the second message sent by the GGSN, where the second message includes: quota consumption information before the old package expires;
根据所述旧套餐包超期前配额消息信息, 在所述旧套餐包中扣取相应费 用; According to the quota message information before the old package expires, deduct the corresponding fee from the old package;
根据存储的新套餐包信息, 发送新套餐包配额给所述 GGSN。 According to the stored new package information, send the new package quota to the GGSN.
2、 根据权利要求 1所述的方法, 其特征在于, 所述第一消息还包括: 重 定向页面地址, 和重定向有效时间定时器。 2. The method according to claim 1, wherein the first message further includes: a redirection page address, and a redirection valid timer.
3、 根据权利要求 1所述的方法, 其特征在于, 所述第一消息承载在信用 控制响应上(CCA ); 3. The method according to claim 1, characterized in that the first message is carried on a credit control response (CCA);
所述第二消息承载在信用控制请求上(CCR )。 The second message is carried on a credit control request (CCR).
4、 一种计费套餐包超期前后的管理方法, 其特征在于, 该方法包括: 接收 OCS发送的第一消息, 所述第一消息至少包括: 旧套餐包超期时间 点和所述旧套餐包剩余配额; 4. A management method before and after the expiration of the billing package, characterized in that the method includes: receiving a first message sent by OCS, the first message at least includes: the expiration time point of the old package and the old package remaining quota;
在旧套餐包超期之前, 根据所述旧套餐包剩余配额为用户提供相应业务; 根据所述旧套餐包超期时间点, 在所述旧套餐包超期之后发送第二消息, 所述第二消息包括: 所述旧套餐包超期前配额消耗信息; Before the old package expires, provide corresponding services to the user according to the remaining quota of the old package; according to the old package expiration time point, send a second message after the old package expires, and the second message includes : Quota consumption information before the old package expires;
接收所述 OCS发送的新套餐包配额, 使得用户利用新套餐包配额访问业 务。 Receive the new package quota sent by the OCS, so that the user uses the new package quota to access the service.
5、 根据权利要求 4所述的方法, 其特征在于, 所述第一消息还包括: 重 定向页面地址, 和重定向有效时间定时器; 5. The method according to claim 4, characterized in that the first message further includes: a redirection page address, and a redirection valid time timer;
所述方法还包括: The method also includes:
在旧套餐包超期之后, 当用户终端发起互联网访问,将所述重定向页面地 址发送给所述用户终端, 使得所述终端获取门户服务器上的提醒页面; After the old package expires, when the user terminal initiates Internet access, the redirect page address is sent to the user terminal, so that the terminal obtains the reminder page on the portal server;
所述在所述旧套餐包超期之后发送第二消息, 具体包括: 在重定向有效时间结束后, 发送第二消息, 所述第二消息包括: 所述旧套 餐包超期前配额消耗信息。 Sending the second message after the old package expires specifically includes: After the redirection validity time expires, a second message is sent, where the second message includes: quota consumption information before the old package expires.
6、 根据权利要求 4所述的方法, 其特征在于, 所述第一消息承载在信用 控制响应上(CCA ); 6. The method according to claim 4, characterized in that the first message is carried on a credit control response (CCA);
所述第二消息 载在信用控制请求上(CCR )。 The second message is carried on a Credit Control Request (CCR).
7、 一种计费套餐包超期前后的管理方法, 其特征在于, 该方法包括: 在旧套餐包超期之前, 发送第三消息给 GGSN, 所述第三消息至少包括: 所述旧套餐包超期时间点, 旧套餐包剩余配额, 和新套餐包配额三项; 7. A management method before and after the expiration of the billing package, characterized in that the method includes: before the old package expires, sending a third message to the GGSN, the third message at least includes: the old package expires The time point, the remaining quota of the old package, and the quota of the new package;
接收所述 GGSN发送的第四消息, 所述第四消息包括: 新旧套餐包配额 的消耗信息; Receive the fourth message sent by the GGSN, where the fourth message includes: consumption information of old and new package quotas;
根据所述新旧套餐包配额的消耗信息, 从新旧套餐包中扣取相应费用。 According to the consumption information of the old and new package quotas, the corresponding fees are deducted from the old and new package packages.
8、 根据权利要求 7所述的方法, 其特征在于, 所述第三消息还包括: 重 定向页面地址, 和重定向方式为一次的重定向指示。 8. The method according to claim 7, wherein the third message further includes: a redirection page address, and a redirection instruction indicating that the redirection mode is one time.
9、 根据权利要求 7所述的方法, 其特征在于, 所述第三消息具体承载在 信用控制响应上(CCA ); 9. The method according to claim 7, characterized in that the third message is specifically carried on a credit control response (CCA);
所述第四消息具体^载在信用控制请求上( CCR )。 The fourth message is specifically carried on the credit control request (CCR).
10、 一种计费套餐包超期前后的管理方法, 其特征在于, 该方法包括: 接收 OCS发送的第三消息, 所述第三消息至少包括: 所述旧套餐包超期 时间点, 旧套餐包剩余配额, 和新套餐包配额三项; 10. A management method before and after the expiration of the billing package, characterized in that the method includes: receiving a third message sent by OCS, the third message at least includes: the expiration time point of the old package, the old package The remaining quota, and the new package quota are three items;
在旧套餐包超期之前, 根据所述旧套餐包剩余配额为用户提供相应业务; 在旧套餐包超期之后, 根据所述新套餐包配额为用户提供相应业务; 当所述新套餐包配额耗尽后, 发送第四消息给所述 OCS , 所述第四消息 包括: 新旧套餐包配额的消耗信息。 Before the old package expires, provide users with corresponding services based on the remaining quota of the old package; after the old package expires, provide users with corresponding services based on the new package quota; when the new package quota is exhausted Finally, a fourth message is sent to the OCS, where the fourth message includes: consumption information of old and new package quotas.
11、 根据权利要求 10所述的方法, 其特征在于, 所述第三消息还包括: 重定向页面地址, 和重定向方式为一次的重定向指示; 11. The method according to claim 10, characterized in that the third message further includes: a redirection page address, and a redirection instruction indicating that the redirection mode is one time;
所述方法还包括: The method also includes:
根据所述旧套餐包超期时间点和所述重定向方式为一次重定向指示,在旧 套餐包超期之后, 当用户终端发起互联网访问,将所述重定向页面地址发送给 所述用户终端, 使得所述终端获取门户服务器上的提醒页面。 According to the expiration time point of the old package and the redirection mode being a redirection indication, after the old package expires, when the user terminal initiates Internet access, the redirect page address is sent to the user terminal, so that The terminal obtains the reminder page on the portal server.
12、 根据权利要求 11所述的方法, 其特征在于, 所述第三消息具体承载 在信用控制响应上(CCA ); 12. The method according to claim 11, characterized in that the third message is specifically carried on a credit control response (CCA);
所述第四消息具体^载在信用控制请求上( CCR )。 The fourth message is specifically carried on the credit control request (CCR).
13、 一种管理装置, 其特征在于, 该装置包括: 第一发送单元, 第一接收 单元, 第一扣费单元, 和第二发送单元; 13. A management device, characterized in that the device includes: a first sending unit, a first receiving unit, a first deduction unit, and a second sending unit;
所述第一发送单元, 用于在旧套餐包超期之前, 发送第一消息给 GGSN, 所述第一消息至少包括: 所述旧套餐包超期时间点和旧套餐包剩余配额; 所述第一接收单元, 用于接收 GGSN发送的第二消息, 所述第二消息包 括: 所述旧套餐包超期前配额消耗信息; The first sending unit is configured to send a first message to the GGSN before the old package expires. The first message at least includes: the expiration time point of the old package and the remaining quota of the old package; the first message A receiving unit, configured to receive a second message sent by the GGSN, where the second message includes: quota consumption information before the old package expires;
所述第一扣费单元, 用于根据所述旧套餐包超期前配额消息信息,在所述 旧套餐包中扣取相应费用; The first deduction unit is used to deduct corresponding fees from the old package based on the quota message information before the old package expires;
所述第二发送单元, 用于根据存储的新套餐包信息,发送新套餐包配额给 所述 GGSN。 The second sending unit is configured to send a new package quota to the GGSN according to the stored new package information.
14、 根据权利要求 13所述的装置, 其特征在于, 所述第一消息还包括: 重定向页面地址, 和重定向有效时间定时器。 14. The device according to claim 13, wherein the first message further includes: a redirection page address, and a redirection valid timer.
15、 根据权利要求 13所述的装置, 其特征在于, 所述第一消息具体承载 在信用控制响应上(CCA ); 15. The device according to claim 13, wherein the first message is specifically carried on a credit control response (CCA);
所述第二消息具体 载在信用控制请求上( CCR )。 The second message is specifically carried on the credit control request (CCR).
16、 一种管理装置, 其特征在于, 该装置包括: 第二接收单元, 第一服务 单元, 第三发送单元, 和第三接收单元; 16. A management device, characterized in that the device includes: a second receiving unit, a first serving unit, a third sending unit, and a third receiving unit;
所述第二接收单元, 用于接收 OCS发送的第一消息, 所述第一消息至少 包括: 旧套餐包超期时间点和所述旧套餐包剩余配额; The second receiving unit is configured to receive the first message sent by the OCS, where the first message at least includes: the expiration time point of the old package and the remaining quota of the old package;
所述第一服务单元, 用于在旧套餐包超期之前,根据所述旧套餐包剩余配 额为用户提供相应业务; The first service unit is used to provide users with corresponding services according to the remaining quota of the old package before the old package expires;
所述第三发送单元, 用于根据所述旧套餐包超期时间点,在所述旧套餐包 超期之后发送第二消息, 所述第二消息包括: 所述旧套餐包超期前配额消耗信 息; The third sending unit is configured to send a second message after the old package expires according to the old package expiration time point, where the second message includes: quota consumption information before the old package expires;
所述第三接收单元, 用于接收所述 OCS发送的新套餐包配额, 使得用户 利用新套餐包配额访问业务。 The third receiving unit is configured to receive the new package quota sent by the OCS, so that the user uses the new package quota to access services.
17、 根据权利要求 16所述的装置, 其特征在于, 所述第一消息还包括: 重定向页面地址, 和重定向有效时间定时器; 17. The device according to claim 16, wherein the first message further includes: a redirection page address, and a redirection valid timer;
所述装置还包括: 第一重定向单元, The device further includes: a first redirection unit,
所述第一重定向单元, 用于在旧套餐包超期之后, 当用户终端发起互联网 访问,将所述重定向页面地址发送给所述用户终端,使得所述终端获取门户服 务器上的提醒页面; The first redirection unit is configured to send the redirection page address to the user terminal when the user terminal initiates Internet access after the old package expires, so that the terminal obtains the reminder page on the portal server;
所述第三发送单元, 具体用于根据所述旧套餐包超期时间点,在所述旧套 餐包超期之后, 且在重定向有效时间结束后, 发送第二消息, 所述第二消息包 括: 所述旧套餐包超期前配额消耗信息。 The third sending unit is specifically configured to send a second message according to the old package expiration time point, after the old package expires, and after the redirection validity time ends, and the second message includes: Quota consumption information before the old package expires.
18、 根据权利要求 16所述的装置, 其特征在于, 所述第一消息具体承载 在信用控制响应上(CCA ); 18. The device according to claim 16, wherein the first message is specifically carried on a credit control response (CCA);
所述第二消息具体 载在信用控制请求上( CCR )。 The second message is specifically carried on the credit control request (CCR).
19、 一种管理装置, 其特征在于, 该装置包括: 第四发送单元, 第四接收 单元, 和第二扣费单元, 19. A management device, characterized in that the device includes: a fourth sending unit, a fourth receiving unit, and a second deduction unit,
所述第四发送单元, 用于在旧套餐包超期之前, 发送第三消息给 GGSN, 所述第三消息至少包括: 所述旧套餐包超期时间点, 旧套餐包剩余配额, 和新 套餐包配额三项; The fourth sending unit is configured to send a third message to the GGSN before the old package expires. The third message at least includes: the expiration time point of the old package, the remaining quota of the old package, and the new package. Three quotas;
所述第四接收单元, 用于接收所述 GGSN发送的第四消息, 所述第四消 息包括: 新旧套餐包配额的消耗信息; The fourth receiving unit is configured to receive a fourth message sent by the GGSN, where the fourth message includes: consumption information of old and new package quotas;
所述第二扣费单元, 用于根据所述新旧套餐包配额的消耗信息,从新旧套 餐包中扣取相应费用。 The second deduction unit is used to deduct corresponding fees from the new and old package packages based on the consumption information of the old and new package package quotas.
20、 根据权利要求 19所述的装置, 其特征在于, 所述第三消息还包括: 重定向页面地址, 和重定向方式为一次的重定向指示。 20. The device according to claim 19, wherein the third message further includes: a redirection page address, and a redirection instruction indicating that the redirection mode is one time.
21、 根据权利要求 19所述的装置, 其特征在于, 所述第三消息具体承载 在信用控制响应上(CCA ); 21. The device according to claim 19, wherein the third message is specifically carried on a credit control response (CCA);
所述第四消息具体承载在信用控制请求上( CCR )。 The fourth message is specifically carried on a credit control request (CCR).
22、 一种管理装置, 其特征在于, 该装置包括: 第五接收单元, 第二服务 单元, 第三服务单元, 和第五发送单元; 22. A management device, characterized in that the device includes: a fifth receiving unit, a second service unit, a third service unit, and a fifth sending unit;
所述第五接收单元, 用于接收 OCS发送的第三消息, 所述第三消息至少 包括: 所述旧套餐包超期时间点, 旧套餐包剩余配额, 和新套餐包配额三项; 所述第二服务单元, 用于在旧套餐包超期之前,根据所述旧套餐包剩余配 额为用户提供相应业务; The fifth receiving unit is configured to receive the third message sent by the OCS, and the third message is at least It includes: three items: the expiration time point of the old package, the remaining quota of the old package, and the quota of the new package; the second service unit is used to, before the old package expires, according to the remaining quota of the old package is Users provide corresponding services;
所述第三服务单元, 用于在旧套餐包超期之后,根据所述新套餐包配额为 用户提供相应业务; The third service unit is used to provide users with corresponding services according to the new package quota after the old package expires;
所述第五发送单元, 用于当所述新套餐包配额耗尽后,发送第四消息给所 述 OCS , 所述第四消息包括: 新旧套餐包配额的消耗信息。 The fifth sending unit is configured to send a fourth message to the OCS when the new package quota is exhausted. The fourth message includes: consumption information of the old and new package quotas.
23、 根据权利要求 22所述的装置, 其特征在于, 所述第三消息还包括: 重定向页面地址, 和重定向方式为一次的重定向指示; 23. The device according to claim 22, wherein the third message further includes: a redirection page address, and a redirection instruction indicating that the redirection mode is one time;
所述装置还包括: 第二重定向单元, 用于根据所述旧套餐包超期时间点和 所述重定向方式为一次重定向指示,在旧套餐包超期之后, 当用户终端发起互 联网访问,将所述重定向页面地址发送给所述用户终端,使得所述终端获取门 户服务器上的提醒页面。 The device further includes: a second redirection unit configured to provide a redirection indication based on the old package expiration time point and the redirection method. After the old package expires, when the user terminal initiates Internet access, the The redirect page address is sent to the user terminal, so that the terminal obtains the reminder page on the portal server.
24、 根据权利要求 22所述的装置, 其特征在于, 所述第三消息具体承载 在信用控制响应上(CCA ); 24. The device according to claim 22, wherein the third message is specifically carried on a credit control response (CCA);
所述第四消息具体承载在信用控制请求上( CCR )。 The fourth message is specifically carried on a credit control request (CCR).
PCT/CN2012/077595 2012-06-27 2012-06-27 Management method and apparatus for billing package before and after package time limit WO2014000171A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280000714.1A CN102870441B (en) 2012-06-27 2012-06-27 Management method and apparatus for billing package before and after package time limit
PCT/CN2012/077595 WO2014000171A1 (en) 2012-06-27 2012-06-27 Management method and apparatus for billing package before and after package time limit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/077595 WO2014000171A1 (en) 2012-06-27 2012-06-27 Management method and apparatus for billing package before and after package time limit

Publications (1)

Publication Number Publication Date
WO2014000171A1 true WO2014000171A1 (en) 2014-01-03

Family

ID=47447776

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/077595 WO2014000171A1 (en) 2012-06-27 2012-06-27 Management method and apparatus for billing package before and after package time limit

Country Status (2)

Country Link
CN (1) CN102870441B (en)
WO (1) WO2014000171A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE202016005799U1 (en) 2015-09-24 2017-01-13 Industrie Saleri Italo S.P.A. Pump unit with electric drive and mechanical drive

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015035562A1 (en) * 2013-09-10 2015-03-19 华为技术有限公司 Charging processing method and system
CN107454119A (en) * 2016-05-30 2017-12-08 中国移动通信集团上海有限公司 A kind of information-pushing method and device
EP3652891B1 (en) 2017-07-10 2023-09-06 Telefonaktiebolaget LM Ericsson (publ) Methods and systems for interrogation rejection during online charging system overload

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378323A (en) * 2008-09-24 2009-03-04 中兴通讯股份有限公司 Method for implementing on-line charging of control business stream and network system thereof
CN101409954A (en) * 2008-10-16 2009-04-15 中兴通讯股份有限公司 Policy control method and system, and policy and charging implement function entity
WO2010148796A1 (en) * 2009-11-23 2010-12-29 中兴通讯股份有限公司 Method, mobile terminal, service platform and system for implementing debit card service
CN102143467A (en) * 2010-08-25 2011-08-03 华为技术有限公司 Method, device and system for implementing charging

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2040413B1 (en) * 2007-09-21 2013-06-19 Nokia Siemens Networks Oy Subscription and advice of charge control
US20120036186A1 (en) * 2009-04-02 2012-02-09 Telefonaktiebolaget Lm Ericsson (Publ) Control of a Communication Session
EP3110072B1 (en) * 2010-05-25 2017-08-30 Headwater Research LLC Device- assisted services for protecting network capacity
US9338631B2 (en) * 2011-01-31 2016-05-10 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for online charging in an IP multimedia subsystem

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378323A (en) * 2008-09-24 2009-03-04 中兴通讯股份有限公司 Method for implementing on-line charging of control business stream and network system thereof
CN101409954A (en) * 2008-10-16 2009-04-15 中兴通讯股份有限公司 Policy control method and system, and policy and charging implement function entity
WO2010148796A1 (en) * 2009-11-23 2010-12-29 中兴通讯股份有限公司 Method, mobile terminal, service platform and system for implementing debit card service
CN102143467A (en) * 2010-08-25 2011-08-03 华为技术有限公司 Method, device and system for implementing charging

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE202016005799U1 (en) 2015-09-24 2017-01-13 Industrie Saleri Italo S.P.A. Pump unit with electric drive and mechanical drive

Also Published As

Publication number Publication date
CN102870441A (en) 2013-01-09
CN102870441B (en) 2015-05-27

Similar Documents

Publication Publication Date Title
JP5606617B2 (en) Local roaming billing in LTE / EPC networks
JP5575247B2 (en) Distributing dynamic policy rules to end users according to end user account balances and service subscription levels in a communication network
TWI466563B (en) Charging in lte/epc communication networks
US9461829B2 (en) Method and apparatus for controlling charging in a communication network
US20190349269A1 (en) Method, system and device for online charging in cloud system
CN105101136B (en) A kind of charging method of data service, apparatus and system
CN102984768A (en) Method and device of real-time adjustment of on-line user bandwidth under shared charge rule
WO2014000171A1 (en) Management method and apparatus for billing package before and after package time limit
WO2011082644A1 (en) Online charging method and apparatus
US20120123919A1 (en) Method And System For Billing In A Communication Network
EP1876808B1 (en) A method and system for enabling charging of non-charging controlled services
WO2013185530A1 (en) Method for billing control and device thereof
JP2013521586A (en) Method and apparatus for controlling quality of service of user equipment
CN106936603A (en) A kind of data service billing method, device and system
CN101442732B (en) On-line charging method, system and equipment
US20080014903A1 (en) Method For Charging For A Service In A Telecommunications/Data Network
WO2017084394A1 (en) Roaming charging method, relevant apparatus, and online charging system
JP6736956B2 (en) Information processing system
WO2005004389A1 (en) System and method for implementing data service prepayment
CN105515795A (en) Method and system for controlling service capability of offline charging user
WO2011082639A1 (en) Online charging method and device
CN100563294C (en) A kind of in wireless access system the method and system of notifying prepayment user charging
WO2014153720A1 (en) Charging method, access device, and charging device
US9264557B2 (en) Charging systems and methods for telecommunications
Cheboldaeff Interaction between an online charging system and a policy server

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201280000714.1

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12879656

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12879656

Country of ref document: EP

Kind code of ref document: A1