[go: up one dir, main page]

WO2009149610A1 - Method and apparatus for online charging - Google Patents

Method and apparatus for online charging Download PDF

Info

Publication number
WO2009149610A1
WO2009149610A1 PCT/CN2008/073531 CN2008073531W WO2009149610A1 WO 2009149610 A1 WO2009149610 A1 WO 2009149610A1 CN 2008073531 W CN2008073531 W CN 2008073531W WO 2009149610 A1 WO2009149610 A1 WO 2009149610A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
function entity
credit
entity
response message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2008/073531
Other languages
French (fr)
Chinese (zh)
Inventor
孙倩
孙默
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Publication of WO2009149610A1 publication Critical patent/WO2009149610A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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
    • 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

Definitions

  • a next-generation network is a communication network that transmits packets, data, and multimedia, and can ensure quality of service and security. It integrates various access methods and enables third parties to conveniently provide applications.
  • NGN Next Generation Network
  • ITU International Telecom Union
  • the current version of the NGN Release 1 mainly supports the Public Switched Telephone Network (PSTN) / integrated services.
  • ISDN Integrated Services Digital Network
  • 1 is a schematic diagram of an overall architecture of an NGN according to the related art.
  • the overall architecture of the NGN includes two levels: a service plane and a transport roof, which are connected to other networks and managed through these two layers.
  • the transport layer transport control function includes the control functions, resource and license control functions of the network attached device, and the transport layer user attribute database function;
  • the service layer includes the service control function, the business user attribute database, and the application/business support function, and is programmed through the application.
  • An Application Programming Interface accesses an application, where the service layer and the application are connected through an Application Network Interface (abbreviated as ⁇ ), and the terminal user function is unified with the service home and the transmission home.
  • the network interface Unified Network Interface, UNI for short
  • the network interface is connected, and the other network communicates with the service layer and the transport layer through the network interface (Network Network
  • NNI Network-to-Network Interface
  • RACF Resource Admission Control Function
  • Service Control Function which initiates a resource request to the PD-FE through the Rs reference point, and can receive related notifications after the resource is reserved or released
  • Policy Decision Function Entity referred to as PD-FE
  • Policy Enforcement Function Entity referred to as PE-FE
  • PE-FE Policy Enforcement Function Entity
  • Billing Domain or BD
  • AMF Accounting Management Function
  • Rating function Rating Function , referred to as RF
  • OCF Online Charging Function
  • CCF Charging Collection Function
  • the CDRs are generated according to the collected CIR, and the generated CDRs are sent to the BD; an Inter-Provider Charging Gateway Function (IP-CGF) is used to exchange between different network providers.
  • Billing related information is used.
  • the charging methods include: offline charging and online charging.
  • the service types can be classified into: event-based services and session-based services.
  • the offline charging is performed by the OFCS, and the online charging is performed by the OCS.
  • the OFCS related functional entities are CCF and CGF, and the OCS related functional entities include OCF, AMF, RF, and CGF.
  • the event type service means that the generated billing data is one-time and has nothing to do with the duration; and the session type service refers to the generated meter.
  • Fee data is process-oriented and directly related to time.
  • an object of the present invention is to provide an online charging solution to solve the above problem.
  • an online charging method is provided.
  • the online charging method for the NGN includes: the resource authorization control entity receives the resource request, formulates a resource reservation policy according to the resource request, and sends a resource request message carrying the resource reservation policy to the transmission function entity, where
  • the transmission function entity includes a policy execution function entity and a charging trigger function entity;
  • the transmission function entity receives the resource request message, and sends a credit control request message to the online charging system according to the resource reservation policy carried in the resource request message;
  • the function entity receives the credit control response message sent by the online charging system, and sends a resource response message to the resource authorization control entity according to the credit control response message; the resource authorization control entity performs subsequent processing according to the resource request response message.
  • the method further includes a credit control process, which specifically includes: the online charging system receives the credit control request message; and the online charging system performs the credit quota reservation .
  • the method further includes: the online charging system transmitting a credit control response message with a successful quota reservation to the transmission function entity; and the transmission function entity receiving the credit control response message with a successful quota reservation And sending a response message to the resource authorization control entity that the resource reservation is successful; the transmission function entity monitors the consumption of the credit line; the service starts.
  • the method further includes: the transmission function entity resending the credit control request message to the online charging system; Re-run the credit control process.
  • the method further includes: the online charging system transmitting a credit control response message that the quota reservation fails to the transmission function entity; and the transmission function entity receiving the credit control response message that the quota reservation fails And sending a resource response message that the resource reservation fails to the resource 4 Manpower Control Entity; the resource authorization control entity interrupts the service.
  • the foregoing resource request includes at least one of the following: an initial service resource request, and a resource request whose service changes.
  • the credit control request message carries an unconsumed credit line
  • the credit control process specifically includes: the online charging system receives the credit control request message; the online charging system will not The credit line consumed is recycled and the credit limit is re-reserved.
  • the method further includes: the resource authorization control entity receiving the resource release request, deleting the resource reservation policy, and sending the resource release request message to the transmission function entity; the transmission function entity receiving the resource release request message, and according to the resource release request message Deleting a resource reservation policy, and sending a resource release response message to the resource authorization control entity; the resource authorization control entity receives the resource release response message and performs subsequent processing; and the transmission function entity sends the credit carrying the credit limit consumption status to the online charging system Controlling the request message; the online charging system receives the credit control request message, performs an account operation according to the consumption situation of the credit amount carried in the credit control request message, and sends a credit control response message to the transmission function entity.
  • a resource authorization control entity includes: a first receiving module, configured to receive a resource request; a formulating module, configured to formulate a resource reservation policy according to a resource request received by the first receiving module; and a sending module, configured to be carried
  • the resource request message of the resource reservation policy formulated by the module is sent to the transmission function entity, where the transmission function entity includes a policy execution function entity and a charging trigger function entity, and the second receiving module is configured to receive a resource request response from the transmission function entity.
  • a processing module configured to perform subsequent processing according to the resource request response message received by the second receiving module.
  • a transport function entity is further provided, the transport function entity comprising a policy enforcement function entity and a billing trigger function entity.
  • the transmission function entity according to the present invention includes: a first receiving module, configured to receive from a resource grant a resource request message of the right control entity; a first sending module, configured to send a credit control request message to the online charging system according to the resource reservation policy carried in the resource request message received by the first receiving module; Receiving a credit control response message sent by the online charging system; the second sending module is configured to send a resource response message to the resource authorization control entity according to the credit control response message received by the second receiving module.
  • the present invention receives the credit control response message sent by the OCS through the transmission function entity, and sends a resource response message to the RACF according to the credit control response message, which solves the problem that the NGN in the prior art cannot be based on the policy.
  • the problem of billing enables policy-based online charging.
  • FIG. 1 is a schematic diagram of an overall architecture of an NGN according to the related art
  • FIG. 2 is a schematic diagram of an NGN charging framework according to the related art
  • FIG. 3 is an online charging for NGN according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of an initial service online charging method for NGN according to an embodiment of the present invention
  • FIG. 5 is an online diagram of a service change for NGN according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of an online charging method for ending services of an NGN according to an embodiment of the present invention
  • FIG. 7 is a resource 4 Manpower control according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of a transmission function entity according to an embodiment of the present invention.
  • the RACF formulates a resource reservation policy according to the received resource request, and carries the resource pre-requisite.
  • the resource request message of the legacy policy is sent to the transport function entity, where the transport function entity includes a PE-FE and a Charging Trigger Function (CTF), and the transport function entity receives the resource according to the received resource request message.
  • the reservation policy sends a credit control request message to the OCS, and the transmission function entity sends a resource response message to the RACF according to the received credit control response message from the OCS, and the RACF performs subsequent processing according to the resource request response message.
  • an online charging method is provided.
  • 3 is a flow chart of an online charging method in accordance with an embodiment of the present invention.
  • Step S302 the RACF receives the resource request, formulates a resource reservation policy according to the resource request, and carries The resource request message with the resource reservation policy is sent to the transmission function entity, where the transmission function entity includes a PE-FE and a Charging Trigger Function (CTF); and in step S304, the transmission function entity receives the resource request message. And sending a credit control request message to the OCS according to the resource reservation policy carried in the resource request message; Step S306, the transmission function entity receives the credit control response message sent by the OCS, and sends a resource response message to the RACF according to the credit control response message; S308. The RACF performs subsequent processing according to the resource request response message.
  • the transmission function entity includes a PE-FE and a Charging Trigger Function (CTF); and in step S304, the transmission function entity receives the resource request message.
  • Step S306 the transmission function entity receives the credit control response message sent by the OCS, and sends a resource response message to the RACF according to the credit
  • the method further includes a credit control process, which is specific Including: OCS receives credit control request message (Credit Control Request); OCS performs credit quota reservation.
  • the foregoing method further includes: the OCS sends a credit control response message (Credit Control Answer) to the PE-FE; the PE-FE receives the credit control successfully. Answering the message, and sending a response message to the RACF that the resource reservation is successful; the CTF in the transmission function entity monitors the consumption of the credit line; the service starts.
  • the CTF in the transmission function entity monitors the credit line exhaustion, and the method further includes: the transmission function entity resending the credit control request message to the OCS; and the OCS re-executes the credit control process.
  • the foregoing method further includes: the OCS sending a credit control response message that the quota reservation fails to the transmission function entity; and the transmission function entity receives the credit control response message that the quota reservation fails, And sending a resource response message that the resource reservation fails to the RACF; the RACF interrupts the service.
  • the resource request received by the RACF may be an initial service resource request, or a resource request with a changed service.
  • the online charging method according to the embodiment of the present invention is separately described by different service resource request types.
  • 4 is a flow chart of an initial service online charging method according to an embodiment of the present invention. As shown in FIG. 4, the method includes the following steps S402 to S422: Step S402, the RACF receives an initial service resource request (Resource Initiation Request); Step S404, the RACF formulates a corresponding resource reservation policy according to the initial service resource request.
  • Step S402 the RACF receives an initial service resource request (Resource Initiation Request)
  • Step S404 the RACF formulates a corresponding resource reservation policy according to the initial service resource request.
  • Step S406 the RACF sends a service resource request message carrying the resource reservation policy to the PE-FE;
  • Step S408 the transmission function entity receives the resource reservation policy, and sends a credit control to the OCS according to the policy.
  • Step S410 after receiving the credit control request message, the OCS performs a credit quota reservation, and returns a credit control response message (Credit Control Answer) to the transmission function entity; the credit quota reservation is unsuccessful ( In case of insufficient account balance, return the credit (incorrect) credit control response message; otherwise, return the normal credit control response message; Step S412, the transmission function entity sends a resource request response message (Resource Initiation Response) to the RACF according to the credit control response message from the OCS; if the credit line is insufficient, the resource reservation fails; otherwise, returns a normal resource request response.
  • Resource Initiation Response Resource Initiation Response
  • step S414 the RACF performs processing according to the response message returned by the transport function entity: if the resource reservation is unsuccessful, the service is interrupted; otherwise, the service is normally performed; Step S416, the transport function entity starts the resource monitoring function, and is used for monitoring.
  • the above embodiment provides a flow of an online charging method for an initial service in an NGN.
  • the credit control request message carries an unconsumed credit line, and the credit control process also changes accordingly.
  • the OCS receives the credit control request message; OCS recycles the unconsumed credit line and re-deposits the credit line.
  • 5 is a flow chart of an online charging method in which a service (QoS) changes according to an embodiment of the present invention. As shown in FIG. 5, the method includes the following steps S502 to S514: Step S502, the service changes, and the RACF receives the resource tampering request when the service occurs.
  • Step S504 the RACF formulates a new resource reservation policy; Step S506, the RACF sends a resource modification request message carrying the new resource reservation policy to the PE-FE; Step S508, the transmission function entity receives the a new resource reservation policy, re-initiating a credit control request message to the OCS; the request includes an unconsumed credit line; Step S510, after receiving the credit control request message sent by the transmission function entity, the OCS recovers the unconsumed credit line, and re-checks and reserves the credit line, and the OCS returns a credit control response message to the transmission function entity; If the credit reservation is unsuccessful (the account balance is insufficient), the error control (credit shortage) credit control response message is returned; otherwise, the normal credit control response message is returned; step S512, the transmission function entity according to the OCS credit control response message, Sending a resource request response message (Resource Modification Response) to the RACF: if the account credit line is insufficient, the resource reservation failure indication; otherwise
  • the online charging method may further include the following operations: the RACF receives the resource release request, and deletes the resource pre- And leaving a resource release request message to the transport function entity; the transport function entity receives the resource release request message, and deletes the resource reservation policy according to the resource release request message, and sends a resource release response message to the RACF; the RACF receives the resource release response The message is further processed; the transmission function entity sends a credit control request message carrying the consumption condition of the credit line to the OCS; the OCS receives the credit control request message, and performs an account operation according to the consumption situation of the credit amount carried in the credit control request message, and A credit control response message is sent to the transport function entity.
  • Step S602 the RACF receives a resource release request (Resource Release Request) at the end of the service; Step S604, the RACF deletes the policy related to the service, and releases the resource.
  • Step S606 after receiving the resource release request message, the transport function entity deletes the policy related to the service, and returns a resource release response message to the RACF (Resource Release Step S608, the RACF receives the response to the resource release response message, and returns a resource release response to the application house.
  • Step S610 the transmission function entity sends a credit control request to the OCS, and returns the final resource consumption, including the consumed and not The credit line consumed; Step S612, after receiving the credit control request of the previous step, the OCS performs related operations of the account, and returns a credit control response message to the transmission function entity.
  • the above embodiment provides a flow of the online charging method at the end of the service in the NGN.
  • the above-mentioned embodiments of the present invention provide a policy-based online charging method, which can implement policy-based online charging.
  • Apparatus Embodiments Embodiment 1 According to an embodiment of the present invention, a resource authorization control entity is provided.
  • the resource 4 MANN control entity includes: a first receiving module 72, a formulating module 74, a sending module 76, and a second
  • the receiving module 78 and the processing module 70 will be described below.
  • the first receiving module 72 is configured to receive a resource request
  • the setting module 74 is connected to the first receiving module 72, configured to formulate a resource reservation policy according to the resource request received by the first receiving module 72.
  • the sending module 76 is connected to the determining module.
  • the resource request message carrying the resource reservation policy formulated by the formulating module 74 is sent to the transmission function entity, where the transmission function entity includes a policy execution function entity and a charging trigger function entity; and the second receiving module 78 uses Receiving a resource request response message from the transport function entity; the processing module 70 is connected to the second receiving module 78 for performing subsequent processing according to the resource request response message received by the second receiving module 78.
  • a resource authorization control entity in implementing a policy-based charging process is provided.
  • a transmission function entity, the transmission function entity package is further provided Including the policy enforcement function entity and the billing trigger function entity.
  • FIG. 8 is a structural block diagram of a transmission function entity according to an embodiment of the present invention.
  • the transmission function entity includes: a first receiving module 82, a first sending module 84, a second receiving module 86, and a second sending module. 88.
  • the above structure will be described below.
  • the first receiving module 82 is configured to receive a resource request message from the resource authorization control entity.
  • the first sending module 84 is connected to the first receiving module 82, and configured to use the resource carried in the resource request message received by the first receiving module 82.
  • the reservation policy sends a credit control request message to the online charging system;
  • the second receiving module 86 is configured to receive the credit control response message sent by the online charging system;
  • the second sending module 88 is connected to the second receiving module 86, and is configured to Transmitting a resource response to the resource 4 Manpower Control Entity according to the credit control response message received by the second receiving module 86;
  • a transport function entity in implementing a policy-based charging process is provided.
  • the resource authorization control entity and the transmission function entity described in the foregoing device embodiments may be used separately or in combination, for example, the resource authorization control entity and the transmission function entity are combined into an online charging system, and the specific structure thereof is The structure is the same as that described in the device embodiment, and details are not described herein again.
  • the embodiment of the present invention receives the credit control response message sent by the OCS through the transmission function entity, and sends a resource response message to the RACF according to the credit control response message, which solves the problem that the NGN in the prior art cannot be calculated based on the policy.
  • the fee issue enables policy-based online charging.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention.
  • the present invention can be variously modified and modified. Any modifications, equivalent substitutions, improvements, etc. made therein are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A method and an apparatus for online charging are disclosed, the method comprises that: a resource admission control entity receives the resource request, and drafts the resource reserve policy according to the resource request, and sends the resource request message having the resource reserve policy to the transmission function entity, in which the transmission function entity includes the policy function implement entity and the charging trigger entity; the transmission function entity receives the resource request message, and sends the credit control request message to the online charging system according to the resource reserve policy within the resource request message; the transmission function entity receives the credit control responding message sent by the online charging system, and sends the resource responding message to the resource admission control entity according to the credit control responding message; the resource admission control entity takes the following processes according to the resource request responding message.

Description

在线计费方法和装置  Online charging method and device

技术领域 本发明涉及通信领域, 具体而言, 涉及一种用于下一代网络 ( Next Generation Network, 简称为 NGN ) 的在线计费方法和装置。 背景技术 下一代网络^ &于分组传送的通信网络, 其能够提供语音、数据和多媒 体综合服务, 并能够保证服务质量和安全, 其综合了各种接入方式, 能够使 得第三方方便地提供应用。 目前, 很多国际和区域性的标准化组织都在进行 NGN相关的研究, 艮多国家的运营商也在积极地部署 NGN, 随着研究的不 断深入和设备能力的日益完善和增强, NGN的功能将越来越强大。 国际电信联盟 ( International Telecom Union, 简称为 ITU ) 是 NGN的 主要研究组织, 目前推出的 NGN第一版( Releasel )的规范主要支持公共交 换电话网络 ( Public Switched Telephone Network, 简称为 PSTN ) /综合业务 数字网 ( Integrated Services Digital Network, 简称为 ISDN )仿真业务、 多媒 体业务、 PSTN/ISDN模拟业务。 图 1是根据相关技术的 NGN总体架构的示意图, 如图 1 所示, NGN 总体架构包含两个层面: 业务层面和传送屋面,这两个层面连接至其他网络, 并通过这两个层面实现管理功能、 终端用户功能和应用。 传送层面传送控制 功能中包含网络附属设备的控制功能、 资源和许可控制功能、 以及传送层用 户属性数据库功能; 业务层面包含业务控制功能、 业务用户属性数据库和应 用 /业务支持功能, 并通过应用编程接口 ( Application Programming Interface , 简称为 API ) 访问应用, 其中, 业务层与应用之间通过应用网络接口 ( Application Network Interface , 简称为 ΑΝΙ )相连接, 终端用户功能与业务 居和传送居之间通过统一网络接口 (Unified Network Interface, 简称为 UNI ) 相连接, 其他网络与业务层和传送层之间通过网络间接口 ( Network NetworkTECHNICAL FIELD The present invention relates to the field of communications, and in particular to an online charging method and apparatus for a Next Generation Network (NGN). BACKGROUND OF THE INVENTION A next-generation network is a communication network that transmits packets, data, and multimedia, and can ensure quality of service and security. It integrates various access methods and enables third parties to conveniently provide applications. . At present, many international and regional standardization organizations are conducting NGN-related research, and operators in many countries are actively deploying NGN. With the deepening of research and the improvement and enhancement of equipment capabilities, the functions of NGN will be More and more powerful. The International Telecom Union (ITU) is the main research organization of NGN. The current version of the NGN Release 1 (Release) mainly supports the Public Switched Telephone Network (PSTN) / integrated services. Integrated Services Digital Network (ISDN) simulation service, multimedia service, PSTN/ISDN analog service. 1 is a schematic diagram of an overall architecture of an NGN according to the related art. As shown in FIG. 1, the overall architecture of the NGN includes two levels: a service plane and a transport roof, which are connected to other networks and managed through these two layers. Features, end user features and applications. The transport layer transport control function includes the control functions, resource and license control functions of the network attached device, and the transport layer user attribute database function; the service layer includes the service control function, the business user attribute database, and the application/business support function, and is programmed through the application. An Application Programming Interface (API) accesses an application, where the service layer and the application are connected through an Application Network Interface (abbreviated as ΑΝΙ), and the terminal user function is unified with the service home and the transmission home. The network interface (Unified Network Interface, UNI for short) is connected, and the other network communicates with the service layer and the transport layer through the network interface (Network Network

Interface , 简称为 NNI )相连接, " " 表示控制信号, 表示媒 体信号, " " 表示管理信号。 随着宽带的建设和 NGN业务的开展, 釆用按照流量、 时长、 内容等计 费手段对业务进行精确计费提出了更高的要求, 为此, NGN也在加紧研究计 费相关框架。 目前的 NGN第二版( Release2 ) 提出了基于策略的计费框架, 图 2是根据相关技术的 NGN计费框架的示意图, 如图 2所示, 在这个框架 中引入了资源 4曼权控制实体 ( Resource Admission Control Function, 简称为 RACF ) 作为计费策略决策实体, 可以才艮据不同的宽带业务下发不同的策略 进行精确计费,其中,参考点 Cx和 Cy还在研究中,相关功能实体说明如下: 业务控制功能 (Service Control Function, 简称为 SCF ), 通过 Rs参考 点向 PD-FE 发起资源请求, 并且在资源预留或者释放后可以接收到相关通 知; 策略决策功能实体 ( Policy Decision Function Entity , 简称为 PD-FE ) , 处理通过 Rs参考点接收 SCF和 Rw参考点接收 PE-FE的月艮务质量( Quality of Service, 简称为 QoS ) 资源请求; 策略执行功能实体( Policy Enforcement Function Entity ,简称为 PE-FE ), 执行从 PD-FE接收到的策略; 记贝长 i或 ( Billing Domain, 简称为 BD ), 用于处理用户计费数据, 产生 账单; 贝长户管理功能 ( Accounting Management Function, 简称为 AMF ), 用于 处理账户相关操作, 例如, 查询余额, 扣除金额等; 批价功能( Rating Function , 简称为 RF ) , 才艮据业务信息和 QoS相关信 息进行批价处理; 在线计费功能 (Online Charging Function, 简称为 OCF ), 实时地搜集 计费信息, 可以进行信用控制; 计费釆集功能 ( Charging Collection Function , 简称为 CCF ) , 收集用户 计费信息, 生成计费信息 i己录(Charging Information Record, 简称为 CIR ) ; 计费网关功能( Charging Gateway Function , 简称为 CGF ) , 用于才艮据收 集的 CIR产生话单, 并将产生的话单发送到 BD; 网间计费网关功能 ( Inter-Provider Charging Gateway Function, 简称为 IP-CGF ), 用于交互不同网络提供商之间的计费相关信息。 目前, 计费方式包括: 离线计费和在线计费, 业务类型可以分为: 事件 型业务和会话型业务,其中, 离线计费由 OFCS完成,在线计费由 OCS完成。 OFCS相关功能实体有 CCF、 CGF, OCS相关功能实体有 OCF、 AMF、 RF、 CGF; 事件型业务是指产生的计费数据是一次性的, 与时长无关; 而会话型 业务是指产生的计费数据是有过程的, 和时间有直接关系。 但是, 目前基于策略的计费架构没有在线计费的标准和规范, 亟待制定 和^!善。 发明内容 针对上述 NGN中无法基于策略进行计费的问题, 为此, 本发明的目的 在于提供一种在线计费方案, 以解决上述问题。 为了实现上述目的, 根据本发明, 提供了一种在线计费方法。 根据本发明的用于 NGN的在线计费方法包括: 资源授权控制实体接收 资源请求, 根据资源请求制定资源预留策略, 并将携带有资源预留策略的资 源请求消息发送到传输功能实体, 其中, 所述传输功能实体包括策略执行功 能实体和计费触发功能实体; 传输功能实体接收资源请求消息, 并根据资源 请求消息中携带的资源预留策略向在线计费系统发送信用控制请求消息; 传 输功能实体接收在线计费系统发送的信用控制应答消息, 并根据信用控制应 答消息向资源授权控制实体发送资源应答消息; 资源授权控制实体才艮据资源 请求应答消息进行后续处理。 优选地, 在传输功能实体向在线计费系统发送信用控制请求消息之后, 上述方法进一步包括信用控制流程, 其具体包括: 在线计费系统接收信用控 制请求消息; 在线计费系统进行信用额度预留。 优选地, 在信用额度预留成功的情况下, 上述方法进一步包括: 在线计 费系统向传输功能实体发送额度预留成功的信用控制应答消息; 传输功能实 体接收额度预留成功的信用控制应答消息, 并向资源授权控制实体发送资源 预留成功的应答消息; 传输功能实体监听信用额度的消耗情况; 业务开始进 行。 优选地, 在传输功能实体监听到信用额度耗尽的情况下, 上述方法还包 括: 传输功能实体重新向在线计费系统发送信用控制请求消息; 在线计费系 统重新进行信用控制流程。 优选地, 在信用额度预留失败的情况下, 上述方法进一步包括: 在线计 费系统向传输功能实体发送额度预留失败的信用控制应答消息; 传输功能实 体接收额度预留失败的信用控制应答消息, 并向资源 4曼权控制实体发送资源 预留失败的资源应答消息; 资源授权控制实体中断业务。 优选地, 上述的资源请求包括以下至少之一: 初始的业务资源请求、 业 务发生变化的资源请求。 优选地, 如果资源请求为业务发生变化的资源请求, 则信用控制请求消 息中携带有未消耗的信用额度, 信用控制流程具体包括: 在线计费系统接收 信用控制请求消息; 在线计费系统将未消耗的信用额度进行回收, 并重新进 行信用额度预留。 优选地, 上述方法还包括: 资源授权控制实体接收资源释放请求, 删除 资源预留策略, 并将资源释放请求消息发送到传输功能实体; 传输功能实体 接收资源释放请求消息, 并根据资源释放请求消息删除资源预留策略, 并向 资源授权控制实体发送资源释放应答消息; 资源授权控制实体接收资源释放 应答消息并进行后续处理; 传输功能实体向在线计费系统发送携带有信用额 度的消耗情况的信用控制请求消息; 在线计费系统接收信用控制请求消息, 根据信用控制请求消息中携带的信用额度的消耗情况进行账户操作, 并向传 输功能实体发送信用控制应答消息。 根据本发明的另一个方面, 提供了一种资源授权控制实体。 根据本发明的资源授权控制实体包括: 第一接收模块, 用于接收资源请 求; 制定模块, 用于根据第一接收模块接收的资源请求制定资源预留策略; 发送模块, 用于将携带有制定模块制定的资源预留策略的资源请求消息发送 到传输功能实体, 其中, 传输功能实体包括策略执行功能实体和计费触发功 能实体; 第二接收模块, 用于接收来自传输功能实体的资源请求应答消息; 处理模块, 用于根据第二接收模块接收的资源请求应答消息进行后续处理。 根据本发明的另一个方面, 还提供了一种传输功能实体, 该传输功能实 体包括策略执行功能实体和计费触发功能实体。 根据本发明的传输功能实体包括: 第一接收模块, 用于接收来自资源授 权控制实体的资源请求消息; 第一发送模块, 用于根据第一接收模块接收的 资源请求消息中携带的资源预留策略向在线计费系统发送信用控制请求消 息; 第二接收模块, 用于接收在线计费系统发送的信用控制应答消息; 第二 发送模块, 用于根据第二接收模块接收的信用控制应答消息向资源授权控制 实体发送资源应答消息。 借助于上述技术方案至少之一, 本发明通过传输功能实体接收 OCS发 送的信用控制应答消息, 并才艮据信用控制应答消息向 RACF发送资源应答消 息, 解决了现有技术中的 NGN无法基于策略进行计费的问题, 能够实现基 于策略的在线计费。 附图说明 此处所说明的附图用来提供对本发明的进一步理解 ,构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是根据相关技术的 NGN总体架构的示意图; 图 2是根据相关技术的 NGN计费框架的示意图; 图 3是才艮据本发明实施例的用于 NGN的在线计费方法的流程图; 图 4是才艮据本发明实施例的用于 NGN的初始业务在线计费方法的流程 图; 图 5是才艮据本发明实施例的用于 NGN的业务发生变化的在线计费方法 的 ¾ u程图; 图 6是才艮据本发明实施例的用于 NGN的结束业务在线计费方法的流程 图; 图 7是才艮据本发明实施例的资源 4曼权控制实体的结构框图; 图 8是根据本发明实施例的传输功能实体的结构框图。 具体实施方式 功能相无述 考虑到目前 NGN中无法基于策略进行计费的问题, 在本发明实施例提 供的技术方案中, RACF根据接收的资源请求制定资源预留策略, 并将携带 有资源预留策略的资源请求消息发送到传输功能实体, 其中, 传输功能实体 包括 PE-FE和计费触发功能实体 ( Charging Trigger Function , 简称为 CTF ) , 传输功能实体根据接收的资源请求消息中携带的资源预留策略向 OCS 发送 信用控制请求消息,传输功能实体根据接收的来自 OCS的信用控制应答消息 向 RACF发送资源应答消息, RACF才艮据资源请求应答消息进行后续处理。 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特 征可以相互组合。 以下结合附图对本发明的优选实施例进行说明,应当理解, 此处所描述的优选实施例仅用于说明和解释本发明, 并不用于限定本发明。 方法实施例 根据本发明的实施例, 提供了一种在线计费方法。 图 3是根据本发明实 施例的在线计费方法的流程图。 根据本发明实施例的用于 NGN的在线计费 方法, 如图 3所示, 包括如下的步骤 S302至步骤 S308: 步骤 S302, RACF接收资源请求, 根据资源请求制定资源预留策略, 并将携带有资源预留策略的资源请求消息发送到传输功能实体, 其中, 传输 功能实体包括 PE-FE和计费触发功能实体 ( Charging Trigger Function , 简称 为 CTF ); 步骤 S304, 传输功能实体接收资源请求消息, 并根据资源请求消息中 携带的资源预留策略向 OCS发送信用控制请求消息; 步骤 S306, 传输功能实体接收 OCS发送的信用控制应答消息, 并根据 信用控制应答消息向 RACF发送资源应答消息; 步骤 S308 , RACF根据资源请求应答消息进行后续处理。 通过上述实施例, 能够实现基于策略的在线计费的标准和规范。 其中, 在步骤 S304之后, 上述方法进一步包括信用控制流程, 其具体 包括: OCS接收信用控制请求消息 ( Credit Control Request ); OCS进行信用 额度预留。 一方面, 在信用额度预留成功的情况下, 上述方法进一步包括: OCS 向 PE-FE发送额度预留成功的信用控制应答消息 ( Credit Control Answer ); PE-FE接收额度预留成功的信用控制应答消息, 并向 RACF发送资源预留成 功的应答消息; 传输功能实体中的 CTF监听信用额度的消耗情况; 业务开始 进行。 并且, 在传输功能实体中的 CTF监听到信用额度耗尽, 上述方法还包 括: 传输功能实体重新向 OCS发送信用控制请求消息; OCS重新进行信用 控制流程。 另一方面, 在信用额度预留失败的情况下, 上述方法进一步包括: OCS 向传输功能实体发送额度预留失败的信用控制应答消息; 传输功能实体接收 该额度预留失败的信用控制应答消息, 并向 RACF发送资源预留失败的资源 应答消息; RACF中断业务。 其中, RACF接收的资源请求可以为初始的业务资源请求, 或者业务发 生变化的资源请求, 下面通过不同的业务资源请求类型分别描述才艮据本发明 实施例的在线计费方法。 图 4 是才艮据本发明实施例的初始业务在线计费方法的流程图。 如图 4 所示, 该方法包括如下的步骤 S402至步骤 S422: 步骤 S402, RACF接收初始业务资源请求( Resource Initiation Request ); 步骤 S404 , RACF 才艮据初始业务资源请求制定相应的资源预留策略Interface, referred to as NNI, is connected, "" indicates a control signal, indicating a media signal, and "" indicates a management signal. With the construction of broadband and the development of NGN services, the use of traffic, duration, content, etc. The fee method puts forward higher requirements for accurate billing of services. To this end, NGN is also stepping up research on billing related frameworks. The current NGN version 2 (Release 2) proposes a policy-based charging framework. FIG. 2 is a schematic diagram of an NGN charging framework according to the related art. As shown in FIG. 2, a resource 4 Manpower Control Entity is introduced in this framework. (Resource Admission Control Function, referred to as RACF) As the accounting policy decision entity, different policies can be issued according to different broadband services for accurate charging. Among them, reference points Cx and Cy are still under study, related functional entities. The description is as follows: Service Control Function (SCF), which initiates a resource request to the PD-FE through the Rs reference point, and can receive related notifications after the resource is reserved or released; Policy Decision Function Entity (referred to as PD-FE), which processes the SCF and Rw reference points through the Rs reference point to receive the Quality of Service (QoS) resource request of the PE-FE; Policy Enforcement Function Entity , referred to as PE-FE), performs the policy received from the PD-FE; Billing Domain, or BD ), used to process user billing data, generate bills; Accounting Management Function (AMF), used to process account-related operations, such as checking balances, deducting amounts, etc.; Rating function ( Rating Function , referred to as RF), is based on business information and QoS related information for price processing; Online Charging Function (OCF), real-time collection of billing information, credit control; Charging Collection Function (CCF), collects user billing information, generates Charging Information Record (CIR), and Charging Gateway Function (CGF). The CDRs are generated according to the collected CIR, and the generated CDRs are sent to the BD; an Inter-Provider Charging Gateway Function (IP-CGF) is used to exchange between different network providers. Billing related information. Currently, the charging methods include: offline charging and online charging. The service types can be classified into: event-based services and session-based services. The offline charging is performed by the OFCS, and the online charging is performed by the OCS. The OFCS related functional entities are CCF and CGF, and the OCS related functional entities include OCF, AMF, RF, and CGF. The event type service means that the generated billing data is one-time and has nothing to do with the duration; and the session type service refers to the generated meter. Fee data is process-oriented and directly related to time. However, the current policy-based charging architecture does not have online charging standards and specifications, and needs to be developed and ^! good. SUMMARY OF THE INVENTION In view of the above problem that the NGN cannot be charged based on a policy, an object of the present invention is to provide an online charging solution to solve the above problem. In order to achieve the above object, according to the present invention, an online charging method is provided. The online charging method for the NGN according to the present invention includes: the resource authorization control entity receives the resource request, formulates a resource reservation policy according to the resource request, and sends a resource request message carrying the resource reservation policy to the transmission function entity, where The transmission function entity includes a policy execution function entity and a charging trigger function entity; the transmission function entity receives the resource request message, and sends a credit control request message to the online charging system according to the resource reservation policy carried in the resource request message; The function entity receives the credit control response message sent by the online charging system, and sends a resource response message to the resource authorization control entity according to the credit control response message; the resource authorization control entity performs subsequent processing according to the resource request response message. Preferably, after the transmission function entity sends the credit control request message to the online charging system, the method further includes a credit control process, which specifically includes: the online charging system receives the credit control request message; and the online charging system performs the credit quota reservation . Preferably, in the case that the credit quota is successfully reserved, the method further includes: the online charging system transmitting a credit control response message with a successful quota reservation to the transmission function entity; and the transmission function entity receiving the credit control response message with a successful quota reservation And sending a response message to the resource authorization control entity that the resource reservation is successful; the transmission function entity monitors the consumption of the credit line; the service starts. Preferably, in the case that the transmission function entity listens to the exhaustion of the credit limit, the method further includes: the transmission function entity resending the credit control request message to the online charging system; Re-run the credit control process. Preferably, in the case that the credit quota reservation fails, the method further includes: the online charging system transmitting a credit control response message that the quota reservation fails to the transmission function entity; and the transmission function entity receiving the credit control response message that the quota reservation fails And sending a resource response message that the resource reservation fails to the resource 4 Manpower Control Entity; the resource authorization control entity interrupts the service. Preferably, the foregoing resource request includes at least one of the following: an initial service resource request, and a resource request whose service changes. Preferably, if the resource request is a resource request for the service change, the credit control request message carries an unconsumed credit line, and the credit control process specifically includes: the online charging system receives the credit control request message; the online charging system will not The credit line consumed is recycled and the credit limit is re-reserved. Preferably, the method further includes: the resource authorization control entity receiving the resource release request, deleting the resource reservation policy, and sending the resource release request message to the transmission function entity; the transmission function entity receiving the resource release request message, and according to the resource release request message Deleting a resource reservation policy, and sending a resource release response message to the resource authorization control entity; the resource authorization control entity receives the resource release response message and performs subsequent processing; and the transmission function entity sends the credit carrying the credit limit consumption status to the online charging system Controlling the request message; the online charging system receives the credit control request message, performs an account operation according to the consumption situation of the credit amount carried in the credit control request message, and sends a credit control response message to the transmission function entity. According to another aspect of the present invention, a resource authorization control entity is provided. The resource authorization control entity according to the present invention includes: a first receiving module, configured to receive a resource request; a formulating module, configured to formulate a resource reservation policy according to a resource request received by the first receiving module; and a sending module, configured to be carried The resource request message of the resource reservation policy formulated by the module is sent to the transmission function entity, where the transmission function entity includes a policy execution function entity and a charging trigger function entity, and the second receiving module is configured to receive a resource request response from the transmission function entity. a processing module, configured to perform subsequent processing according to the resource request response message received by the second receiving module. According to another aspect of the present invention, a transport function entity is further provided, the transport function entity comprising a policy enforcement function entity and a billing trigger function entity. The transmission function entity according to the present invention includes: a first receiving module, configured to receive from a resource grant a resource request message of the right control entity; a first sending module, configured to send a credit control request message to the online charging system according to the resource reservation policy carried in the resource request message received by the first receiving module; Receiving a credit control response message sent by the online charging system; the second sending module is configured to send a resource response message to the resource authorization control entity according to the credit control response message received by the second receiving module. By means of at least one of the foregoing technical solutions, the present invention receives the credit control response message sent by the OCS through the transmission function entity, and sends a resource response message to the RACF according to the credit control response message, which solves the problem that the NGN in the prior art cannot be based on the policy. The problem of billing enables policy-based online charging. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a schematic diagram of an overall architecture of an NGN according to the related art; FIG. 2 is a schematic diagram of an NGN charging framework according to the related art; FIG. 3 is an online charging for NGN according to an embodiment of the present invention. FIG. 4 is a flowchart of an initial service online charging method for NGN according to an embodiment of the present invention; FIG. 5 is an online diagram of a service change for NGN according to an embodiment of the present invention. FIG. 6 is a flowchart of an online charging method for ending services of an NGN according to an embodiment of the present invention; FIG. 7 is a resource 4 Manpower control according to an embodiment of the present invention. FIG. 8 is a structural block diagram of a transmission function entity according to an embodiment of the present invention. In the technical solution provided by the embodiment of the present invention, the RACF formulates a resource reservation policy according to the received resource request, and carries the resource pre-requisite. The resource request message of the legacy policy is sent to the transport function entity, where the transport function entity includes a PE-FE and a Charging Trigger Function (CTF), and the transport function entity receives the resource according to the received resource request message. The reservation policy sends a credit control request message to the OCS, and the transmission function entity sends a resource response message to the RACF according to the received credit control response message from the OCS, and the RACF performs subsequent processing according to the resource request response message. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The preferred embodiments of the present invention are described with reference to the accompanying drawings, and the preferred embodiments of the present invention are intended to illustrate and explain the invention. Method Embodiments According to an embodiment of the present invention, an online charging method is provided. 3 is a flow chart of an online charging method in accordance with an embodiment of the present invention. The online charging method for the NGN according to the embodiment of the present invention, as shown in FIG. 3, includes the following steps S302 to S308: Step S302, the RACF receives the resource request, formulates a resource reservation policy according to the resource request, and carries The resource request message with the resource reservation policy is sent to the transmission function entity, where the transmission function entity includes a PE-FE and a Charging Trigger Function (CTF); and in step S304, the transmission function entity receives the resource request message. And sending a credit control request message to the OCS according to the resource reservation policy carried in the resource request message; Step S306, the transmission function entity receives the credit control response message sent by the OCS, and sends a resource response message to the RACF according to the credit control response message; S308. The RACF performs subsequent processing according to the resource request response message. With the above embodiments, standards and specifications for policy-based online charging can be implemented. Wherein, after step S304, the method further includes a credit control process, which is specific Including: OCS receives credit control request message (Credit Control Request); OCS performs credit quota reservation. On the one hand, in the case that the credit quota is successfully reserved, the foregoing method further includes: the OCS sends a credit control response message (Credit Control Answer) to the PE-FE; the PE-FE receives the credit control successfully. Answering the message, and sending a response message to the RACF that the resource reservation is successful; the CTF in the transmission function entity monitors the consumption of the credit line; the service starts. Moreover, the CTF in the transmission function entity monitors the credit line exhaustion, and the method further includes: the transmission function entity resending the credit control request message to the OCS; and the OCS re-executes the credit control process. On the other hand, in the case that the credit quota reservation fails, the foregoing method further includes: the OCS sending a credit control response message that the quota reservation fails to the transmission function entity; and the transmission function entity receives the credit control response message that the quota reservation fails, And sending a resource response message that the resource reservation fails to the RACF; the RACF interrupts the service. The resource request received by the RACF may be an initial service resource request, or a resource request with a changed service. The online charging method according to the embodiment of the present invention is separately described by different service resource request types. 4 is a flow chart of an initial service online charging method according to an embodiment of the present invention. As shown in FIG. 4, the method includes the following steps S402 to S422: Step S402, the RACF receives an initial service resource request (Resource Initiation Request); Step S404, the RACF formulates a corresponding resource reservation policy according to the initial service resource request.

( Policy Decision ); 步骤 S406, RACF将携带该资源预留策略的业务资源请求消息发送到 PE-FE; 步骤 S408 , 传输功能实体接收资源预留策略, 并才艮据该策略向 OCS发 出信用控制请求消息 ( Credit Control Request ); 步骤 S410, OCS接收到信用控制请求消息后, 进行信用额度预留, 并 向传输功能实体返回信用控制应答消息 ( Credit Control Answer ); 在信用额 度预留不成功 (账户余额不足) 的情况下, 返回信用不足的 (错误 ) 信用控 制应答消息; 否则, 返回正常的信用控制应答消息; 步骤 S412,传输功能实体根据来自 OCS的信用控制应答消息,向 RACF 发送资源请求应答消息 ( Resource Initiation Response ); 果信用额度不足, 则上 资源预留失败的指示; 否则, 返回正常的资源请求应答消息; 步骤 S414, RACF根据传输功能实体返回的应答消息, 进行处理: 如 果资源预留不成功, 则中断业务进行; 否则, 正常开展业务; 步骤 S416, 传输功能实体开启资源监听功能, 用于监听信用额度的消 耗情况; 步骤 S418 , 业务开始正常进行; 步骤 S420, 如果预留的信用额度耗尽, 传输功能实体重新向 OCS发起 信用控制请求, 进行资源预留; 步骤 S422, OCS接收到传输功能实体发送的信用控制请求后, 重新进 行信用额度预留。 上述实施例给出了 NGN中初始业务的在线计费方法的流程。 此外, 如果 RACF接收的资源请求为业务发生变化的资源请求, 则信 用控制请求消息中携带有未消耗的信用额度, 并且, 信用控制流程也进行相 应变化, 具体地, OCS接收信用控制请求消息; OCS将未消耗的信用额度进 行回收, 并重新进行信用额度预留。 图 5是才艮据本发明实施例的业务(QoS )发生变化的在线计费方法的流 程图。 如图 5所示, 该方法包括以下的步骤 S502至步骤 S514: 步骤 S502 , 业务发生变化, RACF 接收业务发生时的资源爹改请求(Scheme Decision); Step S406, the RACF sends a service resource request message carrying the resource reservation policy to the PE-FE; Step S408, the transmission function entity receives the resource reservation policy, and sends a credit control to the OCS according to the policy. a request message (Credit Control Request); Step S410, after receiving the credit control request message, the OCS performs a credit quota reservation, and returns a credit control response message (Credit Control Answer) to the transmission function entity; the credit quota reservation is unsuccessful ( In case of insufficient account balance, return the credit (incorrect) credit control response message; otherwise, return the normal credit control response message; Step S412, the transmission function entity sends a resource request response message (Resource Initiation Response) to the RACF according to the credit control response message from the OCS; if the credit line is insufficient, the resource reservation fails; otherwise, returns a normal resource request response. In step S414, the RACF performs processing according to the response message returned by the transport function entity: if the resource reservation is unsuccessful, the service is interrupted; otherwise, the service is normally performed; Step S416, the transport function entity starts the resource monitoring function, and is used for monitoring. In step S418, if the reserved credit line is exhausted, the transmission function entity re-initiates a credit control request to the OCS to perform resource reservation; in step S422, the OCS receives the transmission function. After the credit control request sent by the entity, the credit quota is re-reserved. The above embodiment provides a flow of an online charging method for an initial service in an NGN. In addition, if the resource request received by the RACF is a resource request for the service change, the credit control request message carries an unconsumed credit line, and the credit control process also changes accordingly. Specifically, the OCS receives the credit control request message; OCS recycles the unconsumed credit line and re-deposits the credit line. 5 is a flow chart of an online charging method in which a service (QoS) changes according to an embodiment of the present invention. As shown in FIG. 5, the method includes the following steps S502 to S514: Step S502, the service changes, and the RACF receives the resource tampering request when the service occurs.

( Resource Modification Request ); 步骤 S504 , RACF制定新的资源预留策略; 步骤 S506, RACF将携带该新的资源预留策略的资源修改请求消息发 送到 PE-FE; 步骤 S508 , 传输功能实体接收该新的资源预留策略, 向 OCS重新发起 信用控制请求消息; 该请求中包含未消耗的信用额度; 步骤 S510, OCS接收到传输功能实体发送的信用控制请求消息后, 将 未消耗的信用额度进行回收, 并重新进行信用额度的检查和预留, OCS向传 输功能实体返回信用控制应答消息; 在信用额度预留不成功(账户余额不足 ) 的情况下, 返回错误 (信用不足) 的信用控制应答消息; 否则, 返回正常的 信用控制应答消息; 步骤 S512, 传输功能实体根据 OCS的信用控制应答消息, 向 RACF发 送资源请求的应答消息 (Resource Modification Response ): 口果信用额度不 足, 则上 资源预留失败的指示; 否则, 返回正常的应答消息; 步骤 S514, RACF才艮据 PE-FE返回的应答消息, 进行处理: 如果资源 预留不成功, 则中断业务进行; 否则, 正常开展业务, 下面的步骤 S518 至 S522与图 4中描述的步骤 S418至 S422的过程相同, 在此不再赞述。 上述实施例给出了 NGN中业务发生变化的在线计费方法的流程。 需要说明的是,在业务结束时, RACF接收的资源请求为资源释放请求, 基于上述的处理, 根据本发明实施例的在线计费方法还可以包括如下操作: RACF接收资源释放请求, 删除资源预留策略, 并将资源释放请求消息发送 到传输功能实体; 传输功能实体接收资源释放请求消息, 并根据资源释放请 求消息删除资源预留策略, 并向 RACF发送资源释放应答消息; RACF接收 资源释放应答消息并进行后续处理;传输功能实体向 OCS发送携带有信用额 度的消耗情况的信用控制请求消息; OCS接收信用控制请求消息, 根据信用 控制请求消息中携带的信用额度的消耗情况进行账户操作, 并向传输功能实 体发送信用控制应答消息。 图 6是才艮据本发明实施例的业务结束时的在线计费方法的流程图。如图 6所示, 该方法包括以下的步骤 S602至步骤 S612: 步骤 S602, RACF接收业务结束时的资源释放请求 (Resource Release Request ); 步骤 S604, RACF删除与该业务相关的策略, 将资源释放请求消息发 送到传输功能实体; 步骤 S606, 传输功能实体接收到该资源释放请求消息后, 删除与该业 务 目关的策略, 向 RACF 返回资源释放应答消息 ( Resource Release Response ); 步骤 S608 , RACF接收到该应资源释放应答消息, 并向应用屋返回资 源释放应答; 步骤 S610, 传输功能实体向 OCS发出信用控制请求, 返回最终的资源 消耗情况, 包括已经消耗和未消耗的信用额度; 步骤 S612 , OCS收到上一步骤的信用控制请求后, 进行账户的相关操 作, 向传输功能实体返回信用控制应答消息。 上述实施例给出了 NGN中业务结束时的在线计费方法的流程。 综上所述, 通过本发明上述实施例, 提供了基于策略的在线计费方法, 能够实现基于策略的在线计费。 装置实施例 实施例一 根据本发明的实施例, 提供了一种资源授权控制实体。 图 7是根据本发 明实施例的资源 4曼权控制实体的结构框图, 如图 7所示, 该资源 4曼权控制实 体包括: 第一接收模块 72、 制定模块 74、 发送模块 76、 第二接收模块 78、 处理模块 70 , 下面将对上述结构进行描述。 第一接收模块 72, 用于接收资源请求; 制定模块 74, 连接至第一接收 模块 72 , 用于根据第一接收模块 72接收的资源请求制定资源预留策略; 发 送模块 76, 连接至制定模块 74, 用于将携带有制定模块 74制定的资源预留 策略的资源请求消息发送到传输功能实体, 其中, 传输功能实体包括策略执 行功能实体和计费触发功能实体; 第二接收模块 78 , 用于接收来自传输功能 实体的资源请求应答消息; 处理模块 70, 连接至第二接收模块 78 , 用于根 据第二接收模块 78接收的资源请求应答消息进行后续处理。 通过该实施例,提供了实现基于策略进行计费过程中的资源授权控制实 体。 实施例二 根据本发明的实施例, 还提供了一种传输功能实体, 该传输功能实体包 括策略执行功能实体和计费触发功能实体。 图 8是根据本发明实施例的传输 功能实体的结构框图,如图 8所示,该传输功能实体包括: 第一接收模块 82、 第一发送模块 84、 第二接收模块 86、 第二发送模块 88 , 下面将对上述结构 进行描述。 第一接收模块 82, 用于接收来自资源授权控制实体的资源请求消息; 第一发送模块 84 , 连接至第一接收模块 82 , 用于根据第一接收模块 82接收 的资源请求消息中携带的资源预留策略向在线计费系统发送信用控制请求消 息; 第二接收模块 86, 用于接收在线计费系统发送的信用控制应答消息; 第 二发送模块 88 , 连接至第二接收模块 86 , 用于根据第二接收模块 86接收的 信用控制应答消息向资源 4曼权控制实体发送资源应答;肖 , 。 通过该实施例, 提供了实现基于策略进行计费过程中的传输功能实体。 需要说明的是,上述装置实施例中描述的资源授权控制实体和传输功能 实体可以单独使用, 也可以结合使用, 例如, 将资源授权控制实体和传输功 能实体组合为在线计费系统, 其具体结构与装置实施例中描述的结构相同, 在此不再赘述。 综上所述, 本发明实施例通过传输功能实体接收 OCS发送的信用控制 应答消息, 并才艮据信用控制应答消息向 RACF发送资源应答消息, 解决了现 有技术中的 NGN无法基于策略进行计费的问题, 能够实现基于策略的在线 计费。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或 者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制 作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软 件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变^^ 凡在本发明的^^申和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 (Remediate Modification Request); Step S504, the RACF formulates a new resource reservation policy; Step S506, the RACF sends a resource modification request message carrying the new resource reservation policy to the PE-FE; Step S508, the transmission function entity receives the a new resource reservation policy, re-initiating a credit control request message to the OCS; the request includes an unconsumed credit line; Step S510, after receiving the credit control request message sent by the transmission function entity, the OCS recovers the unconsumed credit line, and re-checks and reserves the credit line, and the OCS returns a credit control response message to the transmission function entity; If the credit reservation is unsuccessful (the account balance is insufficient), the error control (credit shortage) credit control response message is returned; otherwise, the normal credit control response message is returned; step S512, the transmission function entity according to the OCS credit control response message, Sending a resource request response message (Resource Modification Response) to the RACF: if the account credit line is insufficient, the resource reservation failure indication; otherwise, returning a normal response message; Step S514, the RACF returns the response according to the PE-FE The message is processed: if the resource reservation is unsuccessful, the service is interrupted; otherwise, the service is normally performed, and the following steps S518 to S522 are the same as the processes of steps S418 to S422 described in FIG. 4, and are not mentioned here. The above embodiment provides a flow of an online charging method in which a service changes in an NGN. It should be noted that, when the service ends, the resource request received by the RACF is a resource release request, and the online charging method according to the embodiment of the present invention may further include the following operations: the RACF receives the resource release request, and deletes the resource pre- And leaving a resource release request message to the transport function entity; the transport function entity receives the resource release request message, and deletes the resource reservation policy according to the resource release request message, and sends a resource release response message to the RACF; the RACF receives the resource release response The message is further processed; the transmission function entity sends a credit control request message carrying the consumption condition of the credit line to the OCS; the OCS receives the credit control request message, and performs an account operation according to the consumption situation of the credit amount carried in the credit control request message, and A credit control response message is sent to the transport function entity. 6 is a flow chart of an online charging method at the end of a service according to an embodiment of the present invention. As shown in FIG. 6, the method includes the following steps S602 to S612: Step S602, the RACF receives a resource release request (Resource Release Request) at the end of the service; Step S604, the RACF deletes the policy related to the service, and releases the resource. Sending a request message to the transport function entity; Step S606, after receiving the resource release request message, the transport function entity deletes the policy related to the service, and returns a resource release response message to the RACF (Resource Release Step S608, the RACF receives the response to the resource release response message, and returns a resource release response to the application house. Step S610, the transmission function entity sends a credit control request to the OCS, and returns the final resource consumption, including the consumed and not The credit line consumed; Step S612, after receiving the credit control request of the previous step, the OCS performs related operations of the account, and returns a credit control response message to the transmission function entity. The above embodiment provides a flow of the online charging method at the end of the service in the NGN. In summary, the above-mentioned embodiments of the present invention provide a policy-based online charging method, which can implement policy-based online charging. Apparatus Embodiments Embodiment 1 According to an embodiment of the present invention, a resource authorization control entity is provided. FIG. 7 is a structural block diagram of a resource 4 MANN control entity according to an embodiment of the present invention. As shown in FIG. 7, the resource 4 MANN control entity includes: a first receiving module 72, a formulating module 74, a sending module 76, and a second The receiving module 78 and the processing module 70 will be described below. The first receiving module 72 is configured to receive a resource request, and the setting module 74 is connected to the first receiving module 72, configured to formulate a resource reservation policy according to the resource request received by the first receiving module 72. The sending module 76 is connected to the determining module. The resource request message carrying the resource reservation policy formulated by the formulating module 74 is sent to the transmission function entity, where the transmission function entity includes a policy execution function entity and a charging trigger function entity; and the second receiving module 78 uses Receiving a resource request response message from the transport function entity; the processing module 70 is connected to the second receiving module 78 for performing subsequent processing according to the resource request response message received by the second receiving module 78. Through this embodiment, a resource authorization control entity in implementing a policy-based charging process is provided. Embodiment 2 According to an embodiment of the present invention, a transmission function entity, the transmission function entity package is further provided Including the policy enforcement function entity and the billing trigger function entity. FIG. 8 is a structural block diagram of a transmission function entity according to an embodiment of the present invention. As shown in FIG. 8, the transmission function entity includes: a first receiving module 82, a first sending module 84, a second receiving module 86, and a second sending module. 88. The above structure will be described below. The first receiving module 82 is configured to receive a resource request message from the resource authorization control entity. The first sending module 84 is connected to the first receiving module 82, and configured to use the resource carried in the resource request message received by the first receiving module 82. The reservation policy sends a credit control request message to the online charging system; the second receiving module 86 is configured to receive the credit control response message sent by the online charging system; the second sending module 88 is connected to the second receiving module 86, and is configured to Transmitting a resource response to the resource 4 Manpower Control Entity according to the credit control response message received by the second receiving module 86; With this embodiment, a transport function entity in implementing a policy-based charging process is provided. It should be noted that the resource authorization control entity and the transmission function entity described in the foregoing device embodiments may be used separately or in combination, for example, the resource authorization control entity and the transmission function entity are combined into an online charging system, and the specific structure thereof is The structure is the same as that described in the device embodiment, and details are not described herein again. In summary, the embodiment of the present invention receives the credit control response message sent by the OCS through the transmission function entity, and sends a resource response message to the RACF according to the credit control response message, which solves the problem that the NGN in the prior art cannot be calculated based on the policy. The fee issue enables policy-based online charging. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. For those skilled in the art, the present invention can be variously modified and modified. Any modifications, equivalent substitutions, improvements, etc. made therein are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 一种在线计费方法, 其特征在于, 包括: 资源授权控制实体接收资源请求,根据所述资源请求制定资源预留 策略, 并将携带有所述资源预留策略的资源请求消息发送到传输功能实 体, 其中, 所述传输功能实体包括策略执行功能实体和计费触发功能实 体;  The invention provides an online charging method, comprising: a resource authorization control entity receiving a resource request, formulating a resource reservation policy according to the resource request, and sending a resource request message carrying the resource reservation policy a transmission function entity, where the transmission function entity includes a policy execution function entity and a charging trigger function entity; 所述传输功能实体接收所述资源请求消息,并才艮据所述资源请求消 息中携带的所述资源预留策略向在线计费系统发送信用控制请求消息; 所述传输功能实体接收所述在线计费系统发送的信用控制应答消 息, 并根据所述信用控制应答消息向所述资源授权控制实体发送资源应 答消息;  The transmission function entity receives the resource request message, and sends a credit control request message to the online charging system according to the resource reservation policy carried in the resource request message; the transmission function entity receives the online a credit control response message sent by the charging system, and sending a resource response message to the resource authorization control entity according to the credit control response message; 所述资源 4曼权控制实体才艮据所述资源请求应答消息进行后续处理。 根据权利要求 1所述的方法, 其特征在于, 在所述传输功能实体向所述 在线计费系统发送信用控制请求消息之后, 所述方法进一步包括信用控 制流程, 其具体包括:  The resource 4 Manpower Control Entity performs subsequent processing according to the resource request response message. The method according to claim 1, wherein after the transmitting function entity sends a credit control request message to the online charging system, the method further includes a credit control process, which specifically includes: 所述在线计费系统接收所述信用控制请求消息;  Receiving, by the online charging system, the credit control request message; 所述在线计费系统进行信用额度预留。 根据权利要求 2所述的方法, 其特征在于, 在所述信用额度预留成功的 情况下, 所述方法进一步包括:  The online charging system performs credit quota reservation. The method according to claim 2, wherein, in the case that the credit reservation is successful, the method further comprises: 所述在线计费系统向所述传输功能实体发送额度预留成功的信用 控制应答消息;  The online charging system sends a credit control response message with a successful reservation to the transmission function entity; 所述传输功能实体接收所述额度预留成功的信用控制应答消息,并 向所述资源授权控制实体发送资源预留成功的应答消息;  Receiving, by the transmission function entity, the credit control response message that the quota reservation is successful, and sending a response message to the resource authorization control entity that the resource reservation is successful; 所述传输功能实体监听信用额度的消耗情况;  The transmission function entity monitors the consumption of the credit line; 业务开始进行。 The business started. 4. 根据权利要求 3所述的方法, 其特征在于, 在所述传输功能实体监听到 所述信用额度耗尽的情况下, 所述方法还包括: The method according to claim 3, wherein, in a case that the transmission function entity monitors that the credit line is exhausted, the method further includes: 所述传输功能实体重新向所述在线计费系统发送所述信用控制请 求消息;  Transmitting the function entity to resend the credit control request message to the online charging system; 所述在线计费系统重新进行所述信用控制流程。  The online charging system re-executes the credit control process. 5. 才艮据权利要求 2所述的方法, 其特征在于, 在所述信用额度预留失败的 情况下, 所述方法进一步包括: 5. The method according to claim 2, wherein, in the case that the credit limit reservation fails, the method further comprises: 所述在线计费系统向所述传输功能实体发送额度预留失败的信用 控制应答消息;  The online charging system sends a credit control response message that the quota reservation fails to the transmission function entity; 所述传输功能实体接收所述额度预留失败的信用控制应答消息,并 向所述资源授权控制实体发送资源预留失败的资源应答消息;  Receiving, by the transmission function entity, the credit control response message that the quota reservation fails, and sending a resource response message that the resource reservation fails to the resource authorization control entity; 所述资源 4曼权控制实体中断业务。  The resource 4 Manpower Control Entity interrupts the service. 6. 根据权利要求 1所述的方法, 其特征在于, 所述资源请求包括以下至少 之一: 初始的业务资源请求、 业务发生变化的资源请求。 The method according to claim 1, wherein the resource request comprises at least one of the following: an initial service resource request, and a resource request with a changed service. 7. 根据权利要求 6所述的方法, 其特征在于, 如果所述资源请求为所述业 务发生变化的资源请求, 则所述信用控制请求消息中携带有未消耗的信 用额度, 所述信用控制流程具体包括: The method according to claim 6, wherein if the resource request is a resource request for the service change, the credit control request message carries an unconsumed credit line, and the credit control The process specifically includes: 所述在线计费系统接收所述信用控制请求消息;  Receiving, by the online charging system, the credit control request message; 所述在线计费系统将所述未消耗的信用额度进行回收,并重新进行 信用额度预留。  The online charging system recovers the unconsumed credit line and re-books the credit line. 8. 根据权利要求 1至 7中任一项所述的方法, 其特征在于, 还包括: 所述资源授权控制实体接收资源释放请求, 删除所述资源预留策 略, 并将资源释放请求消息发送到所述传输功能实体; The method according to any one of claims 1 to 7, further comprising: the resource authorization control entity receiving a resource release request, deleting the resource reservation policy, and sending a resource release request message To the transmission function entity; 所述传输功能实体接收所述资源释放请求消息,并根据所述资源释 放请求消息删除所述资源预留策略, 并向所述资源 4曼权控制实体发送资 源释放应答消息;  The transmission function entity receives the resource release request message, and deletes the resource reservation policy according to the resource release request message, and sends a resource release response message to the resource 4 Manpower control entity; 所述资源 4曼权控制实体接收所述资源释放应答消息并进行后续处 理; 所述传输功能实体向所述在线计费系统发送携带有信用额度的消 耗情况的信用控制请求消息; The resource 4 Manpower Control Entity receives the resource release response message and performs subsequent processing; Transmitting, by the transmission function entity, a credit control request message carrying a consumption situation of a credit line to the online charging system; 所述在线计费系统接收所述信用控制请求消息,根据所述信用控制 请求消息中携带的信用额度的消耗情况进行账户操作, 并向所述传输功 能实体发送信用控制应答消息。  The online charging system receives the credit control request message, performs an account operation according to the consumption situation of the credit limit carried in the credit control request message, and sends a credit control response message to the transmission function entity. 9. 一种资源 4曼权控制实体, 其特征在于, 包括: 9. A resource 4 Manpower control entity, characterized in that it comprises: 第一接收模块, 用于接收资源请求;  a first receiving module, configured to receive a resource request; 制定模块,用于根据所述第一接收模块接收的所述资源请求制定资 源预留策略;  a module, configured to formulate a resource reservation policy according to the resource request received by the first receiving module; 发送模块,用于将携带有所述制定模块制定的所述资源预留策略的 资源请求消息发送到传输功能实体, 其中, 所述传输功能实体包括策略 执行功能实体和计费触发功能实体;  a sending module, configured to send, to the transport function entity, a resource request message that carries the resource reservation policy that is formulated by the formulating module, where the transport function entity includes a policy enforcement function entity and a charging trigger function entity; 第二接收模块,用于接收来自所述传输功能实体的资源请求应答消 息;  a second receiving module, configured to receive a resource request response message from the transport function entity; 处理模块,用于根据所述第二接收模块接收的所述资源请求应答消 息进行后续处理。  And a processing module, configured to perform subsequent processing according to the resource request response message received by the second receiving module. 10. 一种传输功能实体, 所述传输功能实体包括策略执行功能实体和计费触 发功能实体, 其特征在于, 所述传输功能实体包括: A transmission function entity, the transmission function entity includes a policy enforcement function entity and a charging trigger function entity, wherein the transmission function entity comprises: 第一接收模块, 用于接收来自资源授权控制实体的资源请求消息; 第一发送模块,用于根据所述第一接收模块接收的所述资源请求消 息中携带的所述资源预留策略向在线计费系统发送信用控制请求消息; 第二接收模块,用于接收所述在线计费系统发送的信用控制应答消 息;  a first receiving module, configured to receive a resource request message from the resource authorization control entity, where the first sending module is configured to go online according to the resource reservation policy carried in the resource request message received by the first receiving module The charging system sends a credit control request message; the second receiving module is configured to receive the credit control response message sent by the online charging system; 第二发送模块,用于根据所述第二接收模块接收的所述信用控制应 答消息向所述资源 4曼权控制实体发送资源应答消息。  And a second sending module, configured to send a resource response message to the resource 4 Manpower Control Entity according to the credit control response message received by the second receiving module.
PCT/CN2008/073531 2008-06-11 2008-12-16 Method and apparatus for online charging Ceased WO2009149610A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008101096928A CN101316175B (en) 2008-06-11 2008-06-11 On-line charging method
CN200810109692.8 2008-06-11

Publications (1)

Publication Number Publication Date
WO2009149610A1 true WO2009149610A1 (en) 2009-12-17

Family

ID=40107032

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/073531 Ceased WO2009149610A1 (en) 2008-06-11 2008-12-16 Method and apparatus for online charging

Country Status (2)

Country Link
CN (1) CN101316175B (en)
WO (1) WO2009149610A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316175B (en) * 2008-06-11 2011-03-02 中兴通讯股份有限公司 On-line charging method
CN101959166B (en) * 2009-07-14 2014-08-13 中兴通讯股份有限公司 Method and system for controlling online charging
CN102137373B (en) * 2010-08-16 2014-03-12 华为技术有限公司 QoS (Quality of Service) control method, device and system based on charging system
CN106550162B (en) * 2012-08-08 2019-07-23 华为技术有限公司 Charging control method, charging triggering device, and online charging system
CN110572270B (en) * 2016-09-14 2020-08-21 华为技术有限公司 Charging method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003032657A1 (en) * 2001-10-08 2003-04-17 Telefonaktiebolaget Lm Ericsson (Publ) System and method for charging in a communications network and a communications network charging server
CN1773922A (en) * 2004-11-10 2006-05-17 华为技术有限公司 Processing method and system based on group data stream charge
CN101316175A (en) * 2008-06-11 2008-12-03 中兴通讯股份有限公司 Online Billing Method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1327652C (en) * 2004-11-08 2007-07-18 华为技术有限公司 On-line charge processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003032657A1 (en) * 2001-10-08 2003-04-17 Telefonaktiebolaget Lm Ericsson (Publ) System and method for charging in a communications network and a communications network charging server
CN1773922A (en) * 2004-11-10 2006-05-17 华为技术有限公司 Processing method and system based on group data stream charge
CN101316175A (en) * 2008-06-11 2008-12-03 中兴通讯股份有限公司 Online Billing Method

Also Published As

Publication number Publication date
CN101316175B (en) 2011-03-02
CN101316175A (en) 2008-12-03

Similar Documents

Publication Publication Date Title
EP1871084A1 (en) Method and system for third party charging
CN102144372A (en) Online charging correlation in IMS networks
WO2013139230A1 (en) Mtc communication charging method and system, and message processing entity
CN101277203A (en) Implementation of rate timer control in beforehand bookkeeping unit to support on-line and off-line charge
CN100389561C (en) Billing network, billing agent device and billing method
CN103843374A (en) Integrated policy and billing control based on SY
WO2012051913A1 (en) Method and system for supporting multiple time zones in ims and charging method and system
CN101277202B (en) Charging method and system
CN100450017C (en) Method and system for recording network capabilities used by applications
CN107079043A (en) CDF for offline charging is tracked
WO2009149610A1 (en) Method and apparatus for online charging
CN102118724A (en) Charging method as well as charging device and system for packages
WO2008043307A1 (en) A method, device and systerm for assciation charging
WO2012000213A1 (en) Method and system for pre-paid charging and multimedia message service center
CN114979999B (en) Policy charging method, device, equipment and medium based on fusion networking
CN101330392B (en) Method for interaction of tactics execution function entity and charging triggering function entity
CN105847284A (en) Communication service processing method, device and server
WO2011047568A1 (en) Method and device for sending charging data recording
WO2007082446A1 (en) A method and system for offline charging
CN101262535B (en) Call billing method, system, device and equipment
WO2006050669A1 (en) A process method for charging based on the packet data flow
CN101296097B (en) Off-line charging method based on conversation
WO2008046330A1 (en) Method, system and switch for correlating call tickets
CN101771984A (en) Method, device and system for charging data service in real time
WO2016070595A1 (en) Method, tne, fcs, bd entity and system for performing charging

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: 08874588

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08874588

Country of ref document: EP

Kind code of ref document: A1