WO2014022992A1 - 计费控制的方法及计费触发装置、在线计费系统 - Google Patents

计费控制的方法及计费触发装置、在线计费系统 Download PDF

Info

Publication number
WO2014022992A1
WO2014022992A1 PCT/CN2012/079839 CN2012079839W WO2014022992A1 WO 2014022992 A1 WO2014022992 A1 WO 2014022992A1 CN 2012079839 W CN2012079839 W CN 2012079839W WO 2014022992 A1 WO2014022992 A1 WO 2014022992A1
Authority
WO
WIPO (PCT)
Prior art keywords
quota
type
ctf
resource
request
Prior art date
Application number
PCT/CN2012/079839
Other languages
English (en)
French (fr)
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 PCT/CN2012/079839 priority Critical patent/WO2014022992A1/zh
Priority to EP12882758.1A priority patent/EP2874347B1/en
Priority to ES12882758.1T priority patent/ES2634211T3/es
Priority to CN201611063295.2A priority patent/CN106533707B/zh
Priority to CN201611051252.2A priority patent/CN106550162B/zh
Priority to EP16194971.4A priority patent/EP3203683B1/en
Priority to CN201280001037.5A priority patent/CN103765814B/zh
Publication of WO2014022992A1 publication Critical patent/WO2014022992A1/zh
Priority to US14/615,645 priority patent/US10205832B2/en
Priority to US16/258,502 priority patent/US10972613B2/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
    • 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/64On-line charging system [OCS]
    • 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
    • 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
    • H04L12/1407Policy-and-charging control [PCC] architecture
    • 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/1442Charging, metering or billing arrangements for data wireline or wireless communications at network operator level
    • 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/60Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on actual use of network resources
    • 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/62Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on trigger specification
    • 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/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/785Reserving amount on the account
    • 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/8207Time based data metric aspects, e.g. VoIP or circuit switched packet data
    • 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/1485Tariff-related aspects

Definitions

  • the present invention relates to communications technologies, and in particular, to a charging control method, a charging triggering device, and an online charging system. Background technique
  • Online charging is currently the most mainstream charging method. Because the online charging method can perform credit authorization before the user uses the service, and can charge the fee in real time according to the user's usage, the real-time control of credit can be achieved. Prevent users from using credit for business, causing loss to operators and improving user experience (you can query accurate balance and usage information in real time). In addition, due to the real-time capability of online charging, the granularity information of the user service layer can be obtained in real time, and the fine control of the service used by the user can be triggered.
  • the main mechanism for online charging is credit authorization, that is, the pre-service charging trigger device (Charging)
  • Trigger Function applies for a credit quota (quota) to the Online Charging System (OCS), and OCS performs credit quota authorization. After authorization, the CTF performs business control according to the credit quota authorized by OCS.
  • OCS Online Charging System
  • the CTF performs business control according to the credit quota authorized by OCS.
  • the CTF applies for a credit quota, it is necessary to determine the Unit Determination (UD) as the basis for the OCS credit quota authorization.
  • the unit determination specifically refers to the number of credit units required for calculation.
  • the credit units include business units, traffic, duration, events, and so on.
  • the Centralized Unit Determination (CUD), the number of credit units required by the OCS; Second, the Decentralized Unit Determination (Decentralized Unit Determination) , referred to as DUD), the CTF determines the number of credit units required and requests the number of credit units from the OCS.
  • CCD Centralized Unit Determination
  • DUD Decentralized Unit Determination
  • the determined quota type conflicts; specifically, since the CTF and the OCS are from different vendors, they all have the implementation of determining the quota type.
  • the function however, the CTF implements the determination of the quota type according to the service session request.
  • the OCS determines the quota type according to the information reported by the CTF and the operator operation mode. The above-mentioned determined quota types may conflict, thereby affecting the charging session. The charging control error occurred. Summary of the invention
  • the present invention provides a charging control method, a charging triggering device, and an online charging system, which are used to avoid the problem of the accounting control error caused by the difference in the subject of the quota type in the prior art.
  • a method for charging control provided by an embodiment of the present invention includes:
  • the CTF generates a resource quota request according to the triggering condition, and sends the resource quota request to the OCS, so that the OCS determines the quota type and quantity after receiving the resource quota request, and according to the type and quantity of the quota determined by the OCS.
  • the resource quota request allocates a quota; the quota type and quantity are determined by the OCS according to the resource quota request.
  • the method for charging control provided by the embodiment of the present invention includes:
  • the OCS receives the resource quota request sent by the CTF, and determines the quota type and the quantity of the quota type according to the resource quota request;
  • the third aspect, the method for charging control provided by the embodiment of the present invention includes:
  • the CTF determines whether the service unit type in the second message is consistent with the service unit type recorded by the current CTF. If not, the CTF closes the counter corresponding to the currently used service unit type in the CTF. The information recorded by the counter is written into the bill, and a counter corresponding to the type of the service unit in the second message is opened to collect usage information of the service.
  • the charging triggering apparatus includes:
  • a generating unit configured to generate a resource quota request according to the trigger condition
  • the online charging system includes:
  • a receiving unit configured to receive a resource quota request sent by the charging triggering device CTF, and a determining unit, configured to determine, according to the resource quota request, a quota type and a quantity of the quota type;
  • an allocating unit configured to allocate a quota for the resource quota request according to the quota type and quantity determined by the OCS.
  • the charging control method, the charging triggering device, and the online charging system of the present invention generate a sending OCS resource quota request according to the trigger condition by the CTF, so that the OCS determines the quota type after receiving the resource quota request. And the quantity, the allocation of the quota for the resource quota request according to the type and quantity of the quota determined by the OCS, thereby solving the problem of the charging control error caused by the different subject of the quota type in the prior art.
  • BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the technical solution of the present invention, a brief description of the drawings to be used in the embodiments will be briefly described below. It is obvious that the following drawings are only drawings of some embodiments of the present invention, Those skilled in the art can obtain other drawings which can also implement the technical solutions of the present invention according to the drawings without any creative labor.
  • FIG. 1 is a schematic flowchart of a method for charging control according to another embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for charging control according to another embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a method for charging control according to another embodiment of the present invention
  • FIG. 5 is a schematic flowchart of a method for charging control according to another embodiment of the present invention
  • FIG. 6 is a schematic flowchart of a method for charging control according to another embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a charging triggering device according to another embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of a charging triggering apparatus according to another embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a charging triggering apparatus according to another embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an online charging system according to another embodiment of the present invention
  • FIG. 11 is a schematic structural diagram of an online charging system according to another embodiment of the present invention
  • the network architecture diagram of the system The network architecture diagram of the system. detailed description
  • PCC Policy and Charging Control
  • SPR Subscription Profile Repository
  • AF Application Function Center
  • the charging scenario of the traffic and duration switching may occur, that is, the data service is used for a certain period of time based on the duration of the charging, and the data service is used for a certain period of time based on the traffic fee, and exists in the scenario.
  • the following problems are as follows: First, the type of the quota determined by the CTF and the type of the quota determined by the OCS may conflict during the handover process, thereby affecting the switching of the charging session and the charging scenario. Second, during the charging scenario switching process, A large amount of signaling is instantaneously generated at a specific point in time, which impacts the problems of OCS and CTF.
  • the following is an example for a certain terminal, which is applicable to charging control of all terminals. It can be understood that the PCRF, the CTF, and the OCS all correspond to the flow of the charging control performed by the same user identifier. Those skilled in the art can easily implement in the environment of multiple terminals according to the present solution.
  • the types and quantities of quotas mentioned below are specifically: a quota type and a quantity corresponding to the quota type.
  • FIG. 1 is a schematic flowchart of a method for charging control according to a first embodiment of the present invention. As shown in FIG. 1, the method for charging control in this embodiment is as follows.
  • the CTF generates a resource quota request according to the trigger condition.
  • the trigger condition described above may be any of the following information:
  • the content of the trigger condition is not limited, and any event capable of triggering the resource quota request may be used as a trigger condition.
  • the resource quota request may carry the quota type and quantity specified by the CTF, or the resource quota request does not carry the quota type and the quantity, and the resource quota request carries the quota type as illustrated in other embodiments. And the number, or resource quota request does not carry the quota type and quantity.
  • the resource quota request may be a CCR message; if the resource quota request carries the quota type and quantity determined by the CTF, the Requested Service Unit (RSU) parameter in the CCR message may be utilized.
  • RSU Requested Service Unit
  • the quota type may be the duration or the traffic.
  • the number of the quota type may be ten minutes, five minutes, etc.; when the quota type is traffic, the number of the quota type may be It is 2M, 1.5M, etc.
  • the CTF sends a resource quota request to the OCS, so that the OCS determines the type and quantity of the quota after receiving the resource quota request, and according to the type and quantity of the quota determined by the OCS.
  • the quota type and quantity are determined by the OCS according to the resource quota request.
  • the above allocated quota includes: the type of the quota and the number of the type of the quota. For example, if the CTF specifies the quota type and quantity in the resource quota request, that is, the resource quota request carries the quota type and quantity specified by the CTF, the OCS determines the designated type of the CTF according to the type and quantity of the quota specified by the CTF. Whether the quota type and quantity are valid, if the OCS determines the specified CTF according to its own configuration information (such as the package corresponding to the user ID, operator information, user subscription information, user level, user account balance, etc.) and the service information sent by the CTF.
  • the CTF specifies the quota type and quantity in the resource quota request, that is, the resource quota request carries the quota type and quantity specified by the CTF
  • the OCS determines the designated type of the CTF according to the type and quantity of the quota specified by the CTF. Whether the quot
  • the quota type and quantity are valid (here effectively means that the OCS accepts the quota type specified by the CTF and can satisfy the quota number specified by the CTF), and allocates the quota to the resource quota request according to the quota type and quantity determined by the OCS; if the OCS is based on itself
  • the configuration information and the service information sent by the CTF determine that the quota type and quantity specified by the CTF are invalid.
  • the OCS re-determines the type and quantity of the quota according to the configuration information and the service information sent by the CTF, and then determines the type and quantity of the quota according to the OCS. For the above resource quota request With quota
  • the CTF does not specify the quota type and quantity in the resource quota request.
  • the OCS determines the quota type and quantity according to the configuration information of the OCS, and then determines the quota type according to the OCS. And allocate a quota for the resource quota request described above.
  • the type and quantity of the quota specified by the CTF in the resource quota request may be the type and quantity of the quota determined by the CTF according to the configuration information of the CTF, or the type and quantity of the quota determined by the CTF according to the message delivered by the PCRF.
  • the foregoing charging control method further includes the following step 103:
  • the CTF receives the response message sent by the OCS, where the response message includes: a quota allocated for the resource quota request, and the CTF controls the service according to the quota allocated by the OCS, and monitors the use of the quota.
  • the CTF controls the service according to the quota type in the response message. That is to say, when the quota type specified by the CTF conflicts with the quota type determined by the OCS, the service is controlled by the quota type determined by the OCS.
  • the response message returned by the OCS according to the resource quota request refers to a Credit Control Answer (CCA) message that is returned by the OCS to the CTF carrying the Granted Service Unit (GSU) parameter.
  • CCA Credit Control Answer
  • GSU Granted Service Unit
  • the above step 101 may include the following contents:
  • the CTF checks whether the first message carrying the service unit type and/or the indication information sent by the PCRF is received. If the CTF determines that the first message is not received, the CTF configures the CTF according to the CTF. Information generates resource quota requests.
  • the service unit type in the step is used to specify the type of the quota that the CTF carries in the generated resource quota request.
  • the indication information in the step may be information used to indicate the type and quantity of the quota specified by the CTF, or the indication information may be Information used to indicate that the CTF does not specify the type and amount of quotas.
  • the CTF generates a resource quota request according to its configuration information, which specifically includes:
  • the CTF checks whether the quota type and the quantity need to be determined according to the configuration information of the CTF. If the CTF needs to be determined, the CTF specifies the quota type and quantity according to the configuration information of the CTF, and generates a resource quota request according to the specified quota type and quantity. Including the type and quantity of quotas specified by the CTF;
  • the CTF directly generates a resource quota request, and the resource quota request does not include the quota type and quantity.
  • the configuration information of the CTF may be the configuration information of the preset service.
  • the configuration information may include: information about the CTF calculation quota type and the number of CTF calculation quota types.
  • the CTF does not receive any message sent by the PCRF, or the CTF receives the message sent by the PCRF, but the message does not write one or more of the foregoing service unit type and indication information, and the CTF is based on the CTF.
  • the own configuration information generates a resource quota request. For example, after the trigger condition is met, if the CTF determines that the first message of the non-carrying service unit type sent by the PCRF is received, the CTF generates a resource quota request sent to the OCS according to the configuration information of the CTF.
  • the CTF performs UD (ie determines the quota type and number) by the CTF Determine by yourself.
  • the foregoing step 101 may include the following content:
  • the CTF checks whether the first message that is sent by the PCRF and carries the service unit type and/or the indication information is received.
  • the service unit type in the step is used to specify the type of the quota that the CTF carries in the generated resource quota request.
  • the indication information in the step may be information used to indicate the type and quantity of the quota specified by the CTF, or the indication information may be Information used to indicate that the CTF does not specify the type and amount of quotas.
  • the indication information is the indication information determined by the PCRF according to one or more of the service type, the package ordered by the rule configured by the operator, and the like.
  • the CTF determines that the first message carrying the service unit type and the indication information sent by the PCRF is received, and the indication information is information indicating the type and quantity of the quota specified by the CTF, the CTF acquires the information according to the service unit type in the first message.
  • a quota type indicated by the service unit type, and a quantity of the quota type, and a resource quota request is generated according to the service unit type and the quantity, where the resource quota request includes: the quota type indicated by the service unit type And the number of the quota types;
  • the CTF determines that the first message carrying the service unit type and the indication information that is sent by the PCRF is received, and the indication information is information indicating that the CTF does not specify the quota type and the quantity, the CTF generates a resource quota request according to the first message, where The resource quota request does not carry the quota type indicated by the service unit type, that is, the resource quota request does not carry the quota type and quantity.
  • the foregoing step 101 may include the following content:
  • the CTF checks whether the first message that is sent by the PCRF and carries the service unit type and/or the indication information is received.
  • the service unit type in the step is used to specify the type of the quota that the CTF carries in the generated resource quota request.
  • the indication information in the step may be information used to indicate the type and quantity of the quota specified by the CTF, or the indication information may be Used to indicate that the CTF does not specify the type and amount of quotas.
  • the CTF determines the quantity of the quota type according to the service unit type, and determines according to the service unit type and The number of quota types generates a resource quota request, and the resource quota request includes: a quota type specified by the business unit type and a quantity of the quota type.
  • the foregoing step 101 may include the following content:
  • the CTF checks whether the first message that is sent by the PCRF and carries the service unit type and/or the indication information is received.
  • the service unit type in the step is used to specify the type of the quota that the CTF carries in the generated resource quota request.
  • the indication information in the step may be information used to indicate the type and quantity of the quota specified by the CTF, or the indication information may be Used to indicate that the CTF does not specify the type and amount of quotas.
  • the CTF determines to receive the first message that is sent by the PCRF and carries the indication information, the CTF generates a resource quota request according to the indication information, which specifically includes:
  • the CTF determines the type and quantity of the quota according to the configuration information of the CTF, and then generates a resource quota request according to the type and quantity of the quota, where the resource quota request includes the CTF The specified quota type and quantity; 2) If the indication information is information indicating that the CTF does not specify the quota type and quantity, the CTF generates a resource quota request, and the resource quota request does not include the quota type and quantity.
  • the first message mentioned in any of the above scenarios is used to carry a PCC Rule parameter, or an ADC Rule parameter, where the indication information belongs to a sub-parameter in the PCC Rule parameter, or a sub-parameter in the ADC Rule parameter.
  • the indication information and the service unit type in the first message in the actual application may be combined into one parameter.
  • the CTF confirms whether the CTF needs to specify the quota type and quantity according to the parameter, and if the CTF needs to specify the quota.
  • the type and the quantity are determined according to the value of the parameter, and the resource quota request is generated according to the quota type and the quantity.
  • the resource quota request includes: the type and quantity of the quota specified by the CTF.
  • the CTF in the above embodiment may be a PCEF or a flow detection function (Traffic Detection
  • TDF TDF Function
  • DPI Deep Packet Inspection
  • the method for charging control in this embodiment controls the service according to the type and quantity of the quota in the quota issued by the OCS, and solves the problem in the prior art that the subject is determined by the different types of the quota type.
  • the failure of the session ensures the correct processing of the charging session.
  • the method for charging control shown in FIG. 2 further includes the following step 104 not shown in FIG. 2:
  • the CTF reports the charging message to the OCS, and the charging message includes the usage information of the quota, if the CTF meets the reporting condition.
  • the reporting condition in this embodiment may be: After the quota is used, or the CTF receives the triggering condition that the OCS sends the indication to report the charging information, such as the Trigger specified by the OCS.
  • the usage information of the quota is the usage of the quota allocated by the OCS monitored by the CTF.
  • the CTF reports the usage of the quota corresponding to the quota type allocated by the OCS.
  • the charging message sent by the CTF to the OCS refers to a Credit Control Request (CCR) message sent by the CTF to the OCS for the used Service Unit (USU) parameter.
  • CCR Credit Control Request
  • USU Service Unit
  • the charging control method in this embodiment solves the problem that the charging session fails due to the different types of the quotas in the prior art, and the correct processing of the charging session is ensured.
  • FIG. 3 is a schematic flowchart of a method for charging control according to another embodiment of the present invention. As shown in FIG. 3, the method for charging control in this embodiment is as follows.
  • the CTF generates a CCR message sent to the OCS according to the trigger condition.
  • the triggering condition may be that the service request starts, or the quota of the previous service is used, or the existing quota expires.
  • the foregoing CCR message may further include a user identifier, service information, and the like, and this embodiment is merely an example.
  • the CTF sends the CCR message to the OCS, so that after receiving the CCR message, the OCS determines the type and quantity of the quota, and allocates a quota for the CCR message according to the type and quantity of the quota determined by the OCS.
  • the CTF receives the quota response message sent by the OCS, where the quota response message includes: an allocated quota and a switching condition of the quota type in the allocated quota, where the allocation quota includes: the previous quota type and the former allocated by the OCS
  • the number of one quota type that is, the type and number of quotas before the switchover condition is switched
  • the number of the latter quota type that is, the type and number of quotas after the switchover condition switch.
  • the previous quota type is that the switching condition of the quota type satisfies the previous quota type, and the latter quota type is the quota type after the switching condition of the quota type is satisfied, and the switching condition of the quota type in this embodiment
  • the switching condition here may be the switching time point of the quota type. It should be noted that the switching of the quota type here means that the quota type before the handover condition switching in the allocated quota and the quota type after the handover condition switching must be different, that is, the previous quota type and the latter quota type must be different.
  • the CTF monitors the usage of the quota corresponding to the previous quota type according to the previous quota type and the number of the previous quota type, and switches the previous quota type and the latter quota type according to the switching condition, and according to the latter The quota type and the number of the latter quota type, and monitor the use of the quota corresponding to the latter quota type.
  • the foregoing switching the previous quota type and the latter quota type according to the switching condition may be, when the switching condition is met, the CTF monitors the usage of the quota corresponding to the one quota type.
  • the method for charging control shown in FIG. 3 further includes the following step 305 not shown in FIG. 3:
  • the CTF collects the usage of the quota corresponding to the previous quota type, and the usage of the quota corresponding to the subsequent quota type, the CTF reports the quota corresponding to the previous quota type to the OCS. Usage, and the usage of the quota corresponding to the latter quota type.
  • the CTF reports to the OCS the usage of the quota corresponding to the quota type before the handover condition switching and the usage of the quota corresponding to the quota type after the handover condition switching.
  • the handover description of the quota type may also be reported, and the handover description indicates the usage. Whether the quota type before the switching condition is switched or the quota type after the switching condition is switched, or the switching description indicates that the CTF performs the switching of the quota type.
  • the CTF is also used to collect the service information corresponding to the previous quota type and the service information corresponding to the latter quota type, so as to report the usage of the quota corresponding to the previous quota type to the OCS,
  • the charging control method in this embodiment can prevent the problem of instantaneously generating a large amount of signaling and impacting OCS and CTF at a specific time point during the charging scenario switching process.
  • the charging control method further includes the following steps S01 and S02:
  • the CTF receives the second message sent by the PCRF, where the second message carries a service unit type.
  • the second message at the location may be determined by the PCRF based on user subscription information, operator configuration, and the like. That is to say, the PCRF can determine the switching mode of the charging information collection according to the subscription information of the user, the configuration of the operator, and the like, and then update the PCC Rule parameter or the ADC Rule parameter that has been activated before.
  • the second message in the foregoing step S01 may further carry other information such as a rate group.
  • S02 The CTF determines whether the quota type indicated by the service unit type in the second message is consistent with the quota type used in the quota used by the current CTF. If they are consistent, the CTF continues to monitor and monitor the use of the quota; if not, the CTF Update the usage record corresponding to the quota type in the quota used by the current monitoring in the CTF.
  • the CTF determines whether the service unit type in the second message is consistent with the service unit type in the quota used by the current CTF. If not, the CTF updates the service unit type in the quota used by the current monitoring in the CTF. Use records.
  • the type of the quota indicated by the service unit type in the second message may be the duration, and the type of the quota used in the quota used by the current CTF may be the traffic.
  • the CTF determines that the reporting granularity reported by the CTF to the OCS includes: the rate group and the service identifier (that is, the reporting granularity is the rate group + the service identifier level),
  • the usage record of the CTF updated to the OCS ie, the charging message of the quota used by the current CTF
  • the rate group includes: the rate group is the rate group level; and the CTF updates the usage record, and determines whether the other service flows use the quota corresponding to the second message. If not, the CTF reports the updated usage record to the OCS.
  • the OCS is requested to apply for the quota corresponding to the second message according to the service unit type in the second message. That is, if the CTF currently has a quota corresponding to the service unit type of the second message, the CTF does not need to apply for a new quota to the OCS according to the service unit type in the second message, and the quota can be on the CTF side. After the type switch, the quota corresponding to the type of the business unit in the second message that the CTF already has is used.
  • the CTF determines that the quota is the quota corresponding to the second message, and does not need to be re- Apply for a new quota to the OCS based on the type of business unit in the second message.
  • the rate group information is also carried.
  • the updated usage record of the above report belongs to one of the reported charging information.
  • the charging message reported by the CTF may be a CCR message carrying the USU parameter, and the USU parameter is used to indicate the reported charging message.
  • the RSU parameter may be carried in the CCR message carrying the USU parameter to apply for a new quota to the OCS. That is, the RSU parameter is used to indicate that a new quota is applied to the OCS.
  • the technology involved in the above embodiments can also be used in the process of offline charging, and the complete steps in the offline charging process are:
  • S, 01, and the CTF receive the second message sent by the PCRF, where the second message carries the service unit type.
  • the service unit type is used to indicate that the CTF needs to collect the usage information of the second message specifying service or service flow by using the service unit type.
  • S, 02, CTF determines whether the service unit type in the second message is consistent with the service unit type recorded by the current CTF. If not, the CTF closes the counter corresponding to the currently used service unit type in the CTF, and records the counter. The information is written into the bill, and a counter corresponding to the type of the service unit in the second message is opened to collect the usage information of the service.
  • the CTF can use the Accounting Request (ACR) message to report the collected service usage information to the offline charging system, so as to add the service usage information to the CDR, or the CTF directly adds the collected information to the CDR.
  • ACR Accounting Request
  • the business uses the information and eventually submits the bill to the offline billing system.
  • the charging control method in the foregoing embodiment can solve the problem of the switching process in the charging information collection mode in the prior art. Further, in other application scenarios, based on the charging control method shown in FIG. 1, FIG. 2, and FIG. 3, the charging control method further includes the following steps M01 and M02:
  • the CTF receives the third message delivered by the OCS, and the third message indicates that the CTF re-applies for authorization.
  • the third message may be a Re-Auth-Request (RAR) message.
  • RAR Re-Auth-Request
  • the OCS determines that the quota type switching needs to be performed according to one or more information, such as the service related information, the user subscription information, or the configuration of the operator, and the OCS sends a RAR message to the CTF to indicate the CTF report collection.
  • the M02 and the CTF perform the charging report and re-apply for authorization.
  • the re-application authorization in this step may be the process of obtaining the quota as exemplified in steps 101 and 102 above.
  • the charging report in the actual application may report the usage of the allocated quota to the OCS by using the CCR message carrying the USU parameter.
  • the RSU parameter is carried in the CCR message for re-applying for the authorized quota.
  • the CTF monitors the quota allocated by the OCS, and reports the usage of the currently collected accounting information, that is, the quota, to the OCS, and then repeats the process of obtaining the quota as exemplified in steps 101 and 102 above. .
  • the foregoing CTF may be a Policy and Charging Execution Function (PCEF).
  • PCEF Policy and Charging Execution Function
  • the PCEF monitors the use of existing quotas, or has expired quotas.
  • the PCEF reports the currently collected charging information to the OCS, and repeats the above-mentioned process of obtaining the quota.
  • FIG. 4 is a schematic flowchart of a method for charging control according to another embodiment of the present invention. As shown in FIG. 4, the method for charging control in this embodiment is as follows.
  • the switching of causes a large amount of billing information reporting and re-applying for the authorization quota to be performed at the same time point, causing instantaneous blocking of signaling and increasing processing pressure of the OCS.
  • the OCS is close to the switching point, After receiving the quota request authorization message sent by the CTF, the quota after the quota type switching is granted, that is, the quota before the quota type switching and the quota after the quota type switching are simultaneously granted.
  • the CTF sends a resource quota request to the OCS when the trigger condition is met.
  • the CTF receives the quota response message sent by the OCS, where the quota response message includes: a quota allocated for the resource quota request and a switching condition of the quota type in the allocated quota (such as a switching time point, etc.), where the allocated quota includes : The number of the previous quota type assigned by the OCS and the number of the previous quota type, the number of the latter quota type and the number of the latter quota type.
  • the previous quota type is that the switching condition of the quota type satisfies the previous quota type, and the latter quota type is the quota type after the switching condition of the quota type is satisfied.
  • the OCS determines the switching condition (such as the switching time point) close to the quota type after receiving the resource quota request, and determines the corresponding quota type, quantity, and switching time point before the switching time point.
  • the quota type and the quantity and then allocate the quota to the resource quota request.
  • the allocated quota includes: the previous quota type allocated by the OCS and the quantity of the previous quota type, the latter quota type and the quantity of the latter quota type.
  • the quota response message may be a CCA message, where the GSU parameter of the CCA message carries the quota allocated/granted by the OCS, and one GSU carries the information of two quotas at the same time, and the message also carries the quota type.
  • the switching condition (such as the switching time point of the quota type) to indicate that the CTF switches the usage of the quota type at the switching point of the quota type.
  • the switching condition of the quota type can be carried in the following manner: 1) A usage condition is attached to each quota, and the usage condition is, for example, the traffic and the duration, and the attached usage condition may be the activation time.
  • CC-Octets-Deferred Active adds an activation time parameter CC-Time-Deferred Active to the time quota CC-Time.
  • an AVP (such as: Unit-Type-Change) can be added to the GSU to indicate the switching of the granted quota, or to reuse the Tariff-Time-Change AVP.
  • the previous AVP specifies the switching of the rate group. Extend its meaning to further inform the CTF that the two quotas in the GSU are switched to use at a certain point in time.
  • the Tariff-Time-Change AVP is reused, there may be a scenario where the rate group switching and the quota type switching need to be indicated at the same time (for example, the switching time points of the two are close, but not at the same time).
  • the above-mentioned rate group switching and quota type switching may cause conflicts.
  • the AVP is still used to indicate the switching of the rate group. 0CS only grants the quota corresponding to the quota type before the switching time point, and specifies the switching time.
  • the CTF since there is only one switching time point, the CTF needs to determine the usage instructions of the quotas corresponding to the two quota types. For example, you can determine which quota type corresponds to the quota before and after the switch time point according to the following method:
  • the 0CS does not specify which quota is used before the handover time in the GSU.
  • the CTF determines the quota before the handover time point according to the quota type corresponding to the quota used before the service, and the handover specified in the GSU.
  • the quota corresponding to another quota type is used after the time point. It should be noted that only two types of quotas are included in the quota issued by the 0CS.
  • the OCS does not specify which quota in the GSU to use before the switching time point. At this time, the CTF can be executed according to the manner of the place.
  • Manner 2 Before and after the switchover time, the CTF monitors and counts the usage of the quotas corresponding to the two types of quotas, and reports them to the OCS when the reporting conditions are met. The OCS is used according to the switch time. The quota type and the quota type after the switch time point are extracted, and the corresponding quota usage is extracted for billing processing.
  • Manner 3 The OCS explicitly specifies which quota is used before the handover time in the GSU.
  • the CTF determines the quota used before the handover time point and after the handover time point according to the designation.
  • a new AVP to the response message sent by the OCS, for example: Unit-Type-Before, which is used to indicate the quota type before the switch time.
  • the CTF After receiving the quota allocated by the OCS, the CTF monitors the usage of the quota according to the quota in the CCA and the switching type of the quota in the quota. For example, the CTF separately monitors and collects the quota corresponding to the quota type before the handover condition switching. Usage of the quota and the usage of the quota corresponding to the quota type after the switching condition is switched.
  • the CTF reports to the OCS the usage of the quotas collected under different quota types.
  • the CTF collects the usage of the quota before the switching time point and after the switching time point
  • the two USUs are used in the CCR (in one CCR message), and the quota type is switched before the time point and the quota type. Switch the usage of quotas after the point in time.
  • the OCS After receiving the quota usage information reported by the CTF, the OCS first distinguishes which is the usage information before the quota type switching time point, and the usage information after the quota type switching time point. There are two ways to do this:
  • Method 1 The OCS identifies, according to the type of the quotas in the two USUs, and the quota type switching conditions determined by the OCS, which USU carries the quota usage information before the quota type switching condition is switched, and which is the quota type switching condition. After switching.
  • Method 2 In the reported quota usage information, the CTF indicates which usage information is usage information before the quota type switching condition is switched, and which is after the quota type switching condition is switched. Specifically, an AVP (such as: Unit-Type-Usage) is used to indicate that the AVP score Do not carry in the two usu reported, the value indicates that the quota type switching condition is switched before or after the quota type switching condition is switched.
  • an AVP such as: Unit-Type-Usage
  • the foregoing embodiment uses the PCRF or the OCS as the switching condition of the duration and the traffic of the same charging session, and triggers the re-authorization when the determined switching condition is satisfied, thereby implementing the charging mode for the traffic duration switching during the charging session. Further, Through OCS, the traffic and duration quotas are delivered at the same time, and the switching conditions of the quota type are issued to reduce the signaling impact on the OCS and the CTF during the handover condition, thereby improving system reliability and stability.
  • FIG. 5 is a schematic flowchart of a method for charging control according to another embodiment of the present invention. As shown in FIG. 5, the method for charging control in this embodiment is as follows.
  • the OCS receives a resource quota request sent by the CTF, and determines a quota type and a quantity of the quota type according to the resource quota request.
  • the OCS allocates a quota for the resource quota request according to the type and quantity of the quota determined by the OCS.
  • determining the quota type and the quantity of the quota type according to the resource quota request in step 501 specifically includes:
  • the previous quota type is that the switching condition of the quota type satisfies the previous quota type, and the latter quota type is the quota type after the switching condition of the quota type is satisfied; correspondingly, the step 502 may specifically include:
  • the method of charging control shown in FIG. 5 may further include step 503 or step 503' not shown in the following figure:
  • the OCS sends a response message to the CTF, where the response message includes: a quota allocated for the resource quota request, so that the CTF controls the service according to the quota, and monitors the use of the quota. 503 ⁇
  • the OCS sends a quota response message to the OCS, where the quota response message includes: an allocated quota and a quota type switching condition, where the allocated quota includes the first quota and the second quota, so that The CTF controls the service by using the quota type in the first quota, and monitors the use of the first quota.
  • the switch uses the quota type control service in the second quota, and monitors the second quota. use.
  • the CTF monitors the use of the first quota. It can be understood that the CTF controls the service by using the quota type in the first quota.
  • the method of charging control may further include the step 504 not shown in the following figure:
  • the OCS receives the usage information reported by the CTF, where the usage information includes the usage of the first quota and the usage of the second quota, and performs charging processing according to the usage information.
  • the OCS receives the usage information reported by the CTF, and the usage information includes the usage of the first quota and the usage of the second quota, and the quota type corresponding to the first quota, and the quota type corresponding to the second quota, according to the usage information. Perform billing processing.
  • the charging control method in this embodiment solves the problem that the charging session fails due to the different types of the quotas in the prior art, and the correct processing of the charging session is ensured.
  • the present invention further provides a method for charging control, the charging control method, including:
  • the PCRF sends a first message including a service unit type to the CTF, or sends a first message including the indication information, or sends a first message including the service unit type and the indication information, so that the CTF is according to the first message.
  • the service unit type is used to indicate the type of the quota that the CTF carries in the generated resource quota request, or is used to indicate that the CTF needs to collect the usage information of the second message specified service or service flow by using the service unit type. ;
  • the indication information may be information indicating the type and quantity of the quota specified by the CTF, or the indication information may be information indicating that the CTF does not specify the type and amount of the quota.
  • the method for charging control may include:
  • the PCRF sends a first message including a service unit type to the CTF, or sends a first message including the indication information, or sends a first message including a service unit type and the indication information, so that the CTF is according to the A message generates a resource quota request. 602.
  • the PCRF sends a second message including a service unit type to the CTF, so that the CTF determines whether the service unit type in the second message is consistent with the service unit type in the quota used by the current CTF, and is inconsistent. Update and report usage records.
  • the charging control method in this embodiment solves the problem that the charging session fails due to the different types of the quotas in the prior art, and the correct processing of the charging session is ensured.
  • the present invention further provides a charging triggering device.
  • the charging triggering device in this embodiment includes: a generating unit 71, a sending unit 72;
  • the generating unit 71 is configured to generate a resource quota request according to the triggering condition; the sending unit 72 sends the resource quota request to the online charging system OCS, so that the OCS determines the number of the quota type and the quota type after receiving the resource quota request, and Allocating quotas for the resource quota request according to the type and number of quotas determined by the OCS;
  • the quota type and quantity are determined by the OCS according to the resource quota request.
  • the generating unit 71 is configured to: after the triggering condition is met, determine that the first message that is sent by the PCRF and that carries the type of the service unit is received, where the service unit type is used to indicate that the CTF is carried in the generated resource quota request. Type of quota;
  • the resource quota request includes: a quota type indicated by the service unit type and a quantity of the quota type;
  • the generating unit 71 is further configured to: after the triggering condition is met, determine, to receive, by the PCRF, a first message that carries a service unit type and indication information, where the service unit type is used to indicate the CTF.
  • the type of the quota that is carried in the generated resource quota request, the indication information is information indicating that the charging triggering device specifies the quota type and the quantity, or the indication information is that the CTF does not specify the quota type and quantity.
  • the resource quota request includes: a quota type indicated by the service unit type and a quantity of the quota type;
  • the indication information is information indicating that the CTF does not specify the quota type and the quantity
  • the resource quota request sent by the OCS is generated, and the resource quota request does not carry the quota type indicated by the service unit type.
  • the generating unit 71 is further configured to: after determining that the triggering condition is satisfied, if it is determined that the first message carrying the indication information sent by the PCRF is received, the indication information is a type and quantity indicating the quota of the CTF. Information, or the indication information is information indicating that the CTF does not specify a quota type and quantity;
  • the indication information is information indicating the type and quantity of the quota specified by the CTF
  • the quota type is specified according to the configuration information of the CTF itself, and the quota is determined.
  • the quantity of the type, and the resource quota request is generated according to the quota type and the quantity, where the resource quota request includes: a quota type specified by the CTF and a quantity of the quota type;
  • the indication information is information indicating that the CTF does not specify a quota type and quantity, a resource quota request sent to the OCS is generated, and the resource quota request does not carry the quota type.
  • the charging triggering apparatus further includes: a receiving unit 73, configured to receive a response message sent by the OCS, where the response message includes: a quota allocated for the resource quota request;
  • the monitoring unit 74 is configured to control the service according to the quota allocated by the OCS, and monitor the use of the quota.
  • the receiving unit 73 is further configured to receive a second message sent by the PCRF, where the second message carries a service unit type;
  • the charging triggering device further includes: a determining unit (not shown); the determining unit, configured to determine a service unit type in the second message and a service in a quota used by the current CTF to monitor Whether the unit types are consistent. If they are inconsistent, the CTF updates the usage record corresponding to the service unit type in the quota used by the current monitoring in the CTF.
  • the charging triggering device when the charging triggering device is in the process of online charging, the charging triggering device further includes: a reporting unit (not shown); the reporting unit is configured to determine, at the determining unit, the determining unit The reporting granularity reported by the CTF to the OCS includes: a rate group, a service identifier, And reporting the updated usage record to the OCS;
  • the determining unit determines that the reporting granularity reported by the CTF to the OCS includes: a rate group; determining, when the CTF updates the usage record, whether other service flows use the quota corresponding to the second message, If not, the updated usage record is reported to the OCS; and the quota is applied to the OCS for the quota corresponding to the second message according to the service unit type in the second message.
  • the receiving unit 73 of the charging triggering device may be specifically configured to receive a quota response message sent by the OCS, where the quota response message includes: a quota allocated for the resource quota request, and a quota type Switching conditions;
  • the allocated quota includes the previous quota type allocated by the OCS and the number of the previous quota type, the latter quota type, and the number of the latter quota type; correspondingly, the monitoring unit 74 is configured to And monitoring the usage of the quota corresponding to the previous quota type, and switching the previous quota type and the latter quota type according to the handover condition, where the previous quota type and the previous quota type are used, And monitoring, according to the quantity of the latter quota type and the quantity of the latter quota type, the use of the quota of the latter quota type 3;
  • the previous quota type is that the switching condition of the quota type satisfies the previous quota type, and the latter quota type is the quota type after the switching condition of the quota type is satisfied.
  • the reporting unit of the charging triggering device may be specifically used to collect the usage information of the previous quota type and the usage of the quota, and the foregoing If the service information of a quota type and the usage of the quota are used, the CTF reports the usage of the quota corresponding to the previous quota type to the OCS, and the usage of the quota corresponding to the latter quota type.
  • the foregoing charging triggering device controls the service according to the quota type in the quota allocated by the OCS, and monitors the use of the quota, which can effectively solve the problem of determining the subject conflict of the quota type in the prior art.
  • FIG. 9 shows a connection of a charging trigger device according to another embodiment of the present invention.
  • the charging triggering device in this embodiment includes: at least one processor 91, at least one network interface 92 and other communication interfaces 93, a memory 94, and at least one communication bus 95 for implementing the above units.
  • the processor 91 is connected to the communication bus 95, and the network interface 92 and the communication interface are all connected to the communication bus 95.
  • the processor 91 may be connected to an application module, and the application module may include one or a combination of the following units, a generating unit 71, a transmitting unit 72, a receiving unit 73, a monitoring unit 74, a reporting unit, a determining unit, and the like.
  • the application module may include one or a combination of the following units, a generating unit 71, a transmitting unit 72, a receiving unit 73, a monitoring unit 74, a reporting unit, a determining unit, and the like.
  • the application module may include one or a combination of the following units, a generating unit 71, a transmitting unit 72, a receiving unit 73, a monitoring unit 74, a reporting unit, a determining unit, and the like.
  • the processor 91 is configured to implement the functions implemented by the generating unit 71 and the sending unit 72 illustrated in FIG. 7 above, and to implement the generating unit 71 and the sending unit 72 illustrated in FIG.
  • FIG. 10 is a schematic structural diagram of an online charging system according to another embodiment of the present invention.
  • the online charging system in this embodiment includes: a receiving unit 11, a determining unit 12, and an allocating unit 13;
  • the receiving unit 11 is configured to receive a resource quota request sent by the charging triggering device CTF.
  • the determining unit 12 is configured to determine, according to the resource quota request, a quota type and a quantity of the quota type.
  • the allocating unit 13 is configured to allocate a quota for the resource quota request according to the quota type and quantity determined by the OCS.
  • the determining unit 12 is further configured to determine, according to the resource quota request, a switching condition of the quota type, and a quantity of the previous quota type and the previous quota type, and the latter quota type and the latter quota type.
  • the previous quota type is that the switching condition of the quota type satisfies the previous quota type, and the latter quota type is the quota type after the switching condition of the quota type is satisfied;
  • the allocating unit 13 is further configured to allocate a first quota to the resource quota request according to the quantity of the previous quota type and the quantity of the previous quota type, according to the latter quota type and the latter quota type.
  • the number of shares allocates a second quota for the resource quota request.
  • the online charging system further includes: a sending unit (not shown in the figure), the sending unit is configured to send a quota response message to the CTF, where the quota response message includes: an allocated quota and a quota type switching condition, where the allocated quota includes the first quota And the second quota, so that the CTF monitors the use of the first quota, and when the handover condition is met, the handover monitors the use of the second quota.
  • a sending unit (not shown in the figure)
  • the sending unit is configured to send a quota response message to the CTF, where the quota response message includes: an allocated quota and a quota type switching condition, where the allocated quota includes the first quota And the second quota, so that the CTF monitors the use of the first quota, and when the handover condition is met, the handover monitors the use of the second quota.
  • the receiving unit 11 in the online charging system is further configured to receive usage information reported by the CTF, where the usage information includes usage of the first quota and use of the second quota. In the case, the charging process is performed based on the usage information.
  • the online charging system in this embodiment solves the problem that the charging session fails due to different determining the main body of the quota type in the prior art, and the correct processing of the charging session is ensured.
  • the CTF applies for a new quota to the signaling impact of the OCS, improving system reliability and stability.
  • FIG. 11 is a schematic structural diagram of an online charging system according to another embodiment of the present invention.
  • the online charging system in this embodiment includes:
  • the charging triggering device in this embodiment includes: a processor 1, at least one network interface 2 and other communication interfaces 3, a memory 4 and at least one communication bus 5, the communication bus 5 is used to implement a communication connection between the above units, for example, the processor 1 is connected to the communication bus 5, Both the network interface 2 and the communication interface are connected to the communication bus 5.
  • the processor 1 may be connected to an application module, and the application module may include one or a combination of the following units, a receiving unit 11, a determining unit 12, an allocating unit 13, and a transmitting unit.
  • the application module may include one or a combination of the following units, a receiving unit 11, a determining unit 12, an allocating unit 13, and a transmitting unit.
  • the processor 1 can be used to implement the functions of the receiving unit 11, the determining unit 12, the allocating unit 13, and the transmitting unit, as exemplified in the above FIG.
  • the online charging system in this embodiment solves the problem that the charging session fails due to different determining subjects of the quota type in the prior art, and ensures correct processing of the charging session. Further, the CTF is reduced when the switching condition is reduced. Applying new quotas to the signaling impact of OCS improves system reliability and stability.
  • FIG. 12 shows a network architecture diagram of a communication system to which an online charging system and a charging triggering device are applied.
  • the communication system in this embodiment includes: an online charging system 21 and a charging triggering device 22 ;
  • PCRF Communication systems in practical applications also include: PCRF and the like.
  • PCRF triggers charging
  • the device delivers the first message, the second message, and/or the third message, etc. illustrated in the foregoing method embodiments.
  • the communication system provided by the embodiment of the present invention can achieve the online charging system and the online charging system provided by the embodiments of the present invention by using the online charging system and the charging triggering device provided by the embodiments of the present invention.
  • the effective effect brought by the billing trigger device can achieve the online charging system and the online charging system provided by the embodiments of the present invention by using the online charging system and the charging triggering device provided by the embodiments of the present invention. The effective effect brought by the billing trigger device.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the above method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Meter Arrangements (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明提供一种计费控制的方法及计费触发装置、在线计费系统,其中,所述方法包括:CTF根据触发条件生成资源配额请求,将所述资源配额请求发送至OCS,以使所述OCS接收所述资源配额请求之后确定配额类型和数量,并根据所述OCS所确定的配额类型和数量为所述资源配额请求分配配额;所述配额类型和数量为所述OCS根据该资源配额请求确定。上述方法解决了现有技术中由于配额类型的确定主体不同,导致的计费控制出错的问题。

Description

计费控制的方法及计费触发装置、 在线计费系统 技术领域 本发明涉及通信技术, 尤其涉及一种计费控制的方法及计费触发装 置、 在线计费系统。 背景技术
当前的计费方式包括: 在线计费和离线计费。 在线计费是目前最为主流 的一种计费方式, 由于在线计费方式可以在用户使用业务前进行信用授权, 并能根据用户的使用情况实时进行资费扣费,进而可以达到信用的实时控制, 防止用户超信用使用业务, 造成运营商损失, 提高用户体验(可以实时查询 准确的余额和使用信息) 。 另外, 由于在线计费实时能力, 可以实时的获取 用户业务层面的粒度信息, 进而可以触发对用户使用业务的精细化控制。
在线计费主要机制是信用授权, 即: 业务使用前计费触发装置(Charging
Trigger Function, 简称 CTF ) 向在线计费系统( Online Charging System, 简 称 OCS ) 申请信用配额 (quota ) , OCS进行信用配额授权, 在授权后 CTF 根据 OCS所授权信用配额进行业务控制。 在 CTF申请信用配额时, 需要确 定信用单位( Unit determination, 简称 UD )作为 OCS信用配额授权的依据。 该处 Unit determination具体指计算所需的信用单位的数量, 信用单位包括业 务单元、 流量、 时长、 事件等。
现有的信用单位确定方式有两种: 第一, 集中模式信用单位(Centralized Unit Determination, 简称 CUD ) , 由 OCS确定所需的信用单位的数量; 第二 种, 分散模式信用单位(Decentralized Unit Determination, 简称 DUD ) , 由 CTF确定所需的信用单位的数量, 并向 OCS请求该数量的信用单位。
然而, 在实现在线计费的过程中, 可能出现如下问题: 由于 UD的确定 主体不同, 导致所确定的配额类型冲突; 具体地, 由于 CTF和 OCS来自不 同厂商, 其均具有实现确定配额类型的功能, 但是, CTF根据业务会话请求 实现配额类型的确定, OCS根据 CTF上报的信息、运营商运营模式实现配额 类型的确定, 上述确定的配额类型可能发生冲突, 进而影响计费会话, 可能 导致计费控制出错。 发明内容
有鉴于此, 本发明提供一种计费控制的方法及计费触发装置、 在线计 费系统, 用于避免出现现有技术中由于配额类型的确定主体不同, 导致的计 费控制出错的问题。
一方面, 本发明实施例提供的计费控制的方法, 包括:
CTF根据触发条件生成资源配额请求, 将所述资源配额请求发送至 OCS , 以使所述 OCS接收所述资源配额请求之后确定配额类型和数量, 并根据所述 OCS所确定的配额类型和数量为所述资源配额请求分配配额; 所述配额类型和数量为所述 OCS根据该资源配额请求确定。
另一方面, 本发明实施例提供的计费控制的方法, 包括:
OCS接收 CTF发送的资源配额请求, 根据所述资源配额请求确定配 额类型和所述配额类型的数量;
根据所述 OCS确定的所述配额类型和数量为所述资源配额请求分配 配额。
第三方面, 本发明实施例提供的计费控制的方法, 包括:
所述 CTF接收所述 PCRF发送的第二消息,所述第二消息携带有业务 单元类型;所述业务单元类型用于指示所述 CTF需要以此业务单元类型收 集所述第二消息指定业务或业务流的使用信息;
所述 CTF确定所述第二消息中的业务单元类型与当前所述 CTF所记 录的业务单元类型是否一致, 若不一致, 则 CTF关闭所述 CTF中当前所 使用的业务单元类型所对应的计数器, 将所述计数器记录的信息写入话 单, 并开启与所述第二消息中的业务单元类型对应的计数器, 以收集业务 的使用信息。
第四方面, 本发明实施例提供的计费触发装置, 包括:
生成单元, 用于根据触发条件生成资源配额请求;
发送单元, 将所述资源配额请求发送至在线计费系统 OCS , 以使所述 OCS接收所述资源配额请求之后确定配额类型和所述配额类型的数量,并 根据所述 OCS所确定的配额类型和数量为所述资源配额请求分配配额; 所述配额类型和数量由所述 OCS根据资源配额请求确定。 第五方面, 本发明实施例提供的在线计费系统, 包括:
接收单元, 用于接收计费触发装置 CTF发送的资源配额请求; 确定单元, 用于根据所述资源配额请求确定配额类型和所述配额类型 的数量;
分配单元, 用于根据所述 OCS确定的所述配额类型和数量为所述资 源配额请求分配配额。
由上述技术方案可知, 本发明的计费控制的方法及计费触发装置、 在 线计费系统, 通过 CTF根据触发条件生成发送 OCS资源配额请求, 以使 OCS在接收资源配额请求之后, 确定配额类型和数量, 以根据 OCS所确 定的配额类型和数量为资源配额请求分配配额, 进而解决了现有技术中由 于配额类型的确定主体不同, 导致的计费控制出错的问题。 附图说明 为了更清楚地说明本发明的技术方案, 下面将对实施例中所需要使用的 附图作一简单地介绍, 显而易见地: 下面附图只是本发明的一些实施例的附 图, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可 以根据这些附图获得同样能实现本发明技术方案的其它附图。
图 1为本发明另一实施例提供的计费控制的方法的流程示意图; 图 2为本发明另一实施例提供的计费控制的方法的流程示意图; 图 3为本发明另一实施例提供的计费控制的方法的流程示意图; 图 4为本发明另一实施例提供的计费控制的方法的流程示意图; 图 5为本发明另一实施例提供的计费控制的方法的流程示意图; 图 6为本发明另一实施例提供的计费控制的方法的流程示意图; 图 7为本发明另一实施例提供的计费触发装置的结构示意图;
图 8为本发明另一实施例提供的计费触发装置的结构示意图;
图 9为本发明另一实施例提供的计费触发装置的结构示意图;
图 10为本发明另一实施例提供的在线计费系统的结构示意图; 图 11为本发明另一实施例提供的在线计费系统的结构示意图; 图 12为本发明另一实施例提供的通信系统的网络架构图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合本发明实 施例中的附图, 对本发明的技术方案进行清楚、 完整地描述。 显然, 下述 的各个实施例都只是本发明一部分的实施例。 基于本发明下述的各个实施 例, 本领域普通技术人员即使没有作出创造性劳动, 也可以通过等效变换 部分甚至全部的技术特征, 而获得能够解决本发明技术问题, 实现本发明 技术效果的其它实施例, 而这些变换而来的各个实施例显然并不脱离本发 明所公开的范围。
当前, 策略和计费控制 (Policy and Charging Control, 简称 PCC )是第 三代合作伙伴计划( 3rd Generation Partnership Project, 简称 3 GPP )定义的一 套策略和计费控制机制。 PCC 机制的核心为: 在建立数据流承载时, 网关 ( GateWay, 简称 GW )设备向策略和计费控制模块(Policy and Charging Function, 简称 PCRF )请求数据流的控制策略和计费策略, PCRF根据存储 在订阅信息库 ( Subscription Profile Repository, 简称 SPR ) 的订阅者信息、 GateWay提供的承载层信息、 运营商在 PCRF配置的一些本地策略、 以及应 用模块(Application Function, 简称 AF ) 向 PCRF提供的业务层信息, 生成 动态的计费和业务数据流控制策略, 或者确定所要激活的静态计费和业务数 据流控制策略, 进而向 GW下发命令安装所生成的动态的计费和业务数据流 控制策略, 或激活所确定的存储在 GW的静态计费和业务数据流控制策略; GW上的策略和计费执行功能模块( Policy and Charging Execution Function, 简称 PCEF )根据该安装 /激活的策略进行资源分配、 数据流控制以及计费控 制。 该机制可以实现根据运营商策略对业务数据流进行精确控制, 以实现带 宽的精细化运营。
另外, 在当前计费会话过程中, 还可能出现流量与时长切换的计费场景, 即某段时间使用数据业务基于时长计费 , 某段时间使用数据业务基于流量计 费, 在该场景下存在如下问题: 第一, 在进行切换过程中 CTF确定的配额类 型和 OCS确定的配额类型可能冲突,进而影响计费会话以及计费场景的切换; 第二, 在进行计费场景切换过程中, 在某个特定的时间点瞬时产生大量的信 令, 冲击 OCS和 CTF的问题。 特别需要说明的是, 以下是针对某一个终端进行举例说明, 其适用于所 有的终端的计费控制。 可以理解的是, PCRF、 CTF和 OCS均对应的是同一 个用户标识进行的计费控制的流程。 本领域技术人员能够根据本方案容易的 在多个终端的环境下实现。 另外, 以下所提及的配额类型和数量具体为: 配 额类型和与所述配额类型对应的数量。
本文中术语"和 /或,,, 仅仅是一种描述关联对象的关联关系, 表示可以 存在三种关系, 例如, A和 /或 B, 可以表示: 单独存在 A, 同时存在 A 和 B, 单独存在 B这三种情况。 另外, 本文中字符 "/" , 一般表示前后 关联对象是一种 "或" 的关系。
图 1示出了本发明第一实施例提供的计费控制的方法的流程示意图, 如 图 1所示, 本实施例中的计费控制的方法如下文所述。
101、 CTF根据触发条件生成资源配额请求。
举例来说, 上述的触发条件可为下述信息中的任意一种:
1 ) CTF接收到终端发送的业务开始请求;
2 ) CTF监测到上一个业务的配额使用完毕等。
本实施例中不限定触发条件的内容, 任意能够触发资源配额请求的事 件均可作为触发条件。
在本实施例中,资源配额请求中可以携带 CTF所指定的配额类型和数 量, 或者, 资源配额请求中不携带配额类型和数量, 如下述其他实施例中 所举例说明的资源配额请求携带配额类型和数量, 或者资源配额请求不携 带配额类型和数量。
在实际应用中, 上述的资源配额请求可为 CCR消息; 若资源配额请 求中携带 CTF确定的配额类型和数量, 此时, 可利用 CCR消息中的预留 资源( Requested Service Unit, 简称 RSU )参数来携带 CTF所确定的配额类 型和数量。
举例来说, 在本实施例中, 配额类型可为时长或流量, 在配额类型为 时长时, 配额类型的数量可为十分钟、 五分钟等; 在配额类型为流量时, 配额类型的数量可为 2M、 1.5M等。
102、 CTF将资源配额请求发送至 OCS, 以使 OCS在接收资源配额请 求之后确定配额类型和数量, 并根据 OCS 确定的配额类型和数量为上述 的资源配额请求分配配额;
其中, 配额类型和数量由 OCS根据该资源配额请求确定。
应了解的是,上述分配的配额包括:配额类型和所述配额类型的数量。 举例来说, 若 CTF在该资源配额请求中指定了配额类型和数量, 即资 源配额请求中携带 CTF指定的配额类型和数量, 则 OCS依据该 CTF指定 的配额类型和数量确定该 CTF所指定的配额类型和数量是否有效,若 OCS 根据自身的配置信息 (如用户标识对应的套餐、 运营商信息、 用户订购信 息、 用户级别、 用户账户余额等) 和 CTF发送的业务信息确定上述 CTF 所指定的配额类型和数量有效(这里的有效指 OCS接受 CTF所指定配额 类型且可满足 CTF所指定的配额数量) , 则根据 OCS确定的配额类型和 数量为上述的资源配额请求分配配额;若 OCS根据自身的配置信息和 CTF 发送的业务信息确定上述 CTF所指定的配额类型和数量无效, 则 OCS根 据自身的配置信息和 CTF发送的业务信息重新确定配额类型和数量,进而 根据 OCS确定的配额类型和数量为上述的资源配额请求分配配额;
或者, CTF在该资源配额请求中未指定配额类型和数量, 此时, 资源 配额请求中未携带配额类型和数量, 则 OCS根据自身的配置信息确定配 额类型和数量, 进而根据 OCS 确定的配额类型和数量为上述的资源配额 请求分配配额。
当然,上述 CTF在该资源配额请求中指定的配额类型和数量可为 CTF 根据自身的配置信息确定的配额类型和数量, 或者, CTF根据 PCRF下发 的消息所确定的配额类型和数量。
在另一实现场景中, 如图 2所示, 上述的计费控制的方法, 还包括如 下的步骤 103 :
103、 CTF接收 OCS发送的响应消息, 该响应消息包括: 为资源配额 请求分配的配额, 进而 CTF根据 OCS分配的配额控制业务, 并监控配额 的使用。
需要说明的是, CTF在接收响应消息之后, 若 CTF 中原指定的配额 类型与响应消息中所包括的配额类型不同,则 CTF按照响应消息中的配额 类型控制业务。 也就是说, 在 CTF所指定的配额类型与 OCS所确定的配 额类型冲突时, 以 OCS所确定的配额类型控制业务。 在实际应用中, OCS根据资源配额请求返回的响应消息指 OCS返回给 CTF的携带授权资源 ( Granted Service Unit, 简称 GSU ) 参数的信用控制 应答(Credit Control Answer, 简称 CCA ) 消息。 该处的 GSU参数中携带 有上述 OCS所分配的配额。
具体地, 上述的步骤 101可包括如下的内容:
101a, CTF在触发条件满足之后, 查看是否接收到 PCRF发送的携带 有业务单元类型和 /或指示信息的第一消息, 若 CTF确定没有接收到上述 的第一消息, 则 CTF根据 CTF 自身的配置信息生成资源配额请求。
该步骤中的业务单元类型用于指定 CTF 在生成的资源配额请求中所 携带的配额类型,该步骤中的指示信息可为用来指示 CTF指定配额类型和 数量的信息, 或者,指示信息可为用来指示 CTF不指定配额类型和数量的 信息等。
在实际应用中, CTF根据自身的配置信息生成资源配额请求, 具体包 括:
CTF根据自身的配置信息查看是否需要确定配额类型和数量, 若需要 确定, 则 CTF根据自身的配置信息指定配额类型和数量, 并根据指定的配 额类型和数量生成资源配额请求,该资源配额请求中包括所述 CTF所指定 的配额类型和数量;
若不需要确定, 则 CTF直接生成资源配额请求,该资源配额请求中不 包括配额类型和数量。
在本实施例中, CTF中自身的配置信息可为预置的业务的配置信息, 例如配置信息可包括: 需 CTF计算配额类型和需 CTF计算配额类型的数 量等信息。
可以理解的是, 上述 CTF没有接收到 PCRF发送的任何消息, 或者是 CTF接收到 PCRF发送的消息, 但是消息中没有写到上述的业务单元类型 和指示信息中的一个或多个,则 CTF根据自身的配置信息生成资源配额请 求。 例如, CTF在触发条件满足之后, 若确定接收到 PCRF发送的未携带 业务单元类型的第一消息, 则 CTF根据自身的配置信息生成发送于 OCS 的资源配额请求。
也就是说, 该步骤中 CTF执行 UD (即确定配额类型和数量) 由 CTF 自身确定。
在第二应用场景中, 上述的步骤 101可包括如下的内容:
101b, CTF在触发条件满足之后, 查看是否接收到 PCRF发送的携带 有业务单元类型和 /或指示信息的第一消息;
该步骤中的业务单元类型用于指定 CTF 在生成的资源配额请求中所 携带的配额类型,该步骤中的指示信息可为用来指示 CTF指定配额类型和 数量的信息, 或者,指示信息可为用来指示 CTF不指定配额类型和数量的 信息等。
上述的指示信息为 PCRF根据业务类型、 运营商配置的规则用户订购 的套餐等参数中的一个或多个所确定的指示信息。
1 ) 若 CTF确定接收到 PCRF发送的携带有业务单元类型和指示信息 的第一消息,且指示信息为指示 CTF指定配额类型和数量的信息,则 CTF 根据第一消息中的业务单元类型获取所述业务单元类型所指示的配额类 型, 以及确定配额类型的数量, 并根据所述业务单元类型和所述数量生成 资源配额请求, 所述资源配额请求包括: 所述业务单元类型所指示的配额 类型和所述配额类型的数量;
2 ) 若 CTF确定接收到 PCRF发送的携带有业务单元类型和指示信息 的第一消息, 且指示信息为指示 CTF 不指定配额类型和数量的信息, 则 CTF根据第一消息生成资源配额请求, 该资源配额请求中不携带所述业务 单元类型所指示的配额类型, 即该资源配额请求中不携带配额类型和数 量。
在第三应用场景中, 上述的步骤 101可包括如下的内容:
101c, CTF在触发条件满足之后, 查看是否接收到 PCRF发送的携带 有业务单元类型和 /或指示信息的第一消息;
该步骤中的业务单元类型用于指定 CTF 在生成的资源配额请求中所 携带的配额类型,该步骤中的指示信息可为用来指示 CTF指定配额类型和 数量的信息, 或者,指示信息可为用来指示 CTF不指定配额类型和数量的 信息。
若 CTF确定接收到 PCRF发送的携带有业务单元类型的第一消息,则 CTF根据业务单元类型确定配额类型的数量, 并根据业务单元类型和确定 的配额类型的数量生成资源配额请求, 资源配额请求包括: 业务单元类型 所指定的配额类型和配额类型的数量。
在第四应用场景中, 上述的步骤 101可包括如下的内容:
101d、 CTF在触发条件满足之后, 查看是否接收到 PCRF发送的携带 有业务单元类型和 /或指示信息的第一消息;
该步骤中的业务单元类型用于指定 CTF 在生成的资源配额请求中所 携带的配额类型,该步骤中的指示信息可为用来指示 CTF指定配额类型和 数量的信息, 或者,指示信息可为用来指示 CTF不指定配额类型和数量的 信息。
若 CTF确定接收到 PCRF发送的携带有指示信息的第一消息,则 CTF 根据指示信息生成资源配额请求, 具体包括:
1 )若指示信息为指示 CTF指定配额类型和数量的信息, 则 CTF根据 自身的配置信息确定配额类型和数量, 进而根据配额类型和数量生成资源 配额请求, 该资源配额请求中包括所述 CTF所指定的配额类型和数量; 2 )若指示信息为指示 CTF不指定配额类型和数量的信息, 则 CTF生 成资源配额请求, 该资源配额请求中不包括配额类型和数量。
在实际应用中,上述任一场景中所提及的第一消息用于携带 PCC Rule 参数,或者 ADC Rule参数,其中指示信息属于 PCC Rule参数中的子参数, 或者 ADC Rule参数中的子参数。
特别地, 实际应用中的第一消息中的指示信息和业务单元类型可合为 一个参数, 则 CTF在接收到参数后, 根据该参数确认 CTF是否需要指定 配额类型和数量,若 CTF需要指定配额类型和数量, 则根据该参数的值确 定配额类型和数量, 并根据所述配额类型和数量生成资源配额请求, 所述 资源配额请求包括: 所述 CTF所指定的配额类型和数量。
上述实施例中的 CTF可为 PCEF或流检测功能 ( Traffic Detection
Function, 简称 TDF ) , 该处的 TDF包含深度包检测能力 ( Deep Packet Inspection, 简称 DPI ) 。
由上述实施例可知, 本实施例的计费控制的方法, 通过根据 OCS下 发的配额中的配额类型和数量控制业务, 解决了现有技术中由于配额类型 的确定主体不同, 导致的计费会话失败的现象, 保证了计费会话的正确处理。 在另一可选的应用场景中, 上述图 2所示的计费控制的方法还包括如 下的图 2中未示出的步骤 104:
104、 CTF在监控配额的使用过程中, 若 CTF满足上报条件, 向 OCS 上报计费消息, 计费消息包括配额的使用信息等。
本实施例中的上报条件可为: 配额使用完毕, 或者 CTF接收到 OCS 下发的指示上报计费信息的触发条件, 如 OCS指定的 Trigger等。
另外, 配额的使用信息为 CTF监控的 OCS分配的配额的使用情况。 特别地, 如果 OCS分配的配额类型和 CTF确定的配额类型不同时, CTF 上报的是 OCS分配的配额类型对应的配额的使用情况。
在实际应用中, CTF向 OCS上^¾的计费消息指 CTF向 OCS发送的携 带使用的业务单元 (Used Service Unit, 简称 USU ) 参数的信用控制请求 ( Credit Control Request, 简称 CCR )消息。 该处的 USU参数携带有 CTF向 OCS上"¾的计费消息。
本实施例中的计费控制的方法, 解决了现有技术中由于配额类型的确 定主体不同, 导致的计费会话失败的现象, 保证了计费会话的正确处理。
图 3示出了本发明另一实施例提供的计费控制的方法的流程示意图, 如图 3所示, 本实施例中的计费控制的方法如下文所述。
301、 CTF根据触发条件生成向 OCS发送的 CCR消息。
具体地, 触发条件可以是业务请求开始, 或者上一个业务的配额使用 完毕, 或者、 已有的配额过期等。
可以理解的是, 在实际应用中, 上述的 CCR消息还可包括用户标识、 业务信息等, 本实施例仅为举例说明。
302、 CTF将 CCR消息发送至 OCS, 以使 OCS接收 CCR消息之后, 确定配额类型和数量, 并根据 OCS所确定的配额类型和数量为 CCR消息 分配配额。
303、 CTF接收 OCS发送的配额响应消息, 所述配额响应消息包括: 分配的配额和所述分配的配额中的配额类型的切换条件, 其中, 分配配额 包括: OCS分配的前一个配额类型和前一个配额类型的数量(即切换条件 切换之前的配额类型和数量) , 后一个配额类型和后一个配额类型的数量 (即切换条件切换之后的配额类型和数量) 。 所述前一个配额类型为所述配额类型的切换条件满足之前的配额类 型, 所述后一个配额类型为所述配额类型的切换条件满足之后的配额类 型, 本实施例中以配额类型的切换条件为基准, 以区分前一个配额类型和 后一个配额类型。 这里的切换条件可以是配额类型的切换时间点。 需要说明的是, 这里 的配额类型的切换意味着所分配的配额中的切换条件切换之前的配额类 型和切换条件切换之后的配额类型必须不同, 即前一个配额类型和后一个 配额类型必须不同。
304、 CTF根据所述前一个配额类型和所述前一个配额类型的数量, 监控前一个配额类型对应的配额的使用, 以及根据切换条件切换前一个配 额类型和后一个配额类型, 并根据后一个配额类型和所述后一个配额类型 的数量, 监控后一个配额类型对应的配额的使用。
上述根据切换条件切换前一个配额类型和后一个配额类型, 可为, 在 切换条件满足时, CTF监控后一个配额类型对应的配额的使用。
当然, 在一优选的实施例中, 上述图 3所示的计费控制的方法还包括 如下的图 3中未示出的步骤 305:
305、 若 CTF收集了所述前一个配额类型对应的配额的使用情况, 以 及所述后一个配额类型对应的配额的使用情况, 则 CTF向所述 OCS同时 上报所述前一个配额类型对应配额的使用情况, 和所述后一个配额类型对 应配额的使用情况。
CTF向 OCS上报切换条件切换之前的配额类型对应的配额的使用情 况和切换条件切换之后的配额类型对应的配额的使用情况, 同时, 还可以 上报配额类型的切换说明, 该切换说明指明该使用情况是对应切换条件切 换之前的配额类型还是对应切换条件切换之后的配额类型, 或者上述切换 说明指明 CTF进行了配额类型的切换。
在实际应用中, CTF还用于收集前一个配额类型对应的业务信息, 以 及后一个配额类型对应的业务信息, 以便在向 OCS上报前一个配额类型 对应配额的使用情况的同时, 上^艮前一个配额类型对应的业务信息, 以及 上报后一个配额类型对应配额的使用情况的同时, 上报后一个配额类型对 应的业务信息等。 本实施例中的计费控制方法, 可以实现在计费场景切换过程中, 防止 在某个特定的时间点瞬时产生大量的信令, 冲击 OCS和 CTF的问题。
在一优选的实施例中, 在图 1、 图 2和图 3所示的计费控制的方法的 基础上, 计费控制方法还包括如下的步骤 S01和步骤 S02:
S01、 CTF接收 PCRF发送的第二消息, 第二消息中携带有业务单元 类型。
该处的第二消息可为 PCRF根据用户订购信息、 运营商的配置等确定 的。 也就是说, PCRF可根据用户的订购信息、 运营商的配置等确定需要 进行计费信息收集方式的切换, 进而更新之前已经激活的 PCC Rule参数 或 ADC Rule参数。 在实际应用中, 上述步骤 S01中的第二消息中除业务 单元类型之外, 该第二消息还可以携带费率组等其他信息。
S02、 CTF 确定第二消息中的业务单元类型所指示的配额类型与当前 CTF所监控使用的配额中的配额类型是否一致, 若一致, 则 CTF继续执 行监控上述配额的使用; 若不一致, 则 CTF更新 CTF中当前监控使用的 配额中的配额类型对应的使用记录。
也就是说, CTF确定第二消息中的业务单元类型与当前 CTF所监控使 用的配额中的业务单元类型是否一致, 若不一致, 则 CTF更新 CTF中当 前监控使用的配额中的业务单元类型对应的使用记录。
举例来说, 第二消息中的业务单元类型所指示的配额类型可为时长, 当前 CTF所监控使用的配额中的配额类型可为流量。
此时, 需要说明的是, 在在线计费的过程中, 若 CTF确定该 CTF向 OCS上报的上报粒度包括: 费率组和业务标识 (即上报粒度为费率组 +业 务标识级别 ) , 则所述 CTF向 OCS上 4艮更新的使用记录(即当前 CTF所 监控使用的配额的计费消息) ;
若 CTF确定该 CTF向 OCS上报的上报粒度包括: 费率组(即上报粒 度为费率组级别); 则在 CTF更新使用记录的同时, 判断其他业务流是否 使用第二消息所对应的配额, 若没有, 则 CTF向 OCS上报更新的使用记 录。
进一步地, 若 CTF中不存在与第二消息对应的配额,还需根据该第二 消息中的业务单元类型向 OCS申请与第二消息对应的配额。 也就是说,若 CTF当前已经有与该第二消息的业务单元类型所对应的 配额, 则 CTF不需要重新根据第二消息中的业务单元类型向 OCS申请新 的配额, 可在 CTF侧的配额类型切换之后, 使用 CTF已经有的与第二消 息中的业务单元类型所对应的配额。
举例来说,若第二消息中还携带有费率组信息,且 CTF当前有该费率 组信息以及业务单元类型对应的配额 ,则 CTF确定该配额为第二消息对应 的配额, 不需要重新根据第二消息中的业务单元类型向 OCS申请新的配 额。 通常, 第二消息中携带有业务单元类型时, 也会携带费率组信息。
上述上报的更新的使用记录属于上报的计费信息中的一种。该处 CTF 上报的计费消息可为携带 USU参数的 CCR消息, 该 USU参数用于表示 上报的计费消息。 进一步地, 可以在上述携带 USU参数的 CCR消息中携 带 RSU参数, 用以向 OCS申请新的配额。 即 RSU参数用于表示向 OCS 申请新的配额。 上述实施例所涉及的技术也可以用在离线计费的过程中, 则在离线计 费过程中的完整步骤为:
S,01、 CTF接收 PCRF发送的第二消息, 第二消息中携带有业务单元 类型。
该业务单元类型用于指示 CTF需要以此业务单元类型收集该第二消 息指定业务或业务流的使用信息。
S,02、CTF确定第二消息中的业务单元类型与当前 CTF所记录的业务 单元类型是否一致, 若不一致, 则 CTF关闭 CTF中当前所使用的业务单 元类型所对应的计数器, 将计数器记录的信息写入话单, 并开启与第二消 息中的业务单元类型对应的计数器, 以收集业务的使用信息。
例如, CTF可使用计数请求 ( Accounting-Request, 简称 ACR ) 消息 向离线计费系统上报收集的业务使用信息, 以实现往话单中添加该业务使 用信息, 或者 CTF直接往话单中添加所收集的业务使用信息, 并最终向离 线计费系统提交话单。
上述实施例中的计费控制方法可解决现有技术中在计费信息收集方式 的切换过程问题。 进一步地, 在其他的应用场景中, 在图 1、 图 2和图 3所示的计费控制 的方法的基础上, 计费控制方法还包括如下的步骤 M01和步骤 M02:
M01、 CTF接收所述 OCS下发的第三消息, 所述第三消息指示 CTF 重新申请授权。
该第三消息可为重授权请求 ( Re- Auth-Request , 简称 RAR ) 消息。 具体的, OCS根据 CTF上报的业务相关信息、 用户订购信息或运营 商的配置等一个或多个信息,确定需要进行配额类型切换,则 OCS向 CTF 下发 RAR消息, 以指示 CTF上报收集的计费信息, 并重新申请配额, 实 现配额类型切换后的计费控制。
M02、 CTF执行计费上报并重新申请授权, 该步骤中的重新申请授权 可如上步骤 101和步骤 102中所举例的获取配额的流程。
实际应用中的计费上报可为使用携带 USU参数的 CCR消息向 OCS 上报其所分配的配额的使用情况。 另外, 在该 CCR消息中同时携带 RSU 参数以用于重新申请授权的配额。
当然, 在其他实施例中, CTF监控 OCS分配的配额已经使用完毕, 则向 OCS上报当前收集的计费信息即配额的使用情况, 进而重复如上步 骤 101和步骤 102中所举例的获取配额的流程。
在实际应用中,上述的 CTF可为策略和计费执行功能模块(Policy and Charging Execution Function, 简称 PCEF ) 。
例如, PCEF在监控已有配额使用完毕, 或者已有配额过期, 此时,
PCEF向 OCS上报当前收集的计费信息, 以及重复上述的获取的配额的流 程。
本实施例中的在线计费授权处理的方法可解决现有技术中在计费信息 收集方式的切换过程问题。 图 4示出了本发明另一实施例提供的计费控制的方法的流程示意图, 如图 4所示, 本实施例中的计费控制的方法如下文所述。
该步骤的描述属于图 3中的一部分内容, 本实施例为更清楚的说明, 将其单独写出。
进一步地, 为了避免 CTF 在该计费会话中同一时间点由于配额类型 (时长流量等)的切换, 导致同一时间点执行大量的计费信息上报和重新 申请授权配额的动作, 造成信令的瞬时阻塞和 OCS 的处理压力增大, 则 OCS在接近切换点时, 在接收到 CTF发送的申请配额授权消息之后, 同 时授予部分配额类型切换后的配额, 即: 同时授予配额类型切换前的配额 和配额类型切换后的配额。
401、 CTF在触发条件满足时向 OCS发送资源配额请求。
402、 CTF接收 OCS发送的配额响应消息, 该配额响应消息包括: 为 资源配额请求分配的配额和所述分配的配额中的配额类型的切换条件(如 切换时间点等), 该分配的配额包括: OCS分配的前一个配额类型和所述 前一个配额类型的数量, 后一个配额类型和所述后一个配额类型的数量。
所述前一个配额类型为所述配额类型的切换条件满足之前的配额类 型, 所述后一个配额类型为所述配额类型的切换条件满足之后的配额类 型。
也就是说, 在步骤 402之前, OCS在接收到资源配额请求之后, 判断 出接近配额类型的切换条件(如切换时间点) , 确定切换时间点之前对应 的配额类型、 数量和切换时间点之后对应的配额类型、 数量, 进而给资源 配额请求分配配额, 分配的配额包括: OCS分配的前一个配额类型和所述 前一个配额类型的数量, 后一个配额类型和所述后一个配额类型的数量。
具体地, 在步骤 402中, 配额响应消息可为 CCA消息, 该 CCA消息 的 GSU参数中携带 OCS所分配 /授予的配额, 一个 GSU中同时携带两个 配额的信息, 同时该消息还携带配额类型的切换条件(如配额类型的切换 时间点, 以指示 CTF在配额类型的切换点切换配额类型的使用) 。 在其他实施例中, 配额类型的切换条件可以使用如下方式携带: 1 ) 为每个配额附带一个使用条件, 以流量和时长为例, 所附带的使 用条件可以是激活时间。
如在 GSU参数中为流量配额增加一个激活时间参数
CC-Octets-Deferred Active, 为时长配额 CC-Time增加一个激活时间参数 CC-Time-Deferred Active , 增加激活时间后的 GSU参数如下所示: Granted-Service-Unit : := < AVP Header: 431 >
[ Tariff-Time-Change ]
[ CC-Time ]
[ CC-Time-DeferredActive]
[ CC-Money ]
[ CC-Total-Octets ]
[ CC-Input-Octets ]
[ CC-Output-Octets ]
[ CC-Octets-DeferredActivel
[ CC-Service-Specific-Units ]
*[ AVP ]
2 )为 GSU中的两个配额指定一个切换条件, 这里的切换条件可以是 一个切换时间点。
例如, 可以在 GSU中增加一个 AVP (如: Unit-Type-Change ) , 用来 指示所授予的配额的切换, 或者重用 Tariff-Time-Change AVP, 之前的该 AVP指定费率组的切换, 这里扩展其含义, 用来进一步通知 CTF该 GSU 中的两个配额在某一时间点切换使用。
当然, 在实际应用中, 如果重用 Tariff-Time-Change AVP , 可能出现 同时需要指示费率组切换与配额类型切换的场景(如: 二者的切换时间点 很近,但不同时), 此时上述费率组切换和配额类型切换两者会产生冲突, 为了防止冲突, 则该 AVP仍然用来指示费率组的切换, 0CS仅授予切换 时间点之前的配额类型对应的配额, 并指定切换时间点之前的配额类型对 应的配额的有效期到配额类型的切换时间点,使得 CTF可以在切换时间点 重新向 0CS申请切换时间点之后的配额类型对应的配额。
该方法中, 由于只有一个切换时间点, CTF需要确定两个配额类型分 别对应的配额的使用说明。 举例来说, 可以根据如下方式确定切换时间点 前后分别使用哪种配额类型对应的配额:
方式一: 0CS未在 GSU中指定哪一个配额在切换时间点之前使用, CTF根据该业务之前所使用的配额所对应的配额类型,确定切换时间点前 的配额, 并在 GSU中所指定的切换时间点之后使用另一配额类型所对应 的配额。 需要说明的是, 该处 0CS下发的配额中仅包括两种配额类型, 且 OCS未在 GSU中指定哪一个配额在切换时间点之前使用,此时 CTF可 根据该处的方式一执行。
方式二: CTF在切换时间点之前和切换时间点之后, 均同时监控和统 计两种配额类型分别对应的配额的使用情况, 并在上报条件满足时上报给 OCS, 由 OCS来根据切换时间点之前的配额类型和切换时间点之后的配 额类型, 提取对应的配额使用情况进行计费处理。
方式三: OCS在 GSU中明确指定哪个配额在切换时间点之前使用, CTF根据该指定确定切换时间点之前和切换时间点之后分别使用的配额。 为了指定哪个配额在切换时间点之前使用, 可以在 OCS下发的响应消息 中增加一个新的 AVP, 如: Unit- Type-Before, 用来指示切换时间点之前 的配额类型 3†应的配额。
CTF在接收到 OCS分配的配额后, 根据 CCA中的配额及所述配额中 的配额类型的切换条件, 进行配额使用的监控, 例如, CTF分别监控和收 集切换条件切换之前的配额类型对应的配额的使用情况和切换条件切换 之后的配额类型对应的配额的使用情况。
403、在 CTF的上报条件满足时, CTF向 OCS上报所收集的不同配额 类型下配额的使用情况。
若 CTF同时收集了配额类型切换时间点之前和切换时间点之后的配 额的使用情况, 则在该 CCR中 (一个 CCR消息中)使用两个 USU分别 上 4艮配额类型切换时间点之前和配额类型切换时间点之后的配额的使用 情况。
OCS接收到 CTF上报的配额使用信息后, 首先区分哪个是配额类型 切换时间点之前的使用信息, 那个配额类型切换时间点之后的使用信息。 具体有如下两种方法:
方法一、 OCS根据上报的两个 USU中配额的类型, 以及 OCS 自身确 定的配额类型切换条件, 来识别哪个 USU所携带的配额使用信息是配额 类型切换条件切换之前的, 哪个是配额类型切换条件切换之后的。
方法二、 CTF在所上报的配额使用信息中, 指明了哪个使用信息是配 额类型切换条件切换之前的使用信息, 哪个是配额类型切换条件切换之后 的。 具体的, 使用一个 AVP (如: Unit-Type-Usage ) 来指明, 该 AVP分 别携带在所上报的两个 usu中, 其值说明配额类型切换条件切换之前或 配额类型切换条件切换之后。
上述实施例通过 PCRF或 OCS作为同一计费会话的时长和流量的切 换条件, 在所确定的切换条件满足时触发重授权, 进而实现对于计费会话 过程中流量时长切换的计费模式, 进一步, 通过 OCS同时下发流量和时 长配额,以及下发配额类型的切换条件,以减少切换条件时对 OCS和 CTF 的信令冲击, 提高系统可靠性和稳定性。
图 5示出了本发明另一实施例提供的计费控制的方法的流程示意图, 如图 5所示, 本实施例中的计费控制的方法如下文所述。
501、 OCS接收 CTF发送的资源配额请求, 根据资源配额请求确定配 额类型和所述配额类型的数量。
502、 OCS根据 OCS确定的所述配额类型和数量为资源配额请求分配 配额。
进一步地, 步骤 501中的根据所述资源配额请求确定配额类型和所述 配额类型的数量, 具体包括:
根据所述资源配额请求确定配额类型的切换条件, 以及前一个配额类 型和所述前一个配额类型的数量, 后一个配额类型和所述后一个配额类型 的数量;
所述前一个配额类型为所述配额类型的切换条件满足之前的配额类 型, 所述后一个配额类型为所述配额类型的切换条件满足之后的配额类 型; 相应地, 步骤 502可具体包括:
根据所述前一个配额类型和所述前一个配额类型的数量为所述资源 配额请求分配第一配额, 根据所述后一个配额类型和所述后一个配额类型 的数量为所述资源配额请求分配第二配额,以使所述 CTF采用第一配额中 的配额类型控制业务, 并监控所述第一配额的使用, 在切换条件满足时, 采用第二配额中的配额类型控制业务, 并监控所述第二配额的使用。
在实际应用中, 图 5所示的计费控制的方法还可包括如下图中未示出 的步骤 503或者步骤 503 ' :
503、 OCS向 CTF发送响应消息, 响应消息包括: 为所述资源配额请 求分配的配额, 以使 CTF根据所述配额控制业务, 并监控配额的使用。 503 '、 OCS向所述 OCS发送配额响应消息, 所述配额响应消息包括: 分配的配额和配额类型的切换条件, 所述分配的配额包括所述第一配额和 所述第二配额, 以使所述 CTF采用第一配额中的配额类型控制业务, 并监 控所述第一配额的使用, 在切换条件满足时, 切换采用第二配额中的配额 类型控制业务, 并监控所述第二配额的使用。
所述 CTF监控第一配额的使用, 可以理解为, CTF采用第一配额中 的配额类型控制业务。
当然, 在上述的步骤 503,之后, 计费控制的方法还可包括如下图中未 示出的步骤 504:
504、 OCS接收 CTF上报的使用信息, 使用信息包括第一配额的使用 情况和第二配额的使用情况, 根据使用信息进行计费处理。
在实际应用中, OCS接收 CTF上报的使用信息, 使用信息包括第一 配额的使用情况和第二配额的使用情况, 以及第一配额对应的配额类型, 第二配额对应的配额类型, 根据使用信息进行计费处理。
本实施例中的计费控制的方法, 解决了现有技术中由于配额类型的确 定主体不同, 导致的计费会话失败的现象, 保证了计费会话的正确处理。
根据本发明的另一方面, 本发明还提供一种计费控制的方法, 该计费 控制方法, 包括:
PCRF向 CTF发送包括业务单元类型的第一消息, 或者发送包括指示 信息的第一消息, 或者发送包括业务单元类型和所述指示信息的第一消 息, 以使所述 CTF根据所述第一消息生成资源配额请求;
其中, 业务单元类型, 用于指示所述 CTF在生成的资源配额请求中所 携带的配额类型,或者,用于指示 CTF需要以此业务单元类型收集该第二 消息指定业务或业务流的使用信息;
指示信息可为指示 CTF指定配额类型和数量的信息,或者,指示信息 可为指示 CTF不指定配额类型和数量的信息。
在另一实施例中, 如图 6所示, 计费控制的方法可包括:
601、 PCRF向 CTF发送包括业务单元类型的第一消息, 或者发送包 括指示信息的第一消息, 或者发送包括业务单元类型和所述指示信息的第 一消息, 以使所述 CTF根据所述第一消息生成资源配额请求。 602、 PCRF向 CTF发送包括业务单元类型的第二消息, 以使得 CTF 确定所述第二消息中的业务单元类型与当前所述 CTF所监控使用的配额 中的业务单元类型是否一致, 并在不一致时更新并上报使用记录。
本实施例中的计费控制的方法, 解决了现有技术中由于配额类型的确 定主体不同, 导致的计费会话失败的现象, 保证了计费会话的正确处理。
根据本发明的另一方面, 本发明还提供一种计费触发装置, 如图 7所 示, 本实施例中的计费触发装置包括: 生成单元 71、 发送单元 72;
其中, 生成单元 71用于根据触发条件生成资源配额请求; 发送单元 72将所述资源配额请求发送至在线计费系统 OCS , 以使 OCS接收资源配 额请求之后确定配额类型和配额类型的数量, 并根据 OCS所确定的配额 类型和数量为所述资源配额请求分配配额;
所述配额类型和数量由 OCS根据资源配额请求确定。
特别地, 生成单元 71具体用于, 在触发条件满足之后, 确定接收到 PCRF发送的携带有业务单元类型的第一消息, 所述业务单元类型用于指 示 CTF在生成的资源配额请求中所携带的配额类型;
则根据业务单元类型确定配额类型的数量, 并根据业务单元类型和所 述数量生成资源配额请求, 所述资源配额请求包括: 所述业务单元类型所 指示的配额类型和所述配额类型的数量;
或者, 在触发条件满足之后, 确定接收到 PCRF发送的未携带业务单 元类型的第一消息,则根据所述 CTF自身的配置信息生成发送于所述 OCS 的资源配额请求。
在一种应用场景下, 生成单元 71进一步用于, 在触发条件满足之后, 确定接收到 PCRF发送的携带有业务单元类型和指示信息的第一消息, 所 述业务单元类型用于指示所述 CTF在生成的资源配额请求中所携带的配 额类型, 所述指示信息为指示所述计费触发装置指定配额类型和数量的信 息, 或者, 所述指示信息为指示所述 CTF不指定配额类型和数量的信息; 则根据所述指示信息确定是否需要指定配额类型和数量, 具体地, 若所述指示信息为指示所述 CTF指定配额类型和数量的信息,则根据 所述业务单元类型获取所述业务单元类型所指示的配额类型, 以及确定配 额类型的数量, 并根据所述业务单元类型和所述数量生成资源配额请求, 所述资源配额请求包括: 所述业务单元类型所指示的配额类型和所述配额 类型的数量;
若所述指示信息为指示所述 CTF不指定配额类型和数量的信息,则生 成发送于 OCS的资源配额请求, 所述资源配额请求中不携带所述业务单 元类型所指示的配额类型。
在另一应用场景下, 生成单元 71还用于在触发条件满足之后, 若确 定接收到 PCRF发送的携带有指示信息的第一消息, 所述指示信息为指示 所述 CTF指定配额类型和数量的信息, 或者, 所述指示信息为指示所述 CTF不指定配额类型和数量的信息;
则根据指示信息确认是否需要确定配额类型和数量, 具体地, 若所述指示信息为指示所述 CTF指定配额类型和数量的信息,则根据 所述 CTF自身的配置信息指定配额类型, 以及确定配额类型的数量, 并根 据所述配额类型和所述数量生成资源配额请求, 所述资源配额请求包括: 所述 CTF指定的配额类型和所述配额类型的数量;
若所述指示信息为指示所述 CTF不指定配额类型和数量的信息,则生 成发送于 OCS的资源配额请求, 所述资源配额请求中不携带配额类型。
可选地, 如图 8所示, 上述的计费触发装置还包括: 接收单元 73用 于接收所述 OCS发送的响应消息, 所述响应消息包括: 为所述资源配额 请求分配的配额;
监控单元 74用于根据所述 OCS分配的配额控制业务, 并监控所述配 额的使用。
当然, 在另一优选的应用场景中, 上述的接收单元 73还用于接收所 述 PCRF发送的第二消息, 所述第二消息携带有业务单元类型; 以及
此时, 计费触发装置还包括: 确定单元(图中未示出); 该确定单元, 用于确定所述第二消息中的业务单元类型和当前所述 CTF所监控使用的 配额中的业务单元类型是否一致, 若不一致, 则 CTF更新所述 CTF中当 前监控使用的配额中的业务单元类型对应的使用记录。
另外, 实际应用在, 当计费触发装置位于在线计费的过程中, 该计费 触发装置还包括: 上报单元(图中未示出) ; 该上报单元用于在所述确定 单元确定所述 CTF向所述 OCS上报的上报粒度包括: 费率组、 业务标识, 则向所述 OCS上报所述更新的使用记录;
若所述确定单元确定所述 CTF向所述 OCS上报的上报粒度包括: 费 率组; 则在所述 CTF更新使用记录的同时, 判断其他业务流是否使用所述 第二消息所对应的配额, 若没有, 则向所述 OCS上报所述更新的使用记 录; 配额, 则根据所述第二消息中的业务单元类型向所述 OCS申请与所述第 二消息对应的配额。
在另一应用场景中, 计费触发装置的接收单元 73可具体用于接收所 述 OCS发送的配额响应消息, 所述配额响应消息包括: 为所述资源配额 请求分配的配额, 以及配额类型的切换条件;
其中, 所述分配的配额包括所述 OCS分配的前一个配额类型和所述 前一个配额类型的数量, 后一个配额类型和所述后一个配额类型的数量; 相应地, 监控单元 74用于根据所述前一个配额类型和所述前一个配 额类型的数量, 监控所述前一个配额类型对应的配额的使用, 以及根据所 述切换条件切换所述前一个配额类型和所述后一个配额类型, 并根据所述 后一个配额类型和所述后一个配额类型的数量, 监控所述后一个配额类型 3于应的配额的使用;
所述前一个配额类型为所述配额类型的切换条件满足之前的配额类 型, 所述后一个配额类型为所述配额类型的切换条件满足之后的配额类 型。
当然, 若计费触发装置处于在线计费的过程中, 则计费触发装置的上 报单元, 可具体用于在收集了所述前一个配额类型的业务信息和配额的使 用情况, 以及所述后一个配额类型的业务信息和配额的使用情况, 则 CTF 向所述 OCS同时上报所述前一个配额类型对应配额的使用情况, 和所述 后一个配额类型对应配额的使用情况。
上述的计费触发装置根据 OCS分配的配额中的配额类型控制业务, 并监控配额的使用, 可有效解决现有技术中配额类型的确定主体冲突的问 题。
如图 9所示, 图 9示出了本发明另一实施例提供的计费触发装置的结 构示意图, 本实施例中的计费触发装置包括: 至少一个处理器 91 , 至少一 个网络接口 92和其他通信接口 93、 存储器 94和至少一个通信总线 95 , 通信总线 95用于实现上述各单元之间的通信连接, 例如, 处理器 91连接 通信总线 95 , 网络接口 92和通信接口均连接通信总线 95。
上述的处理器 91可连接一应用模块, 该应用模块可包括如下的单元 之一或者组合, 生成单元 71、 发送单元 72、 接收单元 73、 监控单元 74、 上报单元和确定单元等。 上述单元的功能可以参考图 7或图 8中的相关描 述, 本实施例在此不再赘述。
或者, 在其他实施例中, 处理器 91用于实现上述图 7中所举例的生 成单元 71、 发送单元 72所实现的功能, 以及用于实现图 8中所举例的生 成单元 71、 发送单元 72、 接收单元 73和监控单元 74、 以及图 8中未示出 的上报单元、 确定单元等的功能。
如图 10所示, 图 10示出了本发明另一实施例提供的在线计费系统的 结构示意图, 本实施例中的在线计费系统包括: 接收单元 11、 确定单元 12和分配单元 13 ;
其中,接收单元 11用于接收计费触发装置 CTF发送的资源配额请求; 确定单元 12用于根据所述资源配额请求确定配额类型和所述配额类 型的数量;
分配单元 13用于根据所述 OCS确定的所述配额类型和数量为所述资 源配额请求分配配额。
可选地, 上述的确定单元 12还用于根据资源配额请求确定配额类型 的切换条件, 以及前一个配额类型和所述前一个配额类型的数量, 后一个 配额类型和所述后一个配额类型的数量;
所述前一个配额类型为所述配额类型的切换条件满足之前的配额类 型, 所述后一个配额类型为所述配额类型的切换条件满足之后的配额类 型;
相应地, 分配单元 13还用于根据所述前一个配额类型和所述前一个 配额类型的数量为所述资源配额请求分配第一配额, 根据所述后一个配额 类型和所述后一个配额类型的数量为所述资源配额请求分配第二配额。
在一种应用场景中, 上述的在线计费系统还包括, 还包括: 发送单元 (图中未示出), 该发送单元用于向所述 CTF发送配额响应消息, 所述配 额响应消息包括: 分配的配额和配额类型的切换条件, 所述分配的配额包 括所述第一配额和所述第二配额, 以使所述 CTF监控所述第一配额的使 用, 在切换条件满足时, 切换监控所述第二配额的使用。
在另一应用场景中, 上述的在线计费系统中的接收单元 1 1还用于接 收所述 CTF上报的使用信息,所述使用信息包括第一配额的使用情况和所 述第二配额的使用情况, 根据所述使用信息进行计费处理。
本实施例中的在线计费系统解决了现有技术中由于配额类型的确定主 体不同, 导致的计费会话失败的现象, 保证了计费会话的正确处理,
进一步地,减少了切换条件时 CTF申请新的配额对 OCS的信令冲击, 提高系统可靠性和稳定性。
如图 11所示, 图 11示出了本发明另一实施例提供的在线计费系统的 结构示意图, 本实施例中的在线计费系统包括: 本实施例中的计费触发装 置包括: 至少一个处理器 1 , 至少一个网络接口 2和其他通信接口 3、 存 储器 4和至少一个通信总线 5 , 通信总线 5用于实现上述各单元之间的通 信连接, 例如, 处理器 1连接通信总线 5 , 网络接口 2和通信接口均连接 通信总线 5。
上述的处理器 1可连接一应用模块, 该应用模块可包括如下的单元之 一或者组合, 接收单元 11、 确定单元 12、 分配单元 13和发送单元等。 上 述单元的功能可以参考图 10中的相关描述, 本实施例在此不再赘述。
或者, 在其他实施例中, 处理器 1可用于实现上述图 10中所举例的 接收单元 11、 确定单元 12、 分配单元 13和发送单元等的功能。
本实施例中的在线计费系统解决了现有技术中由于配额类型的确定主 体不同, 导致的计费会话失败的现象, 保证了计费会话的正确处理; 进一步 地, 减少了切换条件时 CTF申请新的配额对 OCS的信令冲击, 提高系统 可靠性和稳定性。
如图 12所示, 图 12示出了在线计费系统和计费触发装置所适用的通 信系统的网络架构图, 本实施例中的通信系统包括: 在线计费系统 21和 计费触发装置 22;
实际应用中的通信系统还包括: PCRF等。 例如, PCRF向计费触发 装置下发上述方法实施例中所举例说明的第一消息、第二消息和 /或第三消 息等。
本实施例中的在线计费系统 21、 计费触发装置 22、 PCRF的具体实现 方式可以参考本发明其它装置或方法实施例, 在此不再赘述。 本领域普通 技术人员应理解的是本发明实施例提供的通信系统因为应用了本发明实 施例提供的在线计费系统和计费触发装置, 所以可以达到本发明实施例提 供的在线计费系统和计费触发装置带来的有效效果。
本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分 步骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算 机可读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的步 骤; 而前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存 储程序代码的介质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非 对其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的 普通技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进 行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或 者替换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的范 围。

Claims

权 利 要 求 书
1、 一种计费控制的方法, 其特征在于, 包括:
计费触发装置 CTF根据触发条件生成资源配额请求,将所述资源配额 请求发送至在线计费系统 OCS , 以使所述 OCS接收所述资源配额请求之 后确定配额类型和所述配额类型的数量, 并根据所述 OCS所确定的配额 类型和数量为所述资源配额请求分配配额;
所述配额类型和数量由所述 OCS根据该资源配额请求确定。
2、 根据权利要求 1所述的方法, 其特征在于, 所述 CTF根据触发条 件生成资源配额请求, 具体包括:
所述 CTF在触发条件满足之后, 若确定接收到策略和计费控制模块
PCRF发送的携带有业务单元类型的第一消息, 所述业务单元类型用于指 示所述 CTF在生成的资源配额请求中所携带的配额类型; 则 CTF根据所 述业务单元类型确定配额类型的数量, 并根据所述业务单元类型和所述数 量生成资源配额请求, 所述资源配额请求包括: 所述业务单元类型所指示 的配额类型和所述配额类型的数量;
或者, 所述 CTF在触发条件满足之后, 若确定接收到所述 PCRF发送 的未携带所述业务单元类型的第一消息,则 CTF根据自身的配置信息生成 发送于 OCS的资源配额请求。
3、 根据权利要求 1所述的方法, 其特征在于, 所述 CTF根据触发条 件生成资源配额请求, 具体包括:
所述 CTF在触发条件满足之后,若确定接收到 PCRF发送的携带有业 务单元类型和指示信息的第一消息, 所述业务单元类型用于指示所述 CTF 在生成的资源配额请求中所携带的配额类型, 所述指示信息为指示所述 CTF指定配额类型和数量的信息, 或者, 所述指示信息为指示所述 CTF 不指定配额类型和数量的信息;
则所述 CTF根据所述指示信息确定是否需要指定配额类型和数量;具 体地,
若所述指示信息为指示所述 CTF指定配额类型和数量的信息 ,则所述 CTF根据所述业务单元类型获取所述业务单元类型所指示的配额类型, 以 及确定配额类型的数量, 并根据所述业务单元类型和所述数量生成资源配 额请求, 所述资源配额请求包括: 所述业务单元类型所指示的配额类型和 所述配额类型的数量;
若所述指示信息为指示所述 CTF不指定配额类型和数量的信息,则生 成发送于 OCS的资源配额请求, 所述资源配额请求中不携带所述业务单 元类型所指示的配额类型。
4、 根据权利要求 1所述的方法, 其特征在于, 所述 CTF根据触发条 件生成资源配额请求, 包括:
所述 CTF在触发条件满足之后,若确定接收到 PCRF发送的携带有指 示信息的第一消息 ,所述指示信息为指示所述 CTF指定配额类型和数量的 信息,或者,所述指示信息为指示所述 CTF不指定配额类型和数量的信息; 则 CTF根据指示信息确认是否需要确定配额类型和数量, 具体地, 若所述指示信息为指示所述 CTF指定配额类型和数量的信息 ,则所述 CTF根据自身的配置信息指定配额类型, 以及确定配额类型的数量, 并根 据所述配额类型和所述数量生成资源配额请求, 所述资源配额请求包括: 所述 CTF指定的配额类型和所述配额类型的数量;
若所述指示信息为指示所述 CTF不指定配额类型和数量的信息,则生 成发送于 OCS的资源配额请求, 所述资源配额请求中不携带配额类型。
5、 根据权利要求 1至 4任一所述的方法, 其特征在于, 还包括: 所述 CTF接收所述 PCRF发送的第二消息,所述第二消息携带有业务 单元类型;
所述 CTF确定所述第二消息中的业务单元类型与当前所述 CTF所监 控使用的配额中的业务单元类型是否一致, 若不一致, 则 CTF更新所述 CTF中当前监控使用的配额中的业务单元类型对应的使用记录。
6、 根据权利要求 5所述的方法, 其特征在于, 还包括:
若所述 CTF确定该 CTF向所述 OCS上报的上报粒度包括: 费率组、 业务标识, 则所述 CTF向所述 OCS上报所述更新的使用记录;
若所述 CTF确定该 CTF向所述 OCS上报的上报粒度包括: 费率组; 则在所述 CTF更新使用记录的同时,判断其他业务流是否使用所述第二消 息所对应的配额, 若没有, 则向所述 OCS上报所述更新的使用记录。
7、 根据权利要求 5所述的方法, 其特征在于, 还包括: 所述 CTF中不存在与所述第二消息对应的配额,则根据所述第二消息 中的业务单元类型向所述 OCS申请与所述第二消息对应的配额。
8、 根据权利要求 1至 7任一所述的方法, 其特征在于, 还包括: CTF接收所述 OCS发送的配额响应消息, 所述配额响应消息包括: 为所述资源配额请求分配的配额, 以及所述分配的配额中的配额类型的切 换条件;
其中, 所述分配的配额包括所述 OCS分配的前一个配额类型和所述 前一个配额类型的数量, 后一个配额类型和所述后一个配额类型的数量; 所述 CTF根据所述前一个配额类型和所述前一个配额类型的数量,监 控所述前一个配额类型对应的配额的使用, 以及根据所述切换条件切换所 述前一个配额类型和所述后一个配额类型, 并根据所述后一个配额类型和 所述后一个配额类型的数量, 监控所述后一个配额类型对应的配额的使 用;
所述前一个配额类型为所述配额类型的切换条件满足之前的配额类 型, 所述后一个配额类型为所述配额类型的切换条件满足之后的配额类 型。
9、 根据权利要求 8所述的方法, 其特征在于, 还包括:
若 CTF收集了所述前一个配额类型对应的配额的使用情况,以及所述 后一个配额类型对应的配额的使用情况, 则 CTF向所述 OCS同时上 4艮所 述前一个配额类型对应配额的使用情况, 和所述后一个配额类型对应配额 的使用情况。
10、 一种计费控制的方法, 其特征在于, 包括:
在线计费系统 OCS接收计费触发装置 CTF发送的资源配额请求, 根 据所述资源配额请求确定配额类型和所述配额类型的数量;
根据所述 OCS确定的所述配额类型和数量为所述资源配额请求分配 配额。
11、 根据权利要求 10所述的方法, 其特征在于, 所述根据所述资源 配额请求确定配额类型和所述配额类型的数量, 具体包括:
根据所述资源配额请求确定配额类型的切换条件, 以及前一个配额类 型和所述前一个配额类型的数量, 后一个配额类型和所述后一个配额类型 的数量;
所述前一个配额类型为所述配额类型的切换条件满足之前的配额类 型, 所述后一个配额类型为所述配额类型的切换条件满足之后的配额类 型;
相应地, 所述根据所述 OCS确定的所述配额类型和数量为所述资源 配额请求分配配额, 具体包括:
根据所述前一个配额类型和所述前一个配额类型的数量为所述资源 配额请求分配第一配额, 根据所述后一个配额类型和所述后一个配额类型 的数量为所述资源配额请求分配第二配额。
12、 根据权利要求 11所述的方法, 其特征在于, 还包括:
向所述 CTF发送配额响应消息, 所述配额响应消息包括: 分配的配额 和配额类型的切换条件, 所述分配的配额包括所述第一配额和所述第二配 额, 以使所述 CTF监控所述第一配额的使用, 在切换条件满足时, 切换监 控所述第二配额的使用。
13、 根据权利要求 12所述的方法, 其特征在于, 还包括:
接收所述 CTF上报的使用信息,所述使用信息包括第一配额的使用情 况和所述第二配额的使用情况, 根据所述使用信息进行计费处理。
14、 一种计费控制的方法, 其特征在于, 包括:
所述 CTF接收所述 PCRF发送的第二消息,所述第二消息携带有业务 单元类型;所述业务单元类型用于指示所述 CTF需要以此业务单元类型收 集所述第二消息指定业务或业务流的使用信息;
所述 CTF确定所述第二消息中的业务单元类型与当前所述 CTF所记 录的业务单元类型是否一致, 若不一致, 则 CTF关闭所述 CTF中当前所 使用的业务单元类型所对应的计数器, 将所述计数器记录的信息写入话 单, 并开启与所述第二消息中的业务单元类型对应的计数器, 以收集业务 的使用信息。
15、 一种计费触发装置, 其特征在于, 包括:
生成单元, 用于根据触发条件生成资源配额请求;
发送单元, 将所述资源配额请求发送至在线计费系统 OCS , 以使所述 OCS接收所述资源配额请求之后确定配额类型和所述配额类型的数量,并 根据所述 OCS所确定的配额类型和数量为所述资源配额请求分配配额; 所述配额类型和数量由所述 OCS根据资源配额请求确定。
16、 根据权利要求 15所述的装置, 其特征在于, 所述生成单元, 具 体用于
在触发条件满足之后, 确定接收到策略和计费控制模块 PCRF发送的 携带有业务单元类型的第一消息, 所述业务单元类型用于指示计费触发装 置 CTF在生成的资源配额请求中所携带的配额类型;
则根据所述业务单元类型确定配额类型的数量, 并根据所述业务单元 类型和所述数量生成资源配额请求, 所述资源配额请求包括: 所述业务单 元类型所指示的配额类型和所述配额类型的数量;
或者, 在触发条件满足之后, 确定接收到所述 PCRF发送的未携带所 述业务单元类型的第一消息,则根据所述 CTF自身的配置信息生成发送于 所述 OCS的资源配额请求。
17、 根据权利要求 15所述的装置, 其特征在于, 所述生成单元, 进 一步用于
在触发条件满足之后, 确定接收到 PCRF发送的携带有业务单元类型 和指示信息的第一消息,所述业务单元类型用于指示所述 CTF在生成的资 源配额请求中所携带的配额类型, 所述指示信息为指示所述计费触发装置 指定配额类型和数量的信息,或者, 所述指示信息为指示所述 CTF不指定 配额类型和数量的信息;
则根据所述指示信息确定是否需要指定配额类型和数量, 具体地, 若所述指示信息为指示所述 CTF指定配额类型和数量的信息,则根据 所述业务单元类型获取所述业务单元类型所指示的配额类型, 以及确定配 额类型的数量, 并根据所述业务单元类型和所述数量生成资源配额请求, 所述资源配额请求包括: 所述业务单元类型所指示的配额类型和所述配额 类型的数量;
若所述指示信息为指示所述 CTF不指定配额类型和数量的信息,则生 成发送于 OCS的资源配额请求, 所述资源配额请求中不携带所述业务单 元类型所指示的配额类型。
18、 根据权利要求 17所述的装置, 其特征在于, 所述生成单元, 还 用于
在触发条件满足之后, 若确定接收到 PCRF发送的携带有指示信息的 第一消息, 所述指示信息为指示所述 CTF指定配额类型和数量的信息, 或 者, 所述指示信息为指示所述 CTF不指定配额类型和数量的信息;
则根据指示信息确认是否需要确定配额类型和数量, 具体地, 若所述指示信息为指示所述 CTF指定配额类型和数量的信息,则根据 所述 CTF自身的配置信息指定配额类型, 以及确定配额类型的数量, 并根 据所述配额类型和所述数量生成资源配额请求, 所述资源配额请求包括: 所述 CTF指定的配额类型和所述配额类型的数量;
若所述指示信息为指示所述 CTF不指定配额类型和数量的信息,则生 成发送于 OCS的资源配额请求, 所述资源配额请求中不携带配额类型。
19、 根据权利要求 15至 18任一所述的装置, 其特征在于, 还包括: 接收单元, 用于接收所述 PCRF发送的第二消息, 所述第二消息携带 有业务单元类型; 以及
所述装置还包括: 确定单元;
所述确定单元, 用于确定所述第二消息中的业务单元类型和当前所述 CTF所监控使用的配额中的业务单元类型是否一致, 若不一致, 则 CTF 更新所述 CTF中当前监控使用的配额中的业务单元类型对应的使用记录。
20、 根据权利要求 19所述的装置, 其特征在于, 还包括: 上报单元; 所述上报单元, 用于在所述确定单元确定所述 CTF向所述 OCS上报 的上报粒度包括: 费率组、 业务标识, 则向所述 OCS上报所述更新的使 用记录;
若所述确定单元确定所述 CTF向所述 OCS上报的上报粒度包括: 费 率组; 则在所述 CTF更新使用记录的同时, 判断其他业务流是否使用所述 第二消息所对应的配额, 若没有, 则向所述 OCS上报所述更新的使用记 录; 配额, 则根据所述第二消息中的业务单元类型向所述 OCS申请与所述第 二消息对应的配额。
21、 根据权利要求 15至 20任一所述的装置, 其特征在于, 还包括: 接收单元, 用于接收所述 OCS发送的配额响应消息, 所述配额响应 消息包括: 为所述资源配额请求分配的配额, 以及配额类型的切换条件; 其中, 所述分配的配额包括所述 OCS分配的前一个配额类型和所述 前一个配额类型的数量, 后一个配额类型和所述后一个配额类型的数量; 监控单元, 用于根据所述前一个配额类型和所述前一个配额类型的数 量, 监控所述前一个配额类型对应的配额的使用, 以及根据所述切换条件 切换所述前一个配额类型和所述后一个配额类型, 并根据所述后一个配额 类型和所述后一个配额类型的数量, 监控所述后一个配额类型对应的配额 的使用; 所述前一个配额类型为所述配额类型的切换条件满足之前的配额类 型, 所述后一个配额类型为所述配额类型的切换条件满足之后的配额类 型。
22、 根据权利要求 21所述的装置, 其特征在于, 还包括:
上报单元, 用于在收集了所述前一个配额类型对应的配额的使用情 况, 以及所述后一个配额类型对应的配额的使用情况时, 向所述 0CS同 时上报所述前一个配额类型对应配额的使用情况, 和所述后一个配额类型 对应配额的使用情况。
23、 一种在线计费系统, 其特征在于, 包括:
接收单元, 用于接收计费触发装置 CTF发送的资源配额请求; 确定单元, 用于根据所述资源配额请求确定配额类型和所述配额类型 的数量;
分配单元, 用于根据所述 0CS确定的所述配额类型和数量为所述资 源配额请求分配配额。
24、 根据权利要求 23所述的系统, 其特征在于, 所述确定单元, 还 用于
根据所述资源配额请求确定配额类型的切换条件, 以及前一个配额类 型和所述前一个配额类型的数量, 后一个配额类型和所述后一个配额类型 的数量;
所述前一个配额类型为所述配额类型的切换条件满足之前的配额类 型, 所述后一个配额类型为所述配额类型的切换条件满足之后的配额类 型;
相应地, 所述分配单元, 还用于
根据所述前一个配额类型和所述前一个配额类型的数量为所述资源 配额请求分配第一配额, 根据所述后一个配额类型和所述后一个配额类型 的数量为所述资源配额请求分配第二配额。
25、 根据权利要求 24所述的系统, 其特征在于, 还包括:
发送单元,用于向所述 CTF发送配额响应消息, 所述配额响应消息包 括: 分配的配额和配额类型的切换条件, 所述分配的配额包括所述第一配 额和所述第二配额, 以使所述 CTF监控所述第一配额的使用,在切换条件 满足时, 切换监控所述第二配额的使用。
26、 根据权利要求 25所述的系统, 其特征在于, 所述接收单元, 还 用于接收所述 CTF上报的使用信息,所述使用信息包括第一配额的使用情 况和所述第二配额的使用情况, 根据所述使用信息进行计费处理。
PCT/CN2012/079839 2012-08-08 2012-08-08 计费控制的方法及计费触发装置、在线计费系统 WO2014022992A1 (zh)

Priority Applications (9)

Application Number Priority Date Filing Date Title
PCT/CN2012/079839 WO2014022992A1 (zh) 2012-08-08 2012-08-08 计费控制的方法及计费触发装置、在线计费系统
EP12882758.1A EP2874347B1 (en) 2012-08-08 2012-08-08 Charging control method and charging trigger function
ES12882758.1T ES2634211T3 (es) 2012-08-08 2012-08-08 Método de control de cobro y función de activación de cobro
CN201611063295.2A CN106533707B (zh) 2012-08-08 2012-08-08 计费控制的方法及计费触发装置、在线计费系统
CN201611051252.2A CN106550162B (zh) 2012-08-08 2012-08-08 计费控制的方法及计费触发装置、在线计费系统
EP16194971.4A EP3203683B1 (en) 2012-08-08 2012-08-08 Charging control method and charging trigger apparatus
CN201280001037.5A CN103765814B (zh) 2012-08-08 2012-08-08 计费控制的方法及计费触发装置、在线计费系统
US14/615,645 US10205832B2 (en) 2012-08-08 2015-02-06 Charging control method, charging trigger apparatus, and online charging system
US16/258,502 US10972613B2 (en) 2012-08-08 2019-01-25 Charging control method, charging trigger apparatus, and online charging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/079839 WO2014022992A1 (zh) 2012-08-08 2012-08-08 计费控制的方法及计费触发装置、在线计费系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/615,645 Continuation US10205832B2 (en) 2012-08-08 2015-02-06 Charging control method, charging trigger apparatus, and online charging system

Publications (1)

Publication Number Publication Date
WO2014022992A1 true WO2014022992A1 (zh) 2014-02-13

Family

ID=50067383

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/079839 WO2014022992A1 (zh) 2012-08-08 2012-08-08 计费控制的方法及计费触发装置、在线计费系统

Country Status (5)

Country Link
US (2) US10205832B2 (zh)
EP (2) EP3203683B1 (zh)
CN (3) CN106550162B (zh)
ES (1) ES2634211T3 (zh)
WO (1) WO2014022992A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471753A (zh) * 2014-08-15 2016-04-06 中国电信股份有限公司 实现应用流量精确控制的方法、装置和系统
WO2016078449A1 (zh) * 2014-11-18 2016-05-26 华为技术有限公司 一种在线计费中交互信息的方法及装置
CN109699016A (zh) * 2017-10-23 2019-04-30 中国移动通信集团公司 一种用于smsc与ocs之间通讯处理的方法及装置

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2947816B1 (en) 2013-04-24 2018-01-17 Huawei Technologies Co., Ltd. Method for charging for application, and charging device and system
JP6454971B2 (ja) * 2014-03-18 2019-01-23 富士ゼロックス株式会社 中継装置、システム及びプログラム
US9781054B1 (en) * 2014-07-25 2017-10-03 Google Inc. Quota-based resource scheduling
CN111050007A (zh) * 2015-05-11 2020-04-21 华为技术有限公司 一种策略和计费执行功能装置、在线计费装置及在线计费方法
WO2017092819A1 (en) * 2015-12-04 2017-06-08 Nokia Solutions And Networks Oy Overload control handling in case of an overload state of a charging entity
US10044879B1 (en) * 2016-05-16 2018-08-07 Amdocs Development Limited System, method, and computer program for monitoring and allocating a quota for a user session associated with a service corresponding to a communication service provider (CSP)
CN109417485B (zh) * 2016-06-23 2021-07-16 瑞典爱立信有限公司 用于电信网络中的计费的方法和装置
CN108270697B (zh) * 2016-12-31 2021-11-30 中国移动通信集团湖北有限公司 一种流量配额的调整方法、装置及服务器
CN114500126A (zh) 2017-06-30 2022-05-13 华为技术有限公司 一种计费方法及设备
CN109802839B9 (zh) * 2017-11-16 2020-12-22 华为技术有限公司 一种计费方法、装置及系统
CN110417560B (zh) * 2018-04-28 2023-09-12 华为技术有限公司 计费的方法、装置及系统
US10834266B2 (en) * 2018-07-23 2020-11-10 Cisco Technology, Inc. Process-efficient generation of data records for data communications involving groups or aggregates of IoT devices
US11363149B2 (en) 2018-09-18 2022-06-14 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for providing a communication service in a communication network using preallocated usage units
WO2020106285A1 (en) * 2018-11-20 2020-05-28 Telefonaktiebolaget Lm Ericsson (Publ) Method and system to authorize a session at an online charging system in a wireless network
CN112153585B (zh) * 2019-06-26 2023-02-21 中兴通讯股份有限公司 一种计费系统、方法、存储介质及电子装置
CN113498033A (zh) * 2020-04-01 2021-10-12 华为技术有限公司 处理用户业务的方法、系统及相关设备
US20230232193A1 (en) 2020-07-02 2023-07-20 Telefonaktiebolaget Lm Ericsson (Publ) Method and Apparatus for Managing Charging Operations for a Communication Network
CN112669025B (zh) * 2020-12-24 2021-07-16 广西中科曙光云计算有限公司 一种数据资源供给计费方法、装置、介质及终端设备
WO2022216193A1 (en) * 2021-04-08 2022-10-13 Telefonaktiebolaget Lm Ericsson (Publ) Methods and systems for service authorization for a product-related service to a subscriber in a communication network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316175A (zh) * 2008-06-11 2008-12-03 中兴通讯股份有限公司 在线计费方法
CN102026139A (zh) * 2009-09-11 2011-04-20 阿尔卡特朗讯 递送动态策略规则的方法和系统
CN102137373A (zh) * 2010-08-16 2011-07-27 华为技术有限公司 一种基于计费系统的QoS控制方法、装置和系统
CN102143466A (zh) * 2010-06-10 2011-08-03 华为技术有限公司 在线计费方法、接入代理设备和系统

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050286686A1 (en) * 2004-06-28 2005-12-29 Zlatko Krstulich Activity monitoring systems and methods
GB0512557D0 (en) * 2005-06-20 2005-07-27 Nokia Corp Controlling provision of services in a communications network
CN101166109A (zh) * 2006-10-20 2008-04-23 华为技术有限公司 一种缺省承载参数管理的方法及系统
CN101296092B (zh) * 2007-04-26 2011-02-02 华为技术有限公司 一种用户业务数据计费方法、系统及设备
CN101075887B (zh) 2007-07-19 2013-03-20 中国电信股份有限公司 用于费用预留计费系统的方法及费用预留计费系统
CN101136758A (zh) * 2007-07-20 2008-03-05 南京联创科技股份有限公司 在线计费系统在欠费风险控制系统中的应用方法
CN101141266A (zh) * 2007-09-30 2008-03-12 中兴通讯股份有限公司 策略规则下发方法以及在线计费方法和离线计费方法
US20120123919A1 (en) * 2010-11-17 2012-05-17 Alcatel-Lucent Usa Inc. Method And System For Billing In A Communication Network
EP2652903B1 (en) * 2010-12-17 2015-02-18 Telefonaktiebolaget L M Ericsson (PUBL) Policy and/or charging control
US9576307B2 (en) * 2011-05-05 2017-02-21 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for controlling charging of a service
US9444947B2 (en) * 2012-01-25 2016-09-13 Hewlett Packard Enterprise Development Lp Method and system for differential charging

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316175A (zh) * 2008-06-11 2008-12-03 中兴通讯股份有限公司 在线计费方法
CN102026139A (zh) * 2009-09-11 2011-04-20 阿尔卡特朗讯 递送动态策略规则的方法和系统
CN102143466A (zh) * 2010-06-10 2011-08-03 华为技术有限公司 在线计费方法、接入代理设备和系统
CN102137373A (zh) * 2010-08-16 2011-07-27 华为技术有限公司 一种基于计费系统的QoS控制方法、装置和系统

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471753A (zh) * 2014-08-15 2016-04-06 中国电信股份有限公司 实现应用流量精确控制的方法、装置和系统
WO2016078449A1 (zh) * 2014-11-18 2016-05-26 华为技术有限公司 一种在线计费中交互信息的方法及装置
EP3211926A4 (en) * 2014-11-18 2017-11-15 Huawei Technologies Co., Ltd. Method and apparatus for interacting information in on-line charging
KR101918137B1 (ko) 2014-11-18 2018-11-13 후아웨이 테크놀러지 컴퍼니 리미티드 온라인 과금 시의 정보 교환 방법 및 장치
EP3499927A1 (en) * 2014-11-18 2019-06-19 Huawei Technologies Co., Ltd. Method and apparatus for information exchange in online charging
EP3972298A1 (en) * 2014-11-18 2022-03-23 Huawei Technologies Co., Ltd. Method and apparatus for information exchange in online charging
US11438462B2 (en) 2014-11-18 2022-09-06 Huawei Technologies Co., Ltd. Method and apparatus for information exchange in online charging
EP4221269A3 (en) * 2014-11-18 2023-08-09 Huawei Technologies Co., Ltd. Method and apparatus for information exchange in online charging
CN109699016A (zh) * 2017-10-23 2019-04-30 中国移动通信集团公司 一种用于smsc与ocs之间通讯处理的方法及装置
CN109699016B (zh) * 2017-10-23 2020-09-11 中国移动通信集团公司 一种用于smsc与ocs之间通讯处理的方法及装置

Also Published As

Publication number Publication date
US10972613B2 (en) 2021-04-06
EP3203683B1 (en) 2018-11-28
CN106533707B (zh) 2019-10-01
CN103765814A (zh) 2014-04-30
CN103765814B (zh) 2016-12-28
EP2874347B1 (en) 2017-06-07
US20190158677A1 (en) 2019-05-23
CN106533707A (zh) 2017-03-22
EP2874347A1 (en) 2015-05-20
CN106550162A (zh) 2017-03-29
EP2874347A4 (en) 2015-09-16
US20150156334A1 (en) 2015-06-04
ES2634211T3 (es) 2017-09-27
CN106550162B (zh) 2019-07-23
EP3203683A1 (en) 2017-08-09
US10205832B2 (en) 2019-02-12

Similar Documents

Publication Publication Date Title
US10972613B2 (en) Charging control method, charging trigger apparatus, and online charging system
US11881957B2 (en) Method for delivering dynamic policy rules to an end user, according on his/her account balance and service subscription level, in a telecommunication network
US11689902B2 (en) Method for processing rate group, method for charging for data service, and related device and system
US9826103B2 (en) Offload of service charging from an online charging system
EP3503468B1 (en) Charging method, apparatus and system
EP2506493B1 (en) Method and system for controlling data flow of subscriber service
JP6468502B2 (ja) 課金セッション管理方法および装置
WO2014114190A1 (zh) 一种进行策略决策的方法、计费设备和系统
WO2011079773A1 (zh) 用户会话策略控制方法、装置及系统
WO2013049934A1 (en) Sy based integrated policy and charging control
WO2013131382A1 (zh) 计费方法、认证方法、计费设备和认证设备
US9800741B2 (en) Charging method, charging device, charging system, and authentication device
WO2011054253A1 (zh) 一种计费信息的收集发送方法和收集处理系统

Legal Events

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

Ref document number: 12882758

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2012882758

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2012882758

Country of ref document: EP