WO2014110719A1 - 计费的方法及设备 - Google Patents

计费的方法及设备 Download PDF

Info

Publication number
WO2014110719A1
WO2014110719A1 PCT/CN2013/070492 CN2013070492W WO2014110719A1 WO 2014110719 A1 WO2014110719 A1 WO 2014110719A1 CN 2013070492 W CN2013070492 W CN 2013070492W WO 2014110719 A1 WO2014110719 A1 WO 2014110719A1
Authority
WO
WIPO (PCT)
Prior art keywords
identifier
entity
charging
carried
tdf
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/CN2013/070492
Other languages
English (en)
French (fr)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to JP2015551953A priority Critical patent/JP6201270B2/ja
Priority to CN201380000184.5A priority patent/CN104221418B/zh
Priority to AU2013374126A priority patent/AU2013374126B2/en
Priority to ES13871961.2T priority patent/ES2647476T3/es
Priority to PCT/CN2013/070492 priority patent/WO2014110719A1/zh
Priority to EP13871961.2A priority patent/EP2947906B1/en
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to EP17182923.7A priority patent/EP3328113B1/en
Priority to KR1020157021576A priority patent/KR101806300B1/ko
Publication of WO2014110719A1 publication Critical patent/WO2014110719A1/zh
Anticipated expiration legal-status Critical
Priority to US14/799,751 priority patent/US9538017B2/en
Priority to US15/395,151 priority patent/US9769326B2/en
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
    • 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 specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
    • H04L12/1485Tariff-related aspects
    • 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/61Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on the service used
    • 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/64On-line charging system [OCS]
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Definitions

  • the present invention relates to the field of communications, and more particularly, to a method for charging, a Traffic Detection Function (TDF) entity, a Policy and Charging Enforcement Function (PCEF) entity, a charging system, Policy and Charging Rules Function (PCRF) entity and system.
  • TDF Traffic Detection Function
  • PCEF Policy and Charging Enforcement Function
  • PCRF Policy and Charging Rules Function
  • the application of billing and control is an important technical means to improve the accurate accounting and control of the operator's network traffic, improve the user experience, and increase the value of unit traffic.
  • Current billing methods include: online billing and offline billing.
  • the online charging is mainly: credit authorization (that is, the number of resources that the service can use) before the user uses the service, and the network element controls the use of the service according to the credit authorization of the Online Charging System (OCS), in the credit
  • OCS Online Charging System
  • Policy and Charging Control is a set of policy and charging control mechanisms defined by the 3rd Generation Partnership Project (3GPP).
  • the PCRF entity performs Policy Decision, generates a charging policy and a control policy for the data flow of the PCEF entity, and applies an application detection and application control policy generated by the TDF entity. Then, the PCRF entity is installed to the TDF entity.
  • CCR credit control request
  • OCS performs quota authorization and returns a credit authorization to the PCEF entity.
  • the application charging is based on the quintuple information of the Internet Protocol (IP) packet
  • the quintuple information includes: the source IP address of the IP packet, and the source port number. Port, destination IP address, destination port number port, and protocol information.
  • IP Internet Protocol
  • the service provider is a large number of providers from the Internet, the number is large, and it is dynamically increasing and decreasing at all times.
  • the operator cannot provide IP layer identification rules for each service.
  • some different OTTs use IP is the same, for example, different applications of the same provider through the server
  • the internal paths are differentiated, and the external IPs are the same, so that the application cannot be identified only through the IP layer, so that the operator cannot identify the application-based charging of the OTT application through the IP layer. Summary of the invention
  • the embodiments of the present invention provide a charging method, a TDF entity, a PCEF entity, a charging system, a PCRF entity, and a system, which can implement charging for an application and charging for a data stream at the same time.
  • the first aspect provides a charging method, including: acquiring, by a TDF entity, an association identifier of a data flow of an application carried by the TDF entity; the TDF entity sending first charging information to the charging system, where the first accounting
  • the fee information carries the association identifier of the data stream of the application carried by the TDF entity, so that the charging system associates the association identifier of the data stream of the application carried by the TDF entity with the association identifier of the data stream carried by the PCEF entity.
  • the first charging information and the second charging information sent by the PCEF entity to the charging system, where the second charging information carries an associated identifier of the data flow carried by the PCEF entity.
  • the TDF entity sends the first charging information to the charging system, where: the TDF entity sends the first meter to the charging system when the reporting trigger condition of the TDF entity is met.
  • the fee information is sent to the PCEF entity to send an indication message indicating that the PCEF entity sends the second charging information to the charging system according to the association identifier of the data flow of the application carried by the TDF entity.
  • the method further includes: the TDF entity receiving the association of the data flow carried by the charging system according to the PCEF entity And sending, by the TDF entity, the indication message that the TDF entity sends the first charging information; the TDF entity sending the first charging information to the charging system, including: the TDF entity sending the first to the charging system in response to the indication message Billing information.
  • the indication message carries an association identifier of the data flow carried by the PCEF entity; the TDF entity responds to the indication message to the accounting
  • the system sends the first charging information, including: the TDF entity sends the charging information of the data stream of the application carried by the TDF entity corresponding to the associated identifier of the data stream carried by the PCEF entity to the charging system.
  • the TDF entity acquires an application carried by the TDF entity The associated identifier of the data stream, including: the TDF entity receives the PCRF entity The charging policy of the application, the charging policy of the application includes the associated identifier of the data stream of the application carried by the TDF entity, and the associated identifier of the data stream of the application carried by the TDF entity is obtained according to the charging policy of the application.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where The first identifier indicates the bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates the rate group corresponding to the data stream on the PCEF entity; or the associated identifier of the data stream of the application carried by the TDF entity
  • the third identifier is included, and the associated identifier of the data flow carried by the PCEF entity includes the third identifier, where the third identifier indicates a payload of the data flow on the PCEF entity and a corresponding rate group.
  • the charging policy of the application includes an association identifier of a data flow of all applications on the TDF entity, and the TDF entity Correlation identifiers of the data flows of all the applications are associated with the flow template; the TDF entity obtains the association identifier of the data flow of the application carried by the TDF entity according to the charging policy of the application, including: the TDF entity is based on all the TDF entities The associated identifier of the data stream of the application, and the flow template corresponding to the associated identifier of the data flow of all the applications on the TDF entity, and the associated identifier of the data flow of the application carried by the TDF entity.
  • the association of the data flows of the application carried by the TDF entity includes a fourth identifier and a fifth identifier, where the associated identifier of the data stream carried by the PCEF entity includes the fourth identifier and the fifth identifier, where the fourth identifier indicates that the data stream belongs to the PCEF entity And the corresponding rate group, the fifth identifier is used to identify the data stream of the application; the TDF entity obtains the association identifier of the data stream of the application carried by the TDF entity, including: the TDF entity receives the PCEF entity to send The data packet carrying the fourth identifier is obtained according to the data packet carrying the fourth identifier sent by the PCEF entity, and the fourth identifier of the data stream of the application carried by the TDF entity is obtained.
  • the TDF entity determines the application carried by the TDF entity.
  • the fifth identifier of the data stream further includes: the TDF entity sending the data packet carrying the fifth identifier to the PCEF entity, so as to facilitate the PCEF And obtaining, by the data packet carrying the fifth identifier, a fifth identifier of the data flow carried by the PCEF entity.
  • the TDF entity sends the first meter to the charging system Before the fee information, the method further includes: the TDF entity sending the first to the charging system a quota application request, the first quota application request carries an association identifier of the data stream of the application carried by the TDF entity, and an application rate group, so that the billing system allocates the first quota according to the application rate group; The TDF entity receives the first quota sent by the charging system.
  • a second aspect provides a charging method, including: a PCEF entity acquiring an association identifier of a data flow carried by the PCEF entity; the PCEF entity sending second charging information to the charging system, the second charging information Carrying the association identifier of the data flow carried by the PCEF entity, so that the charging system processes the association identifier according to the data flow carried by the PCEF entity and the association identifier of the data flow of the application carried by the flow detection function TDF entity.
  • the PCEF entity sends the second charging information to the charging system, where: the PCEF entity sends the second meter to the charging system when the reporting trigger condition of the PCEF entity is met.
  • the fee information is sent to the TDF entity to send an indication message indicating that the TDF entity sends the first charging information to the charging system according to the association identifier of the data flow carried by the PCEF entity.
  • the method before the sending, by the PCEF entity, the second charging information to the charging system, the method further includes: receiving, by the PCEF entity, the data flow of the application carried by the charging system according to the TDF entity The indication message sent by the association identifier indicating that the PCEF entity sends the second charging information; the sending, by the PCEF entity, the second charging information to the charging system, comprising: sending, by the PCEF entity, the charging message to the charging system Second billing information.
  • the indication message carries an association identifier of a data flow of an application carried by the TDF entity; the PCEF entity responds to the indication message to the The charging system sends the second charging information, the method includes: the PCEF entity sending, to the charging system, charging information of the data flow carried by the PCEF entity corresponding to the associated identifier of the data flow of the application carried by the TDF entity .
  • the data flow association of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where the first identifier indicates that the data stream belongs to the PCEF entity
  • the bearer, the second identifier indicates a rate group corresponding to the data flow on the PCEF entity; the PCEF entity acquires the association of the data flow carried by the PCEF entity
  • the identifier includes: a charging policy that is sent by the PCEF entity to the data stream sent by the PCRF entity, where the charging policy includes a first identifier and a second identifier of the data stream carried by the PCEF entity, according to the data flow
  • the fee policy acquires the first identifier and the second identifier of the data flow carried by the PCEF entity.
  • the data flow association of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where the first identifier indicates that the data stream belongs to the PCEF entity
  • the bearer, the second identifier indicates a corresponding rate group of the data stream on the PCEF entity
  • the PCEF entity obtains the association identifier of the data stream carried by the PCEF entity, including: the PCEF entity determines that the PCEF entity is a first identifier of the data stream;
  • the PCEF entity receives a charging policy of the data stream sent by the PCRF entity, where the charging policy of the data stream includes a second identifier of the data stream carried by the PCEF entity, according to the data stream
  • the fee policy acquires the second identifier of the data flow carried by the PCEF entity;
  • the data flow association of the application carried by the TDF entity includes a third identifier
  • the associated identifier of the data stream carried by the PCEF entity includes a third identifier, where the third identifier indicates a bearer to which the data stream belongs on the PCEF entity and a corresponding rate group; the PCEF entity obtains the identifier
  • the association identifier of the data flow carried by the PCEF entity including: the charging policy of the data flow sent by the PCRF entity, the charging policy of the data flow includes the third identifier of the data flow carried by the PCEF entity, according to The charging policy of the data stream acquires a third identifier of the data stream carried by the PCEF entity.
  • the data flow association of the application carried by the TDF entity includes a fourth identifier and a fifth identifier, where the associated identifier of the data stream carried by the PCEF entity includes the fourth identifier and the fifth identifier, where the fourth identifier indicates that the data stream belongs to the PCEF entity And the corresponding rate group, the fifth identifier is used to identify the data stream of the application; the PCEF entity obtains the association identifier of the data stream carried by the PCEF entity, and the method includes: determining, by the PCEF entity, the PCEF entity The fourth identifier of the data stream; the PCEF entity receives the data packet that is sent by the TDF entity and carries the fifth identifier, according to the TDF The data packet carrying the fifth identifier sent by the entity, and the fifth identifier of the data stream carried by the PCEF entity is obtained.
  • the method further includes: sending, by the PCEF entity, the data packet carrying the fourth identifier to the TDF entity, so as to facilitate The TDF entity acquires a fourth identifier of the data stream of the application carried by the TDF entity according to the data packet carrying the fourth identifier.
  • the PCEF entity sends the second meter to the charging system Before the fee information, the method further includes: the PCEF entity sending a second quota application request to the charging system, where the second quota application request carries the association identifier of the data flow carried by the PCEF entity and a rate group of the data flow, So that the billing system allocates a second quota according to the rate group of the data stream; the PCEF entity receives the second quota sent by the billing system.
  • a third aspect provides a charging method, including: receiving, by a charging system, first charging information sent by a TDF entity, where the first charging information carries an association identifier of a data flow of an application carried by the TDF entity;
  • the charging system receives the second charging information sent by the PCEF entity, where the second charging information carries the associated identifier of the data flow carried by the PCEF entity; the charging system is based on the data flow of the application carried by the TDF entity.
  • the association identifier and the association identifier of the data flow carried by the PCEF entity are associated with the first charging information and the second charging information.
  • the charging system receives the first charging information sent by the TDF entity, where the charging system receives the charging of the TDF entity when the reporting trigger condition of the TDF entity is satisfied.
  • the system sends the first charging information.
  • the method further includes: the charging system according to the associated identifier of the data flow of the application carried by the TDF entity
  • the PCEF entity sends an indication message indicating that the PCEF entity sends the second charging information; the charging system receives the second charging information sent by the PCEF entity, where the charging system receives the PCEF entity sending the response message in response to the indication message.
  • the second billing information is included in a first billing information.
  • the indication message carries an association identifier of a data flow of an application carried by the TDF entity; the charging system receives the PCEF entity The second charging information that should be sent by the message, including: the charging system receiving the data flow carried by the PCEF entity corresponding to the association identifier of the data flow of the application carried by the TDF entity Fee information.
  • the charging system receives the second charging information sent by the PCEF entity, where: the charging system receives the top trigger bar of the PCEF entity in the PCEF entity.
  • the second charging information is sent to the charging system; before the charging system receives the first charging information sent by the TDF entity, the method further includes: the charging system is carried according to the PCEF entity
  • the associated identifier of the data stream sends an indication message to the TDF entity indicating that the TDF entity sends the first charging information; the charging system receives the first charging information sent by the TDF entity, including: the charging system receives the TDF entity Responding to the first charging information sent by the indication message.
  • the indication message carries an association identifier of a data flow carried by the PCEF entity; the charging system receives the TDF entity to respond to the indication
  • the first charging information sent by the message includes: the charging system receiving the data flow of the application carried by the TDF entity corresponding to the associated identifier of the data stream carried by the PCEF entity Fee information.
  • the association of the data flow of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where the first identifier indicates that the data stream belongs to the PCEF entity
  • the bearer, the second identifier indicates a corresponding rate group of the data stream on the PCEF entity; or the associated identifier of the data stream of the application carried by the TDF entity includes a third identifier, and the data stream carried by the PCEF entity
  • the association identifier includes the third identifier, where the third identifier indicates a bearer to which the data stream belongs on the PCEF entity and a corresponding rate group; or the association identifier of the data stream of the application carried by the PCEF entity
  • the fourth identifier and the fifth identifier are included, and the association identifier
  • the first system sends the first sent by the TDF entity Before the charging information, the method further includes: the charging system receiving the first quota application request sent by the TDF entity, where the first quota application request carries the association identifier of the data stream of the application carried by the TDF entity and the application fee a rate group, such that the billing system allocates a first quota according to the rate group of the application; the billing system sends a first quota to the TDF entity; before the billing system receives the second billing information sent by the PCEF entity
  • the method further includes: the charging system receiving the second quota application request sent by the PCEF entity, where the second quota application request carries the association identifier of the data flow carried by the PCEF entity and the rate group of the data flow, so that Billing system according to the The rate group of the data stream allocates a second quota; the billing system sends a second quota
  • the charging system is based on the application carried by the TDF entity
  • the associated identifier of the data stream and the associated identifier of the data stream carried by the PCEF entity are associated with the first charging information and the second charging information
  • the method includes: determining, by the charging system, the first charging information and the The second charging information is associated with the same charging information, and different charging policies are used for charging the same charging information.
  • the fourth aspect provides a charging method, including: a policy and charging rule function entity PCRF entity sends a charging policy of a data flow to a policy and charging execution function entity PCEF entity, where the charging policy of the data flow includes a second charging association information, so that the PCEF entity generates second charging information that carries the associated identifier of the data flow carried by the PCEF entity according to the charging policy of the data flow; the PCRF entity sends the flow detection function to the TDF entity
  • the charging policy of the application includes the first charging association information, so that the TDF entity generates, according to the charging policy of the application, the first identifier of the associated data carrying the data carried by the TDF entity.
  • the billing information wherein the association identifier of the data stream carried by the PCEF entity and the association identifier of the data stream of the application carried by the TDF entity are used by the billing system to process the first billing information and the second billing information.
  • the second charging association information includes an association identifier of a data flow carried by the PCEF entity, where the first charging association information includes an association of data flows of an application carried by the TDF entity.
  • the identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes a first identifier and a second identifier, where the first identifier indicates The data stream belongs to the 7-bearing group of the PCEF entity, and the second identifier indicates the corresponding rate group of the data stream on the PCEF entity; or the associated identifier of the data stream of the application carried by the TDF entity includes the third identifier,
  • the association identifier of the data flow carried by the PCEF entity includes a third identifier, where the third identifier indicates the bearer to which the data stream belongs on the PCEF entity and the corresponding rate group.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier And the second identifier, where the first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity; the second billing
  • the association information includes the second standard of the data flow carried by the PCEF entity.
  • the first charging association information includes a first identifier and a second identifier of the data flow of the application carried by the TDF entity; before the PCRF entity sends the applied charging policy to the flow detecting function TDF entity, the method further The method includes: receiving, by the PCRF entity, a first identifier of a data flow carried by the PCEF entity sent by the PCEF entity, and determining, according to a first identifier of the data flow carried by the PCEF entity, a data flow of an application carried by the TDF entity A logo.
  • the first charging association information includes an association identifier of a data stream of all applications on the TDF entity, and the The association of the data flows of all applications on the TDF entity identifies the corresponding flow template.
  • the fifth aspect provides a flow detection function TDF entity, including: an obtaining module, configured to acquire an association identifier of a data flow of an application carried by the TDF entity; and a sending module, configured to send the first charging to the charging system Information, the first charging information carries an association identifier of the data stream of the application carried by the TDF entity, so that the charging system performs the association identifier and the policy and charging execution function according to the data flow of the application carried by the TDF entity.
  • the association identifier of the data flow carried by the PCEF entity is associated with the first charging information and the second charging information sent by the PCEF entity to the charging system, where the second charging information carries the information carried by the PCEF entity.
  • the associated ID of the data stream is associated with the first charging information and the second charging information sent by the PCEF entity to the charging system.
  • the sending module is specifically configured to: when the reporting trigger condition of the TDF entity is met, send the first charging information to the charging system, so that the charging system is based on the TDF
  • the association identifier of the data flow of the application carried by the entity sends an indication message to the PCEF entity indicating that the PCEF entity sends the second charging information to the charging system.
  • the TDF entity further includes: a first receiving module, configured to receive, before the sending module sends the first charging information to the charging system, the charging system according to the PCEF entity The association identifier of the data stream is sent to indicate that the TDF entity sends the first charging information.
  • the sending module is configured to send the first charging information to the charging system in response to the indication message.
  • the indication message carries an association identifier of a data flow carried by the PCEF entity
  • the sending module is specifically configured to: The system sends the charging information of the data stream of the application carried by the TDF entity corresponding to the association identifier of the data flow carried by the PCEF entity.
  • the TDF entity further includes: a second receiving module, The charging policy of the application sent by the PCRF entity to receive the policy and charging rule function, The charging policy of the application includes an association identifier of the data flow of the application carried by the TDF entity; the acquiring module is configured to acquire an association identifier of the data flow of the application carried by the TDF entity according to the charging policy of the application;
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where The first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity; or the associated identifier of the data stream of the application carried by the TDF entity includes The
  • the charging policy of the application includes an association identifier of a data flow of all applications on the TDF entity, and the TDF entity Correlation identifiers of the data flows of all the applications are associated with the flow identifiers;
  • the acquisition module is specifically configured to: correspond to the association identifiers of the data flows of all the applications on the TDF entity, and the association identifiers of the data flows of all the applications on the TDF entity
  • the flow template obtains the association identifier of the data flow of the application carried by the TDF entity.
  • the data flow association of the application carried by the TDF entity includes a fourth identifier and a fifth identifier, where the associated identifier of the data stream carried by the PCEF entity includes the fourth identifier and the fifth identifier, where the fourth identifier indicates that the data stream belongs to the PCEF entity And the corresponding rate group, the fifth identifier is used to identify the data stream of the application;
  • the TDF entity further includes: a third receiving module, configured to receive the data packet that is sent by the PCEF entity and carries the fourth identifier; a module, configured to determine a fifth identifier of a data flow of an application carried by the TDF entity, where the acquiring module is configured to obtain, according to the data packet that carries the fourth identifier sent by the PCEF entity, the application that is carried by the TDF entity a fourth identifier of the data stream, and a fifth identifier of
  • the sending module is further configured to: Before sending the first charging information, sending a first quota application request to the charging system, the first The quota application request carries the association identifier of the data flow of the application carried by the TDF entity and the applicable rate group, so that the charging system allocates the first quota according to the rate group of the application; the TDF entity further includes: The receiving module is configured to receive the first quota sent by the charging system.
  • the sixth aspect provides a charging policy and a charging execution function entity PCEF entity, including: an obtaining module, configured to acquire an association identifier of a data flow carried by the PCEF entity; and a sending module, configured to send to the charging system Transmitting a second charging information, where the second charging information carries an association identifier of the data flow carried by the PCEF entity, so that the charging system according to the association identifier and the flow detection function TDF entity of the data flow carried by the PCEF entity
  • the associated identifier of the data stream of the carried application is associated with the second charging information and the first charging information sent by the TDF entity to the charging system, where the first charging information carries the information carried by the TDF entity.
  • the associated ID of the data stream of the application including: an obtaining module, configured to acquire an association identifier of a data flow carried by the PCEF entity; and a sending module, configured to send to the charging system Transmitting a second charging information, where the second charging information carries an association identifier of the data flow carried by
  • the sending module is specifically configured to: when the reporting trigger condition of the PCEF entity is met, send the second charging information to the charging system, so that the charging system is configured according to the PCEF
  • the association identifier of the data flow carried by the entity sends an indication message to the TDF entity indicating that the TDF entity sends the first charging information to the charging system.
  • the PCEF entity further includes: a first receiving module, configured to receive, before the sending module sends the second charging information to the charging system, the charging system according to the TDF entity
  • the association identifier of the data stream of the application is sent to indicate that the PCEF entity sends the second charging information.
  • the sending module is configured to send the second charging information to the charging system in response to the indication message.
  • the indication message carries an association identifier of a data stream of an application carried by the TDF entity
  • the sending module is specifically configured to:
  • the charging system sends the charging information of the data flow carried by the PCEF entity corresponding to the associated identifier of the data stream of the application carried by the TDF entity.
  • the data flow association of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where the first identifier indicates that the data stream belongs to the PCEF entity
  • the bearer, the second identifier indicates a rate group corresponding to the data stream on the PCEF entity
  • the PCEF entity further includes: a second receiving module, configured to receive a charging policy of the data stream sent by the PCRF entity, the data stream Billing strategy includes the PCEF entity
  • the first identifier and the second identifier of the data stream that are carried by the PCEF entity are obtained according to the charging policy of the data stream.
  • the data flow association of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where the first identifier indicates that the data stream belongs to the PCEF entity
  • the first identifier is a first determining module, configured to determine a first identifier of a data stream carried by the PCEF entity, where the second identifier indicates a corresponding rate group of the data stream on the PCEF entity; a receiving module, configured to receive a charging policy of the data stream sent by the PCRF entity, where the charging policy of the data stream includes a second identifier of the data stream carried by the PCEF entity, where the acquiring module is specifically configured to acquire the first Determining, by the module, the first identifier of the data flow carried by the PCEF entity, and acquiring the
  • the data flow association of the application carried by the TDF entity includes a third identifier, and the associated identifier of the data stream carried by the PCEF entity includes the third identifier, where the third identifier indicates a bearer to which the data stream belongs on the PCEF entity and a corresponding rate group;
  • the PCEF entity further includes: a fourth receiving module, configured to receive a charging policy of the data stream sent by the PCRF entity, where the charging policy of the data stream includes a third identifier of the data stream carried by the PCEF entity;
  • the third identifier of the data flow carried by the PCEF entity is obtained according to the charging policy of the data flow.
  • the data flow association of the application carried by the TDF entity includes a fourth identifier and a fifth identifier, where the associated identifier of the data stream carried by the PCEF entity includes the fourth identifier and the fifth identifier, where the fourth identifier indicates that the data stream belongs to the PCEF entity And the corresponding rate group, the fifth identifier is used to identify the data stream of the application;
  • the PCEF entity further includes: a second determining module, configured to determine a fourth identifier of the data stream carried by the PCEF entity; a receiving module, configured to receive a data packet that is sent by the TDF entity and that carries the fifth identifier, where the acquiring module is configured to obtain a fourth identifier of the data flow carried by the PCEF entity determined by the second determining module, and according to Sent by the TDF entity The data packet carrying the fifth identifier is used to obtain the fifth identifier
  • the sending module is further configured to be used in the charging system Before sending the second charging information, sending a second quota application request to the charging system, where the second quota application request carries the association identifier of the data flow carried by the PCEF entity and the rate group of the data flow, so as to enable charging
  • the system allocates a second quota according to the rate group of the data stream.
  • the PCEF entity further includes: a sixth receiving module, configured to receive a second quota sent by the charging system.
  • a charging system including: a first receiving module, configured to receive first charging information sent by a TDF entity, where the first charging information carries an application carried by the TDF entity
  • the second receiving module is configured to receive the second charging information sent by the PCEF entity of the policy and charging execution function entity, where the second charging information carries the associated identifier of the data flow carried by the PCEF entity
  • the processing module is configured to process the first charging information and the second charging information according to an association identifier of the data stream of the application carried by the TDF entity and an association identifier of the data stream carried by the PCEF entity.
  • the first receiving module is configured to: when receiving, the TDF entity sends the first charging information to the charging system when the reporting triggering condition of the TDF entity is satisfied;
  • the system further includes: a first sending module, configured to: before the second receiving module receives the second charging information sent by the policy and charging execution function entity PCEF entity, according to the associated identifier of the data flow of the application carried by the TDF entity Sending, to the PCEF entity, an indication message indicating that the PCEF entity sends the second charging information; the second receiving module is configured to receive the second charging information that is sent by the PCEF entity in response to the indication message.
  • the indication message carries an association identifier of a data stream of an application carried by the TDF entity
  • the second receiving module is specifically configured to: Receiving, by the PCEF entity, charging information of a data flow carried by the PCEF entity corresponding to an association identifier of a data flow of an application carried by the TDF entity.
  • the second receiving module is configured to: when receiving, the PCEF entity sends the second charging information to the charging system when the reporting trigger condition of the PCEF entity is satisfied;
  • the system further includes: a second sending module, configured to receive the flow check at the first receiving module Before the first charging information sent by the function TDF entity, the indication message indicating that the TDF entity sends the first charging information is sent to the TDF entity according to the associated identifier of the data stream carried by the PCEF entity; the first receiving module Specifically, the receiving, by the TDF entity, the first charging information sent by the indication message.
  • the indication message carries an association identifier of the data flow carried by the PCEF entity
  • the first receiving module is specifically configured to receive the The charging information of the data stream of the application carried by the TDF entity corresponding to the association identifier of the data stream carried by the PCEF entity sent by the TDF entity.
  • the data flow association of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where the first identifier indicates that the data stream belongs to the PCEF entity
  • the bearer, the second identifier indicates a corresponding rate group of the data stream on the PCEF entity; or the associated identifier of the data stream of the application carried by the TDF entity includes a third identifier, and the data stream carried by the PCEF entity
  • the association identifier includes the third identifier, where the third identifier indicates a bearer to which the data stream belongs on the PCEF entity and a corresponding rate group; or the association identifier of the data stream of the application carried by the PCEF entity
  • the fourth identifier and the fifth identifier are included, and the association identifier of the
  • the charging system further includes: a third receiving module, And receiving, by the first receiving module, the first quota application request sent by the TDF entity, where the first quota application request carries the application carried by the TDF entity, before receiving the first charging information sent by the TDF entity The association identifier of the data stream and the rate group of the application, so that the billing system allocates the first quota according to the rate group of the application;
  • the third sending module is configured to send the first quota to the TDF entity;
  • the fourth receiving module And receiving, by the second receiving module, a second quota application request sent by the PCEF entity, before the second receiving module receives the second charging information sent by the policy and the charging function entity PCEF entity, where the second quota application request carries the PCEF entity An association identifier of the carried data stream and a rate group of the data stream, so that the billing system allocates the second quota according to
  • the processing module is specifically configured to determine the first The charging information and the charging information with the same identifier in the second charging information are different, and different charging policies are used for charging the same charging information.
  • the eighth aspect provides a policy and charging rule function entity PCRF entity, including: a determining module, configured to determine a charging policy of the data flow, where the charging policy of the data flow includes second charging association information, and Determining a charging policy of the application, the charging policy of the application includes first charging association information, and a sending module, configured to send a charging policy of the data flow to the policy and charging execution function entity PCEF entity, so as to facilitate the PCEF entity And generating, according to the charging policy of the data flow, second charging information that carries the associated identifier of the data flow carried by the PCEF entity, and sending the charging policy of the application to the flow detection function TDF entity, so that the TDF entity is configured according to the The charging policy of the application generates the first charging information that carries the associated identifier of the data flow of the application carried by the TDF entity; wherein the associated identifier of the data flow carried by the PCEF entity and the application carried by the TDF entity
  • the association identifier of the data stream is used by the charging system to process
  • the second charging association information includes an association identifier of a data flow carried by the PCEF entity, where the first charging association information includes an association of data flows of an application carried by the TDF entity.
  • the identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where The first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity; or the data stream of the application carried by the TDF entity
  • the association identifier includes a third identifier, and the association identifier of the data flow carried by the PCEF entity includes the third identifier, where the third identifier indicates a payload of the data flow on the PCEF entity and a corresponding rate group.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier And the second identifier, where the first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity; the second billing The association information includes a second identifier of the data stream carried by the PCEF entity, where the first charging association information includes a first identifier and a second identifier of the data stream of the application carried by the TDF entity.
  • the PCRF entity further includes: Module for streaming to the sending module Receiving, by the functioning TDF entity, the first identifier of the data stream carried by the PCEF entity sent by the PCEF entity, before the sending the application's charging policy; the determining module is specifically configured to: according to the first data flow carried by the PCEF entity The first identifier identifying the data flow of the application carried by the TDF entity.
  • the first charging association information includes an association identifier of a data stream of all applications on the TDF entity, and the The association of the data flows of all applications on the TDF entity identifies the corresponding flow template.
  • a system comprising the TDF entity of the fifth aspect, the PCEF entity of the sixth aspect, the charging system of the seventh aspect, and the PCRF entity of the eighth aspect.
  • the embodiment of the present invention enables the charging by using the association identifier of the application data flow carried by the TDF carried in the first charging information and the association identifier of the data flow carried by the PCEF carried in the second charging information.
  • the system can process the charging information of the data flow and the charging information of the application according to the association identifier of the application data flow carried by the TDF and the association identifier of the data flow carried by the PCEF, so as to be able to perform accurate data flow and application.
  • Billing which enables simultaneous billing of applications and billing of data streams.
  • FIG. 1 is a schematic diagram of a system architecture in accordance with an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method of charging according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for charging according to another embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method for charging according to still another embodiment of the present invention.
  • FIG. 5 is another schematic flowchart of a method for charging according to still another embodiment of the present invention.
  • FIG. 6 is still another schematic flowchart of a method for charging according to still another embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a method for charging according to still another embodiment of the present invention.
  • FIG. 8 is a schematic diagram of interaction of a method for charging according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of interaction of a method for charging according to another embodiment of the present invention.
  • FIG. 10 is a schematic diagram of interaction of a method for charging according to still another embodiment of the present invention.
  • 11 is a schematic diagram of interaction of a method of charging according to still another embodiment of the present invention.
  • FIG. 12 is a schematic diagram of interaction of a method for charging according to still another embodiment of the present invention.
  • FIG. 13 is a schematic diagram of interaction of a method for charging according to still another embodiment of the present invention.
  • FIG. 14 is a schematic diagram of interaction of a method for charging according to still another embodiment of the present invention.
  • FIG. 15 is a schematic diagram of interaction of a method for charging according to still another embodiment of the present invention.
  • FIG 16 is a schematic block diagram of a TDF entity in accordance with an embodiment of the present invention.
  • Figure 17 is a schematic block diagram of a PCEF entity in accordance with an embodiment of the present invention.
  • FIG. 18 is a schematic block diagram of a billing system in accordance with an embodiment of the present invention.
  • FIG. 19 is another schematic flowchart of a charging system according to an embodiment of the present invention.
  • FIG. 20 is still another schematic flowchart of a charging system according to an embodiment of the present invention.
  • 21 is a schematic block diagram of a PCRF entity in accordance with an embodiment of the present invention.
  • FIG. 22 is a structural diagram of a TDF physical device according to an embodiment of the present invention.
  • FIG. 23 is a structural diagram of a PCEF physical device according to an embodiment of the present invention.
  • FIG. 24 is a structural diagram of a charging system according to an embodiment of the present invention.
  • FIG. 25 is a structural diagram of a PCRF physical device in accordance with an embodiment of the present invention. detailed description
  • FIG. 1 is a schematic diagram of a system architecture of an embodiment of the present invention.
  • the PCRF entity is configured to send a control policy and a charging policy to the TDF entity and the PCEF entity;
  • the PCRF entity and the PCEF entity are connected through the Gx interface to implement the flow control policy and the charging policy.
  • the Gx interface is a public data network (PDN) level interface, and the PDN level is evolved in the mobile core network (Evolved Packet). Core, EPC) network corresponding IP session (IP CAN Session), in the General Packet Radio Service (GPRS) network corresponding PDN connection (PDN Connection), the concept is in accordance with the definition of 3GPP 23.203, hereinafter collectively referred to as the PDN level;
  • the PCRF entity and the TDF entity are connected through the Sd interface, and the application detection and control policy is delivered, and the application charging policy is delivered.
  • the Sd interface is a PND interface.
  • the charging interface between the PCEF entity and the charging system is used for reporting the usage information of the collected data stream (accounting information of the data stream), and implementing data stream-based charging. If the charging system is OCS, it also includes Credit Control, such as: quota application, the charging interface is a bearer-level interface, the Packet Data Protocol (PDP) context (PDP Context) in the GPRS network, and the IP bearer in the EPC network (IP CAN) Bearer), hereinafter collectively referred to as bearer, a Gx session can correspond to multiple billing sessions;
  • PDP Packet Data Protocol
  • IP CAN IP bearer
  • the TDF entity and the billing system are billing interfaces, and are used for reporting the usage information of the collected application (applicable billing information) to implement application-based billing. If the billing system is OCS, the credit control is also included. For example: quota application, the interface is a PDN level interface;
  • the billing system associates the billing information of the data stream with the billing information of the application, and bills the data stream and the application.
  • the system architecture diagram shown in FIG. 1 is only an example, and should not impose any limitation on the scope of protection of the present invention.
  • the TDF entity and the PCEF entity may be set in different network devices or may be set in the same network.
  • a TDF entity can also be built in the PCEF entity.
  • each entity may also be represented as a device, and each entity may be a separate device or a device disposed in another device.
  • embodiments of the present invention relate to "streaming” and "data streaming”. These two terms are used to describe the same content, “streaming” or “data stream.”
  • FIG. 2 shows a schematic flow chart of a method 100 of charging in accordance with an embodiment of the present invention. As shown in FIG. 2, the method 100 includes:
  • the TDF entity acquires an association identifier of the data flow of the application carried by the TDF entity.
  • the TDF entity sends the first charging information to the charging system, where the first charging information carries the application carried by the TDF entity. Correlation identifier of the data stream, so that the charging system processes the first charging information and the PCEF entity according to the association identifier of the data stream of the application carried by the TDF entity and the association identifier of the data stream carried by the PCEF entity.
  • the second charging information sent by the charging system where the second charging information carries the associated identifier of the data flow carried by the PCEF entity.
  • the TDF entity sends the first charging information of the associated identifier of the data stream of the application carried by the TDF entity to the charging system
  • the PCEF entity sends the data stream carried by the PCEF entity to the charging system.
  • the charging system processes the first charging information and the second charging information according to the association identifier, so that the first charging information can be accurately Accounting for the second charging information, that is, realizing simultaneous charging of the data stream and the application.
  • the charging method of the embodiment of the present invention can process the charging information of the data flow and the charging information of the application by carrying the associated identifier in the charging information, thereby enabling accurate data flow and application charging. , to achieve simultaneous billing of applications and billing of data streams.
  • the association identifier is used to associate the data flow information carried by the PCEF entity with the data flow information of the application carried by the TDF entity.
  • a certain data stream passes through the PCEF and the TDF.
  • the charging information of the flow is collected in the TDF for application charging, and the charging information of the flow is performed in the PCEF.
  • the TDF needs to add an association identifier for the charging information of the flow, and the PCEF adds the same association identifier to the charging information of the flow, so that the application data on the TDF
  • the flow accounting information and the data flow charging information on the PCEF may be associated by the same association identifier. In this way, the billing system can identify the associated billing information through the same association identifier, which facilitates accurate data flow and application billing.
  • the PCRF sends the applied charging policy and the charging policy of the data flow to the TDF and the PCEF respectively.
  • the TDF After receiving the charging policy sent by the PCRF, the TDF sends a first quota application request to the charging system, and the first quota application request carries the associated identifier of the data stream of the application carried by the TDF entity.
  • the charging system performs the quota authorization according to the rate group of the application, and the TDF receives the first quota sent by the charging system; after the PCEF receives the charging policy sent by the PCRF, if the online charging is performed, Sending a second quota application request to the charging system, where the second quota application request carries the association identifier of the data flow carried by the PCEF entity and the rate group of the data flow, and the charging system performs quota according to the rate group of the data flow.
  • the PCEF receives the second quota sent by the billing system.
  • the charging information is first reported to the charging system, and the charging system receives the reported charging information. Then, it is required to instruct another entity to also report the charging information, so as to associate the charging information of the processing data flow with the charging information of the application.
  • S120 when the reporting trigger condition of the TDF entity is met first, S120 includes:
  • the TDF entity sends the first charging information to the charging system when the reporting trigger condition of the TDF entity is satisfied, so that the charging system according to the data flow of the application carried by the TDF entity
  • the association identifier sends an indication message to the PCEF entity indicating that the PCEF entity sends the second charging information.
  • the charging information is reported to the charging system, that is, the TDF entity sends the first charging information to the charging system, where the first charging information carries the TDF entity.
  • the charging system determines that the charging session of the PCEF entity corresponding to the associated identifier is affected according to the associated identifier of the data stream of the application carried by the TDF entity, and needs to be associated.
  • the accounting system determines that the associated charging information needs to be associated according to the association identifier of the data flow of the application carried by the TDF entity and the data identifier of the data flow carried by the PCEF entity obtained by the credit authorization.
  • the charging system sends an indication message to the PCEF entity, instructing the PCEF entity to also report the charging information.
  • the PCEF entity sends the second charging information to the charging system according to the indication message, where the second charging information carries the associated identifier of the data flow carried by the PCEF entity.
  • the indication message sent by the charging system carries the association identifier of the data flow of the application carried by the TDF entity
  • the PCEF entity only sends the association identifier corresponding to the data flow of the application carried by the TDF entity to the charging system.
  • the charging information of the data flow carried by the PCEF entity if the indication message sent by the charging system does not carry the associated identifier, the PCEF entity sends all charging information in the charging session to the charging system.
  • the reporting trigger condition of the TDF entity may be an application start, an application stop, an application instance addition, or an application instance removal, and the like.
  • the method 100 further includes:
  • S120 includes:
  • the TDF entity sends the first charging information to the charging system in response to the indication message.
  • the charging information is reported to the charging system, that is, the PCEF entity sends the second charging information to the charging system, where the second charging information carries the PCEF entity.
  • the charging system sends an indication message to the TDF entity that has the same association identifier charging session according to the association identifier of the data flow carried by the PCEF entity, and indicates that the TDF entity also reports the charging information.
  • the charging system according to the association identifier of the data flow carried by the PCEF entity is the same as the association identifier of the data flow of the application carried by the TDF entity obtained by the credit authorization, and determines that the accounting information needs to be processed in association, so the indication is sent to the PCEF entity.
  • the TDF entity sends the first charging information to the charging system according to the indication message, where the first charging information carries the associated identifier of the data stream of the application carried by the TDF entity.
  • the indication message sent by the charging system carries the association identifier of the data flow carried by the PCEF entity
  • the TDF entity sends only the TDF entity corresponding to the association identifier of the data flow carried by the PCEF entity to the charging system.
  • the charging information of the data flow of the carried application if the indication message sent by the charging system does not carry the associated identifier, the TDF entity sends all charging information in the charging session to the charging system.
  • the TDF entity acquires an association identifier of the data flow of the application carried by the TDF entity.
  • association identifier there are multiple ways to obtain the association identifier and the association identifier.
  • S110 includes:
  • the TDF entity receives the charging policy of the application sent by the PCRF entity, where the charging policy of the application includes the associated identifier of the data flow of the application carried by the TDF entity, and the application carried by the TDF entity is obtained according to the charging policy of the application.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where The first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a corresponding rate group of the data stream on the PCEF entity.
  • the first identifier in this embodiment is allocated by the PCRF to the bearer on the PCEF, and all the flows on the bearer are assigned the same first identifier.
  • the second identifier is allocated by the PCRF to the flow with the same rate group on the PCEF, and the flow with the same rate group in a certain PDN is assigned the same second identifier.
  • the first identifier and the second identifier are used as association identifiers.
  • the first identifier is a bearer identifier, which is used for the association of the charging information of the bearer level, or for the association of the charging session, and one bearer corresponding to one bearer identifier.
  • the second identifier is used for the flow association of a certain rate group (Rating Group) under the same bearer.
  • the PCRF entity determines the first identifier and the second identifier, and sends the same to the TDF entity and the PCEF entity by using the charging policy.
  • the rate group of the data stream generated by the PCRF entity may be used as the second identifier.
  • the PCRF entity if the PCRF entity generates a charging key (a charging key, a charging key, and a rate group), the PCRF entity simultaneously generates a service identifier (Service ID), and the billing is sent to the PCEF entity.
  • the service ID layer is configured to be charged (that is, the charging information is divided by the Rating Group and the Service ID), and the second identifier may also be defined as a stream corresponding to the combination of the Charging Key and the Service ID in the PDN, that is, the PCRF.
  • the entity allocates the same second identifier to the same ringing group and the same ID in the same bearer.
  • control and billing strategy when the PCRF entity performs policy generation, the information carried in the request of the PCEF entity, the user information and the subscription information acquired, the accumulated data from the charging system, and the information configured by itself are used to make a policy decision to generate a policy.
  • Control and billing strategy include: control policies and charging policies for PCEF entities, application detection, control policies, and charging policies for TDF entities.
  • the PCRF performs multiple generations of the policy, for example: the PCEF entity requests the control policy and the charging policy from the PCRF entity, triggers the policy generation, or the OCS notifies the PCRF entity that a cumulative state changes.
  • the PCRF entity is triggered to generate a policy, or the triggering condition of the PCRF entity is generated by the triggering policy, or the TDF entity detects and triggers the "application start/end" event to the PCRF entity. Timing and conditions are not limited.
  • the control and charging policy of the flow generated by the PCRF entity for the PCEF entity includes: a flow template (for the matching of the flow, that is, the flow matching the template is applicable to the control policy and the charging policy), and the quality of service corresponding to the flow (Quality of Service) a QoS policy, a gated control policy, and a flow accounting policy; wherein the charging policy allocated for the flow includes: a first identifier, a Charging Key allocated for the flow (ie, a rate group allocated for the flow) ) as the second logo.
  • the first identifier is generated by the PCRF entity.
  • the PCRF entity allocates the same first identifier for the same 7-load of the same PDN, that is, the flows belonging to the same bearer in the same Gx session, for example, have the same in the GPRS network.
  • QoS in the EPC network, for the flow with the same QoS-Class-Identifier (QCI) and Allocation-Retention-Priority (ARP), using the same first identifier, one or more The PCC Rule may have the same first identity.
  • the message for sending a charging policy to a PCEF entity can be as follows:
  • the PCRF entity can obtain the corresponding information of all the bearers and the flow template of the PCEF entity, such as the bearer binding is controlled by the PCRF entity, the PCRF entity allocates the first identifier according to the corresponding information; if the PCRF entity cannot learn the PCEF Entity upload and its corresponding information (such as The bearer binding is pre-defined by the PCEF entity, and the PCEF entity reports the bearer and the corresponding information of the flow template in the Gx session request, and the PCRF entity allocates the first identifier according to the bearer reported by the PCEF entity and the corresponding information of the flow template.
  • the above "3 ⁇ 4 message can be as follows:
  • ⁇ CC-Request>:: ⁇ Diameter Header: 272, REQ, PXY >
  • the PCEF entity After receiving the charging policy of the data stream sent by the PCRF entity, the PCEF entity obtains the first identifier and the second identifier of the data stream carried by the PCEF entity by matching the flow and the flow template according to the control policy and the charging policy of the flow.
  • the control policy and the charging policy of the generated application include: the identifier of the application that needs to be detected by the TDF entity, the corresponding QoS restriction (limit), Gating, redirection (Redirect) and other control policies, and the applied charging policy.
  • the charging policy allocated for the application includes: a Charging Key of the application allocated for the application (ie, a rate group of the application allocated for the application), information for charging association, and optionally, auxiliary Additional information on billing accuracy.
  • the information for the charging association includes: a first identifier of the data stream of the application, a stream identifier corresponding to the first identifier, and a second identifier corresponding to the stream information corresponding to the first identifier.
  • the PCRF entity determines the application according to the flow information of the application and the relationship between the applications.
  • the information used for the charging association carries the application identifier and the first identifier, and the second identifier corresponding to the flow information corresponding to the first identifier;
  • the relationship between the information and the bearer determines that the flow of the application is not on a bearer, or the flow of the application is on one bearer but the second identifier is different, and the information used for the charging association carries the application identifier, one or more An identifier, and the flow information corresponding to the first identifier, and the second identifier corresponding to the flow information, where the information used for the charging association may be carried in an ADC-Rule-Definition level parameter.
  • the information for the charging association includes the first identifier of all bearers corresponding to the PDN corresponding to the Gx session, and corresponding flow information and flow information.
  • the information used for the charging association is carried in the command level parameter.
  • the flow information includes: a flow template, its priority.
  • the applied charging policy may include an associated identifier of the data flow of all applications on the TDF entity, and a flow template corresponding to the associated identifier of the data flow of all applications on the TDF entity; the TDF entity matches the flow template by The association identifier of the data flow of the application carried by the TDF entity may be determined.
  • the PCRF entity specifies the service policy to be delivered to the PCEF entity
  • the second identifier can use a combination of Charging Key and Service ID.
  • the other information of the auxiliary charging accuracy includes: a gating policy corresponding to the flow information corresponding to the first identifier configured by the PCRF entity to the PCEF entity, and the TDF entity does not disable the state after receiving the information.
  • the data packets are collected for billing information (because these packets will be discarded in the PCEF entity).
  • the above method makes the correspondence between the first identifier and the flow information of the TDF entity and the PCEF entity consistent, so that the matching result and the processing manner of the PCEF entity and the TDF entity are the same, and the charging information collection on both sides is comparable.
  • the message for sending the charging policy to the TDF entity can be as follows (the information used for the charging association is carried in the ADC-Rule-Definition level parameter as an example, only some parameters are listed here):
  • Rating-Group The rate group for the app assigned to the app.
  • Metering-Method indicates how the information of the application is collected, including: duration, traffic, or traffic and duration.
  • Application-Correlation-Info is used for billing association information, which can be one, for example, If an application flows on a bearer, or does not know the bearer corresponding to the application, and there is only one load, or multiple, in the PDN, for example, if the flow of one application is on multiple bearers, or the bearer corresponding to the application is not known. And there are multiple bearers in the PDN.
  • the parameters are defined as follows:
  • Charging-Id is the first identifier
  • the Correlation-Flow-Info is configured to carry the flow information corresponding to the first identifier and the second identifier. It can be defined as follows:
  • Flow-Information filters information for specific stream packets
  • Precedence is the priority of the stream
  • the flow-Status is a gating strategy corresponding to the flow information corresponding to the first identifier configured by the PCRF entity to the PCEF entity;
  • the Rating-Group is the second identifier corresponding to the flow information corresponding to the first identifier.
  • the TDF entity obtains the first identifier and the second identifier of the data stream of the application carried by the TDF entity according to the charging policy of the application sent by the PCRF entity.
  • the TDF entity obtains the data flow of the application carried by the TDF entity according to the correspondence between the first identifier and the second identifier of the data flow of all applications on the TDF entity included in the applied charging policy and the flow template. The first identifier and the second identifier.
  • the TDF entity records both the data packet of the application and the charging information of the data packet corresponding to the first identifier and the second identifier when performing charging accounting statistics, corresponding to one charging.
  • Count counter
  • the TDF entity uses its Deep Packet Inspection (DPI) capability to detect that a certain data packet belongs to an application delivered by a PCRF entity, and then according to the PCRF entity.
  • DPI Deep Packet Inspection
  • the priority of the sent flow ie, Precedence AVP
  • the TDF entity collects the discarded uplink data packet, identifies the specific rate group, and reports it to the charging system, so that the charging system is configured according to the specific rate group.
  • the charging information of the data packet reported by the associated PCEF entity is not charged.
  • the TDF entity collects the upstream information of the discarded application and allocates the upstream information of the collected application to the TDF entity, after the TDF entity discards the applied flow, and does not affect the charging accuracy of the PCEF entity.
  • the rate is reported to the billing system to adjust the billing system to adjust the billing of the PCEF entity.
  • the charging information When the TDF entity sends the charging information to the charging system (the triggering condition of the TDF entity is first met, or the indication message of the charging system is received), the charging information carries the first identifier and the corresponding identifier of each counter.
  • the CCR message for sending the charging information includes: one or more of each counter corresponding to the application identifier, the corresponding first identifier and the second identifier, the applied rate group, the corresponding usage information (traffic or duration), and the like.
  • the values corresponding to different counters are encapsulated in different AVP groups of MSCC (Multi-Services-Credit-Control) of CCR.
  • the message can be: 3 ⁇ 4 under:
  • the CCR message for transmitting the charging information includes: one or more of a first identifier, a rate group (also as a second identifier), usage information (traffic or duration), and the like.
  • the message can be as follows:
  • ⁇ CCR>:: ⁇ Diameter Header: 272, REQ, PXY >
  • the second identifier charging system performs charging information association according to the first identifier and the second identifier, and uses the rate group and the TDF entity report of the data flow reported by the PCEF entity for the associated billing information.
  • the rate group of the application is charged for processing. That is, the charging system determines the associated charging information by using the same first identifier and the second identifier in the charging information of the data stream and the applied charging information, and performs charging according to the associated charging information. For example, the charging system determines the repeated charging information by using the same first identifier and the second identifier in the charging information of the data flow and the charging information of the application, and deducting the repeated charging information and then charging for the non-repetitive charging. Information is billed.
  • the charging method of the embodiment of the present invention carries a first identifier indicating a bearer to which the data stream belongs on the PCEF entity and a second group indicating a rate group corresponding to the data stream on the PCEF entity in the charging information.
  • the identifier can be associated with the charging information of the processing flow and the charging information of the application, so that accurate charging and application charging can be performed.
  • the first identifier and the second identifier are also used as associated identifiers.
  • the first identification is generated in a different manner.
  • the PCEF entity generates a first identity and sends it to the PCRF entity. Specifically, the PCEF entity reports the first identifier assigned to the bearer to the PCRF entity when the new bearer is established, the bearer is updated, and the bearer is terminated. If the bearer is newly established, the PCEF entity needs to generate a first identifier corresponding to the new bearer. If the bearer is modified or terminated, the original first identifier assigned to the bearer is reported to the PCRF entity.
  • the PCEF entity also needs to report the flow filtering information of the bearer, that is, the flow template information bound to the bearer, to match the bearer identifier. Flow to the load. If the load is over, the information can be filtered without the uploaded stream. For example, on
  • ⁇ CC-Request>:: ⁇ Diameter Header: 272, REQ, PXY >
  • the PCRF entity determines the first identifier of the data stream on the PCEF entity, the PCRF entity generates a second identifier (the rate group assigned to the stream can be used as the The second identifier) is carried in the charging policy for generating a data stream for the PCEF entity. After receiving the charging policy of the data stream sent by the PCRF entity, the PCEF entity obtains the second identifier of the data stream on the PCEF entity according to the charging policy of the data stream.
  • the PCF entity generates a control policy and a charging policy for the TDF entity when the policy generation is performed.
  • the PCRF entity determines the first identifier of the flow of the application to be charged according to the first identifier of the data flow carried by the PCEF entity.
  • the second identifier is generated by the PCRF entity as in the previous embodiment.
  • the PCRF entity delivers the applied charging policy to the TDF entity.
  • S110 includes:
  • the TDF entity receives the charging policy of the application sent by the PCRF entity, where the charging policy of the application includes the associated identifier of the data flow of the application carried by the TDF entity, and the application carried by the TDF entity is obtained according to the charging policy of the application.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a third identifier
  • the associated identifier of the data stream carried by the PCEF entity includes the third identifier, where the third identifier indicates that the data stream is in the PCEF entity The assigned load and the corresponding rate group.
  • the third identifier is used as an association identifier.
  • the third identifier is used to uniquely identify a flow of a certain rate group at a PDN level.
  • the PCRF entity allocates the same third identifier to the flows of the same rate group of a certain PDN.
  • the third identifier can distinguish between the bearers and the flows of different rate groups under the bearer.
  • the PCRF entity if the Charging Key generated by the PCRF entity is generated, the PCRF entity generates the Service ID, and specifies the charging by the Service ID layer in the charging policy that is sent to the PCEF entity (that is, the Rating Group and The Service ID distinguishes the charging information.
  • the third identifier may be defined as a flow corresponding to the combination of the Charging Key (that is, the Rating Group) and the Service ID in the PDN, that is, the PCRF entity is the same in the same bearer, and the Rating Group and the Service ID are the same.
  • the stream is assigned the same third identifier.
  • the PCRF entity determines the third identifier, and sends the third identifier to the TDF entity and the PCEF entity through the charging policy.
  • the charging policy of the data flow delivered by the PCRF entity to the PCEF entity includes: a Charging Key allocated for the flow (that is, a rate group allocated for the flow), and a third identifier.
  • the message for sending a charging policy to a PCEF entity can be as follows:
  • the PCEF entity presets the rate group of the data stream of the bearer, and the PCRF entity does not perform the reallocation, the PCEF entity reports the corresponding information of the flow template and the rate group in the Gx session request, PCRF The entity allocates a third identifier according to the corresponding information of the rate group reported by the PCEF entity and the flow template.
  • the PCEF entity After receiving the charging policy of the data stream sent by the PCRF entity, the PCEF entity obtains the third identifier of the data stream carried by the PCEF entity by matching the stream according to the charging policy of the data stream.
  • the charging policy of the application generated by the PCRF entity for the TDF entity when the policy is generated includes: a Charging Key allocated for the application (ie, a rate group of the application allocated for the application), and information for charging association, Optionally, it may further include: other information that assists the charging accuracy.
  • the information for the charging association includes: a third identifier, and optionally, the flow information corresponding to the third identifier.
  • the PCRF entity knows the flow information of the application detected on the TDF entity (such as the TDF entity reports to the PCRF entity or the PCRF entity configuration)
  • the PCRF entity determines the correspondence between the flow information of the application and the third identifier
  • the flow of the application only corresponds to a third identifier
  • the information used for the charging association may only carry the application identifier and the third identifier, and does not carry the flow information corresponding to the third identifier;
  • the third identifier, the information used for the charging association carries the application identifier, the multiple third identifiers, and the corresponding stream information parameters, and the information used for the charging association is carried in the ADC-Rule-Definition level parameter.
  • the information for the charging association includes all the third identifiers on the PDN corresponding to the Gx session and corresponding flow information parameters,
  • the fee-related information is carried in the command level parameters.
  • the flow information includes: a flow template, its priority.
  • the applied charging policy may include an associated identifier of the data flow of all applications on the TDF entity, and a flow template corresponding to the associated identifier of the data flow of all applications on the TDF entity (ie, flow information); By matching the flow template, the association identifier of the data flow of the application carried by the TDF entity can be determined.
  • the other information of the auxiliary charging accuracy includes: a gating policy corresponding to the flow information corresponding to the third identifier configured by the PCRF entity to the PCEF entity, and the TDF entity does not have a packet whose status is Disable after receiving the information. Billing information is collected (since these packets will be dropped in the PCEF entity).
  • the message for sending the charging policy to the TDF entity can be as follows (for the information used for the charging association is carried in the ADC-Rule-Definition level parameter as an example, only some related parameters are listed here):
  • Metering-Method indicates how the information of the application is collected, including: duration, traffic, or traffic and duration.
  • Application-Correlation-Info is used for charging association information, which may be one (if one application stream corresponds to a third identifier, or does not know the application's flow information and there is only one third identifier in the PDN), or multiple (if An application's stream corresponds to multiple third identifiers, or does not know the application's Flow information, and there are multiple third identifiers in the PDN).
  • association information may be one (if one application stream corresponds to a third identifier, or does not know the application's flow information and there is only one third identifier in the PDN), or multiple (if An application's stream corresponds to multiple third identifiers, or does not know the application's Flow information, and there are multiple third identifiers in the PDN).
  • Flow-Information filters information for specific stream packets
  • Precedence is the priority of the stream
  • the flow-Status is a gating policy corresponding to the flow information corresponding to the third identifier configured by the PCRF entity to the PCEF entity;
  • Application- Charging-ID is the third identifier.
  • the TDF entity obtains a third identifier of the data stream of the application carried by the TDF entity according to the charging policy of the application sent by the PCRF entity.
  • the TDF entity obtains the third identifier of the data stream of the application carried by the TDF entity according to the third identifier of the data stream of all the applications on the TDF entity included in the applied charging policy and the corresponding flow template.
  • the TDF entity When the online charging is performed, the TDF entity records the charging information of both the application data packet and the data packet of the flow corresponding to the third identifier, and corresponds to a counter.
  • the TDF entity uses its DPI capability to detect that a packet belongs to an application delivered by a PCRF entity, it determines the identifier to which the packet should match according to the priority of the stream (ie, Precedence AVP) delivered by the PCRF entity. After the flow-Information is determined, it is further determined according to the value of the Flow-Status whether the data packet will be discarded in the PCEF entity, and if not, it is not recorded in the counter; otherwise, it is counted specifically for the application and the identifier. The counter set by the stream.
  • the priority of the stream ie, Precedence AVP
  • the TDF entity collects the discarded uplink data packet, identifies the specific rate group, and reports it to the charging system, so that the charging system is configured according to the specific rate group.
  • the charging information of the data packet reported by the associated PCEF entity is not charged. For example, after the TDF entity discards the applied flow of the TDF entity, it does not affect the charging accuracy of the PCEF entity, and the TDF entity collects the upstream information of the discarded application, and is used for the collected application.
  • the upstream information distribution 0 rate is reported to the charging system to adjust the charging of the PCEF entity after the charging system is associated.
  • the TDF entity carries the third identifier corresponding to each counter in the charging information when the charging information is sent to the charging system (the triggering condition of the TDF entity is first met, or the indication message of the charging system is received).
  • the CCR message for sending the charging information includes: each counter corresponding to one or more of an application identifier, a corresponding third identifier, an applied rate group, corresponding usage information (traffic or duration), and the like.
  • the values of different counters are encapsulated in different AVP groups of MSCC (Multi-Services-Credit-Control) of CCR.
  • the PCEF entity sends charging information to the charging system (the reporting condition of the PCEF entity is first met, or received)
  • the indication message of the charging system is used
  • the third identifier of the flow is carried in the charging information.
  • the CCR message for transmitting the charging information includes: one or more of a third identity, a rate group, usage information (traffic or duration), and the like.
  • the message can be as follows:
  • the third identifier charging system performs charging information association according to the third identifier.
  • the rate group of the data stream reported by the PCEF entity and the application reported by the TDF entity are respectively used.
  • the rate group performs billing processing.
  • the charging method of the embodiment of the present invention can associate the charging information of the processing flow with the third identifier indicating the 7-load of the data flow on the PCEF entity and the corresponding rate group in the charging information.
  • the billing information applied to enable accurate streaming and application billing.
  • the association identifier of the data stream of the application carried by the TDF entity 7 includes a fourth identifier and a fifth identifier, where the associated identifier of the data stream carried by the PCEF entity includes the a fourth identifier and the fifth identifier, where the fourth identifier represents data a bearer that belongs to the PCEF entity and a corresponding rate group, where the fifth identifier is used to identify the data stream of the application;
  • S110 includes:
  • the TDF entity determines a fifth identifier of the data flow of the application carried by the TDF entity; the method 100 further includes:
  • the TDF entity sends a data packet carrying the fifth identifier to the PCEF entity, so that the PCEF entity obtains the fifth identifier of the data stream carried by the PCEF entity according to the data packet carrying the fifth identifier.
  • the fourth identifier and the fifth identifier are used as association identifiers.
  • the fourth identifier is generated by the PCEF entity to uniquely identify a flow of a certain rate group at the PDN level.
  • the fourth identifier can distinguish between a certain load under a certain PDN and at the same time distinguish the flow of different rate groups under the load.
  • the PCRF entity simultaneously generates a Service ID, and specifies a charging by the Service ID layer in the charging policy that is sent to the PCEF entity (that is, by using the Rating Group and the Service ID).
  • the fee information;) the fourth identifier may be defined as a stream corresponding to the combination of the Charging Key (ie, the Rating Group) and the Service ID.
  • the fifth identifier is generated by the TDF entity to uniquely identify the flow of an application under the PDN.
  • the PCEF entity adds a fourth identifier to each uplink data packet, and sends a data packet carrying the fourth identifier to the TDF entity.
  • the TDF entity adds a fifth identifier to each downlink data packet, and sends the data carrying the fifth identifier to the PCEF entity. package.
  • the charging policy of the data flow generated by the PCRF entity for the PCEF entity is no longer included in the charging policy of the PCRF entity, that is, the charging policy of the PCRF entity generating the data flow for the PCEF entity may be adopted.
  • the charging policy of the PCRF entity generating the data flow for the PCEF entity may be adopted.
  • the PCEF entity After determining the fourth identifier of the data stream on the PCEF entity, the PCEF entity carries the fourth identifier of the stream in the charging information sent to the OCS.
  • the specific transmission manner is the same as that of the foregoing embodiment, and details are not described herein again.
  • the charging policy of the application generated by the PCRF entity for the TDF entity when the policy is generated includes: a Charging Key allocated for the application (ie, an application rate group allocated for the application), a charging method (online charging or offline charging) , billing information collection method (time, traffic, or duration, traffic, etc.), Optionally, it may further include: other information that assists the charging accuracy.
  • the message for sending a charging policy to a TDF entity can be as follows (only some parameters are listed here):
  • Rating-Group The rate group assigned to the app.
  • Metering-Method indicates how the information of the application is collected, including: duration, traffic, or traffic and duration.
  • Flow-Information filters information for specific stream packets
  • Precedence is the priority of the stream
  • Flow-Status is the gated policy corresponding to the flow information.
  • the PCEF entity determines a fourth identifier of the data flow on the PCEF entity, and obtains a fifth identifier of the data flow on the PCEF entity according to the data packet carrying the fifth identifier sent by the TDF entity; the TDF entity determines the data of the application carried by the TDF entity.
  • the fifth identifier of the stream is obtained according to the data packet that carries the fourth identifier sent by the PCEF entity, and obtains the fourth identifier of the data stream of the application carried by the TDF entity.
  • the TDF entity In online charging, when the TDF entity performs charging information statistics, for the uplink data packet, the TDF entity records both the application data packet and the charging information of the data packet corresponding to the fourth identifier, corresponding to A counter; for the downlink data packet, the TDF entity records the charging information of the data packet corresponding to the data packet of the application, corresponding to a counter.
  • the TDF entity collects the discarded uplink data packet, identifies the specific rate group, and reports it to the charging system, so that the charging system is configured according to the specific rate group.
  • the charging information of the data packet reported by the associated PCEF entity is not charged.
  • the TDF entity collects the upstream information of the discarded application and allocates the upstream information of the collected application to the TDF entity, after the TDF entity discards the applied flow, and does not affect the charging accuracy of the PCEF entity.
  • the rate is reported to the billing system to adjust the billing system to adjust the billing of the PCEF entity.
  • the charging information carries the fourth identifier and the corresponding identifier of each counter. Five identifiers, or only the fifth identifier (if there is no fourth identifier).
  • the CCR message for sending the charging information includes: one or more of each counter corresponding to the application identifier, the corresponding fourth identifier and the fifth identifier, the applied rate group, the corresponding usage information (traffic or duration), and the like. .
  • the values corresponding to different counters are encapsulated in different AVP groups of the CCC's MSCC (Multi-Services-Credit-Control).
  • the charging information When the PCEF entity sends the charging information to the charging system (when the reporting trigger condition of the PCEF entity is satisfied first, or when the indication message of the charging system is received), the charging information carries the fourth data flow on the PCEF entity.
  • the CCR message for transmitting the charging information includes: one or more of a fourth identifier, a fifth identifier, a rate group, usage information (traffic or duration), and the like.
  • the message can be as follows:
  • the fifth identifier charging system performs charging information association according to the fourth identifier and the fifth identifier, and uses the rate group and TDF of the data stream reported by the PCEF entity for the associated billing information.
  • the rate group of the application reported by the entity performs charging processing.
  • the charging method in the embodiment of the present invention carries the fourth identifier indicating the data flow on the PCEF entity and the fourth identifier of the corresponding rate group and the data flow for identifying the application in the charging information.
  • the five identifiers can be associated with the charging information of the processing flow and the charging information of the application, so that accurate charging and application charging can be performed.
  • the method for charging according to the embodiment of the present invention is described in detail from the perspective of the TDF entity.
  • the method for charging according to the embodiment of the present invention is described below from the perspective of the PCEF entity.
  • FIG. 3 shows a schematic flow diagram of a method 200 of charging in accordance with an embodiment of the present invention. As shown in FIG. 3, the method 200 includes:
  • the PCEF entity acquires the association identifier of the data flow carried by the PCEF entity.
  • S220 The PCEF entity sends the second charging information to the charging system, where the second charging information carries the association of the data flow carried by the PCEF entity. Identifying, in order for the charging system to process the second charging information and the TDF entity to the charging system according to the association identifier of the data stream carried by the PCEF entity and the association identifier of the data stream of the application carried by the TDF entity The first charging information that is sent, where the first charging information carries an associated identifier of the data stream of the application carried by the TDF entity.
  • the PCEF entity sends the second charging information that carries the associated identifier of the data flow carried by the PCEF entity to the charging system
  • the TDF entity sends the data flow of the application carried by the TDF entity to the charging system.
  • the charging system processes the first charging information and the second charging information according to the association identifier, so that the first charging information and the second charging information can be accurately charged, that is, Billing for data streams and applications at the same time.
  • the charging method of the embodiment of the present invention can process the charging information of the data flow and the charging information of the application by carrying the associated identifier in the charging information, thereby enabling accurate data flow and application charging. , to achieve simultaneous billing of applications and billing of data streams.
  • the method 200 further includes: The PCEF entity sends a second quota application request to the charging system, where the second quota application request carries the association identifier of the data flow carried by the PCEF entity and the rate group of the data flow, so that the charging system can be configured according to the The rate group of the data stream is assigned a second quota;
  • the PCEF entity receives the second quota sent by the billing system.
  • the PCRF entity delivers the applied charging policy and the charging policy of the data flow to the TDF entity and the PCEF entity respectively.
  • the PCEF entity After receiving the charging policy sent by the PCRF entity, the PCEF entity sends a second quota application request to the charging system, and the second quota application request carries the associated identifier of the data flow carried by the PCEF entity.
  • the charging system performs quota authorization according to the rate group of the data stream, and the PCEF entity receives the second quota sent by the charging system; after receiving the charging policy sent by the PCRF entity, the TDF entity is The online charging method sends a first quota application request to the charging system, where the first quota application request carries the associated identifier of the data stream of the application carried by the TDF entity and the applied rate group, and the charging system is configured according to the application.
  • the rate group performs quota authorization, and the TDF entity receives the first quota sent by the charging system.
  • the charging information is reported to the charging system first, and the charging system receives the reported charging information. Then, it is required to instruct another entity to also report the charging information, so as to associate the charging information of the processing data flow with the charging information of the application.
  • S220 includes:
  • the PCEF entity sends the second charging information to the charging system when the reporting trigger condition of the PCEF entity is satisfied, so that the charging system sends the association identifier of the data flow carried by the PCEF entity to the TDF entity according to the associated identifier of the data flow carried by the PCEF entity. Instructing the TDF entity to send an indication message of the first charging information to the charging system.
  • the method 200 further includes:
  • S220 includes:
  • the PCEF entity sends the second charging information to the charging system in response to the indication message.
  • the indication message carries an association identifier of a data flow of an application carried by the TDF entity;
  • the PCEF entity sends the second charging information to the charging system in response to the indication message, including: sending, by the PCEF entity, the data stream of the application carried by the TDF entity to the charging system The charging information of the data flow carried by the PCEF entity corresponding to the identifier.
  • the association identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier
  • the association identifier of the data stream carried by the PCEF entity includes the An identifier and the second identifier
  • the first identifier indicates a bearer to which the data stream belongs on the PCEF entity
  • the second identifier indicates a rate group corresponding to the data stream on the PCEF entity
  • the PCEF entity receives the charging policy of the data stream sent by the PCRF entity, where the charging policy includes the first identifier and the second identifier of the data stream carried by the PCEF entity, and the charging policy is obtained according to the charging policy of the data flow.
  • the association identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the a first identifier and the second identifier, where the first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity;
  • S210 includes:
  • the PCEF entity receives the charging policy of the data stream sent by the PCRF entity, and the charging policy of the data stream includes the second identifier of the data stream carried by the PCEF entity, and the PCEF entity is acquired according to the charging policy of the data flow. a second identifier of the data stream;
  • the method 200 also includes:
  • the PCEF entity sends a first identifier of the data stream carried by the PCEF entity to the PCRF entity.
  • the association identifier of the data stream of the application carried by the TDF entity 7 includes a third identifier
  • the association identifier of the data stream carried by the PCEF entity includes the The third identifier indicates the bearer to which the data flow belongs on the PCEF entity and the corresponding rate group;
  • S210 includes:
  • the PCEF entity receives the charging policy of the data stream sent by the PCRF entity, and the charging policy of the data stream includes a third identifier of the data stream carried by the PCEF entity, and the PCEF entity is acquired according to the charging policy of the data flow.
  • the third identifier of the data stream is a third identifier of the data stream.
  • the association identifier of the data stream of the application carried by the TDF entity 7 includes a fourth identifier and a fifth identifier, where the associated identifier of the data stream carried by the PCEF entity includes the The fourth identifier and the fifth identifier, where the fourth identifier indicates a bearer to which the data stream belongs on the PCEF entity and a corresponding rate group, where the fifth identifier is used to identify the data stream of the application;
  • S210 includes:
  • the method 200 also includes:
  • the PCEF entity sends a data packet carrying the fourth identifier to the TDF entity, so that the TDF entity obtains the fourth identifier of the data stream of the application carried by the TDF entity according to the data packet carrying the fourth identifier.
  • the charging method of the embodiment of the present invention can associate the charging information of the processing flow with the charging information of the application by carrying the association identifier in the charging information, so that accurate charging and application charging can be performed.
  • FIG. 4 shows a schematic flow diagram of a method 300 of charging in accordance with an embodiment of the present invention. As shown in FIG. 4, the method 300 includes:
  • the charging system receives the first charging information sent by the TDF entity, where the first charging information carries an association identifier of the data stream of the application carried by the TDF entity.
  • the charging system receives the second charging information sent by the PCEF entity, where the second charging information carries the associated identifier of the data flow carried by the PCEF entity.
  • the charging system processes the first charging information and the second charging information according to an association identifier of the data stream of the application carried by the TDF entity and an association identifier of the data stream carried by the PCEF entity.
  • the charging system receives the TDF entity sent by the TDF entity.
  • the first charging information of the associated identifier of the data flow of the application is received, and the second charging information that is sent by the PCEF entity and carries the associated identifier of the data flow carried by the PCEF entity is received, and then the first charging is processed according to the association identifier association.
  • Information and second billing information are used to indicate the association identifier association.
  • the charging method of the embodiment of the present invention can accurately perform the charging information of the flow carrying the associated identifier and the charging information of the application, and the charging information of the processing flow and the charging information of the application according to the associated identifier can be accurately performed. Billing for data streams and applications.
  • the association identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the association identifier of the data stream carried by the PCEF entity includes the first The identifier and the second identifier, where the first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity.
  • the association identifier of the data flow of the application carried by the TDF entity includes a third identifier, where the association identifier of the data flow carried by the PCEF entity includes the third identifier, where the third identifier indicates the data flow The bearer to which the PCEF entity belongs and the corresponding rate group.
  • the association identifier of the data stream of the application carried by the PCEF entity includes a fourth identifier and a fifth identifier, where the association identifier of the data stream carried by the PCEF entity includes the fourth identifier and the fifth identifier,
  • the fourth identifier indicates a bearer to which the data stream belongs on the PCEF entity and a corresponding rate group, and the fifth identifier is used to identify the data stream of the application.
  • the method 300 further includes: the charging system receiving a first quota application request sent by the TDF entity, where the first quota application request carries the TDF entity An association identifier of the applied data stream and a rate group of the application, so that the billing system can allocate the first quota according to the rate group of the application;
  • the charging system sends a first quota to the TDF entity
  • the method further includes:
  • the charging system receives the second quota application request sent by the PCEF entity, where the second quota application request carries the association identifier of the data flow carried by the PCEF entity and the rate group of the data flow, so that the charging system can The rate group of the data stream allocates a second quota;
  • the billing system sends a second quota to the PCEF entity.
  • the TDF entity and the PCEF entity respectively send the first quota application to the charging system.
  • the request and the second quota application request the first quota application request carries the association identifier of the data flow of the application carried by the TDF entity and the applied rate group, and the second quota application request carries the association identifier of the data flow carried by the PCEF entity And the rate group of the data stream;
  • the charging system performs the quota authorization, and sends the first quota and the second quota to the TDF entity and the PCEF entity respectively, and determines the association processing according to the association identifier obtained when the quota authorization is processed in subsequent processing of the charging information.
  • Billing information the association processing according to the association identifier obtained when the quota authorization is processed in subsequent processing of the charging information.
  • the charging information is reported to the charging system, and the charging system receives the reported charging. After the information is determined to be associated with the processing of the charging information, the other entity is instructed to report the charging information, so as to associate the charging information of the processing data flow with the charging information of the application.
  • S310 includes:
  • the charging system receives the first charging information sent by the TDF entity to the charging system when the reporting triggering condition of the TDF entity is satisfied.
  • the method further includes:
  • the charging system sends an indication message indicating that the PCEF entity sends the second charging information to the PCEF entity according to the associated identifier of the data stream of the application carried by the TDF entity;
  • S320 includes:
  • the charging system receives the second charging information sent by the PCEF entity in response to the indication message.
  • the indication message carries an association identifier of a data flow of an application carried by the TDF entity;
  • S321 includes:
  • the charging system receives the charging information of the data flow carried by the PCEF entity corresponding to the associated identifier of the data stream of the application carried by the TDF entity.
  • the TDF entity after the reporting trigger condition of the TDF entity is satisfied, the TDF entity sends the first charging information to the charging system, where the first charging information carries the data stream of the application carried by the TDF entity. Associated ID.
  • the charging system determines that the charging session of the PCEF entity corresponding to the associated identifier is affected according to the associated identifier of the data flow of the application carried by the TDF entity, and the association process is required.
  • the association identifier of the data flow of the application carried by the TDF entity is the same as the association identifier of the data flow carried by the PCEF entity obtained by the credit authorization, and it is determined that the associated accounting information needs to be processed.
  • the charging system sends an indication message, such as a Re-Auth-Request (RAR) message, to the PCEF entity, indicating that the PCEF entity also reports the charging information.
  • RAR Re-Auth-Request
  • the indication message sent by the charging system may be used to indicate that the PCEF entity reports all charging information in the charging session.
  • the RAR message is the same as the RAR message in the prior art.
  • the indication message sent by the charging system may be used to indicate that the PCEF entity reports the charging information that needs to be associated with the charging information reported by the TDF entity in the charging session.
  • the indication message carries the association identifier of the data stream of the application carried by the TDF entity, so that the PCEF entity reports the charging information corresponding to the association identifier.
  • the charging system sends the second identifier in the charging information reported by the TDF entity to the PCEF entity, so that the PCEF entity reports the charging information corresponding to the second identifier.
  • the RAR message carries the following content:
  • the charging system sends the third identifier in the charging information reported by the TDF entity to the PCEF entity, so that the charging information corresponding to the third identifier is sent by the PCEF entity;
  • the RAR message carries the following content: :
  • the sub-scenario is as follows:
  • the charging system sends the fourth identifier to the PCEF entity, if the charging information of the TDF entity is >3 ⁇ 4 If the fourth identifier is not included, the charging system does not send the RAR, but directly performs charging processing on the application.
  • the charging system sends the fourth identifier in the charging information reported by the TDF entity to the PCEF entity (if the charging information reported by the TDF entity includes the fourth identifier) And the fifth identifier, so that the PCEF entity reports the charging information corresponding to the fourth identifier (if the charging information reported by the TDF entity includes the fourth identifier) and the fifth identifier; for example, the RAR message carries the following content:
  • the PCEF entity sends the second charging information to the charging system according to the indication message, where the second charging information carries the associated identifier of the data flow carried by the PCEF entity.
  • the indication message sent by the charging system carries the association identifier of the data flow of the application carried by the TDF entity
  • the PCEF entity only sends the association identifier corresponding to the data flow of the application carried by the TDF entity to the charging system.
  • Charging information of the data flow carried by the PCEF entity if the indication message sent by the charging system is not If the association identifier is carried, the PCEF entity sends all charging information in the charging session to the charging system.
  • S320 includes:
  • the charging system receives the second charging information sent by the PCEF entity to the charging system when the reporting trigger condition of the PCEF entity is met;
  • the method 300 further includes:
  • the charging system sends an indication message indicating that the TDF entity sends the first charging information to the TDF entity according to the association identifier of the data flow carried by the PCEF entity;
  • S310 includes
  • the charging system receives the first charging information that is sent by the TDF entity in response to the indication message.
  • the indication message carries an association identifier of the data flow carried by the PCEF entity;
  • S312 includes:
  • the charging system receives the charging information of the data stream of the application carried by the TDF entity corresponding to the association identifier of the data stream carried by the PCEF entity sent by the TDF entity.
  • the PCEF entity after the reporting trigger condition of the PCEF entity is satisfied, the PCEF entity sends the second charging information to the charging system, where the second charging information carries the associated identifier of the data flow carried by the PCEF entity. .
  • the charging system sends an indication message to the TDF entity according to the association identifier of the data flow carried by the PCEF entity, and indicates that the TDF entity also applies the charging information. For example, the charging system determines the need to process the charging information according to the association identifier of the data stream carried by the PCEF entity and the associated data identifier of the application carried by the TDF entity. Therefore, an indication message, such as a RAR message, is sent to the TDF entity.
  • the indication message sent by the charging system may indicate all charging information in the charging session on the TDF entity, in this case, the RAR message is the same as the RAR message in the prior art.
  • the indication message sent by the charging system may be used to indicate charging information that needs to be associated with the charging information reported by the TDF entity in the charging session on the TDF entity.
  • the indication message carries the association identifier of the data stream carried by the PCEF entity, so that the TDF entity reports the charging information corresponding to the association identifier.
  • the charging system sends the first identifier and the second identifier in the charging information reported by the PCEF entity to the TDF entity, so that the TDF entity reports the first identifier and the first identifier.
  • the second identifier identifies the charging information; the RAR message carries the following content:
  • the charging system sends the third identifier in the charging information reported by the PCEF entity to the TDF entity, so that the TDF entity reports the charging information corresponding to the third identifier.
  • the RAR message carries the following content. :
  • the sub-scenario is as follows:
  • the charging system sends the fourth identifier in the charging information reported by the PCEF entity to the TDF entity, so that the TDF entity reports the charging information corresponding to the fourth identifier.
  • the charging system sends the fourth identifier and the fifth identifier in the charging information reported by the PCEF entity to the TDF entity (if the charging information reported by the PCEF entity is included)
  • the fifth identifier is configured to enable the charging information corresponding to the fourth identifier and the fifth identifier (including the fifth identifier included in the charging information reported by the PCEF entity) on the TDF entity; for example, the RAR message carries the following content:
  • the TDF entity sends the first charging information to the charging system according to the indication message, where the first charging information carries the associated identifier of the data stream of the application carried by the TDF entity.
  • the TDF entity sends only the TDF entity corresponding to the association identifier of the data flow carried by the PCEF entity to the charging system.
  • the charging information of the data flow of the carried application if the indication message sent by the charging system does not carry the associated identifier, the TDF entity sends all charging information in the charging session to the charging system.
  • S330 includes:
  • the charging system determines the same charging information as the associated identifier in the first charging information and the second charging information, and uses different charging policies for charging the same charging information.
  • the accounting of different charging policies according to the embodiment of the present invention may be performed by subtracting the charging information repeated in the first charging information and the second charging information, and then for the first charging information and the second charging information.
  • the charging is performed after deducting the repeated charging information, or the charging information with the same associated identifier in the first charging information and the second charging information is charged according to the charging policy of the flow or the charging policy of the application.
  • the billing system passes the billing information (second billing information) of the data stream and the billing information of the application (the The same association identifier in a charging information) determines duplicate charging information, deducts the repeated charging information, and then performs charging for the non-repeating charging information.
  • the method for charging according to the embodiment of the present invention can obtain accurate data by receiving the charging information of the flow carrying the associated identifier and the charging information of the application, and correlating the charging information of the processing flow with the charging information of the application according to the associated identifier. Billing for streams and applications.
  • FIG. 7 shows a schematic flow diagram of a method 400 of charging in accordance with an embodiment of the present invention. As shown
  • the method 400 includes:
  • the PCRF entity sends a charging policy of the data flow to the PCEF entity, where the charging policy of the data flow includes the second charging association information, so that the PCEF entity generates the carrying the PCEF entity according to the charging policy of the data flow.
  • the PCRF entity sends an application charging policy to the TDF entity, where the charging policy of the application includes the first charging association information, so that the TDF entity generates the application carried by the TDF entity according to the charging policy of the application.
  • the first charging information of the associated identifier of the data stream; wherein the associated identifier of the data stream carried by the PCEF entity and the associated identifier of the data stream of the application carried by the TDF entity are used for the charging system association processing. Billing information and the second billing information.
  • the PCRF entity sends a charging policy of the data flow to the PCEF entity, sends the applied charging policy to the TDF entity, and carries the charging association information in the charging policy, so that the PCEF entity and the TDF can be enabled.
  • the entity generates the charging information that carries the associated identifier, so that the charging system associates the charging information of the processing flow with the charging information of the application, so that accurate data flow and application charging can be realized.
  • the second charging association information includes an association identifier of the data flow carried by the PCEF entity, where the first charging association information includes an association identifier of the data flow of the application carried by the TDF entity; the TDF entity The associated identifier of the data stream of the application includes the first identifier and the second identifier, and the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where the first identifier Indicates the bearer to which the data flow belongs on the PCEF entity, and the second identifier indicates the corresponding rate group of the data flow on the PCEF entity.
  • the second charging association information includes an association identifier of the data flow carried by the PCEF entity, where the first charging association information includes an association identifier of the data flow of the application carried by the TDF entity;
  • the associated identifier of the data stream of the application includes a third identifier, and the associated identifier of the data stream carried by the PCEF entity includes the third identifier, where the third identifier indicates that the data stream belongs to the PCEF entity.
  • the corresponding rate group includes an association identifier of the data flow carried by the PCEF entity, where the first charging association information includes an association identifier of the data flow of the application carried by the TDF entity;
  • the associated identifier of the data stream of the application includes a third identifier, and the associated identifier of the data stream carried by the PCEF entity includes the third identifier, where the third identifier indicates that the data stream belongs to the PCEF entity.
  • the corresponding rate group includes an association identifier of the data flow carried by the PCEF entity, where the first charging association information
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier,
  • the first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity;
  • the second charging association information includes a second identifier of the data stream carried by the PCEF entity, where the first charging association information includes a first identifier and a second identifier of the data stream of the application carried by the TDF entity;
  • the method 400 further includes:
  • the first charging association information includes an association identifier of a data stream of all applications on the TDF entity and a stream template corresponding to an association identifier of a data stream of all applications on the TDF entity.
  • the charging policy of the data carrying the charging association information is sent to the TDF entity by sending the charging policy of the data flow carrying the charging association information to the PCEF entity, so that the PCEF entity and the TDF entity can be enabled.
  • the charging information carrying the associated identifier is generated, so that the charging system associates the charging information of the processing flow with the charging information of the application, so that accurate data flow and application charging can be realized.
  • the charging method of the embodiment of the present invention is described above from the perspective of the TDF entity, the PCEF entity, the charging system, and the PCRF entity.
  • the embodiments of the present invention will be described in detail below with reference to specific examples. It should be noted that the examples are only intended to assist those skilled in the art to better understand the embodiments of the present invention, and not to limit the scope of the embodiments of the present invention.
  • the association identifier adopts a first identifier and a second identifier, and the first identifier and the second identifier are generated by a PCRF entity.
  • the PCRF entity performs policy generation.
  • the PCRF entity generates a flow control policy and a data flow charging policy for the PCEF entity, and the generated charging policy of the data flow includes: a first identifier, a Charging Key (as a second identifier) allocated for the flow.
  • the PCRF entity generates an application control policy and an application charging policy for the TDF entity, and the generated charging policy of the application includes: a Charging Key of the application allocated for the application, a first identifier of the data stream of the application, and a first identifier corresponding to the first identifier
  • the PCRF entity installs a policy for activating the application to the TDF entity. If there is no Sd session, the step is an Sd session establishment request, where the request carries an application identifier, an application control policy (optional), and an applied charging policy; if there is currently an Sd session, the step is an ADC Rule installation request.
  • the ADC Rule includes an application identifier, an application control policy (optional), and an applied charging policy. This step includes the charging policy of the application.
  • the PCRF entity installs a control policy of the flow and a charging policy of the data flow to the PCEF entity, where the step includes the charging policy of the data flow.
  • the TDF entity initiates an application for a credit quota application request to the OCS according to the charging policy applied by the PCRF entity. If the online charging is indicated in the charging policy sent by the PCRF entity, the TDF entity sends a credit quota application request (ie, a CCR message) to the OCS, where the request carries the rate group allocated by the PCRF entity for the application.
  • a credit quota application request ie, a CCR message
  • the first identifier is carried, and if the application that needs to be charged on the TDF entity corresponds to multiple first identifiers, the CCR message carries multiple first identifiers; the CCR message is as follows (only relevant AVPs are listed):
  • ⁇ CCR>:: ⁇ Diameter Header: 272, REQ, PXY >
  • the Multiple-Services-Credit-Control carries the following information (only relevant AVPs are listed):
  • the OCS performs quota authorization, and returns quota authorization information, that is, a Credit-Control-Answer (CCA) message to the TDF entity.
  • CCA Credit-Control-Answer
  • the PCEF entity sends an OCS according to the charging policy of the data stream delivered by the PCRF entity.
  • Group optional, carries the first identifier; the CCR message is as follows (only relevant AVPs are listed):
  • ⁇ CCR>:: ⁇ Diameter Header: 272, REQ, PXY >
  • the OCS performs quota authorization and returns quota authorization information (CCA message) to the PCEF entity.
  • a charging session on the PCEF entity initiates, to the OCS, the charging information (traffic or duration information) of the reported flow and applies for a new quota CCR message.
  • the CCR message includes: a first identifier and a second identifier, a rate group of the data stream, usage information (traffic or duration).
  • the OCS sends an indication message to the TDF entity.
  • the OCS determines the TDF entity charging session to be sent by the RAR according to the association identifier obtained by the credit quota authorization, and the association identifier reported by the PCEF entity, and then sends a RAR message to the TDF entity to instruct the TDF entity to apply for re-authorization and report the report.
  • the usage information of the application that is, the billing information of the application.
  • the TDF entity reports the application charging information through the CCR message according to the requirements of the RAR, and re-applies the quota.
  • the CCR message includes: each counter corresponding to the application identifier, the corresponding first identifier and the second identifier, the applied rate group, and the corresponding usage information (traffic or duration).
  • the values corresponding to different counters are encapsulated in different AVP groups of MSCC (Multi-Services-Credit-Control) of CCR.
  • the OCS performs charging information according to the association identifier reported by the PCEF entity and the TDF entity. For the associated billing information, the rate group of the data stream reported by the PCEF entity and the rate group of the application reported by the TDF entity are used for charging processing.
  • the OCS issues a new quota after the heavy authorization to the TDF entity
  • OCS issues a new quota to the PCEF entity.
  • the association identifier also uses the first identifier and the second identifier, and the first identifier and the second identifier are generated by the PCRF entity, which is different from the embodiment shown in FIG. 8 in the service use process.
  • the reporting trigger condition of the TDF entity in the online charging is satisfied first.
  • a charging session on the TDF entity sends a CCR message to the OCS to report charging information (traffic or duration information) and apply for a new quota.
  • the CCR message includes: a counter corresponding application identifier, a corresponding first identifier and a second identifier, an applied rate group, and corresponding usage information (traffic or duration).
  • the values corresponding to different counters are encapsulated in different AVP groups of the MSCC (Multi-Services-Credit-Control) of the CCR.
  • the OCS sends an indication message to the PCEF entity.
  • the OCS determines the affected PCEF entity charging session according to the association identifier obtained by the credit quota authorization and the association identifier reported by the TDF entity, and then sends a RAR message to each affected PCEF entity charging session, instructing the PCEF entity to perform the Re-authorize the application, and report the usage information of the flow, that is, the flow accounting information.
  • the PCEF entity reports the flow accounting information through the CCR message according to the requirements of the RAR, and re-applies the quota.
  • the CCR message a first identifier and a second identifier, a rate group corresponding to the stream, and corresponding usage information (flow or duration).
  • the OCS performs charging information association according to the association identifier reported by the PCEF entity and the TDF entity. For the associated charging information, the rate group of the data flow reported by the PCEF entity and the application rate group reported by the TDF entity are respectively used. Perform billing processing.
  • the OCS issues a new quota after the heavy authorization to the PCEF entity
  • OCS issues a new quota to the TDF entity.
  • the association identifier adopts a first identifier and a second identifier, where the first identifier is generated by a PCEF entity, and the second identifier is generated by a PCRF entity. 1001.
  • the PCEF entity determines the first identifier. If the bearer is newly established, the PCEF entity needs to generate a first identifier corresponding to the new bearer. If the bearer is modified or terminated, the bearer is assigned the original first identifier.
  • the PCEF entity reports the first identifier to the PCRF entity.
  • the PCEF entity reports the bearer identifier, that is, the first identifier, to the PCRF entity. If the bearer is newly established, the PCEF entity needs to generate a first identifier corresponding to the new bearer. If the bearer is modified or terminated, the original first identifier assigned to the bearer is reported to the PCRF entity. If the new bearer is set up or the bearer is updated, the PCEF entity needs to report the bearer identifier, and also needs to report the flow filtering information of the bearer.
  • the flow filtering information is: the flow template information bound to the bearer, used to match the flow to The bearer. If the bearer is over, the flow filtering information of the bearer may not be reported.
  • the PCRF entity performs policy generation.
  • the PCRF entity generates a flow control policy and a data flow charging policy for the PCEF entity, and the generated charging policy of the data flow includes: a Charging Key (as the second identifier) allocated for the flow.
  • the PCRF entity generates an application control policy and an application charging policy for the TDF entity, and the generated charging policy of the application includes: a Charging Key of the application allocated for the application, a first identifier of the data stream of the application, and a first identifier corresponding to the first identifier
  • the PCRF entity installs a policy for activating the application to the TDF entity. This step includes the charging policy for the application generated in 1003.
  • the PCRF entity installs a control policy of the flow and a charging policy of the data flow to the PCEF entity.
  • the step includes the charging policy of the data flow generated in 1003.
  • the subsequent 1010 value 1015 is the same as 809 to 813 in FIG.
  • the association identifier also uses the first identifier and the second identifier.
  • the first identifier is generated by the PCEF entity
  • the second identifier is generated by the PCRF entity.
  • the difference from the embodiment shown in FIG. 10 is that During the service use, the reporting trigger condition of the TDF entity in online charging is satisfied first.
  • 1001 to 1009 are the same as 1001 to 1009 in Fig. 10; during the service use, after the reporting trigger condition of the TDF entity in the online charging is satisfied first, the subsequent 901 to 906 are the same as 901 to 906 in Fig. 9.
  • the association identifier adopts a third identifier, and the third identifier is generated by the PCRF entity. 1201.
  • the PCRF entity performs policy generation.
  • the PCRF entity generates a flow control policy and a data flow charging policy for the PCEF entity, and the generated charging policy of the data flow includes: a Charging Key assigned to the flow, and a third identifier.
  • the PCRF entity generates an application control policy and an application charging policy for the TDF entity, and the generated charging policy of the application includes: a Charging Key of the application allocated for the application, and a third identifier of the data stream of the application.
  • the PCRF entity installs a policy for activating the application to the TDF entity. This step includes the charging policy for the application generated in 1201.
  • the PCRF entity installs a control policy of the flow and a charging policy of the data flow to the PCEF entity, where the step includes the charging policy of the data flow generated in 1201.
  • the TDF entity initiates an application for a credit quota application request to the OCS according to the charging policy applied by the PCRF entity. If the online charging is indicated in the charging policy sent by the PCRF entity, the TDF entity sends a request for the application of the credit quota request (ie, the CCR message) to the OCS, where the request carries the rate group allocated by the PCRF entity for the application.
  • the third identifier is carried, and if the application that needs to be charged on the TDF entity corresponds to multiple third identifiers, the CCR message carries multiple third identifiers.
  • the OCS performs quota authorization and returns quota authorization information (CCA message) to the TDF entity.
  • the PCEF entity sends a credit quota application request to the OCS according to the charging policy of the data stream delivered by the PCRF entity. If the online charging is performed in the charging policy that is sent by the PCRF entity, the PCEF entity sends a credit quota application request (ie, a CCR message) to the OCS, where the request carries the rate group allocated by the PCRF entity. Optionally, carrying the third identifier.
  • the OCS performs quota authorization and returns quota authorization information (CCA message) to the PCEF entity.
  • CCA message quota authorization information
  • a charging session on the PCEF entity initiates a charging of the flow accounting information (traffic or duration information) to the OCS and applies for a new quota CCR message.
  • the CCR message includes: a third identity, a rate group of the data stream, usage information (traffic or duration).
  • the OCS sends an indication message to the TDF entity. Obtained by OCS when authorized according to credit quota
  • the association identifier, and the association identifier reported by the PCEF entity determine the TDF entity charging session that needs to be delivered by the RAR, and then send a RAR message to the TDF entity, instruct the TDF entity to perform the re-authorization application, and report the application usage information, that is, the application. Billing information.
  • the TDF entity reports the application charging information through the CCR message according to the requirements of the RAR, and re-applies the quota.
  • the CCR message includes: each counter corresponding to the application identifier, the corresponding third identifier, the applied rate group, and the corresponding usage information (traffic or duration).
  • the values corresponding to different counters are encapsulated in different AVP groups of MSCC (Multi-Services-Credit-Control) of CCR.
  • the OCS performs charging information association according to the association identifier reported by the PCEF entity and the TDF entity. For the associated charging information, the rate group of the data flow reported by the PCEF entity and the applicable rate group of the TDF entity are respectively used. Perform billing processing.
  • the OCS issues a new quota after the heavy authorization to the TDF entity
  • OCS issues a new quota to the PCEF entity.
  • the association identifier also adopts a third identifier, and the third identifier is
  • the PCRF entity is generated, which is different from the embodiment shown in FIG. 12 in that, during the service use, the reporting trigger condition of the TDF entity in the line charging is satisfied first.
  • a charging session on the TDF entity initiates a CCR message reporting the charging information (traffic or duration information) to the OCS and applying for a new quota.
  • the CCR message includes: a counter corresponding application identifier, a corresponding third identifier, an applied rate group, and corresponding usage information (traffic or duration).
  • the values corresponding to different counters are encapsulated in different AVP groups of MSCC (Multi-Services-Credit-Control) of CCR.
  • the OCS sends an indication message to the PCEF entity.
  • the OCS determines the affected PCEF entity charging session according to the association identifier obtained by the credit quota authorization and the association identifier reported by the TDF entity, and then sends a RAR message to each affected PCEF entity charging session to instruct the PCEF entity to perform the Re-authorize the application, and report the usage information of the flow, that is, the flow accounting information.
  • the PCEF entity reports the flow accounting information through the CCR message according to the requirements of the RAR, and re-applies the quota.
  • the CCR message the third identifier, the rate group corresponding to the stream, and the corresponding use Information (flow or duration).
  • the OCS performs charging information association according to the association identifier reported by the PCEF entity and the TDF entity. For the associated charging information, the rate group of the data flow reported by the PCEF entity and the applicable rate group of the TDF entity are respectively used. Perform billing processing.
  • the OCS issues a new quota after the heavy authorization to the PCEF entity
  • the OCS issues a new quota to the TDF entity.
  • the association identifier adopts a fourth identifier and a fifth identifier, the fourth identifier is generated by the PCEF entity, and the fifth identifier is generated by the TDF entity.
  • the PCRF entity performs policy generation.
  • the PCRF entity generates a flow control policy and a data flow charging policy for the PCEF entity, and generates an applied control policy and an application charging policy for the TDF entity.
  • the PCRF entity installs a control policy of the flow and a charging policy of the data flow to the PCEF entity.
  • the step includes the charging policy of the data flow generated in 1401.
  • the PCRF entity installs a policy for activating the application to the TDF entity. This step includes the charging policy for the application generated in 1401.
  • the PCEF entity sends a credit quota application request to the OCS according to the charging policy of the data flow delivered by the PCRF entity. If the online charging is indicated in the charging policy delivered by the PCRF entity, the billing request is sent by the PCRF entity to the OCS, and the request is sent by the PCRF entity.
  • the group optionally, carries the fourth identifier. If there are multiple fourth identifiers on the PCEF entity, the CCR message carries multiple fourth identifiers; the CCR message is as follows (only the J'J out related AVP):
  • ⁇ CCR>:: ⁇ Diameter Header: 272, REQ, PXY >
  • the OCS performs quota authorization and returns quota authorization information (CCA message) to the PCEF entity.
  • CCA message quota authorization information
  • the TDF entity initiates an application for a credit quota application request to the OCS according to the charging policy applied by the PCRF entity. If the online charging is indicated in the charging policy sent by the PCRF entity, the TDF entity sends a request for the application of the credit quota request (ie, the CCR message) to the OCS, where the request carries the rate group allocated by the PCRF entity for the application.
  • the CCR message is as follows (only ⁇ 'J out related AVP):
  • ⁇ CCR>:: ⁇ Diameter Header: 272, REQ, PXY >
  • the OCS performs quota authorization and returns quota authorization information (CCA message) to the TDF entity.
  • CCA message quota authorization information
  • the PCEF entity adds a fourth identifier to each uplink data packet.
  • the PCEF entity sends, to the TDF entity, a data packet carrying the fourth identifier in the uplink.
  • the TDF entity adds a fifth identifier to each downlink data packet.
  • the TDF entity sends, to the PCEF entity, a data packet carrying the fifth identifier in the downlink.
  • a charging session on the PCEF entity initiates a charging of the flow accounting information (traffic or duration information) to the OCS and applies for a new quota CCR message.
  • the CCR message includes: a fourth identifier and a fifth identifier (or only the fourth identifier), a rate group of the data stream, usage information (traffic or duration).
  • the OCS sends an indication message to the TDF entity.
  • the OCS determines the TDF entity charging session to be sent by the RAR according to the association identifier obtained by the credit quota authorization, and the association identifier reported by the PCEF entity, and then sends a RAR message to the TDF entity to instruct the TDF entity to apply for re-authorization and report the report.
  • the usage information of the application that is, the billing information of the application.
  • the TDF entity reports the application charging information through the CCR message according to the requirements of the RAR, and re-applies the quota.
  • the CCR message includes: each counter corresponding to the application identifier, the corresponding fourth identifier and the fifth identifier (or only the fifth identifier), the applied rate group, and the corresponding usage information.
  • the OCS performs charging information association according to the association identifier reported by the PCEF entity and the TDF entity. For the associated charging information, the rate group of the data flow reported by the PCEF entity and the applicable rate group of the TDF entity are respectively used. Perform billing processing.
  • the OCS issues a new quota after the heavy authorization to the TDF entity
  • OCS issues a new quota to the PCEF entity.
  • the association identifier also adopts the fourth identifier and the fifth identifier, and the fourth The identifier is generated by the PCEF entity, and the fifth identifier is generated by the TDF entity.
  • the difference from the embodiment shown in FIG. 14 is that, in the service usage process, the reporting trigger condition of the TDF entity in the online charging is satisfied first.
  • a charging session on the TDF entity initiates a CCR message to the OCS to report charging information (traffic or duration information) and apply for a new quota.
  • the CCR message includes: a counter corresponding application identifier, a corresponding fourth identifier and a fifth identifier (or only a fifth identifier), an applied rate group, and corresponding usage information (traffic or duration).
  • the values corresponding to different counters are encapsulated in different AVP groups of MSCC (Multi-Services-Credit-Control) of CCR.
  • the OCS sends an indication message to the PCEF entity.
  • the OCS determines the affected PCEF entity charging session according to the association identifier obtained by the credit quota authorization and the association identifier reported by the TDF entity, and then sends a RAR message to each affected PCEF entity charging session to instruct the PCEF entity to perform the Re-authorize the application, and report the usage information of the flow, that is, the flow accounting information.
  • the PCEF entity reports the flow accounting information through the CCR message according to the requirements of the RAR, and re-applies the quota.
  • the CCR message a fourth identifier and a fifth identifier (or only the fourth identifier), a rate group corresponding to the stream, and corresponding usage information (traffic or duration).
  • the OCS performs charging information association according to the association identifier reported by the PCEF entity and the TDF entity. For the associated charging information, the rate group of the data flow reported by the PCEF entity and the applicable rate group of the TDF entity are respectively used. Perform billing processing.
  • the OCS issues a new quota to the TDF entity.
  • the charging method of the embodiment of the present invention can process the charging information of the data flow and the charging information of the application by carrying the associated identifier in the charging information, so that accurate data flow and application charging can be performed. At the same time, billing for applications and billing for data streams.
  • the method for generating the association identifier, the method for the PCEF entity and the TDF entity to obtain the association identifier is the same as the method for online charging, and the difference between the online charging and the online charging is that there is no credit quota application step in the offline charging.
  • the charging system instructs the TDF entity or the PCEF entity to report the charging information.
  • the PCEF entity and the TDF entity respectively report the charging information carrying the associated identifier, and the offline charging is based on the charging information reported by the PCEF entity and the TDF entity.
  • the association identifier carried in the information, and the association process is the charging information from the PCEF entity and the TDF entity.
  • the accounting information reported by the PCEF entity includes: an association identifier, a rate group, and usage information (traffic or duration).
  • the association identifier is a first identifier and a second identifier.
  • the association identifier is a third identifier.
  • the association identifier is a fourth identifier, or a fourth identifier and a fifth identifier.
  • the charging information reported by the TDF entity includes: each counter corresponding to the application identifier, the corresponding associated identifier, the applied rate group, and the corresponding usage information (traffic or duration).
  • the association identifier corresponding to the counter is the first identifier and the second identifier.
  • the association identifier corresponding to the counter is the third identifier.
  • the association identifier corresponding to the counter is the fifth identifier, or the fourth identifier and the fifth identifier. It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • a method for charging according to an embodiment of the present invention is described in detail above with reference to FIG. 1 to FIG. 15.
  • a TDF entity, a PCEF entity, a charging system, and a PCRF according to an embodiment of the present invention will be described below with reference to FIG. 16 to FIG. entity.
  • FIG 16 shows a schematic block diagram of a TDF entity 1600 in accordance with an embodiment of the present invention.
  • the TDF entity 1600 includes:
  • An obtaining module 1610 configured to acquire an association identifier of a data flow of an application carried by the TDF entity
  • the sending module 1620 is configured to send the first charging information to the charging system, where the first charging information carries an association identifier of the data stream of the application carried by the TDF entity, so that the charging system is carried according to the TDF entity.
  • the association identifier of the data stream of the application and the association identifier of the data flow carried by the PCEF entity and the billing execution function are associated with the first billing information and the second billing information sent by the PCEF entity to the billing system.
  • the second charging information carries an association identifier of the data flow carried by the PCEF entity.
  • the TDF entity of the embodiment of the present invention by carrying the association identifier in the charging information, can enable the charging system to process the charging information of the data flow and the charging information of the application, thereby enabling accurate data flow and application charging. , to achieve simultaneous billing of applications and billing of data streams.
  • the sending module 1620 is specifically configured to: when the reporting condition of the TDF entity is full Sending the first charging information to the charging system, so that the charging system sends the PCEF entity to the PCEF entity according to the associated identifier of the data stream of the application carried by the TDF entity. Sending an indication message of the second charging information.
  • the TDF entity 1600 further includes:
  • the first receiving module is configured to: before the sending module sends the first charging information to the charging system, receive, by the charging system, the TDF entity to send the first according to the association identifier sent by the data flow carried by the PCEF entity An indication message of the billing information;
  • the sending module 1620 is specifically configured to send the first charging information to the charging system in response to the indication message.
  • the indication message carries the association identifier of the data flow carried by the PCEF entity.
  • the sending module 1620 is specifically configured to send, to the charging system, the TDF corresponding to the association identifier of the data flow carried by the PCEF entity.
  • the TDF entity 1600 further includes:
  • a second receiving module configured to receive a charging policy of the application sent by the PCRF entity, where the charging policy of the application includes an associated identifier of the data flow of the application carried by the TDF entity;
  • the obtaining module 1610 is specifically configured to: acquire an association identifier of a data flow of an application carried by the TDF entity according to a charging policy of the application;
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where The first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity; or
  • the associated identifier of the data stream of the application carried by the TDF entity includes a third identifier
  • the associated identifier of the data stream carried by the PCEF entity includes the third identifier, where the third identifier indicates that the data stream is in the PCEF entity The assigned load and the corresponding rate group.
  • the charging policy of the application includes an association identifier of a data flow of all applications on the TDF entity, and a flow template corresponding to the associated identifier of the data flow of all applications on the TDF entity;
  • the obtaining module 1610 is specifically configured to: obtain an application carried by the TDF entity according to the associated identifier of the data flow of all the applications on the TDF entity, and the flow template corresponding to the associated identifier of the data flow of all applications on the TDF entity.
  • the associated identifier of the data stream is specifically configured to: obtain an application carried by the TDF entity according to the associated identifier of the data flow of all the applications on the TDF entity, and the flow template corresponding to the associated identifier of the data flow of all applications on the TDF entity.
  • the associated identifier of the data flow of the application carried by the TDF entity 7 includes the fourth identifier.
  • the fifth identifier, the association identifier of the data flow carried by the PCEF entity includes the fourth identifier and the fifth identifier, where the fourth identifier indicates a bearer to which the data stream belongs on the PCEF entity and corresponding a rate group, where the fifth identifier is used to identify a data stream of the application;
  • the TDF entity 1600 also includes:
  • a third receiving module configured to receive a data packet that is sent by the PCEF entity and that carries the fourth identifier
  • the determining module is configured to determine a fifth identifier of the data flow of the application that is carried by the TDF entity
  • the acquiring module 1610 is specifically configured to: Obtaining, according to the data packet carrying the fourth identifier sent by the PCEF entity, the fourth identifier of the data stream of the application carried by the TDF entity, and obtaining the fifth data stream of the application carried by the TDF entity determined by the determining module Identification
  • the sending module 1620 is further configured to: send the data packet carrying the fifth identifier to the PCEF entity, so that the PCEF entity obtains the fifth identifier of the data stream carried by the PCEF entity according to the data packet carrying the fifth identifier.
  • the sending module 1620 is further configured to: before sending the first charging information to the charging system, send a first quota application request to the charging system, where the first quota application request carries the TDF entity An association identifier of the applied data stream and a rate group of the application, so that the billing system can allocate the first quota according to the rate group of the application;
  • the TDF entity 1600 also includes:
  • the fourth receiving module is configured to receive the first quota sent by the charging system.
  • the TDF entity 1600 may correspond to a TDF entity in a method of charging according to an embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the TDF entity 1600 are respectively implemented in order to implement FIG. The corresponding processes of the respective methods in FIG. 15 are not described here.
  • FIG. 17 shows a schematic block diagram of a PCEF entity 1700 in accordance with an embodiment of the present invention.
  • the PCEF entity 1700 includes:
  • the obtaining module 1710 is configured to obtain an association identifier of the data flow carried by the PCEF entity
  • the sending module 1720 is configured to send the second charging information to the charging system, where the second charging information carries the data carried by the PCEF entity.
  • Correlation identifier of the flow so that the charging system processes the second charging information and the TDF according to the association identifier of the data flow carried by the PCEF entity and the association identifier of the data flow of the application carried by the flow detection function TDF entity
  • the PCEF entity in the embodiment of the present invention by carrying the association identifier in the charging information, can enable the charging system to process the charging information of the data flow and the charging information of the application, thereby enabling accurate data flow and application charging. , to achieve simultaneous billing of applications and billing of data streams.
  • the sending module 1720 is specifically configured to: when the reporting trigger condition of the PCEF entity is met, send the second charging information to the charging system, so that the charging system is based on data carried by the PCEF entity.
  • the associated identifier of the flow sends an indication message to the TDF entity indicating that the TDF entity sends the first charging information to the charging system.
  • the PCEF entity 1700 further includes:
  • a first receiving module configured to send, by the charging system, an indication sent by the charging system according to the associated identifier of the data stream of the application carried by the TDF entity, before the sending module sends the second charging information to the charging system, the PCEF entity sends the An indication message of the second charging information;
  • the sending module 1720 is specifically configured to send the second charging information to the charging system in response to the indication message.
  • the indication message carries an association identifier of a data flow of an application carried by the TDF entity;
  • the sending module 1720 is specifically configured to send, to the charging system, charging information of a data flow carried by the PCEF entity corresponding to the associated identifier of the data stream of the application carried by the TDF entity.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier,
  • the first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity;
  • the PCEF entity 1700 also includes:
  • a second receiving module configured to receive a charging policy of the data stream sent by the PCRF entity, where the charging policy of the data stream includes a first identifier and a second identifier of the data stream carried by the PCEF entity;
  • the first identifier and the second identifier of the data flow carried by the PCEF entity are obtained according to the charging policy of the data flow.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier,
  • the first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity;
  • the PCEF entity 1700 also includes: a first determining module, configured to determine a first identifier of the data flow carried by the PCEF entity, and a third receiving module, configured to receive a charging policy of the data flow sent by the PCRF entity, where the charging policy of the data flow includes the PCEF a second identifier of the data stream carried by the entity;
  • the obtaining module 1710 is specifically configured to: obtain a first identifier of the data flow carried by the PCEF entity determined by the first determining module, and obtain a second data flow carried by the PCEF entity according to the charging policy of the data flow Identification
  • the sending module 1720 is further configured to send, to the PCRF entity, a first identifier of the data stream carried by the PCEF entity.
  • the association identifier of the data flow of the application carried by the TDF entity includes a third identifier, where the association identifier of the data flow carried by the PCEF entity includes the third identifier, where the third identifier indicates the data flow The bearer belonging to the PCEF entity and the corresponding rate group;
  • the PCEF entity 1700 also includes:
  • a fourth receiving module configured to receive a charging policy of the data stream sent by the PCRF entity, where the charging policy of the data stream includes a third identifier of the data stream carried by the PCEF entity;
  • the obtaining module 1710 is specifically configured to acquire, according to the charging policy of the data flow, a third identifier of the data flow carried by the PCEF entity.
  • the association identifier of the data flow of the application carried by the TDF entity 7 includes a fourth identifier and a fifth identifier, where the association identifier of the data stream carried by the PCEF entity includes the fourth identifier and the fifth identifier
  • the fourth identifier indicates a bearer to which the data stream belongs on the PCEF entity and a corresponding rate group, where the fifth identifier is used to identify the data stream of the application;
  • the PCEF entity 1700 also includes:
  • a second determining module configured to determine a fourth identifier of the data flow carried by the PCEF entity
  • a fifth receiving module configured to receive a data packet that is sent by the TDF entity and that carries the fifth identifier
  • the acquiring module 1710 is specifically configured to: Obtaining a fourth identifier of the data flow carried by the PCEF entity determined by the second determining module, and acquiring a fifth identifier of the data flow carried by the PCEF entity according to the data packet that is sent by the TDF entity and carrying the fifth identifier;
  • the sending module 1720 is further configured to: send the data packet carrying the fourth identifier to the TDF entity, so that the TDF entity obtains the fourth identifier of the data stream of the application carried by the TDF entity according to the data packet carrying the fourth identifier. .
  • the sending module 1720 is further configured to: before sending the second charging information to the charging system, send a second quota application request to the charging system, where the second quota application request carries the PCEF An association identifier of the data flow carried by the entity and a rate group of the data flow, so that the charging system can allocate the second quota according to the rate group of the data flow;
  • the PCEF entity 1700 also includes:
  • the sixth receiving module is configured to receive a second quota sent by the charging system.
  • the PCEF entity 1700 may correspond to a PCEF entity in a method of charging according to an embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the PCEF entity 1700 are respectively implemented in order to implement FIG. The corresponding processes of the respective methods in FIG. 15 are not described here.
  • FIG. 18 shows a schematic block diagram of a billing system 1800 in accordance with an embodiment of the present invention.
  • the billing system 1800 includes:
  • the first receiving module 1810 is configured to receive the first charging information that is sent by the TDF entity, where the first charging information carries the associated identifier of the data stream of the application carried by the TDF entity.
  • the second receiving module 1820 uses The second charging information sent by the PCEF entity of the receiving policy and the charging execution function entity, the second charging information carrying the associated identifier of the data flow carried by the PCEF entity;
  • the processing module 1830 is configured to process the first charging information and the second charging information according to an association identifier of the data stream of the application carried by the TDF entity and an association identifier of the data stream carried by the PCEF entity.
  • the charging system of the embodiment of the present invention can receive the charging information of the flow carrying the associated identifier and the charging information of the application, and can perform accurate data flow according to the charging information of the processing identifier associated with the associated identifier and the charging information of the application. And application billing.
  • the first receiving module 1810 is specifically configured to: when receiving, the TDF entity sends the first charging information to the charging system when the reporting triggering condition of the TDF entity is met;
  • the billing system 1800 further includes:
  • the first sending module 1840 is configured to: before the second receiving module 1820 receives the second charging information sent by the policy and charging execution function entity PCEF entity, according to the associated identifier of the data stream of the application carried by the TDF entity Sending, by the PCEF entity, an indication message indicating that the PCEF entity sends the second charging information;
  • the second receiving module 1820 is specifically configured to receive the second charging information that is sent by the PCEF entity in response to the indication message.
  • the indication message carries an associated identifier of the data flow of the application carried by the TDF entity.
  • the second receiving module 1820 is specifically configured to receive charging information of the data flow carried by the PCEF entity corresponding to the associated identifier of the data stream of the application carried by the TDF entity.
  • the second receiving module 1820 is specifically configured to: when receiving, the PCEF entity sends the second charging information to the charging system when the reporting trigger condition of the PCEF entity is met;
  • the billing system 1800 further includes:
  • the second sending module 1850 is configured to: before the first receiving module 1810 receives the first charging information sent by the flow detecting function TDF entity, send an indication to the TDF entity according to the associated identifier of the data flow carried by the PCEF entity.
  • the entity sends the indication information of the first charging information.
  • the first receiving module 1810 is specifically configured to receive the first charging information that is sent by the TDF entity in response to the indication message.
  • the indication message carries an association identifier of the data flow carried by the PCEF entity, where the first receiving module 1810 is configured to receive, by the TDF entity, an association identifier corresponding to the data flow carried by the PCEF entity.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier,
  • the first identifier indicates a bearer to which the data stream belongs on the PCEF entity
  • the second identifier indicates a rate group corresponding to the data stream on the PCEF entity;
  • the associated identifier of the data stream of the application carried by the TDF entity includes a third identifier
  • the associated identifier of the data stream carried by the PCEF entity includes the third identifier, where the third identifier indicates that the data stream is in the PCEF entity
  • the assigned load and the corresponding rate group or,
  • the associated identifier of the data stream of the application carried by the PCEF entity includes a fourth identifier and a fifth identifier, where the associated identifier of the data stream carried by the PCEF entity includes the fourth identifier and the fifth identifier, where The fourth identifier indicates a load to which the data stream belongs on the PCEF entity and a corresponding rate group, and the fifth identifier is used to identify the data stream of the application.
  • the charging system 1800 further includes:
  • a third receiving module configured to receive a first quota application request sent by the TDF entity before the first receiving module receives the first charging information sent by the stream detecting function TDF entity, where the first quota request request carries the TDF entity
  • the associated identifier of the data stream of the hosted application and the application's a rate group such that the billing system can allocate the first quota according to the rate group of the application;
  • a third sending module configured to send a first quota to the TDF entity
  • a fourth receiving module configured to receive a second quota application request sent by the PCEF entity, where the second receiving module receives the second charging information sent by the policy and charging execution function entity PCEF entity, the second quota request request Carrying an association identifier of the data flow carried by the PCEF entity and a rate group of the data flow, so that the charging system can allocate the second quota according to the rate group of the data flow;
  • a fourth sending module configured to send a second quota to the PCEF entity.
  • the processing module 1830 is specifically configured to: determine that the first charging information and the second charging information have the same charging information, and adopt different charging for the same charging information.
  • the policy is billed.
  • the charging system 1800 may correspond to a charging system in a method of charging according to an embodiment of the present invention, and the above-described and other operations and/or functions of respective modules in the charging system 1800 are respectively implemented The corresponding processes of the respective methods in FIG. 1 to FIG. 15 are not described here.
  • FIG. 21 shows a schematic block diagram of a PCRF entity 2100 in accordance with an embodiment of the present invention.
  • the PCRF entity 2100 includes:
  • the determining module 2110 is configured to determine a charging policy of the data stream, where the charging policy includes the second charging association information, and determining an accounting policy of the application, where the charging policy of the application includes the first charging association Information
  • the sending module 2120 is configured to send a charging policy of the data flow to the policy and charging execution function entity PCEF entity, so that the PCEF entity generates an association that carries the data flow carried by the PCEF entity according to the charging policy of the data flow.
  • the second charging information is identified, and the charging policy of the application is sent to the flow detection function TDF entity, so that the TDF entity generates an association of the data flow carrying the application carried by the TDF entity according to the charging policy of the application.
  • the first charging information of the identifier; the associated identifier of the data stream carried by the PCEF entity and the associated identifier of the data stream of the application carried by the TDF entity are used by the charging system to process the first charging information and the Second billing information.
  • the PCRF entity of the embodiment of the present invention sends a charging policy that carries the charging association information application to the TDF entity by sending a charging policy of the data flow carrying the charging association information to the PCEF entity, so that the PCEF entity and the TDF entity can be generated and carried.
  • Billing information associated with the identification, facilitating the billing system The charging information of the processing flow and the charging information of the application are associated, so that accurate data flow and application charging can be realized.
  • the second charging association information includes an association identifier of the data flow carried by the PCEF entity, where the first charging association information includes an association identifier of the data flow of the application carried by the TDF entity;
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where The first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity; or
  • the associated identifier of the data stream of the application carried by the TDF entity includes a third identifier
  • the associated identifier of the data stream carried by the PCEF entity includes the third identifier, where the third identifier indicates that the data stream is in the PCEF entity The assigned load and the corresponding rate group.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier,
  • the first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity;
  • the second charging association information includes a second identifier of the data stream carried by the PCEF entity, where the first charging association information includes a first identifier and a second identifier of the data stream of the application carried by the TDF entity;
  • the PCRF entity 2100 further includes:
  • the receiving module 2130 is configured to receive, before the sending module sends the applied charging policy to the flow detecting function TDF entity, the first identifier of the data flow carried by the PCEF entity sent by the PCEF entity;
  • the determining module 2110 is specifically configured to determine, according to the first identifier of the data stream carried by the PCEF entity, a first identifier of the data stream of the application carried by the TDF entity.
  • the first charging association information includes an association identifier of a data stream of all applications on the TDF entity and a stream template corresponding to an association identifier of a data stream of all applications on the TDF entity.
  • the PCRF entity 2100 may correspond to a PCRF entity in a method of charging according to an embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the PCRF entity 2100 are respectively implemented in order to implement FIG.
  • the corresponding flow of each method in Figure 15, in order The tube is clean and will not be described here.
  • the embodiment of the invention further provides a system comprising the above TDF entity, a PCEF entity, a charging system and a PCRF entity.
  • the term "and/or” is merely an association describing the associated object, indicating that there may be three relationships.
  • a and / or B can mean: A exists separately, there are A and B, and there are three cases of B alone.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • FIG. 22 illustrates a structure of a TDF physical device according to another embodiment of the present invention, including at least one processor 2201 (eg, a CPU), at least one network interface 2205 or other communication interface, a memory 2206, and at least one communication bus 2203.
  • the memory 2206 may include a high speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory such as at least one disk memory.
  • the communication connection between the system gateway and at least one other network element is implemented by at least one network interface 2205 (which may be wired or wireless), and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
  • the memory 2206 stores a program 22061, which can be executed by the processor 2202, the program comprising: the TDF entity acquiring an associated identifier of the data stream of the application carried by the TDF entity; the TDF entity to the billing system Transmitting the first charging information, where the first charging information carries the associated identifier of the data stream of the application carried by the TDF entity, so that the charging system according to the associated identifier of the data stream of the application carried by the TDF entity and the PCEF
  • the association identifier of the data flow carried by the entity is associated with the first charging information and the second charging information sent by the PCEF entity to the charging system, where the second charging information carries the data carried by the PCEF entity.
  • the associated identifier of the stream is associated with the first charging information and the second charging information sent by the PCEF entity to the charging system, where the second charging information carries the data carried by the PCEF entity.
  • the sending, by the TDF entity, the first charging information to the charging system includes: sending, by the TDF entity, the first charging information to the charging system when the reporting trigger condition of the TDF entity is satisfied, so that the The charging system sends an indication message indicating that the PCEF entity sends the second charging information to the charging system according to the associated identifier of the data stream of the application carried by the TDF entity.
  • the method further includes: receiving, by the TDF entity, the TDF sent by the charging system according to the associated identifier of the data flow carried by the PCEF entity.
  • the entity sends the first charging information to the charging system.
  • the TDF entity sends the first charging information to the charging system, and the TDF entity sends the first charging information to the charging system in response to the indication message.
  • the indication message carries an association identifier of the data flow carried by the PCEF entity
  • the TDF entity sends the first charging information to the charging system in response to the indication message, including: the TDF entity sending, to the charging system, the TDF entity corresponding to the association identifier of the data flow carried by the PCEF entity Billing information for the applied data stream.
  • the TDF entity acquires an association identifier of the data stream of the application carried by the TDF entity, where the TDF entity receives the charging policy of the application sent by the PCRF entity, where the charging policy of the application includes the TDF entity
  • the associated identifier of the application's data stream according to the application And the associated identifier of the data stream of the application carried by the TDF entity;
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, and the data stream carried by the PCEF entity
  • the association identifier includes the first identifier and the second identifier, where the first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a fee corresponding to the data stream on the PCEF entity.
  • association identifier of the data flow of the application carried by the TDF entity where the association identifier of the data flow carried by the PCEF entity includes the third identifier, where the third identifier represents the data.
  • the charging policy of the application includes an association identifier of a data flow of all applications on the TDF entity, and a flow template corresponding to the associated identifier of the data flow of all applications on the TDF entity; the TDF entity is configured according to the application
  • the charging policy obtains the associated identifier of the data stream of the application carried by the TDF entity, including: the associated identifier of the data flow of the TDF entity according to all applications on the TDF entity, and the data flow of all applications on the TDF entity
  • the associated flow identifier of the associated identifier identifies the associated identifier of the data flow of the application carried by the TDF entity.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a fourth identifier and a fifth identifier, where the associated identifier of the data stream carried by the PCEF entity includes the fourth identifier and the fifth identifier,
  • the fourth identifier indicates a bearer to which the data stream belongs to the PCEF entity and a corresponding rate group, where the fifth identifier is used to identify the data stream of the application; and the TDF entity obtains the application carried by the TDF entity.
  • the associated identifier of the data stream includes: the TDF entity receives the data packet that is sent by the PCEF entity and carries the fourth identifier, and obtains the data flow of the application carried by the TDF entity according to the data packet that is sent by the PCEF entity and carries the fourth identifier. a fourth identifier; the TDF entity determines a fifth identifier of the data stream of the application carried by the TDF entity; the method further includes: the TDF entity sending the data packet carrying the fifth identifier to the PCEF entity, to facilitate the PCEF entity Acquiring, according to the data packet carrying the fifth identifier, a fifth identifier of the data flow carried by the PCEF entity.
  • the method further includes: the TDF entity sending a first quota application request to the charging system, where the first quota application request carries the TDF entity The associated identifier of the data stream of the carried application and the rate group of the application, so that the charging system can allocate the first quota according to the rate group of the application; the TDF entity receives the first quota sent by the charging system.
  • the present invention is implemented.
  • the charging information of the data stream and the charging information of the application can be associated, so that accurate data flow and application charging can be performed, and accounting and data matching for the application can be realized simultaneously.
  • Billing for streaming By carrying the association identifier in the charging information, the charging information of the data stream and the charging information of the application can be associated, so that accurate data flow and application charging can be performed, and accounting and data matching for the application can be realized simultaneously. Billing for streaming.
  • FIG. 23 illustrates a structure of a PCEF physical device according to another embodiment of the present invention, including at least one processor 2301 (for example, a CPU), at least one network interface 2305 or other communication interface, a memory 2306, and at least one communication bus 2303. To implement the computer program between these devices.
  • the memory 2306 may include a high speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory, such as at least one disk memory.
  • the communication connection between the system gateway and at least one other network element is implemented by at least one network interface 2305 (which may be wired or wireless), and may use an Internet, a wide area network, a local area network, a metropolitan area network, or the like.
  • the memory 2306 stores a program 23061, and the program 23061 can be executed by the processor 2302.
  • the program includes: the PCEF entity acquires an association identifier of the data stream carried by the PCEF entity; and the PCEF entity sends the system to the charging system.
  • the second charging information carries the associated identifier of the data stream carried by the PCEF entity, so that the charging system carries the association identifier and the flow detection function TDF entity carried by the PCEF entity according to the data flow
  • the association identifier of the data stream of the application processes the second billing information and the first billing information sent by the TDF entity to the billing system, where the first billing information carries the application carried by the TDF entity The associated ID of the data stream.
  • the sending, by the PCEF entity, the second charging information to the charging system includes: sending, by the PCEF entity, the second charging information to the charging system when the reporting condition of the PCEF entity is met, so that the The charging system sends an indication message to the TDF entity that the TDF entity sends the first charging information to the charging system according to the association identifier of the data flow carried by the PCEF entity.
  • the method further includes: receiving, by the PCEF entity, an indication sent by the charging system according to the associated identifier of the data flow of the application carried by the TDF entity
  • the PCEF entity sends the second charging information to the charging system.
  • the PCEF entity sends the second charging information to the charging system.
  • the PCEF entity sends the second charging information to the charging system in response to the indication message.
  • the indication message carries an associated identifier of the data flow of the application carried by the TDF entity.
  • the PCEF entity sends the second charging information to the charging system in response to the indication message, the method includes: sending, by the PCEF entity, the associated identifier corresponding to the data flow of the application carried by the TDF entity to the charging system Accounting information of the data flow carried by the PCEF entity.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier,
  • the first identifier indicates a bearer to which the data stream belongs to the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity;
  • the PCEF entity obtains the data stream carried by the PCEF entity
  • the association identifier includes: the PCEF entity receives a charging policy of the data stream sent by the PCRF entity, where the charging policy of the data stream includes the first identifier and the second identifier of the data stream carried by the PCEF entity, Acquiring the first identifier and the second identifier of the data flow carried by the PCEF entity according to the charging policy of the data flow.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier,
  • the first identifier indicates a bearer to which the data stream belongs to the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity;
  • the PCEF entity obtains the data stream carried by the PCEF entity
  • the association identifier includes: the PCEF entity determines a first identifier of the data flow carried by the PCEF entity; the PCEF entity receives a charging policy of the data flow sent by the PCRF entity, where the charging policy of the data flow includes the PCEF entity
  • the second identifier of the carried data stream, the second identifier of the data stream carried by the PCEF entity is obtained according to the charging policy of the data stream; the method further includes: sending, by the PCEF entity, the PCEF entity to the PCRF entity
  • the association identifier of the data flow of the application carried by the TDF entity includes a third identifier, where the association identifier of the data flow carried by the PCEF entity includes the third identifier, where the third identifier indicates the data flow The 7-carrier and the corresponding rate group to which the PCEF entity belongs; the PCEF entity obtains the association identifier of the data flow carried by the PCEF entity, and the method includes: the PCEF entity receives the charging policy of the data flow sent by the PCRF entity, where The charging policy of the data stream includes a third identifier of the data stream carried by the PCEF entity, and the third identifier of the data stream carried by the PCEF entity is obtained according to the charging policy of the data stream.
  • the association identifier of the data flow of the application carried by the TDF entity 7 includes a fourth identifier and a fifth identifier, where the association identifier of the data stream carried by the PCEF entity includes the fourth identifier and the fifth identifier
  • the fourth identifier indicates a bearing of the data flow on the PCEF entity And the corresponding rate group, the fifth identifier is used to identify the data stream of the application;
  • the PCEF entity obtains the association identifier of the data stream carried by the PCEF entity, and the method includes: determining, by the PCEF entity, the data carried by the PCEF entity The fourth identifier of the stream is received by the PCEF entity, and the data packet carrying the fifth identifier sent by the TDF entity is received, and the fifth identifier of the data stream carried by the PCEF entity is obtained according to the data packet that carries the fifth identifier sent by the TDF entity.
  • the method further includes: the PCEF entity sending a data packet carrying the fourth identifier to the TDF entity, so that
  • the method further includes: the PCEF entity sending a second quota application request to the charging system, where the second quota application request carries the PCEF entity The associated identifier of the carried data stream; the PCEF entity receives the second quota and the rate group of the data stream sent by the charging system, so that the charging system can allocate the second quota according to the rate group of the data stream.
  • the embodiment of the present invention can associate the processing of the charging information of the data flow with the charging information of the application by carrying the associated identifier in the charging information. Accurate data flow and application billing, enabling simultaneous billing of applications and billing of data streams.
  • Figure 24 depicts a structure of a billing system provided by another embodiment of the present invention, including at least one processor 2401 (e.g., CPU), at least one network interface 2405 or other communication interface, memory 2406, and at least one communication bus 2403. To achieve connection communication between these devices.
  • the processor 2402 is configured to execute executable modules, such as computer programs, stored in the memory 2406.
  • the memory 2406 may include a high speed random access memory (RAM: Random Access Memory) and may also include a non-volatile memory, such as at least one disk memory.
  • the communication connection between the system gateway and at least one other network element is implemented by at least one network interface 2405 (which may be wired or wireless), and may use an Internet, a wide area network, a local area network, a metropolitan area network, or the like.
  • the memory 2406 stores a program 24061, which can be executed by the processor 2402.
  • the program includes: the charging system receives first charging information sent by the TDF entity, the first charging information carrying the TDF entity The associated identifier of the data flow of the carried application; the charging system receives the second charging information sent by the PCEF entity, and the second charging information carries the associated identifier of the data flow carried by the PCEF entity; The association identifier of the data stream of the application carried by the TDF entity and the association identifier of the data stream carried by the PCEF entity are associated with the first charging information and the second charging information.
  • the receiving, by the charging system, the first charging information sent by the TDF entity includes: receiving, by the charging system, the TDF entity, when the reporting triggering condition of the TDF entity is met, sending the first meter to the charging system The fee information; before the charging system receives the second charging information sent by the PCEF entity, the method further includes: the charging system sending the indication to the PCEF entity according to the association identifier of the data stream of the application carried by the TDF entity The PCEF entity sends the second charging information indication message; the charging system receives the second charging information sent by the PCEF entity, where the charging system receives the second charging information sent by the PCEF entity in response to the indication message .
  • the indication message carries the association identifier of the data flow of the application carried by the TDF entity; the charging system receives the second charging information sent by the PCEF entity in response to the indication message, including: receiving, by the charging system The billing information of the data stream carried by the PCEF entity corresponding to the association identifier of the data stream of the application carried by the TDF entity sent by the PCEF entity.
  • the charging system receives the second charging information sent by the PCEF entity, and the method includes: receiving, by the charging system, the PCEF entity, when the reporting trigger condition of the PCEF entity is met, sending the second meter to the charging system The fee information; before the charging system receives the first charging information sent by the TDF entity, the method further includes: the charging system sending the TDF entity to the TDF entity according to the association identifier of the data flow carried by the PCEF entity And sending, by the charging system, the first charging information sent by the TDF entity, where the charging system receives the first charging information that is sent by the TDF entity in response to the indication message.
  • the indication message carries the association identifier of the data flow carried by the PCEF entity; the charging system receives the first charging information sent by the TDF entity in response to the indication message, and the method includes: receiving, by the charging system, the TDF The charging information of the data stream of the application carried by the TDF entity corresponding to the association identifier of the data stream carried by the PCEF entity.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier,
  • the first identifier indicates a bearer to which the data stream belongs on the PCEF entity
  • the second identifier indicates a rate group corresponding to the data stream on the PCEF entity; or the data stream of the application carried by the TDF entity
  • the associated identifier includes a third identifier, and the associated identifier of the data stream carried by the PCEF entity includes the third identifier, where the third identifier indicates a bearer to which the data stream belongs on the PCEF entity and a corresponding rate group
  • the association identifier of the data flow of the application carried by the PCEF entity includes a fourth identifier and a fifth identifier, where the association identifier of the data stream carried by the PCEF entity includes the fourth identifier and the fifth identifier, where
  • the method further includes: receiving, by the charging system, a first quota application request sent by the TDF entity, where the first quota application request carries the An association identifier of the data flow of the application carried by the TDF entity and a rate group of the application, so that the charging system can allocate the first quota according to the application rate group; the charging system sends the first quota to the TDF entity;
  • the method further includes: the charging system receiving the second quota application request sent by the PCEF entity, where the second quota application request carries the The association identifier of the data stream and the rate group of the data stream, so that the billing system can allocate the second quota according to the rate group of the data stream; the billing system sends the second quota to the PCEF entity.
  • the charging system processes the first charging information and the second charging information according to the associated identifier of the data stream of the application carried by the TDF entity and the associated identifier of the data stream carried by the PCEF entity. And the charging system determines that the first charging information and the second charging information have the same charging information, and adopts different charging policies for charging the same charging information.
  • the embodiment of the present invention receives the charging information of the flow carrying the associated identifier and the charging information of the application, and associates the charging information of the processing flow according to the associated identifier. And the application's billing information, capable of accurate data flow and application billing.
  • Figure 25 is a diagram showing the structure of a PCRF physical device according to another embodiment of the present invention, including at least one processor 2501 (e.g., CPU), at least one network interface 2505 or other communication interface, memory 2506, and at least one communication bus 2503. To implement the computer program between these devices.
  • the memory 2506 may include a high speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory, such as at least one disk memory.
  • the communication connection between the system gateway and at least one other network element is implemented by at least one network interface 2505 (which may be wired or wireless), and may use an Internet, a wide area network, a local area network, a metropolitan area network, or the like.
  • the memory 2506 stores a program 25061, and the program 25061 can be executed by the processor 2502.
  • the program includes: a policy and charging rule function entity PCRF entity orientation
  • the policy and charging execution function entity PCEF entity sends a charging policy of the data flow, and the charging policy of the data flow includes the second charging association information, so that the PCEF entity generates and carries the PCEF entity according to the charging policy of the data flow.
  • the second charging information of the associated identifier of the carried data stream the PCRF entity sends the charging policy of the application to the flow detecting function TDF entity, where the charging policy of the application includes the first charging association information, so as to facilitate the TDF entity Generating, according to the charging policy of the application, the first charging information that carries the associated identifier of the data flow of the application carried by the TDF entity; wherein the associated identifier of the data flow carried by the PCEF entity and the application carried by the TDF entity
  • the associated identifier of the data stream is used by the charging system to process the first charging information and the second charging information.
  • the second charging association information includes an association identifier of the data flow carried by the PCEF entity, where the first charging association information includes an association identifier of the data flow of the application carried by the TDF entity; the TDF entity The associated identifier of the data stream of the application includes the first identifier and the second identifier, and the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier, where the first identifier Representing a bearer to which the data stream belongs on the PCEF entity, the second identifier indicating a rate group corresponding to the data stream on the PCEF entity; or the association identifier of the data stream of the application carried by the TDF entity includes the third identifier
  • the association identifier of the data flow carried by the PCEF entity includes a third identifier, where the third identifier indicates a bearer to which the data stream belongs on the PCEF entity and a corresponding rate group.
  • the associated identifier of the data stream of the application carried by the TDF entity includes a first identifier and a second identifier, where the associated identifier of the data stream carried by the PCEF entity includes the first identifier and the second identifier,
  • the first identifier indicates a bearer to which the data stream belongs on the PCEF entity, and the second identifier indicates a rate group corresponding to the data stream on the PCEF entity;
  • the second billing association information includes the PCEF entity a second identifier of the carried data stream, where the first charging association information includes the first identifier and the second identifier of the data stream of the application carried by the TDF entity; and the flow detection function TDF entity in the PCRF entity
  • the method further includes: receiving, by the PCRF entity, the first identifier of the data flow carried by the PCEF entity sent by the PCEF entity, according to the first identifier of the data flow carried by the PCEF entity Determining the first identity of a data flow of an application carried
  • the first charging association information includes an association identifier of a data stream of all applications on the TDF entity and a stream template corresponding to an association identifier of a data stream of all applications on the TDF entity.
  • the charging policy of the data carrying the charging association information is sent to the TDF entity by sending the charging policy of the data flow carrying the charging association information to the PCEF entity, so that the PCEF entity and the TDF entity can generate the charging information carrying the associated identifier.
  • the charging system is associated with the charging information of the processing flow and the charging information of the application, so that accurate data flow and application charging can be realized.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Meter Arrangements (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种计费的方法、TDF实体、PCEF实体、计费系统、PCRF实体和系统。该方法包括:TDF实体获取该TDF实体所承载的应用的数据流的关联标识;该TDF实体向计费系统发送第一计费信息,该第一计费信息携带该TDF实体所承载的应用的数据流的关联标识,以便于该计费系统根据该TDF实体所承载的应用的数据流的关联标识和PCEF实体所承载的数据流的关联标识关联处理该第一计费信息和该PCEF实体向该计费系统发送的第二计费信息,其中,该第二计费信息携带该PCEF实体所承载的数据流的关联标识。本发明实施例通过在计费信息中携带关联标识,可以关联处理数据流的计费信息和应用的计费信息,从而能够进行准确的数据流和应用的计费。

Description

计费的方法及设备 技术领域
本发明涉及通信领域, 并且更具体地, 涉及计费的方法、 流检测功能 ( Traffic Detection Function, TDF ) 实体、 策略和计费执行功能( Policy and Charging Enforcement Function, PCEF ) 实体、 计费系统、 策略和计费规则 功能 ( Policy and Charging Rules Function, PCRF ) 实体以及系统。 背景技术
3G 的大规模部署, 极大的推动了数据业务的使用。 开放互联网技术
( Over The Top, OTT )应用的计费和控制是提高运营商网络流量的精准计 费和控制, 提高用户体验, 提高单位流量的价值的一个重要的技术手段。 当 前的计费方式包括: 在线计费和离线计费。 在线计费主要是: 在用户使用业 务前进行信用授权(即: 业务可以使用的资源数), 网元根据在线计费系统 ( Online Charging System, OCS ) 的信用授权进行业务的使用控制, 在信用 授权使用完毕时, 重新向 OCS 申请新的信用授权, 进而实现根据用户的使 用情况实时进行资费扣费。
策略和计费控制 (Policy and Charging Control, PCC )是第三代合作伙 伴计划( 3rd Generation Partnership Project, 3GPP )定义的一套策略和计费控 制机制。 在该机制中, PCRF实体进行策略生成( Policy Decision ), 为 PCEF 实体生成数据流的计费策略和控制策略, 为 TDF 实体生成的应用检测和应 用的控制策略; 然后, PCRF实体向 TDF实体安装激活应用的控制策略, 向 PCEF实体安装流的控制和计费策略; PCEF实体根据 PCRF实体下发的计费 策略,向 OCS发起应用的信用配额申请请求,即信用控制请求( Credit Control Request, CCR ) 消息, OCS进行配额授权, 并向 PCEF实体返回信用授权。 在这种技术中, 应用计费是基于互联网协议(Internet Protocol, IP ) 包的五 元组信息进行计费信息收集, 其中, 五元组信息包括: IP包源端 IP地址、 源端端口号 port、 目标端 IP地址、 目标端端口号 port和协议信息。对于 OTT 应用, 由于业务提供方是来自互联网的很多提供者, 其数量众多, 而且时刻 在动态增加和减少, 运营商无法为每个业务提供 IP层识别规则, 进一步地, 有些不同的 OTT使用的 IP相同, 例如, 同一提供者的不同应用通过服务器 内部路径区分, 而外部 IP相同, 使得仅仅通过 IP层无法识别应用, 使得运 营商无法通过 IP层识别对 OTT应用进行基于应用的计费。 发明内容
本发明实施例提供了一种计费的方法、 TDF实体、 PCEF实体、 计费系 统、 PCRF实体和系统, 能够实现同时对应用的计费和对数据流的计费。
第一方面, 提供了一种计费的方法, 包括: TDF实体获取该 TDF实体 所承载的应用的数据流的关联标识; 该 TDF 实体向计费系统发送第一计费 信息, 该第一计费信息携带该 TDF实体所承载的应用的数据流的关联标识, 以便于该计费系统根据该 TDF 实体所承载的应用的数据流的关联标识和 PCEF 实体所承载的数据流的关联标识关联处理该第一计费信息和该 PCEF 实体向该计费系统发送的第二计费信息,其中,该第二计费信息携带该 PCEF 实体所承载的数据流的关联标识。
在第一种可能的实现方式中, 该 TDF 实体向计费系统发送第一计费信 息, 包括: 该 TDF实体在该 TDF实体的上报触发条件满足时, 向该计费系 统发送该第一计费信息, 以使该计费系统根据该 TDF 实体所承载的应用的 数据流的关联标识向该 PCEF实体发送指示该 PCEF实体向该计费系统发送 该第二计费信息的指示消息。
在第二种可能的实现方式中, 在该 TDF 实体向计费系统发送第一计费 信息之前,该方法还包括: 该 TDF实体接收该计费系统根据该 PCEF实体所 承载的数据流的关联标识发送的指示该 TDF 实体发送该第一计费信息的指 示消息; 该 TDF实体向计费系统发送第一计费信息, 包括: 该 TDF实体响 应该指示消息向该计费系统发送该第一计费信息。
结合第一方面的第二种可能的实现方式, 在第三种可能的实现方式中, 该指示消息携带该 PCEF实体所承载的数据流的关联标识;该 TDF实体响应 该指示消息向该计费系统发送该第一计费信息, 包括: 该 TDF 实体向该计 费系统发送与该 PCEF实体所承载的数据流的关联标识对应的该 TDF实体所 承载的应用的数据流的计费信息。
结合第一方面或第一方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第四种可能的实现方式中, 该 TDF实体获取该 TDF实体 所承载的应用的数据流的关联标识, 包括: 该 TDF实体接收 PCRF实体发 送的应用的计费策略, 该应用的计费策略包括该 TDF 实体所 载的应用的 数据流的关联标识, 根据该应用的计费策略获取该 TDF 实体所承载的应用 的数据流的关联标识; 该 TDF 实体所承载的应用的数据流的关联标识包括 第一标识和第二标识, 该 PCEF实体所承载的数据流的关联标识包括所述第 一标识和所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上 所属的承载, 所述第二标识表示数据流在该 PCEF实体上对应的费率组; 或 者, 该 TDF实体所承载的应用的数据流的关联标识包括第三标识, 该 PCEF 实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三标识表 示数据流在该 PCEF实体上所属的 载以及对应的费率组。
结合第一方面的第四种可能的实现方式, 在第五种可能的实现方式中, 该应用的计费策略包括该 TDF 实体上的所有应用的数据流的关联标识, 以 及该 TDF实体上的所有应用的数据流的关联标识对应的流模板; 该 TDF实 体根据该应用的计费策略获取该 TDF 实体所承载的应用的数据流的关联标 识, 包括: 该 TDF实体根据该 TDF实体上的所有应用的数据流的关联标识, 以及该 TDF 实体上的所有应用的数据流的关联标识对应的流模板, 获取该 TDF实体所承载的应用的数据流的关联标识。
结合第一方面或第一方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第六种可能的实现方式中, 该 TDF 实体所承载的应用的 数据流的关联标识包括第四标识和第五标识, 该 PCEF实体所承载的数据流 的关联标识包括所述第四标识和所述第五标识, 其中, 所述第四标识表示数 据流在该 PCEF实体上所属的 载以及对应的费率组, 所述第五标识用于标 识应用的数据流; 该 TDF实体获取该 TDF实体所承载的应用的数据流的关 联标识,包括:该 TDF实体接收该 PCEF实体发送的携带第四标识的数据包, 根据该 PCEF实体发送的携带第四标识的数据包,获取该 TDF实体所承载的 应用的数据流的第四标识; 该 TDF实体确定该 TDF实体所承载的应用的数 据流的第五标识;该方法还包括: 该 TDF实体向该 PCEF实体发送携带第五 标识的数据包, 以便于该 PCEF 实体根据该携带第五标识的数据包获取该 PCEF实体所承载的数据流的第五标识。
结合第一方面或第一方面的第一至六种可能的实现方式中的任一种可 能的实现方式, 在第七种可能的实现方式中, 在该 TDF 实体向计费系统发 送第一计费信息之前, 该方法还包括: 该 TDF 实体向该计费系统发送第一 配额申请请求, 该第一配额申请请求携带该 TDF 实体所承载的应用的数据 流的关联标识和应用的费率组, 以使计费系统根据所述应用的费率组分配第 一配额; 该 TDF实体接收该计费系统发送的第一配额。
第二方面, 提供了一种计费的方法, 包括: PCEF实体获取该 PCEF实 体所承载的数据流的关联标识;该 PCEF实体向计费系统发送第二计费信息, 该第二计费信息携带该 PCEF实体所承载的数据流的关联标识, 以便于该计 费系统根据该 PCEF实体所承载的数据流的关联标识和流检测功能 TDF实体 所承载的应用的数据流的关联标识关联处理该第二计费信息和该 TDF 实体 向该计费系统发送的第一计费信息, 其中, 该第一计费信息携带该 TDF 实 体所承载的应用的数据流的关联标识。
在第一种可能的实现方式中, 该 PCEF实体向计费系统发送第二计费信 息, 包括: 该 PCEF实体在该 PCEF实体的上报触发条件满足时, 向该计费 系统发送该第二计费信息, 以使该计费系统根据该 PCEF实体所承载的数据 流的关联标识向该 TDF实体发送指示该 TDF实体向该计费系统发送该第一 计费信息的指示消息。
在第二种可能的实现方式中, 在该 PCEF实体向计费系统发送第二计费 信息之前,该方法还包括: 该 PCEF实体接收该计费系统根据该 TDF实体所 承载的应用的数据流的关联标识发送的指示该 PCEF实体发送该第二计费信 息的指示消息;该 PCEF实体向计费系统发送第二计费信息, 包括: 该 PCEF 实体响应该指示消息向该计费系统发送该第二计费信息。
结合第二方面的第二种可能的实现方式, 在第三种可能的实现方式中, 该指示消息携带该 TDF 实体所承载的应用的数据流的关联标识; 该 PCEF 实体响应该指示消息向该计费系统发送该第二计费信息, 包括: 该 PCEF实 体向该计费系统发送与该 TDF 实体所承载的应用的数据流的关联标识对应 的该 PCEF实体所承载的数据流的计费信息。
结合第二方面或第二方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第四种可能的实现方式中, 该 TDF 实体所承载的应用的 数据流的关联标识包括第一标识和第二标识, 该 PCEF实体所承载的数据流 的关联标识包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数 据流在该 PCEF实体上所属的承载, 所述第二标识表示数据流在该 PCEF实 体上对应的费率组; 该 PCEF实体获取该 PCEF实体所承载的数据流的关联 标识, 包括: 该 PCEF实体接收 PCRF实体发送的数据流的计费策略, 该数 据流的计费策略包括该 PCEF实体所承载的数据流的第一标识和第二标识, 根据该数据流的计费策略获取该 PCEF实体所承载的数据流的第一标识和第 二标识。
结合第二方面或第二方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第五种可能的实现方式中, 该 TDF 实体所承载的应用的 数据流的关联标识包括第一标识和第二标识, 该 PCEF实体所承载的数据流 的关联标识包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数 据流在该 PCEF实体上所属的承载, 所述第二标识表示数据流在该 PCEF实 体上对应的费率组; 该 PCEF实体获取该 PCEF实体所承载的数据流的关联 标识, 包括: 该 PCEF实体确定该 PCEF实体所 7 载的数据流的第一标识; 该 PCEF实体接收 PCRF实体发送的数据流的计费策略, 该数据流的计费策 略包括该 PCEF实体所承载的数据流的第二标识, 根据该数据流的计费策略 获取该 PCEF实体所承载的数据流的第二标识; 该方法还包括: 该 PCEF实 体向该 PCRF实体发送该 PCEF实体所承载的数据流的第一标识。
结合第二方面或第二方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第六种可能的实现方式中, 该 TDF 实体所承载的应用的 数据流的关联标识包括第三标识, 该 PCEF实体所承载的数据流的关联标识 包括第三标识, 其中, 第三标识表示数据流在该 PCEF实体上所属的承载以 及对应的费率组; 该 PCEF实体获取该 PCEF实体所承载的数据流的关联标 识, 包括: 该 PCEF实体接收 PCRF实体发送的数据流的计费策略, 该数据 流的计费策略包括该 PCEF实体所承载的数据流的第三标识, 根据该数据流 的计费策略获取该 PCEF实体所承载的数据流的第三标识。
结合第二方面或第二方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第七种可能的实现方式中, 该 TDF 实体所承载的应用的 数据流的关联标识包括第四标识和第五标识, 该 PCEF实体所承载的数据流 的关联标识包括所述第四标识和所述第五标识, 其中, 所述第四标识表示数 据流在该 PCEF实体上所属的 载以及对应的费率组, 所述第五标识用于标 识应用的数据流; 该 PCEF实体获取该 PCEF实体所承载的数据流的关联标 识, 包括: 该 PCEF实体确定该 PCEF实体所承载的数据流的所述第四标识; 该 PCEF实体接收该 TDF实体发送的携带第五标识的数据包, 根据该 TDF 实体发送的携带第五标识的数据包, 获取该 PCEF实体所承载的数据流的所 述第五标识; 该方法还包括: 该 PCEF实体向该 TDF实体发送携带第四标识 的数据包, 以便于该 TDF实体根据该携带第四标识的数据包获取该 TDF实 体所承载的应用的数据流的第四标识。
结合第二方面或第二方面的第一至七种可能的实现方式中的任一种可 能的实现方式, 在第八种可能的实现方式中, 在该 PCEF实体向计费系统发 送第二计费信息之前, 该方法还包括: 该 PCEF实体向该计费系统发送第二 配额申请请求, 该第二配额申请请求携带该 PCEF实体所承载的数据流的关 联标识和数据流的费率组, 以使计费系统根据所述数据流的费率组分配第二 配额; 该 PCEF实体接收该计费系统发送的第二配额。
第三方面, 提供了一种计费的方法, 包括: 计费系统接收 TDF 实体发 送的第一计费信息, 该第一计费信息携带该 TDF 实体所承载的应用的数据 流的关联标识; 该计费系统接收 PCEF实体发送的第二计费信息, 该第二计 费信息携带该 PCEF 实体所承载的数据流的关联标识; 该计费系统根据该 TDF实体所承载的应用的数据流的关联标识和该 PCEF实体所承载的数据流 的关联标识, 关联处理该第一计费信息和该第二计费信息。
在第一种可能的实现方式中, 该计费系统接收 TDF 实体发送的第一计 费信息, 包括: 该计费系统接收该 TDF实体在该 TDF实体的上报触发条件 满足时, 向该计费系统发送该第一计费信息; 在该计费系统接收 PCEF实体 发送的第二计费信息之前, 该方法还包括: 该计费系统根据该 TDF 实体所 承载的应用的数据流的关联标识向该 PCEF实体发送指示该 PCEF实体发送 该第二计费信息的指示消息; 该计费系统接收 PCEF实体发送的第二计费信 息, 包括; 该计费系统接收该 PCEF实体响应该指示消息发送的该第二计费 信息。
结合第三方面的第一种可能的实现方式, 在第二种可能的实现方式中, 该指示消息携带该 TDF 实体所承载的应用的数据流的关联标识; 该计费系 统接收该 PCEF实体响应该指示消息发送的该第二计费信息, 包括: 该计费 系统接收该 PCEF实体发送的与该 TDF实体所承载的应用的数据流的关联标 识对应的该 PCEF实体所承载的数据流的计费信息。
在第三种可能的实现方式中, 该计费系统接收 PCEF实体发送的第二计 费信息, 包括: 该计费系统接收该 PCEF实体在该 PCEF实体的上4艮触发条 件满足时, 向该计费系统发送该第二计费信息; 在该计费系统接收 TDF 实 体发送的第一计费信息之前, 该方法还包括: 该计费系统根据该 PCEF实体 所承载的数据流的关联标识向该 TDF实体发送指示该 TDF实体发送该第一 计费信息的指示消息; 该计费系统接收 TDF 实体发送的第一计费信息, 包 括; 该计费系统接收该 TDF实体响应该指示消息发送的该第一计费信息。
结合第三方面的第三种可能的实现方式, 在第四种可能的实现方式中, 该指示消息携带该 PCEF实体所承载的数据流的关联标识; 该计费系统接收 该 TDF 实体响应该指示消息发送的该第一计费信息, 包括: 该计费系统接 收该 TDF实体发送的与该 PCEF实体所 7?载的数据流的关联标识对应的该 TDF实体所承载的应用的数据流的计费信息。
结合第三方面或第三方面的第一至四种可能的实现方式中的任一种可 能的实现方式, 在第五种可能的实现方式中, 该 TDF 实体所承载的应用的 数据流的关联标识包括第一标识和第二标识, 该 PCEF实体所承载的数据流 的关联标识包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数 据流在该 PCEF实体上所属的承载, 所述第二标识表示数据流在该 PCEF实 体上对应的费率组; 或者, 该 TDF 实体所承载的应用的数据流的关联标识 包括第三标识,该 PCEF实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三标识表示数据流在该 PCEF实体上所属的承载以及对应的费 率组; 或者, 该 PCEF实体所承载的应用的数据流的关联标识包括第四标识 和第五标识, 该 PCEF实体所承载的数据流的关联标识包括所述第四标识和 所述第五标识, 其中, 所述第四标识表示数据流在该 PCEF实体上所属的承 载以及对应的费率组, 所述第五标识用于标识应用的数据流。
结合第三方面或第三方面的第一至五种可能的实现方式中的任一种可 能的实现方式, 在第六种可能的实现方式中, 在该计费系统接收 TDF 实体 发送的第一计费信息之前, 该方法还包括: 该计费系统接收该 TDF 实体发 送的第一配额申请请求, 该第一配额申请请求携带该 TDF 实体所承载的应 用的数据流的关联标识和应用的费率组, 以使计费系统根据所述应用的费率 组分配第一配额; 该计费系统向该 TDF 实体发送第一配额; 在该计费系统 接收 PCEF实体发送的第二计费信息之前, 该方法还包括: 该计费系统接收 该 PCEF实体发送的第二配额申请请求, 该第二配额申请请求携带该 PCEF 实体所承载的数据流的关联标识和数据流的费率组, 以使计费系统根据所述 数据流的费率组分配第二配额; 该计费系统向该 PCEF实体发送第二配额。 结合第三方面或第三方面的第一至六种可能的实现方式中的任一种可 能的实现方式, 在第七种可能的实现方式中, 该计费系统根据该 TDF 实体 所承载的应用的数据流的关联标识和该 PCEF实体所承载的数据流的关联标 识, 关联处理该第一计费信息和该第二计费信息, 包括: 该计费系统确定该 第一计费信息和该第二计费信息中关联标识相同的计费信息,对所述关联标 识相同的计费信息采取不同的计费策略进行计费。
第四方面, 提供了一种计费的方法, 包括: 策略和计费规则功能实体 PCRF实体向策略和计费执行功能实体 PCEF实体发送数据流的计费策略, 该数据流的计费策略包括第二计费关联信息, 以便于该 PCEF实体根据该数 据流的计费策略生成携带该 PCEF实体所承载的数据流的关联标识的第二计 费信息; 该 PCRF实体向流检测功能 TDF实体发送应用的计费策略, 该应 用的计费策略包括第一计费关联信息, 以便于该 TDF 实体根据该应用的计 费策略生成携带该 TDF 实体所承载的应用的数据流的关联标识的第一计费 信息; 其中,该 PCEF实体所承载的数据流的关联标识和该 TDF实体所承载 的应用的数据流的关联标识用于计费系统关联处理该第一计费信息和该第 二计费信息。
在第一种可能的实现方式中, 该第二计费关联信息包括该 PCEF实体所 承载的数据流的关联标识, 该第一计费关联信息包括该 TDF 实体所承载的 应用的数据流的关联标识; 该 TDF 实体所承载的应用的数据流的关联标识 包括第一标识和第二标识, 该 PCEF实体所承载的数据流的关联标识包括第 一标识和第二标识, 其中, 第一标识表示数据流在该 PCEF实体上所属的 7 载, 第二标识表示数据流在该 PCEF 实体上对应的费率组; 或者, 该 TDF 实体所承载的应用的数据流的关联标识包括第三标识, 该 PCEF实体所承载 的数据流的关联标识包括第三标识, 其中, 第三标识表示数据流在该 PCEF 实体上所属的承载以及对应的费率组。
在第二种可能的实现方式中, 该 TDF 实体所承载的应用的数据流的关 联标识包括第一标识和第二标识, 该 PCEF实体所 7 载的数据流的关联标识 包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承载, 所述第二标识表示数据流在该 PCEF实体上对应 的费率组; 该第二计费关联信息包括该 PCEF实体所承载的数据流的第二标 识, 该第一计费关联信息包括该 TDF 实体所承载的应用的数据流的第一标 识和第二标识; 在该 PCRF实体向流检测功能 TDF实体发送应用的计费策 略之前, 该方法还包括: 该 PCRF实体接收该 PCEF实体发送的该 PCEF实 体所承载的数据流的第一标识, 根据该 PCEF实体所承载的数据流的第一标 识确定该 TDF实体所承载的应用的数据流的第一标识。
结合第四方面的第一种或第二种可能的实现方式,在第三种可能的实现 方式中, 该第一计费关联信息包括该 TDF 实体上的所有应用的数据流的关 联标识以及该 TDF实体上的所有应用的数据流的关联标识对应的流模板。
第五方面, 提供了一种流检测功能 TDF 实体, 包括: 获取模块, 用于 获取该 TDF 实体所承载的应用的数据流的关联标识; 发送模块, 用于向计 费系统发送第一计费信息, 该第一计费信息携带该 TDF 实体所承载的应用 的数据流的关联标识, 以便于该计费系统根据该 TDF 实体所承载的应用的 数据流的关联标识和策略和计费执行功能 PCEF实体所承载的数据流的关联 标识关联处理该第一计费信息和该 PCEF实体向该计费系统发送的第二计费 信息,其中,该第二计费信息携带该 PCEF实体所承载的数据流的关联标识。
在第一种可能的实现方式中, 该发送模块具体用于, 在该 TDF 实体的 上报触发条件满足时, 向该计费系统发送该第一计费信息, 以使该计费系统 根据该 TDF实体所承载的应用的数据流的关联标识向该 PCEF实体发送指示 该 PCEF实体向该计费系统发送该第二计费信息的指示消息。
在第二种可能的实现方式中, 该 TDF 实体还包括: 第一接收模块, 用 于在该发送模块向计费系统发送第一计费信息之前,接收该计费系统根据该 PCEF实体所承载的数据流的关联标识发送的指示该 TDF实体发送该第一计 费信息的指示消息; 该发送模块具体用于, 响应该指示消息向该计费系统发 送该第一计费信息。
结合第五方面的第二种可能的实现方式, 在第三种可能的实现方式中, 该指示消息携带该 PCEF实体所承载的数据流的关联标识; 该发送模块具体 用于, 向该计费系统发送与该 PCEF实体所承载的数据流的关联标识对应的 该 TDF实体所承载的应用的数据流的计费信息。
结合第五方面或第五方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第四种可能的实现方式中, 该 TDF 实体还包括: 第二接 收模块, 用于接收策略和计费规则功能 PCRF实体发送的应用的计费策略, 该应用的计费策略包括该 TDF 实体所承载的应用的数据流的关联标识; 该 获取模块具体用于, 根据该应用的计费策略获取该 TDF 实体所承载的应用 的数据流的关联标识; 该 TDF 实体所承载的应用的数据流的关联标识包括 第一标识和第二标识, 该 PCEF实体所承载的数据流的关联标识包括所述第 一标识和所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上 所属的承载, 所述第二标识表示数据流在该 PCEF实体上对应的费率组; 或 者, 该 TDF实体所承载的应用的数据流的关联标识包括第三标识, 该 PCEF 实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三标识表 示数据流在该 PCEF实体上所属的 载以及对应的费率组。
结合第五方面的第四种可能的实现方式, 在第五种可能的实现方式中, 该应用的计费策略包括该 TDF 实体上的所有应用的数据流的关联标识, 以 及该 TDF 实体上的所有应用的数据流的关联标识对应的流模板; 该获取模 块具体用于, 根据该 TDF 实体上的所有应用的数据流的关联标识, 以及该 TDF实体上的所有应用的数据流的关联标识对应的流模板, 获取该 TDF实 体所承载的应用的数据流的关联标识。
结合第五方面或第五方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第六种可能的实现方式中, 该 TDF 实体所承载的应用的 数据流的关联标识包括第四标识和第五标识, 该 PCEF实体所承载的数据流 的关联标识包括所述第四标识和所述第五标识, 其中, 所述第四标识表示数 据流在该 PCEF实体上所属的 载以及对应的费率组, 所述第五标识用于标 识应用的数据流; 该 TDF 实体还包括: 第三接收模块, 用于接收该 PCEF 实体发送的携带第四标识的数据包; 确定模块, 用于确定该 TDF 实体所承 载的应用的数据流的第五标识; 该获取模块具体用于, 根据该 PCEF实体发 送的携带第四标识的数据包, 获取该 TDF 实体所承载的应用的数据流的第 四标识, 以及获取该确定模块确定的该 TDF 实体所承载的应用的数据流的 第五标识;该发送模块还用于,向该 PCEF实体发送携带第五标识的数据包, 以便于该 PCEF实体根据该携带第五标识的数据包获取该 PCEF实体所承载 的数据流的第五标识。
结合第五方面或第五方面的第一至六种可能的实现方式中的任一种可 能的实现方式, 在第七种可能的实现方式中, 该发送模块还用于, 在向计费 系统发送第一计费信息之前, 向该计费系统发送第一配额申请请求, 该第一 配额申请请求携带该 TDF 实体所承载的应用的数据流的关联标识和应用的 费率组, 以使计费系统根据所述应用的费率组分配第一配额; 该 TDF 实体 还包括: 第四接收模块, 用于接收该计费系统发送的第一配额。
第六方面, 提供了一种计费的策略和计费执行功能实体 PCEF实体, 包 括: 获取模块, 用于获取该 PCEF实体所承载的数据流的关联标识; 发送模 块, 用于向计费系统发送第二计费信息, 该第二计费信息携带该 PCEF实体 所承载的数据流的关联标识, 以便于该计费系统根据该 PCEF实体所承载的 数据流的关联标识和流检测功能 TDF 实体所承载的应用的数据流的关联标 识关联处理该第二计费信息和该 TDF 实体向该计费系统发送的第一计费信 息, 其中, 该第一计费信息携带该 TDF 实体所承载的应用的数据流的关联 标识。
在第一种可能的实现方式中, 该发送模块具体用于, 在该 PCEF实体的 上报触发条件满足时, 向该计费系统发送该第二计费信息, 以使该计费系统 根据该 PCEF实体所承载的数据流的关联标识向该 TDF实体发送指示该 TDF 实体向该计费系统发送该第一计费信息的指示消息。
在第二种可能的实现方式中, 该 PCEF实体还包括: 第一接收模块, 用 于在该发送模块向计费系统发送第二计费信息之前,接收该计费系统根据该 TDF实体所承载的应用的数据流的关联标识发送的指示该 PCEF实体发送该 第二计费信息的指示消息; 该发送模块具体用于, 响应该指示消息向该计费 系统发送该第二计费信息。
结合第六方面的第六种可能的实现方式, 在第三种可能的实现方式中, 该指示消息携带该 TDF 实体所承载的应用的数据流的关联标识; 该发送模 块具体用于, 向该计费系统发送与该 TDF 实体所承载的应用的数据流的关 联标识对应的该 PCEF实体所承载的数据流的计费信息。
结合第六方面或第六方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第四种可能的实现方式中, 该 TDF 实体所承载的应用的 数据流的关联标识包括第一标识和第二标识, 该 PCEF实体所承载的数据流 的关联标识包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数 据流在该 PCEF实体上所属的承载, 所述第二标识表示数据流在该 PCEF实 体上对应的费率组; 该 PCEF实体还包括: 第二接收模块, 用于接收 PCRF 实体发送的数据流的计费策略, 该数据流的计费策略包括该 PCEF实体所承 载的数据流的第一标识和第二标识; 该获取模块具体用于, 根据该数据流的 计费策略获取该 PCEF实体所承载的数据流的第一标识和第二标识。
结合第六方面或第六方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第五种可能的实现方式中, 该 TDF 实体所承载的应用的 数据流的关联标识包括第一标识和第二标识, 该 PCEF实体所承载的数据流 的关联标识包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数 据流在该 PCEF实体上所属的承载, 所述第二标识表示数据流在该 PCEF实 体上对应的费率组;该 PCEF实体还包括: 第一确定模块,用于确定该 PCEF 实体所承载的数据流的第一标识; 第三接收模块, 用于接收 PCRF实体发送 的数据流的计费策略, 该数据流的计费策略包括该 PCEF实体所承载的数据 流的第二标识; 该获取模块具体用于, 获取该第一确定模块确定的该 PCEF 实体所承载的数据流的第一标识, 以及根据该数据流的计费策略获取该 PCEF实体所承载的数据流的第二标识; 该发送模块还用于, 向该 PCRF实 体发送该 PCEF实体所承载的数据流的第一标识。
结合第六方面或第六方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第六种可能的实现方式中, 该 TDF 实体所承载的应用的 数据流的关联标识包括第三标识, 该 PCEF实体所承载的数据流的关联标识 包括所述第三标识, 其中, 所述第三标识表示数据流在该 PCEF实体上所属 的承载以及对应的费率组; 该 PCEF实体还包括: 第四接收模块, 用于接收 PCRF实体发送的数据流的计费策略, 该数据流的计费策略包括该 PCEF实 体所承载的数据流的第三标识; 该获取模块具体用于, 根据该数据流的计费 策略获取该 PCEF实体所承载的数据流的第三标识。
结合第六方面或第六方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第七种可能的实现方式中, 该 TDF 实体所承载的应用的 数据流的关联标识包括第四标识和第五标识, 该 PCEF实体所承载的数据流 的关联标识包括所述第四标识和所述第五标识, 其中, 所述第四标识表示数 据流在该 PCEF实体上所属的 载以及对应的费率组, 所述第五标识用于标 识应用的数据流; 该 PCEF实体还包括: 第二确定模块, 用于确定该 PCEF 实体所承载的数据流的第四标识; 第五接收模块, 用于接收该 TDF 实体发 送的携带第五标识的数据包; 该获取模块具体用于, 获取该第二确定模块确 定的该 PCEF实体所承载的数据流的第四标识,以及根据该 TDF实体发送的 携带第五标识的数据包, 获取该 PCEF实体所承载的数据流的第五标识; 该 发送模块还用于,向该 TDF实体发送携带第四标识的数据包,以便于该 TDF 实体根据该携带第四标识的数据包获取该 TDF 实体所承载的应用的数据流 的第四标识。
结合第六方面或第六方面的第一至七种可能的实现方式中的任一种可 能的实现方式, 在第八种可能的实现方式中, 该发送模块还用于, 在向计费 系统发送第二计费信息之前, 向该计费系统发送第二配额申请请求, 该第二 配额申请请求携带该 PCEF实体所承载的数据流的关联标识和数据流的费率 组, 以使计费系统根据所述数据流的费率组分配第二配额; 该 PCEF实体还 包括: 第六接收模块, 用于接收该计费系统发送的第二配额。
第七方面, 提供了一种计费系统, 包括: 第一接收模块, 用于接收流检 测功能 TDF实体发送的第一计费信息, 该第一计费信息携带该 TDF实体所 承载的应用的数据流的关联标识; 第二接收模块, 用于接收策略和计费执行 功能实体 PCEF实体发送的第二计费信息, 该第二计费信息携带该 PCEF实 体所承载的数据流的关联标识; 处理模块, 用于根据该 TDF 实体所承载的 应用的数据流的关联标识和该 PCEF实体所承载的数据流的关联标识, 关联 处理该第一计费信息和该第二计费信息。
在第一种可能的实现方式中, 该第一接收模块具体用于, 接收该 TDF 实体在该 TDF 实体的上报触发条件满足时, 向该计费系统发送该第一计费 信息; 该计费系统还包括: 第一发送模块, 用于在该第二接收模块接收策略 和计费执行功能实体 PCEF实体发送的第二计费信息之前,根据该 TDF实体 所承载的应用的数据流的关联标识向该 PCEF实体发送指示该 PCEF实体发 送该第二计费信息的指示消息; 该第二接收模块具体用于, 接收该 PCEF实 体响应该指示消息发送的该第二计费信息。
结合第七方面的第一种可能的实现方式, 在第二种可能的实现方式中, 该指示消息携带该 TDF 实体所承载的应用的数据流的关联标识; 该第二接 收模块具体用于,接收该 PCEF实体发送的与该 TDF实体所承载的应用的数 据流的关联标识对应的该 PCEF实体所承载的数据流的计费信息。
在第三种可能的实现方式中, 该第二接收模块具体用于, 接收该 PCEF 实体在该 PCEF实体的上报触发条件满足时, 向该计费系统发送该第二计费 信息; 该计费系统还包括: 第二发送模块, 用于在该第一接收模块接收流检 测功能 TDF实体发送的第一计费信息之前,根据该 PCEF实体所承载的数据 流的关联标识向该 TDF实体发送指示该 TDF实体发送该第一计费信息的指 示消息; 该第一接收模块具体用于, 接收该 TDF 实体响应该指示消息发送 的该第一计费信息。
结合第七方面的第三种可能的实现方式, 在第四种可能的实现方式中, 该指示消息携带该 PCEF实体所承载的数据流的关联标识; 该第一接收模块 具体用于,接收该 TDF实体发送的与该 PCEF实体所承载的数据流的关联标 识对应的该 TDF实体所承载的应用的数据流的计费信息。
结合第七方面或第七方面的第一至四种可能的实现方式中的任一种可 能的实现方式, 在第五种可能的实现方式中, 该 TDF 实体所承载的应用的 数据流的关联标识包括第一标识和第二标识, 该 PCEF实体所承载的数据流 的关联标识包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数 据流在该 PCEF实体上所属的承载, 所述第二标识表示数据流在该 PCEF实 体上对应的费率组; 或者, 该 TDF 实体所承载的应用的数据流的关联标识 包括第三标识,该 PCEF实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三标识表示数据流在该 PCEF实体上所属的承载以及对应的费 率组; 或者, 该 PCEF实体所承载的应用的数据流的关联标识包括第四标识 和第五标识, 该 PCEF实体所承载的数据流的关联标识包括所述第四标识和 所述第五标识, 其中, 所述第四标识表示数据流在该 PCEF实体上所属的承 载以及对应的费率组, 所述第五标识用于标识应用的数据流。
结合第七方面或第七方面的第一至五种可能的实现方式中的任一种可 能的实现方式, 在第六种可能的实现方式中, 该计费系统还包括: 第三接收 模块, 用于在该第一接收模块接收流检测功能 TDF 实体发送的第一计费信 息之前, 接收该 TDF 实体发送的第一配额申请请求, 该第一配额申请请求 携带该 TDF 实体所承载的应用的数据流的关联标识和应用的费率组, 以使 计费系统根据所述应用的费率组分配第一配额; 第三发送模块, 用于向该 TDF实体发送第一配额; 第四接收模块, 用于在该第二接收模块接收策略和 计费执行功能实体 PCEF实体发送的第二计费信息之前, 接收该 PCEF实体 发送的第二配额申请请求, 该第二配额申请请求携带该 PCEF实体所承载的 数据流的关联标识和数据流的费率组, 以使计费系统根据所述数据流的费率 组分配第二配额; 第四发送模块, 用于向该 PCEF实体发送第二配额。 结合第七方面或第七方面的第一至六种可能的实现方式中的任一种可 能的实现方式, 在第七种可能的实现方式中, 该处理模块具体用于, 确定该 第一计费信息和该第二计费信息中关联标识相同的计费信息,对所述关联标 识相同的计费信息采取不同的计费策略进行计费。
第八方面, 提供了一种策略和计费规则功能实体 PCRF实体, 包括: 确 定模块, 用于确定数据流的计费策略, 该数据流的计费策略包括第二计费关 联信息, 以及, 确定应用的计费策略, 该应用的计费策略包括第一计费关联 信息; 发送模块, 用于向策略和计费执行功能实体 PCEF实体发送该数据流 的计费策略,以便于该 PCEF实体根据该数据流的计费策略生成携带该 PCEF 实体所承载的数据流的关联标识的第二计费信息, 以及, 向流检测功能 TDF 实体发送该应用的计费策略, 以便于该 TDF 实体根据该应用的计费策略生 成携带该 TDF 实体所承载的应用的数据流的关联标识的第一计费信息; 其 中,该 PCEF实体所承载的数据流的关联标识和该 TDF实体所承载的应用的 数据流的关联标识用于计费系统关联处理该第一计费信息和该第二计费信 息。
在第一种可能的实现方式中, 该第二计费关联信息包括该 PCEF实体所 承载的数据流的关联标识, 该第一计费关联信息包括该 TDF 实体所承载的 应用的数据流的关联标识; 该 TDF 实体所承载的应用的数据流的关联标识 包括第一标识和第二标识, 该 PCEF实体所承载的数据流的关联标识包括所 述第一标识和所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实 体上所属的承载,所述第二标识表示数据流在该 PCEF实体上对应的费率组; 或者,该 TDF实体所 7 载的应用的数据流的关联标识包括第三标识,该 PCEF 实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三标识表 示数据流在该 PCEF实体上所属的 载以及对应的费率组。
在第二种可能的实现方式中, 该 TDF 实体所承载的应用的数据流的关 联标识包括第一标识和第二标识, 该 PCEF实体所 7 载的数据流的关联标识 包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承载, 所述第二标识表示数据流在该 PCEF实体上对应 的费率组; 该第二计费关联信息包括该 PCEF实体所承载的数据流的第二标 识, 该第一计费关联信息包括该 TDF 实体所承载的应用的数据流的第一标 识和第二标识; 该 PCRF实体还包括: 接收模块, 用于在该发送模块向流检 测功能 TDF实体发送应用的计费策略之前,接收该 PCEF实体发送的该 PCEF 实体所承载的数据流的第一标识; 该确定模块具体用于, 根据该 PCEF实体 所承载的数据流的第一标识确定该 TDF 实体所承载的应用的数据流的第一 标识。
结合第八方面的第一种或第二种可能的实现方式,在第三种可能的实现 方式中, 该第一计费关联信息包括该 TDF 实体上的所有应用的数据流的关 联标识以及该 TDF实体上的所有应用的数据流的关联标识对应的流模板。
第九方面, 提供了一种系统, 包括上述第五方面的 TDF 实体, 第六方 面的 PCEF实体, 第七方面的计费系统, 以及第八方面的 PCRF实体。
基于上述技术方案, 本发明实施例通过第一计费信息中携带的 TDF所 承载的应用数据流的关联标识和第二计费信息中携带的 PCEF所承载的数据 流的关联标识, 使得计费系统可以根据 TDF所承载的应用数据流的关联标 识和 PCEF所承载的数据流的关联标识, 可以关联处理数据流的计费信息和 应用的计费信息, 从而能够进行准确的数据流和应用的计费, 实现同时对应 用的计费和对数据流的计费。 附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中 所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。
图 1是根据本发明实施例的系统架构示意图。
图 2是根据本发明实施例的计费的方法的示意性流程图。
图 3是根据本发明另一实施例的计费的方法的示意性流程图。
图 4是根据本发明又一实施例的计费的方法的示意性流程图。
图 5是根据本发明又一实施例的计费的方法的另一示意性流程图。
图 6是根据本发明又一实施例的计费的方法的又一示意性流程图。
图 7是根据本发明又一实施例的计费的方法的示意性流程图。
图 8是根据本发明实施例的计费的方法的交互示意图。
图 9是根据本发明另一实施例的计费的方法的交互示意图。
图 10是根据本发明又一实施例的计费的方法的交互示意图。 图 11是根据本发明又一实施例的计费的方法的交互示意图。 图 12是根据本发明又一实施例的计费的方法的交互示意图。
图 13是根据本发明又一实施例的计费的方法的交互示意图。
图 14是根据本发明又一实施例的计费的方法的交互示意图。
图 15是根据本发明又一实施例的计费的方法的交互示意图。
图 16是根据本发明实施例的 TDF实体的示意性框图。
图 17是根据本发明实施例的 PCEF实体的示意性框图。
图 18是根据本发明实施例的计费系统的示意性框图。
图 19是根据本发明实施例的计费系统的另一示意性流程图。
图 20是根据本发明实施例的计费系统的又一示意性流程图。
图 21是根据本发明实施例的 PCRF实体的示意性框图;
图 22是根据本发明实施例的 TDF实体设备的结构图;
图 23是根据本发明实施例的 PCEF实体设备的结构图;
图 24是根据本发明实施例的计费系统的结构图;
图 25是根据本发明实施例的 PCRF实体设备的结构图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创 造性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。
图 1是本发明实施例的系统架构示意图。 PCRF实体用于向 TDF实体和 PCEF实体发送控制策略和计费策略;
PCRF实体和 PCEF实体间通过 Gx接口对接, 实现流的控制策略和计 费策略的下发, Gx接口是公用数据网 ( Public Data Network, PDN )级接口, PDN级在移动核心网演进( Evolved Packet Core, EPC )网络对应 IP会话 ( IP CAN Session ), 在通用分组无线业务( General Packet Radio Service, GPRS ) 网络对应 PDN连接 ( PDN Connection ), 该概念遵从 3GPP 23.203定义, 下 面统一称为 PDN级;
PCRF实体和 TDF实体间通过 Sd接口对接, 实现应用的检测和控制策 略下发, 并实现应用计费策略的下发, Sd接口是 PND级接口; PCEF实体和计费系统间是计费接口, 用于所收集的数据流的使用信息 (数据流的计费信息)上报, 实现基于数据流的计费, 若计费系统为 OCS, 则还包括信用控制 ( Credit Control ), 如: 配额申请, 该计费接口是承载级 接口, 在 GPRS网络对应分组数据协议( Packet Data Protocol, PDP )上下文 ( PDP Context ) , 在 EPC网络对应 IP承载( IP CAN Bearer ), 下面统一称为 承载(Bearer ), —个 Gx会话可以对应多个计费会话;
TDF实体和计费系统间是计费接口, 用于所收集的应用的使用信息(应 用的计费信息)上报, 实现基于应用的计费, 若计费系统为 OCS, 则还包括 信用控制, 如: 配额申请, 该接口是 PDN级接口;
计费系统关联处理数据流的计费信息和应用的计费信息,对数据流和应 用计费。
应理解, 图 1所示的系统架构图仅仅是一个示例, 不应对本发明的保护 范围构成任何限制, 例如, TDF实体和 PCEF实体可以设置在不同的网络设 备中, 也可以设置在同一个网络设备中, 还可以 PCEF实体内置 TDF实体。
还应理解, 在本发明实施例中, 各个实体也可以表述为设备, 各个实体 既可以是单独的设备, 也可以是设置在其他设备中的设备。 当然, 本发明各 个实施例会涉及到 "流"和 "数据流",这两个术语是在表述同一个内容, "流" 即 "数据流"。
图 2示出了根据本发明实施例的计费的方法 100的示意性流程图。如图 2所示, 该方法 100包括:
S110, TDF实体获取该 TDF实体所承载的应用的数据流的关联标识; S120, 该 TDF实体向计费系统发送第一计费信息, 该第一计费信息携 带该 TDF 实体所承载的应用的数据流的关联标识, 以便于该计费系统根据 该 TDF实体所承载的应用的数据流的关联标识和 PCEF实体所承载的数据流 的关联标识关联处理该第一计费信息和该 PCEF实体向该计费系统发送的第 二计费信息, 其中, 该第二计费信息携带该 PCEF实体所承载的数据流的关 联标识。
在本发明实施例中, TDF实体向计费系统发送携带 TDF实体所承载的 应用的数据流的关联标识的第一计费信息, PCEF实体向计费系统发送携带 PCEF实体所承载的数据流的关联标识的第二计费信息, 计费系统根据关联 标识关联处理第一计费信息和第二计费信息, 这样可以准确地对第一计费信 息和第二计费信息计费, 即实现同时对数据流和应用计费。
因此, 本发明实施例的计费的方法, 通过在计费信息中携带关联标识, 可以关联处理数据流的计费信息和应用的计费信息,从而能够进行准确的数 据流和应用的计费, 实现同时对应用的计费和对数据流的计费。
应理解, 在本发明实施例中, 术语 "第一" 和 "第二" 仅仅是为了区分 不同的信息或内容, 并不限制先后顺序, 也不对本发明实施例作其他限定。
在本发明实施例中, 关联标识用于关联 PCEF实体所承载的数据流信息 与 TDF 实体所承载的应用的数据流信息。 换句话说, 某一数据流先后经过 PCEF和 TDF, 若该流属于某一应用, 则在 TDF会进行该流的计费信息收集 用于应用计费, 在 PCEF会进行该流的计费信息收集用于流计费, 为了计费 系统关联处理,需要在 TDF为该流的计费信息添加关联标识,在 PCEF为该 流的计费信息添加相同的关联标识, 使得 TDF上的应用的数据流计费信息 与 PCEF上的数据流计费信息可以通过相同的关联标识关联起来。 这样, 计 费系统可以通过相同的关联标识识别相关联的计费信息,便于实现准确的数 据流和应用的计费。
在本发明实施例中, PCRF分别向 TDF和 PCEF下发应用的计费策略和 数据流的计费策略。 TDF接收到 PCRF发送的计费策略后, 若为在线计费, 则向计费系统发送第一配额申请请求, 该第一配额申请请求携带该 TDF 实 体所承载的应用的数据流的关联标识和应用的费率组,计费系统根据该应用 的费率组进行配额授权, TDF接收该计费系统发送的第一配额; PCEF接收 到 PCRF发送的计费策略后, 若为在线计费, 则向计费系统发送第二配额申 请请求, 该第二配额申请请求携带该 PCEF实体所承载的数据流的关联标识 和数据流的费率组, 计费系统根据该数据流的费率组进行配额授权, PCEF 接收该计费系统发送的第二配额。
业务使用过程中, 在线计费时, 若 TDF和 PCEF中的一个实体的上才艮 触发条件先满足后, 会先向计费系统上报计费信息, 计费系统收到该上报的 计费信息后需要指示另外一个实体也上报计费信息, 以便于关联处理数据流 的计费信息和应用的计费信息。
可选地, TDF实体的上报触发条件先满足时, S120包括:
该 TDF实体在该 TDF实体的上报触发条件满足时, 向该计费系统发送 该第一计费信息, 以使该计费系统根据该 TDF 实体所承载的应用的数据流 的关联标识向该 PCEF实体发送指示该 PCEF实体发送该第二计费信息的指 示消息。
在本实施例中, TDF实体的上报触发条件先满足后, 向计费系统上报计 费信息, 即 TDF 实体向计费系统发送第一计费信息, 第一计费信息中携带 TDF实体所承载的应用的数据流的关联标识。 计费系统根据 TDF实体所承 载的应用的数据流的关联标识, 确定关联标识对应的 PCEF实体的计费会话 受影响, 需要关联处理。 例如, 计费系统根据 TDF 实体所承载的应用的数 据流的关联标识与信用授权时得到的 PCEF实体所承载的数据流的关联标识 相同, 确定需要关联处理计费信息。 因此, 计费系统向 PCEF实体发送指示 消息, 指示 PCEF实体也上报计费信息。 PCEF实体根据指示消息, 向计费 系统发送第二计费信息, 第二计费信息中携带 PCEF实体所承载的数据流的 关联标识。 可选地, 若计费系统发送的指示消息中携带 TDF 实体所承载的 应用的数据流的关联标识,则 PCEF实体只向计费系统发送与 TDF实体所承 载的应用的数据流的关联标识对应的 PCEF 实体所承载的数据流的计费信 息; 若计费系统发送的指示消息中没有携带关联标识, 则 PCEF实体向计费 系统发送计费会话中的所有计费信息。
可选地, TDF实体的上报触发条件可以是应用开始、 应用停止、 应用实 例添加或应用实例移除等等。
可选地, PCEF 实体的上报触发条件先满足时, 在 S120之前, 该方法 100还包括:
该 TDF实体接收该计费系统根据该 PCEF实体所承载的数据流的关联标 识发送的指示该 TDF实体发送该第一计费信息的指示消息;
S120包括:
该 TDF实体响应该指示消息向该计费系统发送该第一计费信息。
在本实施例中, PCEF实体的上报触发条件先满足后, 向计费系统上报 计费信息, 即 PCEF实体向计费系统发送第二计费信息, 第二计费信息中携 带 PCEF实体所承载的数据流的关联标识。 计费系统根据 PCEF实体所承载 的数据流的关联标识, 向有相同关联标识计费会话的 TDF 实体发送指示消 息, 指示 TDF实体也上报计费信息。 例如, 计费系统根据 PCEF实体所承载 的数据流的关联标识与信用授权时得到的 TDF 实体所承载的应用的数据流 的关联标识相同, 确定需要关联处理计费信息, 因此向 PCEF实体发送指示 消息。 TDF实体根据指示消息, 向计费系统发送第一计费信息, 第一计费信 息中携带 TDF 实体所承载的应用的数据流的关联标识。 可选地, 若计费系 统发送的指示消息中携带 PCEF 实体所承载的数据流的关联标识, 则 TDF 实体只向计费系统发送与 PCEF实体所承载的数据流的关联标识对应的 TDF 实体所承载的应用的数据流的计费信息; 若计费系统发送的指示消息中没有 携带关联标识, 则 TDF实体向计费系统发送计费会话中的所有计费信息。
在 S110中, TDF实体获取 TDF实体所承载的应用的数据流的关联标识。 在本发明实施例中, 关联标识以及关联标识的获取方式都有多种。
可选地, 在本发明的一个实施例中, S110包括:
该 TDF实体接收 PCRF实体发送的应用的计费策略, 该应用的计费策 略包括该 TDF 实体所承载的应用的数据流的关联标识, 根据该应用的计费 策略获取该 TDF实体所承载的应用的数据流的关联标识;
该 TDF 实体所承载的应用的数据流的关联标识包括第一标识和第二标 识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和所述第二 标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承载, 所述 第二标识表示数据流在该 PCEF实体上的对应的费率组。
具体的, 该实施例中的第一标识由 PCRF为 PCEF上的承载分配, 该承 载上的所有流分配相同的第一标识。 第二标识由 PCRF为 PCEF上拥有相同 费率组的流分配, 某一 PDN中拥有相同费率组的流分配相同的第二标识。
也就是说, 本实施例将第一标识和第二标识作为关联标识。 第一标识即 承载标识, 用于承载级的计费信息关联, 或者用于计费会话的关联, 一个承 载对应一个承载标识。 第二标识, 用于同一承载下, 某一费率组 (Rating Group )的流关联。 本实施例中, PCRF实体确定第一标识和第二标识, 并通 过计费策略分别发送给 TDF实体和 PCEF实体。可选地,可以用 PCRF实体 生成的数据流的费率组作为第二标识。 可选地, 若 PCRF 实体生成计费键 ( Charging Key, 计费键和费率组——对应) 时, PCRF 实体同时生成了业 务标识( Service ID ),且给 PCEF实体的下发的计费策略中指定以 Service ID 层计费(即以 Rating Group和 Service ID区分计费信息 ),则第二标识也可以 定义为在 PDN内唯一标识该 Charging Key和 Service ID的组合对应的流, 即 PCRF实体为同一承载中 Rating Group和 Service ID相同的流分配相同的 第二标识。 具体而言, PCRF实体进行策略生成时综合 PCEF实体的请求中携带的 信息、 其获取的用户信息及签约信息、 来自计费系统的累积数据、 自身配置 的信息等, 进行策略的决策, 以生成控制和计费策略。 这里的策略包括: 对 PCEF实体的控制策略和计费策略, 对 TDF实体的应用检测、 控制策略和计 费策略。
应理解, 在本发明实施例中, PCRF进行策略生成有多种触发方式, 例 如: PCEF实体向 PCRF实体请求控制策略和计费策略, 触发策略生成, 或 者 OCS通知 PCRF实体某个累积状态发生变化触发 PCRF实体进行策略生 成, 或者 PCRF实体内部的触发条件满足触发策略生成, 或者 TDF实体检 测到并向 PCRF实体上报 "应用开始 /结束"事件后触发等等, 本发明实施例 对触发策略生成的时机和条件不作限定。
PCRF实体为 PCEF实体生成的流的控制和计费策略包括: 流模板(用 于流的匹配, 即匹配该模板的流适用该控制策略和计费策略)、 流对应的服 务质量(Quality of Service, QoS )、 门控(Gating )等控制策略, 以及流的 计费策略;其中,为流分配的计费策略包括:第一标识,为流分配的 Charging Key (即为流分配的费率组)作为第二标识。 第一标识由 PCRF实体生成, 具体地, PCRF实体为同一 PDN的同一 7 载分配相同的第一标识, 即: 同一 Gx会话中, 属于同一承载的的流, 例如, 在 GPRS网络中为具有相同 QoS, 在 EPC 网络中为具有相同服务质量等级指示 ( QoS-Class-Identifier, QCI ) 和分配预留优先(Allocation-Retention-Priority, ARP ) 的流, 使用相同的第 一标识, 一个或多个 PCC规则 (PCC Rule )可能拥有相同的第一标识。
例如, 为 PCEF实体下发计费策略的消息可以如下:
Charging-Rule-Definition:: = < AVP Header: 1003 >
{ Charging-Rule-Name }
[ Service-Identifier ]
[ Rating- Group ] 第二标识
[ Charging-ID ] 第一标识
可选地, 若 PCRF实体可以获知 PCEF实体上所有承载及其流模板的对 应信息 (如承载绑定由 PCRF实体控制 ), 则 PCRF实体根据该对应信息分 配第一标识;若 PCRF实体无法获知 PCEF实体上 载及其流的对应信息(如 承载绑定由 PCEF实体预定义), 则 PCEF实体在 Gx会话请求中上报承载及 其流模板的对应信息, PCRF实体根据 PCEF实体上报的承载与流模板的对 应信息分配第一标识。 例如, 上 "¾消息可以如下:
<CC-Request>:: = < Diameter Header: 272, REQ, PXY >
[ Bearer-Identifier ] 承载标识
*[ TFT-Packet-Filter-Information ] 流模板
PCEF实体接收到 PCRF实体发送的数据流的计费策略后, 根据该流的 控制策略和计费策略, 通过流和流模板的匹配获取 PCEF实体所承载数据流 的第一标识和第二标识。 略, 所生成的应用的控制策略和计费策略包括: 需要 TDF 实体检测的应用 的标识, 应用对应的 QoS限制 ( Limit )、 Gating, 重定向(Redirect )等控制 策略, 以及应用的计费策略; 其中, 为应用分配的计费策略包括: 为该应用 分配的应用的 Charging Key (即为应用分配的应用的费率组), 用于计费关 联的信息, 可选地, 还可以包括辅助计费准确性的其它信息。
用于计费关联的信息包括: 该应用的数据流的第一标识, 第一标识对应 的流信息, 及第一标识对应的流信息对应的第二标识。
具体地,若 PCRF实体知道 TDF实体上所检测的应用的流信息(如 TDF 实体上报给 PCRF实体或者 PCRF实体配置得知 ), 若 PCRF实体根据应用 的流信息和^载的关系确定该应用的流在一个^载上且第二标识相同, 则该 用于计费关联的信息携带应用标识和第一标识, 该第一标识对应的流信息对 应的第二标识; 若 PCRF实体根据应用的流信息和承载的关系确定该应用的 流不在一个承载上,或者该应用的流在一个承载上但第二标识不相同,, 则 该用于计费关联的信息携带应用标识、 一个或多个第一标识, 及第一标识对 应的流信息, 以及流信息对应的第二标识, 该用于计费关联的信息可以携带 在 ADC-Rule-Definition级参数中。
若 PCRF实体不知道 TDF实体上所检测的应用的流信息, 则该用于计 费关联的信息包括对应 Gx会话所对应的 PDN上所有承载的第一标识及其对 应的流信息、 流信息所对应的第二标识, 该用于计费关联的信息携带在命令 级参数中。
流信息包括: 流模板、 其优先级。 换句话说, 应用的计费策略中可以包括 TDF 实体上的所有应用的数据 流的关联标识, 以及 TDF 实体上的所有应用的数据流的关联标识对应的流 模板; TDF实体通过匹配流模板, 可以确定 TDF实体所承载的应用的数据 流的关联标识。
可选地,若 PCRF实体给 PCEF实体的下发的计费策略中指定以 Service
ID层计费 (即以 Rating Group和 Service ID区分计费信息), 则第二标识可 以使用 Charging Key和 Service ID的组合。
辅助计费准确性的其它信息包括: PCRF实体向 PCEF实体配置的第一 标识对应的流信息对应的门控策略( Gating ) , TDF 实体在收到该信息后, 不对其状态为关闭(Disable )的数据包进行计费信息收集(因为这些包将会 在 PCEF实体丟弃)。
以上方法使得 TDF实体上第一标识及其流信息的对应关系和 PCEF实 体保持一致,使得 PCEF实体和 TDF实体的匹配结果和处理方式相同,进而 使得两边的计费信息采集具有可比性。
例如, 为 TDF实体下发计费策略的消息可以如下 (以用于计费关联的 信息携带在 ADC-Rule-Definition级参数中为例, 这里仅列出部分参数 ):
ADC-Rule-Definition:: = < AVP Header: 1094 >
{ ADC-Rule-Name }
[ TDF- Application-Identifier ]
...
[ Rating-Group ]
[ Online ]
[ Offline ]
[ Metering-Method ]
* [ Application-Correlation-Info ]
其中,
Online和 Offline用以告诉 TDF实体该应用进行在线计费或者离线计费。 Rating-Group为该应用分配的应用的费率组。
Metering-Method指示该应用的流的信息收集方式, 包括: 时长、 流量、 或者流量和时长等。
Application-Correlation-Info用于计费关联的信息, 可以为一个, 比如, 若一个应用的流在一个承载上, 或不知道应用对应的承载且 PDN 中只有一 个^载, 或者多个, 比如, 若一个应用的流在多个^载上, 或不知道应用对 应的承载且 PDN中有多个承载。 参数定义如下:
Application-Correlation-Info: := < AVP Header: XXX >
{ Charging-Id } (第一标识 )
* { Correlation-Flow-Info }
其中,
Charging-Id为第一标识;
Correlation-Flow-Info用于携带第一标识对应的流信息及第二标识。其可 以定义如下:
Correlation-Flow-Info: := < AVP Header: XXXX >
* [ Flow-Information ]
[Flow-Status ]
[ Rating-Group ] (第二标识)
[ Precedence }
其中,
Flow-Information为具体的流的数据包过滤信息;
Precedence为流的优先级;
Flow-Status 为 PCRF实体向 PCEF实体配置的该第一标识对应的流信息 对应的门控策略;
Rating-Group为第一标识对应的流信息对应的第二标识。
TDF实体根据 PCRF实体发送的应用的计费策略, 获取 TDF实体所承 载的应用的数据流的第一标识和第二标识。 可选地, TDF实体根据应用的计 费策略中包括的 TDF 实体上的所有应用的数据流的第一标识和第二标识及 其流模板的对应关系, 获取 TDF 实体所承载的应用的数据流的第一标识和 第二标识。
在线计费时, TDF实体在进行计费信息统计时, 将既是应用的数据包, 又是第一标识和第二标识所对应的流的数据包的计费信息记录到一起,对应 一个计费计数( counter )。
例如, TDF实体使用其深度包检测(Deep Packet Inspection, DPI )能力 检测到某个数据包归属于某个 PCRF实体下发的应用, 则根据 PCRF实体下 发的流的优先级(即 Precedence AVP )确定该数据包应该匹配到哪个标识对 应的流(Flow-Information ), 确定后, 进一步根据 Flow-Status的值判断该数 据包是否将在 PCEF实体丟弃, 若是, 则不在 counter中记录, 否则, 计入 专门为该应用与标识对应流设置的 counter。
可选地, 若 TDF实体丟弃了上行数据包, TDF实体统计其所丟弃的上 行数据包, 为其标识特定费率组, 上报给计费系统, 以便计费系统根据该特 定费率组, 不对关联到的 PCEF实体上报的数据包的计费信息进行计费。 例 如, TDF实体为了使得 TDF实体丟弃应用的流后, 不影响 PCEF实体的计 费准确性, TDF实体收集所丟弃的应用的上行流信息, 并为所收集的应用的 上行流信息分配 0费率上报给计费系统, 以使计费系统关联后调整 PCEF实 体的计费。
TDF实体在向计费系统发送计费信息时( TDF实体的上报触发条件先满 足, 或收到计费系统的指示消息时), 在计费信息中携带每个 counter对应的 第一标识和第二标识。 例如, 发送计费信息的 CCR消息包括: 每个 counter 对应应用标识、 对应的第一标识和第二标识、 应用的费率组、 对应的使用信 息(流量或时长)等中的一个或多个。 不同 counter对应的值封装在 CCR的 MSCC ( Multiple-Services-Credit-Control ) 的不同 AVP组中。 例如, 消息可 以: ¾口下:
<Multiple-Services-Credit-Control>:: = < AVP Header: 456 >
[ Used-Service-Unit ]
[ CC-Correlation-Id ] 第一标识
[ Application-Id ] (也可以使用 Service-ID ) [ Rating-Group ] (携带应用的 Rating Group ) [ Related-Rating-Group ] (第二标识 ) 若 PCRF实体给 TDF实体下发的计费策略中未包含辅助计费准确性的 信息, 则 PCEF实体在收集计费信息时, 若 PCEF实体丟弃了下行数据包, PCEF实体统计其所丟弃的下行数据包, 为其标识特定费率组, 上报给计费 系统, 以便计费系统根据该特定费率组, 不对关联到的 TDF 实体上报的数 据包的计费信息进行计费。 后续实施例 PCRF实体给 TDF实体下发的计费 策略中未包含辅助计费准确性的信息时, PCEF实体处理相同。
PCEF 实体在向计费系统发送计费信息时(PCEF 实体的上报触发条件 先满足, 或收到计费系统的指示消息时), 在计费信息中携带数据流的第一 标识和第二标识。 例如, 发送计费信息的 CCR消息包括: 第一标识、 费率 组(同时作为第二标识)、 使用信息 (流量或时长)等中的一个或多个。 例 如, 消息可以如下:
<CCR>:: = < Diameter Header: 272, REQ, PXY >
*[ Multiple-Services-Credit-Control ]
[ CC-Correlation-Id ] 第一标识
Multiple-Services-Credit-Control携带信息如下 (仅列出相关 AVP ): <Multiple-Services-Credit-Control>:: = < AVP Header: 456 >
[ Used- Service-Unit ]
* [ Service-Identifier ]
[ Rating-Group ] 第二标识 计费系统根据第一标识和第二标识进行计费信息关联,对于关联处理后 的计费信息,分别使用 PCEF实体上报的数据流的费率组和 TDF实体上报的 应用的费率组进行计费处理。 也就是说, 计费系统通过数据流的计费信息和 应用的计费信息中相同的第一标识和第二标识确定相关联的计费信息,根据 相关联的计费信息进行计费。 例如, 计费系统通过数据流的计费信息和应用 的计费信息中相同的第一标识和第二标识确定重复的计费信息,把重复的计 费信息扣除后再针对非重复的计费信息进行计费。
因此, 本发明实施例的计费的方法, 通过在计费信息中携带表示数据流 在 PCEF实体上所属的承载的第一标识和表示数据流在该 PCEF实体上对应 的费率组的第二标识, 可以关联处理流的计费信息和应用的计费信息, 从而 能够进行准确的流和应用的计费。
在本发明的另一个实施例中, 同样将第一标识和第二标识作为关联标 识。 与前述实施例不同之处在于第一标识的生成方式不同。 在本实施例中, PCEF实体生成第一标识, 并将其发送给 PCRF实体。 具体地, PCEF实体在 新承载建立、 承载更新、 承载结束时, 向 PCRF实体上报为承载分配的第一 标识。 如果是新建立承载, PCEF实体需要生产新的承载对应的第一标识, 如果承载的修改或结束,则向 PCRF实体上报为该承载分配的原有第一标识。 如果是新承载建立或者承载更新, 则 PCEF实体在上报承载标识的同时, 还 需要上报该承载的流过滤信息, 即: 绑定到承载上的流模板信息, 用以匹配 流到该 载。 如果是 载结束, 则可以不上 载的流过滤信息。 例如, 上
"¾消息可以如下:
<CC-Request>:: = < Diameter Header: 272, REQ, PXY >
[ Bearer-Identifier ] 第一标识
[ Bearer-Operation ]
*[ TFT-Packet-Filter-Information ]第一标识对应的流过滤信息 由于 PCEF实体确定 PCEF实体上的数据流的第一标识, PCRF实体生 成第二标识 (可以将为流分配的费率组作为第二标识), 并将其携带在为 PCEF实体生成数据流的计费策略中。 PCEF实体接收到 PCRF实体发送的数 据流的计费策略后, 根据该数据流的计费策略获取 PCEF实体上的数据流的 第二标识。
PCEF实体相应地, PCRF实体在进行策略生成时为 TDF实体生成应用 的控制策略和计费策略。 其中, PCRF实体根据 PCEF实体所承载的数据流 的第一标识确定需要计费的应用的流的第一标识; 第二标识同前述实施例一 样, 还是由 PCRF实体生成。 生成应用的计费策略后, PCRF实体向 TDF实 体下发应用的计费策略。
后续 TDF实体和 PCEF实体收集计费信息以及向计费系统发送计费信 息、 计费系统关联处理计费信息的方式与前述实施例相同, 在此不再赘述。
可选地, 作为本发明的又一个实施例, S110包括:
该 TDF实体接收 PCRF实体发送的应用的计费策略, 该应用的计费策 略包括该 TDF 实体所承载的应用的数据流的关联标识, 根据该应用的计费 策略获取该 TDF实体所承载的应用的数据流的关联标识;
该 TDF实体所承载的应用的数据流的关联标识包括第三标识,该 PCEF 实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三标识表 示数据流在该 PCEF实体上所属的 载以及对应的费率组。
也就是说, 本实施例将所述第三标识作为关联标识。 所述第三标识用以 在 PDN级唯一标识某一^载下某一费率组的流。具体的, PCRF实体为某一 PDN的某一 载的相同费率组的流分配相同的第三标识。使得该第三标识既 可以区分承载, 同时又可以区分承载下的不同费率组的流。可选地,若 PCRF 实体生成的 Charging Key时, PCRF实体同时生成了 Service ID , 且给 PCEF 实体的下发的计费策略中指定以 Service ID层计费 (即以 Rating Group和 Service ID 区分计费信息), 则第三标识可以定义为在 PDN 内唯一标识该 Charging Key (即 Rating Group )和 Service ID的组合对应的流, 即 PCRF实 体为同一承载中 Rating Group和 Service ID相同的流分配相同的第三标识。 本实施例中, PCRF实体确定第三标识, 并通过计费策略分别发送给 TDF实 体和 PCEF实体。
具体而言, PCRF实体为 PCEF实体下发的数据流的计费策略包括: 为 流分配的 Charging Key (即为流分配的费率组), 第三标识。
例如, 为 PCEF实体下发计费策略的消息可以如下:
Charging-Rule-Definition:: = < AVP Header: 1003 >
{ Charging-Rule-Name }
[ Service-Identifier ]
[ Rating- Group ]
[ Charging-ID ] 第三标识
可选的, 若 PCEF实体预置了某一承载的数据流的费率组, 而且 PCRF 实体未进行重新分配, 则 PCEF实体在 Gx会话请求中上报流模板及其费率 组的对应信息, PCRF实体根据 PCEF实体上报的费率组与流模板的对应信 息分配第三标识。
PCEF实体接收到 PCRF实体发送的数据流的计费策略后, 根据该数据 流的计费策略, 通过流的匹配获取 PCEF实体所承载的数据流的第三标识。
相应地, PCRF实体在进行策略生成时为 TDF实体生成的应用的计费策 略包括: 为该应用分配的 Charging Key (即为应用分配的应用的费率组), 用于计费关联的信息, 可选地, 还可以包括: 辅助计费准确性的其它信息。
用于计费关联的信息包括: 第三标识, 可选地, 还可以包括第三标识对 应的流信息。
具体地,若 PCRF实体知道 TDF实体上所检测的应用的流信息(如 TDF 实体上报给 PCRF实体或者 PCRF实体配置得知 ), 若 PCRF实体根据该应 用的流信息和第三标识的对应关系确定该应用的流仅对应一个第三标识, 则 该用于计费关联的信息可以仅仅携带应用标识和第三标识, 不携带该第三标 识对应的流信息; 若该应用的流对应多个第三标识, 则该用于计费关联的信 息携带应用标识、 多个第三标识及其对应的流信息参数, 该用于计费关联的 信息携带在 ADC-Rule-Definition级参数中。 若 PCRF实体不知道 TDF实体上所检测的应用的流信息, 则该用于计 费关联的信息包括对应 Gx会话所对应的 PDN上所有第三标识及其对应的流 信息参数, 该用于计费关联的信息携带在命令级参数中。
流信息包括: 流模板、 其优先级。
换句话说, 应用的计费策略中可以包括 TDF 实体上的所有应用的数据 流的关联标识, 以及 TDF 实体上的所有应用的数据流的关联标识对应的流 模板 (即流信息); TDF实体通过匹配流模板, 可以确定 TDF实体所承载的 应用的数据流的关联标识。
辅助计费准确性的其它信息包括: PCRF实体向 PCEF实体配置的第三 标识对应的流信息对应的门控策略( Gating ), TDF 实体在收到该信息后, 不对其状态为 Disable的数据包进行计费信息收集(因为这些包将会在 PCEF 实体丟弃)。
例如, 为 TDF实体下发计费策略的消息可以如下 (以用于计费关联的 信息携带在 ADC-Rule-Definition级参数中为例,这里仅列出部分相关参数 ):
ADC-Rule-Definition:: = < AVP Header: 1094 >
{ ADC-Rule-Name }
[ TDF- Application-Identifier ]
[ Rating-Group ]
[ Online ]
[ Offline ]
[ Metering-Method ]
* [ Application-Correlation-Info ]
其中,
Online和 Offline用以告诉 TDF实体该应用进行在线计费或者离线计费。
Rating-Group为该应用分配的费率组。
Metering-Method指示该应用的流的信息收集方式, 包括: 时长、 流量、 或者流量和时长等。
Application-Correlation-Info用于计费关联的信息, 可以为一个(若一个 应用的流对应一个第三标识, 或不知道应用的流信息且 PDN 中只有一个第 三标识), 或者多个(若一个应用的流对应多个第三标识, 或不知道应用的 流信息, 且 PDN中有多个第三标识)。 该 AVP具体的定义如下: Application- Correlation-Info:: = < AVP Header: XXXX >
* [ Flow-Information ]
[Flow-Status ]
[Application-Charging-ID] 第三标识
[ Precedence }
*[ AVP ]
其中,
Flow-Information为具体的流的数据包过滤信息;
Precedence为流的优先级;
Flow-Status 为 PCRF实体向 PCEF实体配置的该第三标识对应的流信息 对应的门控策略;
Application- Charging-ID为第三标识。
TDF实体根据 PCRF实体发送的应用的计费策略, 获取 TDF实体所承 载的应用的数据流的第三标识。 可选地, TDF实体根据应用的计费策略中包 括的 TDF 实体上的所有应用的数据流的第三标识及其对应的流模板, 获取 TDF实体所承载的应用的数据流的第三标识。
在线计费时, TDF实体在进行计费信息统计时, 将既是应用的数据包, 又是第三标识所对应的流的数据包的计费信息记录到一起, 对应一个 counter。
例如, TDF 实体使用其 DPI 能力检测到某个数据包归属于某个 PCRF 实体下发的应用,则根据 PCRF实体下发的流的优先级(即 Precedence AVP ) 确定该数据包应该匹配到哪个标识对应的流( Flow-Information ), 确定后, 进一步根据 Flow-Status的值判断该数据包是否将在 PCEF实体丟弃, 若是, 则不在 counter 中记录, 否则, 计入专门为该应用与标识对应流设置的 counter。
可选地, 若 TDF实体丟弃了上行数据包, TDF实体统计其所丟弃的上 行数据包, 为其标识特定费率组, 上报给计费系统, 以便计费系统根据该特 定费率组, 不对关联到的 PCEF实体上报的数据包的计费信息进行计费。 例 如, TDF实体为了使得 TDF实体丟弃应用的流后, 不影响 PCEF实体的计 费准确性, TDF实体收集所丟弃的应用的上行流信息, 并为所收集的应用的 上行流信息分配 0费率上报给计费系统, 以使计费系统关联后调整 PCEF实 体的计费。
TDF实体在向计费系统发送计费信息时( TDF实体的上报触发条件先满 足, 或收到计费系统的指示消息时), 在计费信息中携带每个 counter对应的 第三标识。 例如, 发送计费信息的 CCR消息包括: 每个 counter对应应用标 识、 对应的第三标识、 应用的费率组、 对应的使用信息(流量或时长)等中 的一个或多个。 不同 counter 对应的值封装在 CCR 的 MSCC ( Multiple-Services-Credit-Control )的不同 AVP组中。 例如, 消息可以如下: <Multiple-Services-Credit-Control>:: = < AVP Header: 456 >
[ Used-Service-Unit ]
[ CC-Correlation-Id ] 第三标识
[ Application-Id ] (也可以使用 Service-ID ) [ Rating-Group ] (携带应用的 Rating Group ) PCEF 实体在向计费系统发送计费信息时(PCEF 实体的上报触发条件 先满足, 或收到计费系统的指示消息时), 在计费信息中携带该流的第三标 识。 例如, 发送计费信息的 CCR消息包括: 第三标识、 费率组、 使用信息 (流量或时长)等中的一个或多个。 例如, 消息可以如下:
<Multiple-Services-Credit-Control>: := < AVP Header: 456 >
[ Used-Service-Unit ]
* [ Service-Identifier ]
[ Rating- Group ]
[ CC-Correlation-Id ]第三标识 计费系统根据第三标识进行计费信息关联, 对于关联处理后的计费信 息,分别使用 PCEF实体上报的数据流的费率组和 TDF实体上报的应用的费 率组进行计费处理。
因此, 本发明实施例的计费的方法, 通过在计费信息中携带表示数据流 在 PCEF实体上所属的 7 载以及对应的费率组的第三标识, 可以关联处理流 的计费信息和应用的计费信息, 从而能够进行准确的流和应用的计费。
可选地, 作为本发明的又一个实施例, 该 TDF 实体所 7 载的应用的数 据流的关联标识包括第四标识和第五标识, 该 PCEF实体所承载的数据流的 关联标识包括所述第四标识和所述第五标识, 其中, 所述第四标识表示数据 流在该 PCEF实体上所属的承载以及对应的费率组, 所述第五标识用于标识 应用的数据流;
S110包括:
该 TDF实体接收该 PCEF实体发送的携带第四标识的数据包, 根据该 PCEF实体发送的携带第四标识的数据包,获取该 TDF实体所承载的应用的 数据流的第四标识;
该 TDF实体确定该 TDF实体所承载的应用的数据流的第五标识; 该方法 100还包括:
该 TDF 实体向该 PCEF 实体发送携带第五标识的数据包, 以便于该 PCEF实体根据该携带第五标识的数据包获取该 PCEF实体所承载的数据流 的第五标识。
在本实施例中,将第四标识和第五标识作为关联标识。第四标识由 PCEF 实体生成, 用以在 PDN级唯一标识某一^载下某一费率组的流。 该第四标 识既可以区分某一 PDN下的某一^载, 同时又可以区分该^载下的不同费 率组的流。 可选地, 若 PCRF实体生成的 Charging Key时, PCRF实体同时 生成了 Service ID,且给 PCEF实体的下发的计费策略中指定以 Service ID层 计费(即以 Rating Group和 Service ID区分计费信息;),则第四标识可以定义 为唯一标识 Charging Key (即 Rating Group )和 Service ID的组合对应的流。
第五标识由 TDF实体生成, 用以在 PDN下唯一的标识某一应用的流。 PCEF实体为每个上行数据包添加第四标识,向 TDF实体发送上行携带 第四标识的数据包; TDF实体为每个下行数据包添加第五标识, 向 PCEF实 体发送下行携带第五标识的数据包。
在本实施例中, PCRF实体在进行策略生成时为 PCEF实体生成的数据 流的计费策略中不再包括关联标识, 也就是说, PCRF实体为 PCEF实体生 成数据流的计费策略可以采用现有技术。
PCEF实体确定 PCEF实体上的数据流的第四标识后,在向 OCS发送的 计费信息中携带该流的第四标识。 具体发送方式与前述实施例相同, 在此不 再赘述。
PCRF实体在进行策略生成时为 TDF实体生成的应用的计费策略包括: 为该应用分配的 Charging Key (即为应用分配的应用费率组)、计费方式(在 线计费或离线计费)、 计费信息收集方式(时长、 流量、 或时长和流量等), 可选地, 还可以包括: 辅助计费准确性的其它信息。
例如, 为 TDF实体下发计费策略的消息可以如下 (这里仅列出部分参 数):
ADC-Rule-Definition:: = < AVP Header: 1094 >
{ ADC-Rule-Name }
[ TDF- Application-Identifier ]
[ Rating-Group ] 应用的费率组
[ Online ]
[ Offline ]
[ Metering-Method ]
* [ Additional-Info ] 辅助计费准确性的其它信息 其中,
Online和 Offline用以告诉 TDF实体该应用进行在线计费或者离线计费。 Rating-Group为该应用分配的费率组。
Metering-Method指示该应用的流的信息收集方式, 包括: 时长、 流量、 或者流量和时长等。
Additional- Info辅助计费准确性的其它信息, 该 AVP具体的定义如下: Additional- Info::= < AVP Header: XXXX >
* [ Flow-Information ]
[Flow- Status ]
[ Precedence }
*[ AVP ]
其中,
Flow-Information为具体的流的数据包过滤信息;
Precedence为流的优先级;
Flow-Status 为流信息对应的门控策略
PCEF实体确定 PCEF实体上的数据流的第四标识, 根据 TDF实体发送 的携带第五标识的数据包, 获取 PCEF实体上的数据流的第五标识; TDF实 体确定 TDF实体所承载的应用的数据流的第五标识,根据 PCEF实体发送的 携带第四标识的数据包, 获取 TDF实体所承载的应用的数据流的第四标识。 在线计费时, TDF实体在进行计费信息统计时, 对于上行数据包, TDF 实体将既是应用的数据包, 又是第四标识所对应的流的数据包的计费信息记 录到一起, 对应一个 counter; 对于下行数据包, TDF 实体将应用的数据包 对应的流的数据包的计费信息记录到一起, 对应一个 counter。
可选地, 若 TDF实体丟弃了上行数据包, TDF实体统计其所丟弃的上 行数据包, 为其标识特定费率组, 上报给计费系统, 以便计费系统根据该特 定费率组, 不对关联到的 PCEF实体上报的数据包的计费信息进行计费。 例 如, TDF实体为了使得 TDF实体丟弃应用的流后, 不影响 PCEF实体的计 费准确性, TDF实体收集所丟弃的应用的上行流信息, 并为所收集的应用的 上行流信息分配 0费率上报给计费系统, 以使计费系统关联后调整 PCEF实 体的计费。
TDF实体在向计费系统发送计费信息时(TDF实体的上报触发条件先满 足, 或收到计费系统的指示消息时), 在计费信息中携带每个 counter对应的 第四标识和第五标识, 或者仅有第五标识(若没有第四标识时)。 例如, 发 送计费信息的 CCR消息包括: 每个 counter对应应用标识、 对应的第四标识 和第五标识、 应用的费率组、 对应的使用信息(流量或时长)等中的一个或 多 个 。 不 同 counter 对 应 的 值 封 装 在 CCR 的 MSCC ( Multiple-Services-Credit-Control )的不同 AVP组中。 例如, 消息可以如下: <Multiple-Services-Credit-Control>:: = < AVP Header: 456 >
[ Used-Service-Unit ]
[ Application-Id ] (也可以使用 Service-ID )
[ Rating-Group ] (携带应用的 Rating Group )
[ Flow-Correlation-Id ]第四标识
[ App-Correlation-Id ]第五标识
PCEF 实体在向计费系统发送计费信息时(PCEF 实体的上报触发条件 先满足, 或收到计费系统的指示消息时), 在计费信息中携带该 PCEF 实体 上的数据流的第四标识和第五标识, 或者仅有第四标识 (若没有第五标识 时)。 例如, 发送计费信息的 CCR消息包括: 第四标识、 第五标识、 费率组、 使用信息 (流量或时长)等中的一个或多个。 例如, 消息可以如下:
<Multiple-Services-Credit-Control>:: = < AVP Header: 456 >
[ Used-Service-Unit ] * [ Service-Identifier ]
[ Rating- Group ]
[ Flow-Correlation-Id ]第四标识
[ App-Correlation-Id ]第五标识 计费系统根据第四标识和第五标识进行计费信息关联,对于关联处理后 的计费信息,分别使用 PCEF实体上报的数据流的费率组和 TDF实体上报的 应用的费率组进行计费处理。
因此, 本发明实施例的计费的方法, 通过在计费信息中携带表示数据流 在 PCEF实体上所属的 7 载以及对应的费率组的第四标识和用于标识应用的 数据流的第五标识, 可以关联处理流的计费信息和应用的计费信息, 从而能 够进行准确的流和应用的计费。
以上从 TDF实体的角度详细描述了本发明实施例的计费的方法, 下面 从 PCEF实体的角度描述本发明实施例的计费的方法。
图 3示出了根据本发明实施例的计费的方法 200的示意性流程图。如图 3所示, 该方法 200包括:
S210, PCEF实体获取该 PCEF实体所承载的数据流的关联标识; S220, 该 PCEF实体向计费系统发送第二计费信息, 该第二计费信息携 带该 PCEF实体所承载的数据流的关联标识,以便于该计费系统根据该 PCEF 实体所承载的数据流的关联标识和 TDF 实体所承载的应用的数据流的关联 标识关联处理该第二计费信息和该 TDF 实体向该计费系统发送的第一计费 信息, 其中, 该第一计费信息携带该 TDF 实体所承载的应用的数据流的关 联标识。
在本发明实施例中, PCEF实体向计费系统发送携带 PCEF实体所承载 的数据流的关联标识的第二计费信息, TDF 实体向计费系统发送携带 TDF 实体所承载的应用的数据流的关联标识的第一计费信息,计费系统根据关联 标识关联处理第一计费信息和第二计费信息, 这样可以准确地对第一计费信 息和第二计费信息计费, 即实现同时对数据流和应用计费。
因此, 本发明实施例的计费的方法, 通过在计费信息中携带关联标识, 可以关联处理数据流的计费信息和应用的计费信息,从而能够进行准确的数 据流和应用的计费, 实现同时对应用的计费和对数据流的计费。
可选地, 在 S220之前, 该方法 200还包括: 该 PCEF实体向该计费系统发送第二配额申请请求, 该第二配额申请请 求携带该 PCEF实体所承载的数据流的关联标识和数据流的费率组, 以使计 费系统可以根据所述数据流的费率组分配第二配额;
该 PCEF实体接收该计费系统发送的第二配额。
PCRF实体分别向 TDF实体和 PCEF实体下发应用的计费策略和数据流 的计费策略。 PCEF实体接收到 PCRF实体发送的计费策略后, 若为在线计 费,则向计费系统发送第二配额申请请求,该第二配额申请请求携带该 PCEF 实体所承载的数据流的关联标识和数据流的费率组,计费系统根据该数据流 的费率组进行配额授权, PCEF 实体接收该计费系统发送的第二配额; TDF 实体接收到 PCRF实体发送的计费策略后, 若为在线计费, 则向计费系统发 送第一配额申请请求, 该第一配额申请请求携带该 TDF 实体所承载的应用 的数据流的关联标识和应用的费率组,计费系统根据该应用的费率组进行配 额授权, TDF实体接收该计费系统发送的第一配额。
业务使用过程中,在线计费时,若 PCEF实体和 TDF实体中的一个实体 的上报触发条件先满足后, 会先向计费系统上报计费信息, 计费系统收到该 上报的计费信息后需要指示另外一个实体也上报计费信息, 以便于关联处理 数据流的计费信息和应用的计费信息。
因此, 可选地, S220, 包括:
该 PCEF实体在该 PCEF实体的上报触发条件满足时, 向该计费系统发 送该第二计费信息, 以使该计费系统根据该 PCEF实体所承载的数据流的关 联标识向该 TDF实体发送指示该 TDF实体向该计费系统发送该第一计费信 息的指示消息。
可选地, 在 S220之前, 该方法 200还包括:
该 PCEF实体接收该计费系统根据该 TDF实体所承载的应用的数据流的 关联标识发送的指示该 PCEF实体发送该第二计费信息的指示消息;
S220包括:
该 PCEF实体响应该指示消息向该计费系统发送该第二计费信息。
可选地, 该指示消息携带该 TDF 实体所承载的应用的数据流的关联标 识;
该 PCEF实体响应该指示消息向该计费系统发送该第二计费信息,包括: 该 PCEF实体向该计费系统发送与该 TDF实体所承载的应用的数据流的 关联标识对应的该 PCEF实体所承载的数据流的计费信息。
可选地, 作为本发明的一个实施例, 该 TDF 实体所承载的应用的数据 流的关联标识包括第一标识和第二标识, 该 PCEF实体所 7 载的数据流的关 联标识包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数据流 在该 PCEF实体上所属的承载, 所述第二标识表示数据流在该 PCEF实体上 对应的费率组;
S210, 包括:
该 PCEF实体接收 PCRF实体发送的数据流的计费策略, 该数据流的计 费策略包括该 PCEF实体所承载的数据流的第一标识和第二标识, 根据该数 据流的计费策略获取该 PCEF实体所承载的数据流的第一标识和第二标识。
可选地, 作为本发明的另一个实施例, 该 TDF 实体所承载的应用的数 据流的关联标识包括第一标识和第二标识, 该 PCEF实体所 7 载的数据流的 关联标识包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数据 流在该 PCEF实体上所属的承载, 所述第二标识表示数据流在该 PCEF实体 上对应的费率组;
S210包括:
该 PCEF实体确定该 PCEF实体所承载的数据流的第一标识;
该 PCEF实体接收 PCRF实体发送的数据流的计费策略, 该数据流的计 费策略包括该 PCEF实体所承载的数据流的第二标识, 根据该数据流的计费 策略获取该 PCEF实体所承载的数据流的第二标识;
该方法 200还包括:
该 PCEF实体向该 PCRF实体发送该 PCEF实体所承载的数据流的第一 标识。
可选地, 作为本发明的又一个实施例, 该 TDF 实体所 7 载的应用的数 据流的关联标识包括第三标识, 该 PCEF实体所承载的数据流的关联标识包 括所述其中, 所述第三标识表示数据流在该 PCEF实体上所属的承载以及对 应的费率组;
S210包括:
该 PCEF实体接收 PCRF实体发送的数据流的计费策略, 该数据流的计 费策略包括该 PCEF实体所承载的数据流的第三标识, 根据该数据流的计费 策略获取该 PCEF实体所承载的数据流的第三标识。 可选地, 作为本发明的又一个实施例, 该 TDF 实体所 7 载的应用的数 据流的关联标识包括第四标识和第五标识, 该 PCEF实体所承载的数据流的 关联标识包括所述第四标识和所述第五标识, 其中, 所述第四标识表示数据 流在该 PCEF实体上所属的承载以及对应的费率组, 所述第五标识用于标识 应用的数据流;
S210包括:
该 PCEF实体确定该 PCEF实体所承载的数据流的第四标识;
该 PCEF实体接收该 TDF实体发送的携带第五标识的数据包, 根据该 TDF实体发送的携带第五标识的数据包,获取该 PCEF实体所承载的数据流 的第五标识;
该方法 200还包括:
该 PCEF实体向该 TDF实体发送携带第四标识的数据包,以便于该 TDF 实体根据该携带第四标识的数据包获取该 TDF 实体所承载的应用的数据流 的第四标识。
应理解,在本发明实施例中, TDF实体侧描述的 TDF实体、 PCEF实体、
PCRF实体和计费系统相互之间的交互及相关特性、 功能等与 PCEF实体侧 的描述相应, 为了筒洁, 在此不再赘述。
因此, 本发明实施例的计费的方法, 通过在计费信息中携带关联标识, 可以关联处理流的计费信息和应用的计费信息,从而能够进行准确的流和应 用的计费。
下面从计费系统的角度描述本发明实施例的计费的方法。
图 4示出了根据本发明实施例的计费的方法 300的示意性流程图。如图 4所示, 该方法 300包括:
S310, 计费系统接收 TDF实体发送的第一计费信息, 该第一计费信息 携带该 TDF实体所承载的应用的数据流的关联标识;
S320, 该计费系统接收 PCEF实体发送的第二计费信息, 该第二计费信 息携带该 PCEF实体所承载的数据流的关联标识;
S330, 该计费系统根据该 TDF实体所承载的应用的数据流的关联标识 和该 PCEF实体所承载的数据流的关联标识, 关联处理该第一计费信息和该 第二计费信息。
在本发明实施例中, 计费系统接收 TDF实体发送的携带 TDF实体所承 载的应用的数据流的关联标识的第一计费信息, 接收 PCEF实体发送的携带 PCEF实体所承载的数据流的关联标识的第二计费信息, 然后, 根据关联标 识关联处理第一计费信息和第二计费信息。这样可以准确地对第一计费信息 和第二计费信息计费, 实现同时对数据流和应用计费。
因此, 本发明实施例的计费的方法, 通过接收携带关联标识的流的计费 信息和应用的计费信息,根据关联标识关联处理流的计费信息和应用的计费 信息, 能够进行准确的数据流和应用的计费。
在本发明实施例中, 可选地, 该 TDF 实体所承载的应用的数据流的关 联标识包括第一标识和第二标识, 该 PCEF实体所 7 载的数据流的关联标识 包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承载, 所述第二标识表示数据流在该 PCEF实体上对应 的费率组。
可选地, 该 TDF实体所承载的应用的数据流的关联标识包括第三标识, 该 PCEF实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第 三标识表示数据流在该 PCEF实体上所属的承载以及对应的费率组。
可选地, 该 PCEF实体所承载的应用的数据流的关联标识包括第四标识 和第五标识, 该 PCEF实体所承载的数据流的关联标识包括所述第四标识和 所述第五标识, 其中, 所述第四标识表示数据流在该 PCEF实体上所属的承 载以及对应的费率组, 所述第五标识用于标识应用的数据流。
在本发明实施例中, 可选地, 在 S310之前, 该方法 300还包括: 该计费系统接收该 TDF 实体发送的第一配额申请请求, 该第一配额申 请请求携带该 TDF实体所承载的应用的数据流的关联标识和应用的费率组, 以使计费系统可以根据所述应用的费率组分配第一配额;
该计费系统向该 TDF实体发送第一配额;
在 S320之前, 该方法还包括:
该计费系统接收该 PCEF实体发送的第二配额申请请求, 该第二配额申 请请求携带该 PCEF实体所承载的数据流的关联标识和数据流的费率组, 以 使计费系统可以根据所述数据流的费率组分配第二配额;
该计费系统向该 PCEF实体发送第二配额。
具体而言, TDF实体和 PCEF实体在接收到 PCRF实体发送的计费策略 后, 若为在线计费, TDF实体和 PCEF实体分别向计费系统发送第一配额申 请请求和第二配额申请请求, 第一配额申请请求携带 TDF 实体所承载的应 用的数据流的关联标识和应用的费率组, 第二配额申请请求携带 PCEF实体 所承载的数据流的关联标识和数据流的费率组; 计费系统进行配额授权, 分 别给 TDF实体和 PCEF实体发送第一配额和第二配额,并在后续处理计费信 息时根据配额授权时获得的关联标识确定关联处理计费信息。
业务使用过程中, 在线计费中时, 若 TDF实体和 PCEF实体中的一个 实体的上报触发条件先满足后, 会先向计费系统上报计费信息, 计费系统收 到该上报的计费信息后确定需要关联处理计费信息时,指示另外一个实体也 上报计费信息, 以便于关联处理数据流的计费信息和应用的计费信息。
因此, 如图 5所示, 可选地, S310包括:
S311 , 该计费系统接收该 TDF实体在该 TDF实体的上报触发条件满足 时, 向该计费系统发送该第一计费信息;
在 S320之前, 该方法还包括:
S340, 该计费系统根据该 TDF实体所承载的应用的数据流的关联标识 向该 PCEF实体发送指示该 PCEF实体发送该第二计费信息的指示消息; S320包括;
S321 , 该计费系统接收该 PCEF实体响应该指示消息发送的该第二计费 信息。
可选地, 该指示消息携带该 TDF 实体所承载的应用的数据流的关联标 识;
S321包括:
该计费系统接收该 PCEF实体发送的与该 TDF实体所承载的应用的数据 流的关联标识对应的该 PCEF实体所承载的数据流的计费信息。
具体而言, 在本实施例中, TDF 实体的上报触发条件先满足后, TDF 实体向计费系统发送第一计费信息, 第一计费信息中携带 TDF 实体所承载 的应用的数据流的关联标识。 计费系统根据 TDF 实体所承载的应用的数据 流的关联标识, 确定关联标识对应的 PCEF实体的计费会话受影响, 需要关 联处理。 例如, 计费系统根据 TDF 实体所承载的应用的数据流的关联标识 与信用授权时得到的 PCEF实体所承载的数据流的关联标识相同, 确定需要 关联处理计费信息。 因此, 计费系统向 PCEF实体发送指示消息, 如重授权 请求( Re-Auth-Request, RAR ) 消息, 指示 PCEF实体也上报计费信息。 可选地, 计费系统发送的指示消息可以指示 PCEF实体上报计费会话中 所有计费信息, 在这种情况下, RAR消息同现有技术中的 RAR消息。
可选地, 计费系统发送的指示消息可以指示 PCEF实体上报计费会话中 需要与 TDF 实体所上报计费信息关联的计费信息。 在这种情况下, 指示消 息携带 TDF实体所承载的应用的数据流的关联标识,使得 PCEF实体上报该 关联标识所对应的计费信息。
例如, 关联标识为第一标识和第二标识时, 计费系统向 PCEF实体下发 TDF实体所上报的计费信息中的第二标识,使得 PCEF实体上报该第二标识 对应的计费信息; RAR消息携带如下内容:
Rating-Group (第二标识)
关联标识为第三标识时,计费系统向 PCEF实体下发 TDF实体所上报的 计费信息中的第三标识,使得 PCEF实体上 该第三标识所对应的计费信息; RAR消息携带如下内容:
CC-Correlation-Id第三标识
关联标识为第四标识和第五标识时, 分场景如下:
若应用计费优先于流计费, 若 TDF 实体所上报的计费信息中包含第四 标识,则计费系统向 PCEF实体下发该第四标识,若 TDF实体所上>¾的计费 信息中不包含第四标识, 则计费系统不下发 RAR, 而是直接对应用进行计 费处理;
若应用计费与流计费优先级不确定,则计费系统向 PCEF实体下发 TDF 实体所上报的计费信息中的第四标识(如果 TDF 实体上报的计费信息中包 含该第四标识)和第五标识, 使得 PCEF 实体上报该第四标识(如果 TDF 实体上报的计费信息中包含该第四标识)和第五标识所对应的计费信息; 例 如, RAR消息携带如下内容:
[ Flow-Correlation-Id ]第四标识
[ App-Correlation-Id ]第五标识
PCEF实体根据指示消息, 向计费系统发送第二计费信息, 第二计费信 息中携带 PCEF实体所承载的数据流的关联标识。 可选地, 若计费系统发送 的指示消息中携带 TDF 实体所承载的应用的数据流的关联标识, 则 PCEF 实体只向计费系统发送与 TDF 实体所承载的应用的数据流的关联标识对应 的 PCEF实体所承载的数据流的计费信息; 若计费系统发送的指示消息中没 有携带关联标识,则 PCEF实体向计费系统发送计费会话中的所有计费信息。 如图 6所示, 可选地, S320包括:
S322, 该计费系统接收该 PCEF实体在该 PCEF实体的上报触发条件满 足时, 向该计费系统发送该第二计费信息;
在 S310之前, 该方法 300还包括:
S350, 该计费系统根据该 PCEF 实体所承载的数据流的关联标识向该 TDF实体发送指示该 TDF实体发送该第一计费信息的指示消息;
S310包括;
S312, 该计费系统接收该 TDF实体响应该指示消息发送的该第一计费 信息。
可选地, 该指示消息携带该 PCEF实体所承载的数据流的关联标识; S312包括:
该计费系统接收该 TDF实体发送的与该 PCEF实体所承载的数据流的关 联标识对应的该 TDF实体所承载的应用的数据流的计费信息。
具体而言, 在本实施例中, PCEF实体的上报触发条件先满足后, PCEF 实体向计费系统发送第二计费信息, 第二计费信息中携带 PCEF实体所承载 的数据流的关联标识。计费系统根据 PCEF实体所承载的数据流的关联标识, 向 TDF实体发送指示消息, 指示 TDF实体也上4艮计费信息。 例如, 计费系 统根据 PCEF实体所承载的数据流的关联标识与信用授权时得到的 TDF实体 所承载的应用的数据流的关联标识相同, 确定需要关联处理计费信息。 因此 向 TDF实体发送指示消息, 如 RAR消息。
可选地, 计费系统发送的指示消息可以指示 TDF 实体上 计费会话中 所有计费信息, 在这种情况下, RAR消息同现有技术中的 RAR消息。
可选地, 计费系统发送的指示消息可以指示 TDF 实体上 计费会话中 需要与 TDF 实体所上报计费信息关联的计费信息。 在这种情况下, 指示消 息携带 PCEF实体所承载的数据流的关联标识,使得 TDF实体上报该关联标 识所对应的计费信息。
例如, 关联标识为第一标识和第二标识时, 计费系统向 TDF 实体下发 PCEF实体所上报的计费信息中的第一标识和第二标识,使得 TDF实体上报 该第一标识和第二标识所对应的计费信息; RAR消息携带如下内容:
Rating- Group (第二标识 ) Related-Session-ID (第一标识 )
关联标识为第三标识时,计费系统向 TDF实体下发 PCEF实体所上报的 计费信息中的第三标识, 使得 TDF实体上报该第三标识所对应的计费信息; RAR消息携带如下内容:
CC-Correlation-Id第三标识
关联标识为第四标识和第五标识时, 分场景如下:
若应用计费优先于流计费,则计费系统向 TDF实体下发 PCEF实体所上 报的计费信息中的第四标识, 使得 TDF 实体上报该第四标识所对应的计费 信息;
若应用计费与流计费优先级不确定,则计费系统向 TDF实体下发 PCEF 实体所上报的计费信息中的第四标识和第五标识(如果 PCEF实体上报的计 费信息中包含该第五标识 ), 使得 TDF实体上 该第四标识和第五标识(如 果 PCEF实体上报的计费信息中包含该第五标识)所对应的计费信息;例如, RAR消息携带如下内容:
[ Flow-Correlation-Id ]第四标识
[ App-Correlation-Id ]第五标识
TDF实体根据指示消息, 向计费系统发送第一计费信息, 第一计费信息 中携带 TDF 实体所承载的应用的数据流的关联标识。 可选地, 若计费系统 发送的指示消息中携带 PCEF实体所承载的数据流的关联标识,则 TDF实体 只向计费系统发送与 PCEF实体所承载的数据流的关联标识对应的 TDF实体 所承载的应用的数据流的计费信息; 若计费系统发送的指示消息中没有携带 关联标识, 则 TDF实体向计费系统发送计费会话中的所有计费信息。
可选地, S330包括:
该计费系统确定该第一计费信息和该第二计费信息中关联标识相同的 计费信息, 对所述关联标识相同的计费信息采取不同的计费策略进行计费。 本发明实施例所述的不同的计费策略进行计费可以是核减在第一计费信息 和第二计费信息中重复的计费信息,之后针对第一计费信息和第二计费信息 中扣除重复的计费信息后进行计费,或者针对第一计费信息和第二计费信息 中关联标识相同的计费信息按照流的计费策略或者应用的计费策略进行计 费。
计费系统通过数据流的计费信息(第二计费信息)和应用的计费信息(第 一计费信息)中相同的关联标识确定重复的计费信息, 把重复的计费信息扣 除后再针对不重复的计费信息进行计费。
应理解,在本发明实施例中, TDF实体侧描述的 TDF实体、 PCEF实体、 PCRF实体和计费系统相互之间的交互及相关特性、 功能等与计费系统侧的 描述相应, 为了筒洁, 在此不再赘述。
本发明实施例的计费的方法,通过接收携带关联标识的流的计费信息和 应用的计费信息, 根据关联标识关联处理流的计费信息和应用的计费信息, 能够进行准确的数据流和应用的计费。
下面从 PCRF实体的角度描述本发明实施例的计费的方法。
图 7示出了根据本发明实施例的计费的方法 400的示意性流程图。如图
7所示, 该方法 400包括:
S410, PCRF实体向 PCEF实体发送数据流的计费策略, 该数据流的计 费策略包括第二计费关联信息, 以便于该 PCEF实体根据该数据流的计费策 略生成携带该 PCEF实体所承载的数据流的关联标识的第二计费信息;
S420, 该 PCRF实体向 TDF实体发送应用的计费策略, 该应用的计费 策略包括第一计费关联信息, 以便于该 TDF 实体根据该应用的计费策略生 成携带该 TDF实体所承载的应用的数据流的关联标识的第一计费信息; 其中,该 PCEF实体所承载的数据流的关联标识和该 TDF实体所承载的 应用的数据流的关联标识用于计费系统关联处理该第一计费信息和该第二 计费信息。
在本发明实施例中, PCRF实体向 PCEF实体发送数据流的计费策略, 向 TDF 实体发送应用的计费策略, 并在计费策略中携带计费关联信息, 这 样,可以使 PCEF实体和 TDF实体生成携带关联标识的计费信息,便于计费 系统关联处理流的计费信息和应用的计费信息,从而能够实现准确的数据流 和应用的计费。
可选地, 该第二计费关联信息包括该 PCEF实体所承载的数据流的关联 标识, 该第一计费关联信息包括该 TDF 实体所承载的应用的数据流的关联 标识; 该 TDF 实体所 7 载的应用的数据流的关联标识包括第一标识和第二 标识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和所述第 二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承载, 所 述第二标识表示数据流在该 PCEF实体上对应的费率组。 可选地, 该第二计费关联信息包括该 PCEF实体所承载的数据流的关联 标识, 该第一计费关联信息包括该 TDF 实体所承载的应用的数据流的关联 标识;该 TDF实体所 7 载的应用的数据流的关联标识包括第三标识,该 PCEF 实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三标识表 示数据流在该 PCEF实体上所属的 载以及对应的费率组。
可选地, 该 TDF 实体所承载的应用的数据流的关联标识包括第一标识 和第二标识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和 所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承 载, 所述第二标识表示数据流在该 PCEF实体上对应的费率组;
该第二计费关联信息包括该 PCEF实体所承载的数据流的第二标识, 该 第一计费关联信息包括该 TDF 实体所承载的应用的数据流的第一标识和第 二标识;
在 S420之前, 该方法 400还包括:
该 PCRF实体接收该 PCEF实体发送的该 PCEF实体所 载的数据流的 第一标识,根据该 PCEF实体所承载的数据流的第一标识确定该 TDF实体所 承载的应用的数据流的第一标识。
可选地, 该第一计费关联信息包括该 TDF 实体上的所有应用的数据流 的关联标识以及该 TDF 实体上的所有应用的数据流的关联标识对应的流模 板。
应理解,在本发明实施例中, TDF实体侧描述的 TDF实体、 PCEF实体、
PCRF实体和计费系统相互之间的交互及相关特性、 功能等与 PCRF实体侧 的描述相应, 为了筒洁, 在此不再赘述。
本发明实施例的计费的方法, 通过向 PCEF实体发送携带计费关联信息 的数据流的计费策略, 向 TDF实体发送携带计费关联信息应用的计费策略, 可以使 PCEF实体和 TDF实体生成携带关联标识的计费信息,便于计费系统 关联处理流的计费信息和应用的计费信息,从而能够实现准确的数据流和应 用的计费。
以上分别从 TDF实体、 PCEF实体、 计费系统和 PCRF实体的角度描述 了本发明实施例的计费的方法, 下面将结合具体的例子详细描述本发明实施 例。 应注意, 这些例子只是为了帮助本领域技术人员更好地理解本发明实施 例, 而非限制本发明实施例的范围。 在图 8所示实施例中, 关联标识采用第一标识和第二标识, 且第一标识 和第二标识由 PCRF实体生成。
801 , PCRF实体进行策略生成。 PCRF实体为 PCEF实体生成流的控制 策略和数据流的计费策略, 所生成的数据流的计费策略包括: 第一标识, 为 流分配的 Charging Key (作为第二标识)。 PCRF实体为 TDF实体生成应用 的控制策略和应用的计费策略, 所生成的应用的计费策略包括: 为应用分配 的应用的 Charging Key、 该应用的数据流的第一标识, 第一标识对应的流信 息, 第一标识对应的流信息对应的第二标识。
802, PCRF实体向 TDF实体安装激活应用的策略。 若当前无 Sd会话, 则该步骤为 Sd会话建立请求,该请求携带应用标识、应用控制策略(可选)、 应用的计费策略; 若当前有 Sd会话, 则该步骤为 ADC Rule安装请求, 该 ADC Rule包括应用标识、 应用控制策略(可选)、 应用的计费策略。 该步骤 包括了应用的计费策略。
803, PCRF实体向 PCEF实体安装流的控制策略和数据流的计费策略, 该步骤包括了数据流的计费策略。
804, TDF实体根据 PCRF实体下发应用的计费策略, 向 OCS发起应用 的信用配额申请请求。 若 PCRF 实体下发的计费策略中指示在线计费, 则 TDF实体向 OCS发起应用的信用配额申请请求(即 CCR消息 ), 该请求中 携带 PCRF 实体下发的为应用分配的费率组, 可选的, 携带第一标识, 若 TDF实体上需要计费的应用对应多个第一标识, 则所述 CCR消息携带多个 第一标识; CCR消息如下 (仅列出相关 AVP ) :
<CCR>:: = < Diameter Header: 272, REQ, PXY >
*[ Multiple-Services-Credit-Control ]
*[ CC-Correlation-Id ]
Multiple-Services-Credit-Control携带信息如下 (仅列出相关 AVP ) :
<Multiple-Services-Credit-Control>:: = < AVP Header: 456 >
[ Requested-Service-Unit ]
[ Rating-Group ] 应用的费率组
805 , OCS进行配额授权, 并向 TDF实体返回配额授权信息, 即信用控 制应答(Credit-Control-Answer, CCA ) 消息。
806, PCEF实体根据 PCRF实体下发的数据流的计费策略, 向 OCS发 起流的信用配额申请请求。 若 PCRF实体下发的计费策略中指示在线计费, 贝' J PCEF实体向 OCS发起流的信用配额申请请求(即 CCR消息 ), 该请求 中携带 PCRF实体下发的为流分配的费率组, 可选的, 携带第一标识; CCR 消息如下 (仅列出相关 AVP ) :
<CCR>:: = < Diameter Header: 272, REQ, PXY >
*[ Multiple-Services-Credit-Control ]
[ CC-Correlation-Id ]
Multiple-Services-Credit-Control携带信息如下 (仅列出相关 AVP ) : <Multiple-Services-Credit-Control>:: = < AVP Header: 456 >
[ Requested-Service-Unit ]
* [ Service-Identifier ]
[ Rating-Group ] 数据流的费率组
807, OCS进行配额授权, 并向 PCEF实体返回配额授权信息(CCA消 息)。
应理解, 802、 804、 805与 803、 806、 807的先后顺序在不同场景中可 以互换。
在业务使用过程中, 在线计费中的 PCEF实体的上报触发条件先满足后 上报计费信息的流程如下。
808, PCEF实体上某一计费会话向 OCS发起上报流的计费信息 (流量 或时长信息)并申请新配额的 CCR消息。 该 CCR消息包括: 第一标识和第 二标识、 数据流的费率组、 使用信息 (流量或时长)。
809, OCS向 TDF实体发送指示消息。 OCS根据信用配额授权时获取 的关联标识, 以及 PCEF实体上报的关联标识, 确定需要下发 RAR的 TDF 实体计费会话, 然后向 TDF实体下发 RAR消息, 指示 TDF实体进行重授 权申请, 并上报应用的使用信息, 即应用的计费信息。
810, TDF实体根据 RAR的要求,通过 CCR消息上报应用的计费信息, 并重新申请配额。 该 CCR消息包括: 每个 counter对应应用标识、 对应的第 一标识和第二标识、 应用的费率组、 对应的使用信息 (流量或时长)。 不同 counter对应的值封装在 CCR的 MSCC ( Multiple-Services-Credit-Control )的 不同 AVP组中。
811 , OCS根据 PCEF实体和 TDF实体上报的关联标识进行计费信息关 联, 对于关联处理后的计费信息, 分别使用 PCEF实体上报的数据流的费率 组和 TDF实体上报的应用的费率组进行计费处理。
812, OCS向 TDF实体下发重授权后的新配额;
813, OCS向 PCEF实体下发新配额。
应理解, 812和 813没有必然的先后关系。
在图 9所示实施例中, 关联标识同样采用第一标识和第二标识, 且第一 标识和第二标识由 PCRF实体生成, 与图 8所示实施例不同之处在于, 在业 务使用过程中, 在线计费中的 TDF实体的上报触发条件先满足。
801至 807与图 8所示实施例相同, 在此不再赘述。
在业务使用过程中, 在线计费中的 TDF 实体的上报触发条件先满足后 上报计费信息的流程如下。
901 , TDF实体上某一计费会话向 OCS发起上报计费信息(流量或时长 信息)并申请新配额的 CCR消息。该 CCR消息包括: counter对应应用标识、 对应的第一标识和第二标识、应用的费率组、对应的使用信息(流量或时长)。 不同 counter对应的值封装在 CCR的 MSCC( Multiple-Services-Credit-Control ) 的不同 AVP组中。
902, OCS向 PCEF实体发送指示消息。 OCS根据信用配额授权时获取 的关联标识, 以及 TDF实体上报的关联标识,确定受影响的 PCEF实体计费 会话, 然后对每个受影响的 PCEF实体计费会话下发 RAR消息, 指示 PCEF 实体进行重授权申请, 并上报流的使用信息, 即流的计费信息。
903 , PCEF实体根据 RAR的要求, 通过 CCR消息上报流的计费信息, 并重新申请配额。 该 CCR消息: 第一标识和第二标识、 流对应的费率组、 对应的使用信息 (流量或时长)。
904, OCS根据 PCEF实体和 TDF实体上报的关联标识进行计费信息关 联, 对于关联处理后的计费信息, 分别使用 PCEF实体上报的数据流的费率 组和 TDF实体上报的应用的费率组进行计费处理。
905, OCS向 PCEF实体下发重授权后的新配额;
906, OCS向 TDF实体下发新配额。
应理解, 905和 906没有必然的先后关系。
在图 10所示实施例中, 关联标识采用第一标识和第二标识, 第一标识 由 PCEF实体生成, 第二标识由 PCRF实体生成。 1001 , PCEF 实体确定第一标识。 如果是新建立承载, PCEF 实体需要 生成新的承载对应的第一标识, 如果承载修改或结束, 为该承载分配原有第 一标识。
1002, PCEF实体向 PCRF实体上报第一标识。 PCEF实体在新承载建立、 承载更新、 承载结束时, 向 PCRF实体上报承载标识, 即第一标识。 其中, 如果是新建立承载, PCEF实体需要生成新的承载对应的第一标识, 如果承 载的修改或结束, 则向 PCRF实体上报为该承载分配的原有第一标识。 如果 是新承载建立或者承载更新, 则 PCEF实体在上报承载标识的同时, 还需要 上报该承载的流过滤信息, 该流过滤信息即: 绑定到承载上的流模板信息, 用以匹配流到该承载。 如果是承载结束, 则可以不上报承载的流过滤信息。
1003, PCRF实体进行策略生成。 PCRF实体为 PCEF实体生成流的控 制策略和数据流的计费策略, 所生成的数据流的计费策略包括: 为流分配的 Charging Key (作为第二标识)。 PCRF实体为 TDF实体生成应用的控制策略 和应用的计费策略, 所生成的应用的计费策略包括: 为应用分配的应用的 Charging Key、 该应用的数据流的第一标识, 第一标识对应的流信息, 第一 标识对应的流信息对应的第二标识。
1004, PCRF实体向 TDF实体安装激活应用的策略。该步骤包括了 1003 中生成的应用的计费策略。
1005, PCRF实体向 PCEF实体安装流的控制策略和数据流的计费策略, 该步骤包括了 1003中生成的数据流的计费策略。
后续 1006至 1009同图 8中 804至 807。
在业务使用过程中,在线计费中的 PCEF实体的上报触发条件先满足时, 后续 1010值 1015同图 8中 809至 813。
在图 11所示实施例中, 关联标识同样采用第一标识和第二标识, 第一 标识由 PCEF实体生成, 第二标识由 PCRF实体生成, 与图 10所示实施例 不同之处在于, 在业务使用过程中, 在线计费中的 TDF 实体的上报触发条 件先满足。
1001至 1009同图 10中 1001至 1009; 在业务使用过程中, 在线计费中 的 TDF实体的上报触发条件先满足后,后续 901至 906同图 9中 901至 906。
在图 12所示实施例中, 关联标识采用第三标识, 且第三标识由 PCRF 实体生成。 1201 , PCRF实体进行策略生成。 PCRF实体为 PCEF实体生成流的控 制策略和数据流的计费策略, 所生成的数据流的计费策略包括: 为流分配的 Charging Key, 第三标识。 PCRF实体为 TDF实体生成应用的控制策略和应 用的计费策略, 所生成的应用的计费策略包括: 为应用分配的应用的 Charging Key、 该应用的数据流的第三标识。
1202, PCRF实体向 TDF实体安装激活应用的策略。该步骤包括了 1201 中生成的应用的计费策略。
1203, PCRF实体向 PCEF实体安装流的控制策略和数据流的计费策略, 该步骤包括了 1201中生成的数据流的计费策略。
1204, TDF实体根据 PCRF实体下发应用的计费策略, 向 OCS发起应 用的信用配额申请请求。 若 PCRF实体下发的计费策略中指示在线计费, 则 TDF实体向 OCS发起应用的信用配额申请请求(即 CCR消息 ), 该请求中 携带 PCRF 实体下发的为应用分配的费率组, 可选的, 携带第三标识, 若 TDF实体上需要计费的应用对应多个第三标识, 则所述 CCR消息携带多个 第三标识。
1205, OCS进行配额授权, 并向 TDF实体返回配额授权信息(CCA消 息)。
1206, PCEF实体根据 PCRF实体下发的数据流的计费策略, 向 OCS发 起流的信用配额申请请求。 若 PCRF实体下发的计费策略中指示在线计费, 则 PCEF实体向 OCS发起流的信用配额申请请求(即 CCR消息 ), 该请求 中携带 PCRF实体下发的为流分配的费率组, 可选的, 携带第三标识。
1207, OCS进行配额授权, 并向 PCEF 实体返回配额授权信息 ( CCA 消息)。
应理解, 1202、 1204、 1205与 1203、 1206、 1207的先后顺序在不同场 景中可以互换。
在业务使用过程中, 在线计费中的 PCEF实体的上报触发条件先满足后 上报计费信息的流程如下。
1208, PCEF实体上某一计费会话向 OCS发起上报流的计费信息(流量 或时长信息)并申请新配额的 CCR消息。 该 CCR消息包括: 第三标识、 数 据流的费率组、 使用信息 (流量或时长)。
1209, OCS向 TDF实体发送指示消息。 OCS根据信用配额授权时获取 的关联标识, 以及 PCEF实体上报的关联标识, 确定需要下发 RAR的 TDF 实体计费会话, 然后向 TDF实体下发 RAR消息, 指示 TDF实体进行重授 权申请, 并上报应用的使用信息, 即应用的计费信息。
1210, TDF实体根据 RAR的要求,通过 CCR消息上报应用的计费信息, 并重新申请配额。 该 CCR消息包括: 每个 counter对应应用标识、 对应的第 三标识、 应用的费率组、 对应的使用信息(流量或时长)。 不同 counter对应 的值封装在 CCR的 MSCC ( Multiple-Services-Credit-Control ) 的不同 AVP 组中。
1211 , OCS根据 PCEF实体和 TDF实体上报的关联标识进行计费信息 关联, 对于关联处理后的计费信息, 分别使用 PCEF实体上报的数据流的费 率组和 TDF实体上 的应用的费率组进行计费处理。
1212, OCS向 TDF实体下发重授权后的新配额;
1213, OCS向 PCEF实体下发新配额。
应理解, 1212和 1213没有必然的先后关系。
在图 13 所示实施例中, 关联标识同样采用第三标识, 且第三标识由
PCRF实体生成, 与图 12所示实施例不同之处在于, 在业务使用过程中, 在 线计费中的 TDF实体的上报触发条件先满足。
1201至 1207与图 12所示实施例相同, 在此不再赘述。
在业务使用过程中, 在线计费中的 TDF 实体的上报触发条件先满足后 上报计费信息的流程如下。
1301 , TDF实体上某一计费会话向 OCS发起上报计费信息 (流量或时 长信息)并申请新配额的 CCR消息。 该 CCR消息包括: counter对应应用标 识、 对应的第三标识、 应用的费率组、 对应的使用信息 (流量或时长)。 不 同 counter对应的值封装在 CCR的 MSCC ( Multiple-Services-Credit-Control ) 的不同 AVP组中。
1302, OCS向 PCEF实体发送指示消息。 OCS根据信用配额授权时获 取的关联标识, 以及 TDF实体上报的关联标识,确定受影响的 PCEF实体计 费会话,然后对每个受影响的 PCEF实体计费会话下发 RAR消息,指示 PCEF 实体进行重授权申请, 并上报流的使用信息, 即流的计费信息。
1303, PCEF实体根据 RAR的要求,通过 CCR消息上报流的计费信息, 并重新申请配额。 该 CCR消息: 第三标识、 流对应的费率组、 对应的使用 信息 (流量或时长)。
1304, OCS根据 PCEF实体和 TDF实体上报的关联标识进行计费信息 关联, 对于关联处理后的计费信息, 分别使用 PCEF实体上报的数据流的费 率组和 TDF实体上 的应用的费率组进行计费处理。
1305, OCS向 PCEF实体下发重授权后的新配额;
1306, OCS向 TDF实体下发新配额。
应理解, 1305和 1306没有必然的先后关系。
在图 14所示实施例中, 关联标识采用第四标识和第五标识, 第四标识 由 PCEF实体生成, 第五标识由 TDF实体生成。
1401 , PCRF实体进行策略生成。 PCRF实体为 PCEF实体生成流的控 制策略和数据流的计费策略, 为 TDF 实体生成应用的控制策略和应用的计 费策略。
1402, PCRF实体向 PCEF实体安装流的控制策略和数据流的计费策略, 该步骤包括了 1401中生成的数据流的计费策略。
1403, PCRF实体向 TDF实体安装激活应用的策略。该步骤包括了 1401 中生成的应用的计费策略。
1404, PCEF实体根据 PCRF实体下发的数据流的计费策略, 向 OCS发 起流的信用配额申请请求。 若 PCRF实体下发的计费策略中指示在线计费, 贝' J PCEF实体向 OCS发起流的信用配额申请请求(即 CCR消息 ), 该请求 中携带 PCRF实体下发的为流分配的费率组,可选的,携带第四标识,若 PCEF 实体上有多个第四标识, 则 CCR消息中携带多个第四标识; CCR消息如下 (仅歹 'J出相关 AVP ) :
<CCR>:: = < Diameter Header: 272, REQ, PXY >
*[ Multiple-Services-Credit-Control ]
*[ CC-Correlation-Id ]
1405, OCS进行配额授权, 并向 PCEF 实体返回配额授权信息 ( CCA 消息)。
1406, TDF实体根据 PCRF实体下发应用的计费策略, 向 OCS发起应 用的信用配额申请请求。 若 PCRF实体下发的计费策略中指示在线计费, 则 TDF实体向 OCS发起应用的信用配额申请请求(即 CCR消息 ), 该请求中 携带 PCRF 实体下发的为应用分配的费率组, 可选的, 携带第五标识, 若 TDF实体上需要计费的应用对应多个第五标识, 则所述 CCR消息携带多个 第五标识; CCR消息如下 (仅歹 'J出相关 AVP ) :
<CCR>:: = < Diameter Header: 272, REQ, PXY >
*[ Multiple-Services-Credit-Control ]
*[ CC-Correlation-Id ]
1407, OCS进行配额授权, 并向 TDF实体返回配额授权信息( CCA消 息)。
1408, PCEF实体为每个上行数据包添加第四标识。
1409, PCEF实体向 TDF实体发送上行携带第四标识的数据包。
1410, TDF实体为每个下行数据包添加第五标识。
1411 , TDF实体向 PCEF实体发送下行携带第五标识的数据包。
在业务使用过程中, 在线计费中的 PCEF实体的上报触发条件先满足后 上报计费信息的流程如下。
1412, PCEF实体上某一计费会话向 OCS发起上报流的计费信息(流量 或时长信息)并申请新配额的 CCR消息。 该 CCR消息包括: 第四标识和第 五标识(或者只有第四标识)、 数据流的费率组、 使用信息 (流量或时长)。
1413, OCS向 TDF实体发送指示消息。 OCS根据信用配额授权时获取 的关联标识, 以及 PCEF实体上报的关联标识, 确定需要下发 RAR的 TDF 实体计费会话, 然后向 TDF实体下发 RAR消息, 指示 TDF实体进行重授 权申请, 并上报应用的使用信息, 即应用的计费信息。
1414, TDF实体根据 RAR的要求,通过 CCR消息上报应用的计费信息, 并重新申请配额。 该 CCR消息包括: 每个 counter对应应用标识、 对应的第 四标识和第五标识(或者只有第五标识)、 应用的费率组、 对应的使用信息
( 流量或时长)。 不同 counter 对应的值封装在 CCR 的 MSCC ( Multiple-Services-Credit-Control ) 的不同 AVP组中。
1415, OCS根据 PCEF实体和 TDF实体上报的关联标识进行计费信息 关联, 对于关联处理后的计费信息, 分别使用 PCEF实体上报的数据流的费 率组和 TDF实体上 的应用的费率组进行计费处理。
1416, OCS向 TDF实体下发重授权后的新配额;
1417, OCS向 PCEF实体下发新配额。
在图 15所示实施例中, 关联标识同样采用第四标识和第五标识, 第四 标识由 PCEF实体生成, 第五标识由 TDF实体生成, 与图 14所示实施例不 同之处在于, 在业务使用过程中, 在线计费中的 TDF 实体的上报触发条件 先满足。
1401至 1411与图 14所示实施例相同, 在此不再赘述。
在业务使用过程中, 在线计费中的 TDF 实体的上报触发条件先满足后 上报计费信息的流程如下。
1501 , TDF实体上某一计费会话向 OCS发起上报计费信息 (流量或时 长信息)并申请新配额的 CCR消息。 该 CCR消息包括: counter对应应用标 识、 对应的第四标识和第五标识(或者只有第五标识)、 应用的费率组、 对 应的使用信息 (流量或时长)。 不同 counter对应的值封装在 CCR的 MSCC ( Multiple-Services-Credit-Control ) 的不同 AVP组中。
1502, OCS向 PCEF实体发送指示消息。 OCS根据信用配额授权时获 取的关联标识, 以及 TDF实体上报的关联标识,确定受影响的 PCEF实体计 费会话,然后对每个受影响的 PCEF实体计费会话下发 RAR消息,指示 PCEF 实体进行重授权申请, 并上报流的使用信息, 即流的计费信息。
1503, PCEF实体根据 RAR的要求,通过 CCR消息上报流的计费信息, 并重新申请配额。该 CCR消息: 第四标识和第五标识(或者只有第四标识)、 流对应的费率组、 对应的使用信息 (流量或时长)。
1504, OCS根据 PCEF实体和 TDF实体上报的关联标识进行计费信息 关联, 对于关联处理后的计费信息, 分别使用 PCEF实体上报的数据流的费 率组和 TDF实体上 的应用的费率组进行计费处理。
1505, OCS向 PCEF实体下发重授权后的新配额;
1506, OCS向 TDF实体下发新配额。
本发明实施例的计费的方法, 通过在计费信息中携带关联标识, 可以关 联处理数据流的计费信息和应用的计费信息,从而能够进行准确的数据流和 应用的计费, 实现同时对应用的计费和对数据流的计费。
另一实施例, 在离线计费时, 关联标识的生成、 PCEF实体和 TDF实体 获取关联标识的方法和在线计费时相同, 和在线计费的区别在于, 离线计费 中没有信用配额申请步骤, 也没有向计费系统上 后, 计费系统指示 TDF 实体或 PCEF实体上报计费信息的步骤。 PCEF实体和 TDF实体分别上报携 带关联标识的计费信息,离线计费根据 PCEF实体和 TDF实体上报的计费信 息中携带的关联标识, 关联处理来自于 PCEF实体和 TDF实体的计费信息。 PCEF实体上报的计费信息包括: 关联标识、 费率组、 使用信息 (流量 或时长)。
可选地, 关联标识为第一标识和第二标识。
可选地, 关联标识为第三标识。
可选地, 关联标识为第四标识, 或者第四标识和第五标识。
TDF实体上报的计费信息包括: 每个 counter对应应用标识、 对应的关 联标识、 应用的费率组、 对应的使用信息 (流量或时长)。
可选地, counter对应的关联标识为第一标识和第二标识。
可选地, counter对应的关联标识为第三标识。
可选地, counter对应的关联标识为第五标识,或者第四标识和第五标识。 应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意味 着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不应 对本发明实施例的实施过程构成任何限定。
上文中结合图 1至图 15, 详细描述了根据本发明实施例的计费的方法, 下面将结合图 16至图 21 ,描述根据本发明实施例的 TDF实体、 PCEF实体、 计费系统和 PCRF实体。
图 16示出了根据本发明实施例 TDF实体 1600的示意性框图。 如图 16 所示, 该 TDF实体 1600包括:
获取模块 1610, 用于获取该 TDF实体所承载的应用的数据流的关联标 识;
发送模块 1620,用于向计费系统发送第一计费信息,该第一计费信息携 带该 TDF 实体所承载的应用的数据流的关联标识, 以便于该计费系统根据 该 TDF实体所承载的应用的数据流的关联标识和策略和计费执行功能 PCEF 实体所承载的数据流的关联标识关联处理该第一计费信息和该 PCEF实体向 该计费系统发送的第二计费信息, 其中, 该第二计费信息携带该 PCEF实体 所承载的数据流的关联标识。
本发明实施例的 TDF 实体, 通过在计费信息中携带关联标识, 可以使 计费系统关联处理数据流的计费信息和应用的计费信息,从而能够进行准确 的数据流和应用的计费, 实现同时对应用的计费和对数据流的计费。
可选地, 该发送模块 1620具体用于, 在该 TDF实体的上报触发条件满 足时, 向该计费系统发送该第一计费信息, 以使该计费系统根据该 TDF 实 体所承载的应用的数据流的关联标识向该 PCEF实体发送指示该 PCEF实体 向该计费系统发送该第二计费信息的指示消息。
可选地, 该 TDF实体 1600还包括:
第一接收模块, 用于在该发送模块向计费系统发送第一计费信息之前, 接收该计费系统根据该 PCEF实体所承载的数据流的关联标识发送的指示该 TDF实体发送该第一计费信息的指示消息;
该发送模块 1620具体用于, 响应该指示消息向该计费系统发送该第一 计费信息。
可选地, 该指示消息携带该 PCEF实体所承载的数据流的关联标识; 该发送模块 1620具体用于, 向该计费系统发送与该 PCEF实体所承载 的数据流的关联标识对应的该 TDF实体所承载的应用的数据流的计费信息。
可选地, 该 TDF实体 1600还包括:
第二接收模块, 用于接收 PCRF实体发送的应用的计费策略, 该应用的 计费策略包括该 TDF实体所承载的应用的数据流的关联标识;
该获取模块 1610具体用于, 根据该应用的计费策略获取该 TDF实体所 承载的应用的数据流的关联标识;
该 TDF 实体所承载的应用的数据流的关联标识包括第一标识和第二标 识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和所述第二 标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承载, 所述 第二标识表示数据流在该 PCEF实体上对应的费率组; 或者,
该 TDF实体所承载的应用的数据流的关联标识包括第三标识,该 PCEF 实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三标识表 示数据流在该 PCEF实体上所属的 载以及对应的费率组。
可选地, 该应用的计费策略包括该 TDF 实体上的所有应用的数据流的 关联标识, 以及该 TDF 实体上的所有应用的数据流的关联标识对应的流模 板;
该获取模块 1610具体用于, 根据该 TDF实体上的所有应用的数据流的 关联标识, 以及该 TDF 实体上的所有应用的数据流的关联标识对应的流模 板, 获取该 TDF实体所承载的应用的数据流的关联标识。
可选地, 该 TDF 实体所 7 载的应用的数据流的关联标识包括第四标识 和第五标识, 该 PCEF实体所承载的数据流的关联标识包括所述第四标识和 所述第五标识, 其中, 所述第四标识表示数据流在该 PCEF实体上所属的承 载以及对应的费率组, 所述第五标识用于标识应用的数据流;
该 TDF实体 1600还包括:
第三接收模块, 用于接收该 PCEF实体发送的携带第四标识的数据包; 确定模块, 用于确定该 TDF实体所承载的应用的数据流的第五标识; 该获取模块 1610具体用于, 根据该 PCEF实体发送的携带第四标识的 数据包, 获取该 TDF 实体所承载的应用的数据流的第四标识, 以及获取该 确定模块确定的该 TDF实体所承载的应用的数据流的第五标识;
该发送模块 1620还用于, 向该 PCEF实体发送携带第五标识的数据包, 以便于该 PCEF实体根据该携带第五标识的数据包获取该 PCEF实体所承载 的数据流的第五标识。
可选地, 该发送模块 1620还用于, 在向计费系统发送第一计费信息之 前, 向该计费系统发送第一配额申请请求, 该第一配额申请请求携带该 TDF 实体所承载的应用的数据流的关联标识和应用的费率组, 以使计费系统可以 根据所述应用的费率组分配第一配额;
该 TDF实体 1600还包括:
第四接收模块, 用于接收该计费系统发送的第一配额。
根据本发明实施例的 TDF实体 1600可对应于根据本发明实施例的计费 的方法中的 TDF实体,并且 TDF实体 1600中的各个模块的上述和其它操作 和 /或功能分别为了实现图 1至图 15中的各个方法的相应流程, 为了筒洁, 在此不再赘述。
图 17示出了根据本发明实施例的 PCEF实体 1700的示意性框图。 如图 17所示, 该 PCEF实体 1700包括:
获取模块 1710, 用于获取该 PCEF实体所承载的数据流的关联标识; 发送模块 1720,用于向计费系统发送第二计费信息,该第二计费信息携 带该 PCEF实体所承载的数据流的关联标识,以便于该计费系统根据该 PCEF 实体所承载的数据流的关联标识和流检测功能 TDF 实体所承载的应用的数 据流的关联标识关联处理该第二计费信息和该 TDF 实体向该计费系统发送 的第一计费信息, 其中, 该第一计费信息携带该 TDF 实体所承载的应用的 数据流的关联标识。 本发明实施例的 PCEF实体, 通过在计费信息中携带关联标识, 可以使 计费系统关联处理数据流的计费信息和应用的计费信息,从而能够进行准确 的数据流和应用的计费, 实现同时对应用的计费和对数据流的计费。
可选地, 该发送模块 1720具体用于, 在该 PCEF实体的上报触发条件 满足时, 向该计费系统发送该第二计费信息, 以使该计费系统根据该 PCEF 实体所承载的数据流的关联标识向该 TDF实体发送指示该 TDF实体向该计 费系统发送该第一计费信息的指示消息。
可选地, 该 PCEF实体 1700还包括:
第一接收模块, 用于在该发送模块向计费系统发送第二计费信息之前, 接收该计费系统根据该 TDF 实体所承载的应用的数据流的关联标识发送的 指示该 PCEF实体发送该第二计费信息的指示消息;
该发送模块 1720具体用于, 响应该指示消息向该计费系统发送该第二 计费信息。
可选地, 该指示消息携带该 TDF 实体所承载的应用的数据流的关联标 识;
该发送模块 1720具体用于, 向该计费系统发送与该 TDF实体所承载的 应用的数据流的关联标识对应的该 PCEF实体所承载的数据流的计费信息。
可选地, 该 TDF 实体所承载的应用的数据流的关联标识包括第一标识 和第二标识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和 所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承 载, 所述第二标识表示数据流在该 PCEF实体上对应的费率组;
该 PCEF实体 1700还包括:
第二接收模块, 用于接收 PCRF实体发送的数据流的计费策略, 该数据 流的计费策略包括该 PCEF实体所承载的数据流的第一标识和第二标识; 该获取模块 1710具体用于, 根据该数据流的计费策略获取该 PCEF实 体所承载的数据流的第一标识和第二标识。
可选地, 该 TDF 实体所承载的应用的数据流的关联标识包括第一标识 和第二标识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和 所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承 载, 所述第二标识表示数据流在该 PCEF实体上对应的费率组;
该 PCEF实体 1700还包括: 第一确定模块, 用于确定该 PCEF实体所承载的数据流的第一标识; 第三接收模块, 用于接收 PCRF实体发送的数据流的计费策略, 该数据 流的计费策略包括该 PCEF实体所承载的数据流的第二标识;
该获取模块 1710具体用于, 获取该第一确定模块确定的该 PCEF实体 所承载的数据流的第一标识, 以及根据该数据流的计费策略获取该 PCEF实 体所承载的数据流的第二标识;
该发送模块 1720还用于, 向该 PCRF实体发送该 PCEF实体所承载的 数据流的第一标识。
可选地, 该 TDF实体所承载的应用的数据流的关联标识包括第三标识, 该 PCEF实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第 三标识表示数据流在该 PCEF实体上所属的承载以及对应的费率组;
该 PCEF实体 1700还包括:
第四接收模块, 用于接收 PCRF实体发送的数据流的计费策略, 该数据 流的计费策略包括该 PCEF实体所承载的数据流的第三标识;
该获取模块 1710具体用于, 根据该数据流的计费策略获取该 PCEF实 体所承载的数据流的第三标识。
可选地, 该 TDF 实体所 7 载的应用的数据流的关联标识包括第四标识 和第五标识, 该 PCEF实体所承载的数据流的关联标识包括所述第四标识和 所述第五标识, 其中, 所述第四标识表示数据流在该 PCEF实体上所属的承 载以及对应的费率组, 所述第五标识用于标识应用的数据流;
该 PCEF实体 1700还包括:
第二确定模块, 用于确定该 PCEF实体所承载的数据流的第四标识; 第五接收模块, 用于接收该 TDF实体发送的携带第五标识的数据包; 该获取模块 1710具体用于, 获取该第二确定模块确定的该 PCEF实体 所承载的数据流的第四标识, 以及根据该 TDF 实体发送的携带第五标识的 数据包, 获取该 PCEF实体所承载的数据流的第五标识;
该发送模块 1720还用于, 向该 TDF实体发送携带第四标识的数据包, 以便于该 TDF实体根据该携带第四标识的数据包获取该 TDF实体所承载的 应用的数据流的第四标识。
可选地, 该发送模块 1720还用于, 在向计费系统发送第二计费信息之 前,向该计费系统发送第二配额申请请求,该第二配额申请请求携带该 PCEF 实体所承载的数据流的关联标识和数据流的费率组, 以使计费系统可以根据 所述数据流的费率组分配第二配额;
该 PCEF实体 1700还包括:
第六接收模块, 用于接收该计费系统发送的第二配额。
根据本发明实施例的 PCEF实体 1700可对应于根据本发明实施例的计 费的方法中的 PCEF实体,并且 PCEF实体 1700中的各个模块的上述和其它 操作和 /或功能分别为了实现图 1至图 15中的各个方法的相应流程, 为了筒 洁, 在此不再赘述。
图 18示出了根据本发明实施例的计费系统 1800的示意性框图。如图 18 所示, 该计费系统 1800包括:
第一接收模块 1810, 用于接收流检测功能 TDF实体发送的第一计费信 息, 该第一计费信息携带该 TDF实体所承载的应用的数据流的关联标识; 第二接收模块 1820,用于接收策略和计费执行功能实体 PCEF实体发送 的第二计费信息, 该第二计费信息携带该 PCEF实体所承载的数据流的关联 标识;
处理模块 1830, 用于根据该 TDF实体所承载的应用的数据流的关联标 识和该 PCEF实体所承载的数据流的关联标识, 关联处理该第一计费信息和 该第二计费信息。
本发明实施例的计费系统,通过接收携带关联标识的流的计费信息和应 用的计费信息, 根据关联标识关联处理流的计费信息和应用的计费信息, 能 够进行准确的数据流和应用的计费。
可选地, 该第一接收模块 1810具体用于, 接收该 TDF实体在该 TDF 实体的上报触发条件满足时, 向该计费系统发送该第一计费信息;
如图 19所示, 该计费系统 1800还包括:
第一发送模块 1840, 用于在该第二接收模块 1820接收策略和计费执行 功能实体 PCEF实体发送的第二计费信息之前,根据该 TDF实体所承载的应 用的数据流的关联标识向该 PCEF实体发送指示该 PCEF实体发送该第二计 费信息的指示消息;
该第二接收模块 1820具体用于, 接收该 PCEF实体响应该指示消息发 送的该第二计费信息。
可选地, 该指示消息携带该 TDF 实体所承载的应用的数据流的关联标 识;
该第二接收模块 1820具体用于, 接收该 PCEF实体发送的与该 TDF实 体所承载的应用的数据流的关联标识对应的该 PCEF实体所承载的数据流的 计费信息。
可选地, 该第二接收模块 1820具体用于, 接收该 PCEF实体在该 PCEF 实体的上报触发条件满足时, 向该计费系统发送该第二计费信息;
如图 20所示, 该计费系统 1800还包括:
第二发送模块 1850, 用于在该第一接收模块 1810接收流检测功能 TDF 实体发送的第一计费信息之前, 根据该 PCEF实体所承载的数据流的关联标 识向该 TDF实体发送指示该 TDF实体发送该第一计费信息的指示消息; 该第一接收模块 1810具体用于, 接收该 TDF实体响应该指示消息发送 的该第一计费信息。
可选地, 该指示消息携带该 PCEF实体所承载的数据流的关联标识; 该第一接收模块 1810具体用于, 接收该 TDF实体发送的与该 PCEF实 体所承载的数据流的关联标识对应的该 TDF 实体所承载的应用的数据流的 计费信息。
可选地, 该 TDF 实体所承载的应用的数据流的关联标识包括第一标识 和第二标识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和 所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承 载, 所述第二标识表示数据流在该 PCEF实体上对应的费率组; 或者,
该 TDF实体所承载的应用的数据流的关联标识包括第三标识,该 PCEF 实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三标识表 示数据流在该 PCEF实体上所属的 载以及对应的费率组; 或者,
该 PCEF实体所承载的应用的数据流的关联标识包括第四标识和第五标 识, 该 PCEF实体所承载的数据流的关联标识包括所述第四标识和所述第五 标识, 其中, 所述第四标识表示数据流在该 PCEF实体上所属的 载以及对 应的费率组, 所述第五标识用于标识应用的数据流。
可选地, 该计费系统 1800还包括:
第三接收模块, 用于在该第一接收模块接收流检测功能 TDF 实体发送 的第一计费信息之前, 接收该 TDF 实体发送的第一配额申请请求, 该第一 配额申请请求携带该 TDF 实体所承载的应用的数据流的关联标识和应用的 费率组, 以使计费系统可以根据所述应用的费率组分配第一配额;
第三发送模块, 用于向该 TDF实体发送第一配额;
第四接收模块, 用于在该第二接收模块接收策略和计费执行功能实体 PCEF实体发送的第二计费信息之前, 接收该 PCEF实体发送的第二配额申 请请求, 该第二配额申请请求携带该 PCEF实体所承载的数据流的关联标识 和数据流的费率组, 以使计费系统可以根据所述数据流的费率组分配第二配 额;
第四发送模块, 用于向该 PCEF实体发送第二配额。
可选地, 该处理模块 1830具体用于, 确定该第一计费信息和该第二计 费信息中关联标识相同的计费信息,对所述关联标识相同的计费信息采取不 同的计费策略进行计费。
根据本发明实施例的计费系统 1800可对应于根据本发明实施例的计费 的方法中的计费系统, 并且计费系统 1800 中的各个模块的上述和其它操作 和 /或功能分别为了实现图 1至图 15中的各个方法的相应流程, 为了筒洁, 在此不再赘述。
图 21示出了根据本发明实施例的 PCRF实体 2100的示意性框图。 如图 21所示, 该 PCRF实体 2100包括:
确定模块 2110, 用于确定数据流的计费策略,该数据流的计费策略包括 第二计费关联信息, 以及, 确定应用的计费策略, 该应用的计费策略包括第 一计费关联信息;
发送模块 2120,用于向策略和计费执行功能实体 PCEF实体发送该数据 流的计费策略, 以便于该 PCEF 实体根据该数据流的计费策略生成携带该 PCEF实体所承载的数据流的关联标识的第二计费信息, 以及, 向流检测功 能 TDF实体发送该应用的计费策略, 以便于该 TDF实体根据该应用的计费 策略生成携带该 TDF 实体所承载的应用的数据流的关联标识的第一计费信 息; 其中,该 PCEF实体所承载的数据流的关联标识和该 TDF实体所承载的 应用的数据流的关联标识用于计费系统关联处理该第一计费信息和该第二 计费信息。
本发明实施例的 PCRF实体, 通过向 PCEF实体发送携带计费关联信息 的数据流的计费策略, 向 TDF实体发送携带计费关联信息应用的计费策略, 可以使 PCEF实体和 TDF实体生成携带关联标识的计费信息,便于计费系统 关联处理流的计费信息和应用的计费信息,从而能够实现准确的数据流和应 用的计费。
可选地, 该第二计费关联信息包括该 PCEF实体所承载的数据流的关联 标识, 该第一计费关联信息包括该 TDF 实体所承载的应用的数据流的关联 标识;
该 TDF 实体所承载的应用的数据流的关联标识包括第一标识和第二标 识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和所述第二 标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承载, 所述 第二标识表示数据流在该 PCEF实体上对应的费率组; 或者,
该 TDF实体所承载的应用的数据流的关联标识包括第三标识,该 PCEF 实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三标识表 示数据流在该 PCEF实体上所属的 载以及对应的费率组。
可选地, 该 TDF 实体所承载的应用的数据流的关联标识包括第一标识 和第二标识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和 所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承 载, 所述第二标识表示数据流在该 PCEF实体上对应的费率组;
该第二计费关联信息包括该 PCEF实体所承载的数据流的第二标识, 该 第一计费关联信息包括该 TDF 实体所承载的应用的数据流的第一标识和第 二标识;
如图 21所示, 该 PCRF实体 2100还包括:
接收模块 2130, 用于在该发送模块向流检测功能 TDF实体发送应用的 计费策略之前, 接收该 PCEF实体发送的该 PCEF实体所承载的数据流的第 一标识;
该确定模块 2110具体用于, 根据该 PCEF实体所承载的数据流的第一 标识确定该 TDF实体所承载的应用的数据流的第一标识。
可选地, 该第一计费关联信息包括该 TDF实体上的所有应用的数据流 的关联标识以及该 TDF 实体上的所有应用的数据流的关联标识对应的流模 板。
根据本发明实施例的 PCRF实体 2100可对应于根据本发明实施例的计 费的方法中的 PCRF实体, 并且 PCRF实体 2100中的各个模块的上述和其 它操作和 /或功能分别为了实现图 1至图 15中的各个方法的相应流程, 为了 筒洁, 在此不再赘述。
本发明实施例还提供了一种系统, 该系统包括上述 TDF实体、 PCEF实 体、 计费系统和 PCRF实体。
应理解, 在本发明实施例中, 术语 "和 /或"仅仅是一种描述关联对象的 关联关系, 表示可以存在三种关系。 例如, A和 /或 B, 可以表示: 单独存在 A, 同时存在 A和 B, 单独存在 B这三种情况。 另外, 本文中字符 "/" , 一 般表示前后关联对象是一种 "或" 的关系。
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实 现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一 般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执 行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每个 特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超 出本发明的范围。
所属领域的技术人员可以清楚地了解到, 为了描述的方便和筒洁, 上述 描述的系统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对 应过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另外, 所显示或讨论的相互之间的 耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或 通信连接, 也可以是电的, 机械的或其它的形式连接。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本发明实施例方案的目的。
图 22描述了本发明另一个实施例提供的 TDF实体设备的结构, 包括至 少一个处理器 2201 (例如 CPU ), 至少一个网络接口 2205或者其他通信接 口, 存储器 2206, 和至少一个通信总线 2203 , 用于实现这些装置之间的连 机程序。 存储器 2206可能包含高速随机存取存储器(RAM: Random Access Memory ), 也可能还包括非不稳定的存储器( non- volatile memory ), 例如至 少一个磁盘存储器。 通过至少一个网络接口 2205 (可以是有线或者无线)实 现该系统网关与至少一个其他网元之间的通信连接, 可以使用互联网, 广域 网, 本地网, 城域网等。
在一些实施方式中,存储器 2206存储了程序 22061 ,程序 22061可以被 处理器 2202执行, 这个程序包括: TDF实体获取该 TDF实体所 载的应用 的数据流的关联标识; 该 TDF 实体向计费系统发送第一计费信息, 该第一 计费信息携带该 TDF 实体所承载的应用的数据流的关联标识, 以便于该计 费系统根据该 TDF实体所承载的应用的数据流的关联标识和 PCEF实体所承 载的数据流的关联标识关联处理该第一计费信息和该 PCEF实体向该计费系 统发送的第二计费信息, 其中, 该第二计费信息携带该 PCEF实体所承载的 数据流的关联标识。
可选地, 该 TDF实体向计费系统发送第一计费信息, 包括: 该 TDF实 体在该 TDF 实体的上报触发条件满足时, 向该计费系统发送该第一计费信 息, 以使该计费系统根据该 TDF 实体所承载的应用的数据流的关联标识向 该 PCEF实体发送指示该 PCEF实体向该计费系统发送该第二计费信息的指 示消息。
可选地, 在该 TDF 实体向计费系统发送第一计费信息之前, 该方法还 包括:该 TDF实体接收该计费系统根据该 PCEF实体所承载的数据流的关联 标识发送的指示该 TDF实体发送该第一计费信息的指示消息; 该 TDF实体 向计费系统发送第一计费信息, 包括: 该 TDF 实体响应该指示消息向该计 费系统发送该第一计费信息。
可选地, 该指示消息携带该 PCEF实体所承载的数据流的关联标识; 该
TDF实体响应该指示消息向该计费系统发送该第一计费信息, 包括: 该 TDF 实体向该计费系统发送与该 PCEF实体所承载的数据流的关联标识对应的该 TDF实体所承载的应用的数据流的计费信息。
可选地, 该 TDF实体获取该 TDF实体所承载的应用的数据流的关联标 识, 包括: 该 TDF实体接收 PCRF实体发送的应用的计费策略, 该应用的 计费策略包括该 TDF 实体所承载的应用的数据流的关联标识, 根据该应用 的计费策略获取该 TDF实体所承载的应用的数据流的关联标识; 该 TDF实 体所承载的应用的数据流的关联标识包括第一标识和第二标识, 该 PCEF实 体所承载的数据流的关联标识包括所述第一标识和所述第二标识, 其中, 所 述第一标识表示数据流在该 PCEF实体上所属的承载, 所述第二标识表示数 据流在该 PCEF实体上对应的费率组; 或者,该 TDF实体所承载的应用的数 据流的关联标识包括第三标识, 该 PCEF实体所承载的数据流的关联标识包 括所述第三标识, 其中, 所述第三标识表示数据流在该 PCEF实体上所属的 7 载以及对应的费率组。
可选地, 该应用的计费策略包括该 TDF 实体上的所有应用的数据流的 关联标识, 以及该 TDF 实体上的所有应用的数据流的关联标识对应的流模 板; 该 TDF实体根据该应用的计费策略获取该 TDF实体所承载的应用的数 据流的关联标识, 包括: 该 TDF实体根据该 TDF实体上的所有应用的数据 流的关联标识, 以及该 TDF 实体上的所有应用的数据流的关联标识对应的 流模板, 获取该 TDF实体所承载的应用的数据流的关联标识。
可选地, 该 TDF 实体所承载的应用的数据流的关联标识包括第四标识 和第五标识, 该 PCEF实体所承载的数据流的关联标识包括所述第四标识和 所述第五标识, 其中, 所述第四标识表示数据流在该 PCEF实体上所属的承 载以及对应的费率组, 所述第五标识用于标识应用的数据流; 该 TDF 实体 获取该 TDF实体所承载的应用的数据流的关联标识, 包括: 该 TDF实体接 收该 PCEF实体发送的携带第四标识的数据包, 根据该 PCEF实体发送的携 带第四标识的数据包, 获取该 TDF实体所承载的应用的数据流的第四标识; 该 TDF实体确定该 TDF实体所承载的应用的数据流的第五标识; 该方法还 包括: 该 TDF实体向该 PCEF实体发送携带第五标识的数据包, 以便于该 PCEF实体根据该携带第五标识的数据包获取该 PCEF实体所承载的数据流 的第五标识。
可选地, 在该 TDF 实体向计费系统发送第一计费信息之前, 该方法还 包括: 该 TDF 实体向该计费系统发送第一配额申请请求, 该第一配额申请 请求携带该 TDF 实体所承载的应用的数据流的关联标识和应用的费率组, 以使计费系统可以根据应用的费率组分配第一配额; 该 TDF 实体接收该计 费系统发送的第一配额。
从上可知, 从本发明实施例提供的以上技术方案可以看出, 本发明实施 例通过在计费信息中携带关联标识,可以关联处理数据流的计费信息和应用 的计费信息, 从而能够进行准确的数据流和应用的计费, 实现同时对应用的 计费和对数据流的计费。
图 23描述了本发明另一个实施例提供的 PCEF实体设备的结构, 包括 至少一个处理器 2301 (例如 CPU ), 至少一个网络接口 2305或者其他通信 接口, 存储器 2306, 和至少一个通信总线 2303, 用于实现这些装置之间的 算机程序。存储器 2306可能包含高速随机存取存储器( RAM: Random Access Memory ), 也可能还包括非不稳定的存储器( non- volatile memory ), 例如至 少一个磁盘存储器。 通过至少一个网络接口 2305 (可以是有线或者无线)实 现该系统网关与至少一个其他网元之间的通信连接, 可以使用互联网, 广域 网, 本地网, 城域网等。
在一些实施方式中,存储器 2306存储了程序 23061 ,程序 23061可以被 处理器 2302执行, 这个程序包括: PCEF实体获取该 PCEF实体所承载的 数据流的关联标识; 该 PCEF实体向计费系统发送第二计费信息, 该第二计 费信息携带该 PCEF实体所承载的数据流的关联标识, 以便于该计费系统根 据该 PCEF实体所承载的数据流的关联标识和流检测功能 TDF实体所承载的 应用的数据流的关联标识关联处理该第二计费信息和该 TDF 实体向该计费 系统发送的第一计费信息, 其中, 该第一计费信息携带该 TDF 实体所承载 的应用的数据流的关联标识。
可选地, 该 PCEF实体向计费系统发送第二计费信息, 包括: 该 PCEF 实体在该 PCEF实体的上报触发条件满足时, 向该计费系统发送该第二计费 信息, 以使该计费系统根据该 PCEF 实体所承载的数据流的关联标识向该 TDF实体发送指示该 TDF实体向该计费系统发送该第一计费信息的指示消 息。
可选地, 在该 PCEF实体向计费系统发送第二计费信息之前, 该方法还 包括:该 PCEF实体接收该计费系统根据该 TDF实体所承载的应用的数据流 的关联标识发送的指示该 PCEF 实体发送该第二计费信息的指示消息; 该 PCEF实体向计费系统发送第二计费信息, 包括: 该 PCEF实体响应该指示 消息向该计费系统发送该第二计费信息。
可选地, 该指示消息携带该 TDF 实体所承载的应用的数据流的关联标 识;该 PCEF实体响应该指示消息向该计费系统发送该第二计费信息, 包括: 该 PCEF实体向该计费系统发送与该 TDF实体所承载的应用的数据流的关联 标识对应的该 PCEF实体所承载的数据流的计费信息。
可选地, 该 TDF 实体所承载的应用的数据流的关联标识包括第一标识 和第二标识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和 所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承 载, 所述第二标识表示数据流在该 PCEF实体上对应的费率组; 该 PCEF实 体获取该 PCEF实体所承载的数据流的关联标识, 包括: 该 PCEF实体接收 PCRF实体发送的数据流的计费策略, 该数据流的计费策略包括该 PCEF实 体所承载的数据流的所述第一标识和所述第二标识,根据该数据流的计费策 略获取该 PCEF实体所承载的数据流的所述第一标识和所述第二标识。
可选地, 该 TDF 实体所承载的应用的数据流的关联标识包括第一标识 和第二标识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和 所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承 载, 所述第二标识表示数据流在该 PCEF实体上对应的费率组; 该 PCEF实 体获取该 PCEF实体所承载的数据流的关联标识, 包括: 该 PCEF实体确定 该 PCEF实体所承载的数据流的第一标识; 该 PCEF实体接收 PCRF实体发 送的数据流的计费策略, 该数据流的计费策略包括该 PCEF实体所承载的数 据流的第二标识, 根据该数据流的计费策略获取该 PCEF实体所承载的数据 流的第二标识; 该方法还包括: 该 PCEF实体向该 PCRF实体发送该 PCEF 实体所承载的数据流的第一标识。
可选地, 该 TDF实体所承载的应用的数据流的关联标识包括第三标识, 该 PCEF实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第 三标识表示数据流在该 PCEF实体上所属的 7 载以及对应的费率组;该 PCEF 实体获取该 PCEF实体所承载的数据流的关联标识, 包括: 该 PCEF实体接 收 PCRF实体发送的数据流的计费策略, 该数据流的计费策略包括该 PCEF 实体所承载的数据流的第三标识, 根据该数据流的计费策略获取该 PCEF实 体所承载的数据流的第三标识。
可选地, 该 TDF 实体所 7 载的应用的数据流的关联标识包括第四标识 和第五标识, 该 PCEF实体所承载的数据流的关联标识包括所述第四标识和 所述第五标识, 其中, 所述第四标识表示数据流在该 PCEF实体上所属的承 载以及对应的费率组, 所述第五标识用于标识应用的数据流; 该 PCEF实体 获取该 PCEF实体所承载的数据流的关联标识, 包括: 该 PCEF实体确定该 PCEF实体所承载的数据流的第四标识; 该 PCEF实体接收该 TDF实体发送 的携带第五标识的数据包, 根据该 TDF实体发送的携带第五标识的数据包, 获取该 PCEF实体所承载的数据流的第五标识; 该方法还包括: 该 PCEF实 体向该 TDF实体发送携带第四标识的数据包, 以便于该 TDF实体根据该携 带第四标识的数据包获取该 TDF实体所承载的应用的数据流的第四标识。
可选地, 在该 PCEF实体向计费系统发送第二计费信息之前, 该方法还 包括: 该 PCEF实体向该计费系统发送第二配额申请请求, 该第二配额申请 请求携带该 PCEF实体所承载的数据流的关联标识; 该 PCEF实体接收该计 费系统发送的第二配额和数据流的费率组, 以使计费系统可以根据数据流的 费率组分配第二配额。 从上可知, 从本发明实施例提供的以上技术方案可以 看出, 本发明实施例通过在计费信息中携带关联标识, 可以关联处理数据流 的计费信息和应用的计费信息, 从而能够进行准确的数据流和应用的计费, 实现同时对应用的计费和对数据流的计费。
图 24描述了本发明另一个实施例提供的计费系统的结构, 包括至少一 个处理器 2401 (例如 CPU ), 至少一个网络接口 2405或者其他通信接口, 存储器 2406, 和至少一个通信总线 2403, 用于实现这些装置之间的连接通 信。 处理器 2402用于执行存储器 2406中存储的可执行模块, 例如计算机程 序。 存储器 2406 可能包含高速随机存取存储器 (RAM: Random Access Memory ), 也可能还包括非不稳定的存储器( non- volatile memory ), 例如至 少一个磁盘存储器。 通过至少一个网络接口 2405 (可以是有线或者无线)实 现该系统网关与至少一个其他网元之间的通信连接, 可以使用互联网, 广域 网, 本地网, 城域网等。
在一些实施方式中,存储器 2406存储了程序 24061 ,程序 24061可以被 处理器 2402执行, 这个程序包括: 计费系统接收 TDF实体发送的第一计费 信息, 该第一计费信息携带该 TDF实体所承载的应用的数据流的关联标识; 该计费系统接收 PCEF 实体发送的第二计费信息, 该第二计费信息携带该 PCEF实体所承载的数据流的关联标识; 该计费系统根据该 TDF实体所承载 的应用的数据流的关联标识和该 PCEF实体所承载的数据流的关联标识, 关 联处理该第一计费信息和该第二计费信息。 可选地, 该计费系统接收 TDF 实体发送的第一计费信息, 包括: 该计 费系统接收该 TDF实体在该 TDF实体的上报触发条件满足时, 向该计费系 统发送该第一计费信息; 在该计费系统接收 PCEF实体发送的第二计费信息 之前, 该方法还包括: 该计费系统根据该 TDF 实体所承载的应用的数据流 的关联标识向该 PCEF实体发送指示该 PCEF实体发送该第二计费信息的指 示消息; 该计费系统接收 PCEF实体发送的第二计费信息, 包括; 该计费系 统接收该 PCEF实体响应该指示消息发送的该第二计费信息。
可选地, 该指示消息携带该 TDF 实体所承载的应用的数据流的关联标 识; 该计费系统接收该 PCEF实体响应该指示消息发送的该第二计费信息, 包括:该计费系统接收该 PCEF实体发送的与该 TDF实体所承载的应用的数 据流的关联标识对应的该 PCEF实体所承载的数据流的计费信息。
可选地, 该计费系统接收 PCEF实体发送的第二计费信息, 包括: 该计 费系统接收该 PCEF实体在该 PCEF实体的上报触发条件满足时, 向该计费 系统发送该第二计费信息; 在该计费系统接收 TDF 实体发送的第一计费信 息之前, 该方法还包括: 该计费系统根据该 PCEF实体所承载的数据流的关 联标识向该 TDF实体发送指示该 TDF实体发送该第一计费信息的指示消息; 该计费系统接收 TDF 实体发送的第一计费信息, 包括; 该计费系统接收该 TDF实体响应该指示消息发送的该第一计费信息。
可选地, 该指示消息携带该 PCEF实体所承载的数据流的关联标识; 该 计费系统接收该 TDF 实体响应该指示消息发送的该第一计费信息, 包括: 该计费系统接收该 TDF实体发送的与该 PCEF实体所承载的数据流的关联标 识对应的该 TDF实体所承载的应用的数据流的计费信息。
可选地, 该 TDF 实体所承载的应用的数据流的关联标识包括第一标识 和第二标识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和 所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承 载,所述第二标识表示数据流在该 PCEF实体上对应的费率组;或者,该 TDF 实体所承载的应用的数据流的关联标识包括第三标识, 该 PCEF实体所承载 的数据流的关联标识包括所述第三标识, 其中, 所述第三标识表示数据流在 该 PCEF实体上所属的承载以及对应的费率组; 或者, 该 PCEF实体所承载 的应用的数据流的关联标识包括第四标识和第五标识, 该 PCEF实体所承载 的数据流的关联标识包括所述第四标识和所述第五标识, 其中, 所述第四标 识表示数据流在该 PCEF实体上所属的承载以及对应的费率组, 所述第五标 识用于标识应用的数据流。
可选地, 在该计费系统接收 TDF 实体发送的第一计费信息之前, 该方 法还包括: 该计费系统接收该 TDF 实体发送的第一配额申请请求, 该第一 配额申请请求携带该 TDF 实体所承载的应用的数据流的关联标识和应用的 费率组, 以使计费系统可以根据应用的费率组分配第一配额; 该计费系统向 该 TDF实体发送第一配额;在该计费系统接收 PCEF实体发送的第二计费信 息之前, 该方法还包括: 该计费系统接收该 PCEF实体发送的第二配额申请 请求, 该第二配额申请请求携带该 PCEF实体所承载的数据流的关联标识和 数据流的费率组, 以使计费系统可以根据数据流的费率组分配第二配额; 该 计费系统向该 PCEF实体发送第二配额。
可选地, 该计费系统根据该 TDF 实体所承载的应用的数据流的关联标 识和该 PCEF实体所承载的数据流的关联标识, 关联处理该第一计费信息和 该第二计费信息, 包括: 该计费系统确定该第一计费信息和该第二计费信息 中关联标识相同的计费信息,对所述关联标识相同的计费信息采取不同的计 费策略进行计费。
从上可知, 从本发明实施例提供的以上技术方案可以看出, 本发明实施 例通过接收携带关联标识的流的计费信息和应用的计费信息,根据关联标识 关联处理流的计费信息和应用的计费信息, 能够进行准确的数据流和应用的 计费。
图 25描述了本发明另一个实施例提供的 PCRF实体设备的结构, 包括 至少一个处理器 2501 (例如 CPU ), 至少一个网络接口 2505或者其他通信 接口, 存储器 2506, 和至少一个通信总线 2503, 用于实现这些装置之间的 算机程序。存储器 2506可能包含高速随机存取存储器( RAM: Random Access Memory ), 也可能还包括非不稳定的存储器( non- volatile memory ), 例如至 少一个磁盘存储器。 通过至少一个网络接口 2505 (可以是有线或者无线)实 现该系统网关与至少一个其他网元之间的通信连接, 可以使用互联网, 广域 网, 本地网, 城域网等。
在一些实施方式中,存储器 2506存储了程序 25061 ,程序 25061可以被 处理器 2502执行, 这个程序包括: 策略和计费规则功能实体 PCRF实体向 策略和计费执行功能实体 PCEF实体发送数据流的计费策略, 该数据流的计 费策略包括第二计费关联信息, 以便于该 PCEF实体根据该数据流的计费策 略生成携带该 PCEF 实体所承载的数据流的关联标识的第二计费信息; 该 PCRF实体向流检测功能 TDF实体发送应用的计费策略,该应用的计费策略 包括第一计费关联信息, 以便于该 TDF 实体根据该应用的计费策略生成携 带该 TDF 实体所承载的应用的数据流的关联标识的第一计费信息; 其中, 该 PCEF实体所承载的数据流的关联标识和该 TDF实体所承载的应用的数据 流的关联标识用于计费系统关联处理该第一计费信息和该第二计费信息。
可选地, 该第二计费关联信息包括该 PCEF实体所承载的数据流的关联 标识, 该第一计费关联信息包括该 TDF 实体所承载的应用的数据流的关联 标识; 该 TDF 实体所 7 载的应用的数据流的关联标识包括第一标识和第二 标识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和所述第 二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承载, 所 述第二标识表示数据流在该 PCEF实体上对应的费率组;或者,该 TDF实体 所承载的应用的数据流的关联标识包括第三标识, 该 PCEF实体所承载的数 据流的关联标识包括第三标识, 其中, 第三标识表示数据流在该 PCEF实体 上所属的承载以及对应的费率组。
可选地, 该 TDF 实体所承载的应用的数据流的关联标识包括第一标识 和第二标识, 该 PCEF实体所承载的数据流的关联标识包括所述第一标识和 所述第二标识, 其中, 所述第一标识表示数据流在该 PCEF实体上所属的承 载, 所述第二标识表示数据流在该 PCEF实体上对应的费率组; 该第二计费 关联信息包括该 PCEF实体所承载的数据流的第二标识, 该第一计费关联信 息包括该 TDF实体所承载的应用的数据流的所述第一标识和所述第二标识; 在该 PCRF实体向流检测功能 TDF实体发送应用的计费策略之前, 该方法 还包括: 该 PCRF实体接收该 PCEF实体发送的该 PCEF实体所承载的数据 流的所述第一标识, 根据该 PCEF 实体所承载的数据流的第一标识确定该 TDF实体所承载的应用的数据流的所述第一标识。
可选地, 该第一计费关联信息包括该 TDF实体上的所有应用的数据流 的关联标识以及该 TDF 实体上的所有应用的数据流的关联标识对应的流模 板。
从上可知, 从本发明实施例提供的以上技术方案可以看出, 本发明实施 例通过向 PCEF 实体发送携带计费关联信息的数据流的计费策略, 向 TDF 实体发送携带计费关联信息应用的计费策略,可以使 PCEF实体和 TDF实体 生成携带关联标识的计费信息,便于计费系统关联处理流的计费信息和应用 的计费信息, 从而能够实现准确的数据流和应用的计费。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到各种等效的修改或替换, 这些修改或替换都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。

Claims

权利要求
1. 一种计费的方法, 其特征在于, 包括:
流检测功能 TDF实体获取所述 TDF实体所承载的应用的数据流的关联 标识;
所述 TDF 实体向计费系统发送第一计费信息, 所述第一计费信息携带 所述 TDF 实体所承载的应用的数据流的关联标识, 以便于所述计费系统根 据所述 TDF 实体所承载的应用的数据流的关联标识和策略和计费执行功能 PCEF 实体所承载的数据流的关联标识关联处理所述第一计费信息和所述 PCEF实体向所述计费系统发送的第二计费信息, 其中, 所述第二计费信息 携带所述 PCEF实体所承载的数据流的关联标识。
2. 根据权利要求 1所述的方法, 其特征在于, 所述 TDF实体向计费系 统发送第一计费信息, 包括:
所述 TDF实体在所述 TDF实体的上报触发条件满足时, 向所述计费系 统发送所述第一计费信息, 以使所述计费系统根据所述 TDF 实体所承载的 应用的数据流的关联标识向所述 PCEF实体发送指示所述 PCEF实体向所述 计费系统发送所述第二计费信息的指示消息。
3. 根据权利要求 1所述的方法, 其特征在于, 在所述 TDF实体向计费 系统发送第一计费信息之前, 所述方法还包括:
所述 TDF实体接收所述计费系统根据所述 PCEF实体所承载的数据流的 关联标识发送的指示所述 TDF实体发送所述第一计费信息的指示消息; 所述 TDF实体向计费系统发送第一计费信息, 包括:
所述 TDF 实体响应所述指示消息向所述计费系统发送所述第一计费信 息。
4. 根据权利要求 3所述的方法, 其特征在于, 所述指示消息携带所述 PCEF实体所承载的数据流的关联标识;
所述 TDF 实体响应所述指示消息向所述计费系统发送所述第一计费信 息, 包括:
所述 TDF实体向所述计费系统发送与所述 PCEF实体所承载的数据流的 关联标识对应的所述 TDF实体所承载的应用的数据流的计费信息。
5. 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述 TDF 实体获取所述 TDF实体所承载的应用的数据流的关联标识, 包括: 所述 TDF实体接收策略和计费规则功能 PCRF实体发送的应用的计费 策略, 所述应用的计费策略包括所述 TDF 实体所承载的应用的数据流的关 联标识, 根据所述应用的计费策略获取所述 TDF 实体所承载的应用的数据 流的关联标识;
所述 TDF 实体所承载的应用的数据流的关联标识包括第一标识和第二 标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第一标识和所述 第二标识,其中,所述第一标识表示数据流在所述 PCEF实体上所属的承载, 所述第二标识表示数据流在所述 PCEF实体上对应的费率组; 或者,
所述 TDF 实体所承载的应用的数据流的关联标识包括第三标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三 标识表示数据流在所述 PCEF实体上所属的 载以及对应的费率组。
6. 根据权利要求 5所述的方法, 其特征在于, 所述应用的计费策略包 括所述 TDF实体上的所有应用的数据流的关联标识, 以及所述 TDF实体上 的所有应用的数据流的关联标识对应的流模板;
所述 TDF实体根据所述应用的计费策略获取所述 TDF实体所承载的应 用的数据流的关联标识, 包括: 以及所述 TDF 实体上的所有应用的数据流的关联标识对应的流模板, 获取 所述 TDF实体所承载的应用的数据流的关联标识。
7. 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述 TDF 实体所承载的应用的数据流的关联标识包括第四标识和第五标识, 所述
PCEF实体所承载的数据流的关联标识包括所述第四标识和所述第五标识, 其中, 所述第四标识表示数据流在所述 PCEF实体上所属的承载以及对应的 费率组, 所述第五标识用于标识应用的数据流;
所述 TDF实体获取所述 TDF实体所承载的应用的数据流的关联标识, 包括:
所述 TDF实体接收所述 PCEF实体发送的携带所述第四标识的数据包, 根据所述 PCEF实体发送的携带所述第四标识的数据包,获取所述 TDF实体 所承载的应用的数据流的所述第四标识;
所述 TDF实体确定所述 TDF实体所承载的应用的数据流的所述第五标 识; 所述方法还包括:
所述 TDF实体向所述 PCEF实体发送携带所述第五标识的数据包,以便 于所述 PCEF实体根据所述携带所述第五标识的数据包获取所述 PCEF实体 所承载的数据流的所述第五标识。
8.根据权利要求 1至 7中任一项所述的方法,其特征在于,在所述 TDF 实体向计费系统发送第一计费信息之前, 所述方法还包括:
所述 TDF 实体向所述计费系统发送第一配额申请请求, 所述第一配额 申请请求携带所述 TDF 实体所承载的应用的数据流的关联标识和应用的费 率组, 以使所述计费系统根据所述应用的费率组分配第一配额;
所述 TDF实体接收所述计费系统发送的第一配额。
9. 一种计费的方法, 其特征在于, 包括:
策略和计费执行功能实体 PCEF实体获取所述 PCEF实体所承载的数据 流的关联标识;
所述 PCEF实体向计费系统发送第二计费信息, 所述第二计费信息携带 所述 PCEF实体所承载的数据流的关联标识, 以便于所述计费系统根据所述 PCEF实体所承载的数据流的关联标识和流检测功能 TDF实体所承载的应用 的数据流的关联标识关联处理所述第二计费信息和所述 TDF 实体向所述计 费系统发送的第一计费信息, 其中, 所述第一计费信息携带所述 TDF 实体 所承载的应用的数据流的关联标识。
10. 根据权利要求 9所述的方法, 其特征在于, 所述 PCEF实体向计费 系统发送第二计费信息, 包括:
所述 PCEF实体在所述 PCEF实体的上报触发条件满足时, 向所述计费 系统发送所述第二计费信息, 以使所述计费系统根据所述 PCEF实体所承载 的数据流的关联标识向所述 TDF实体发送指示所述 TDF实体向所述计费系 统发送所述第一计费信息的指示消息。
11. 根据权利要求 9所述的方法, 其特征在于, 在所述 PCEF实体向计 费系统发送第二计费信息之前, 所述方法还包括:
所述 PCEF实体接收所述计费系统根据所述 TDF实体所承载的应用的数 据流的关联标识发送的指示所述 PCEF实体发送所述第二计费信息的指示消 息;
所述 PCEF实体向计费系统发送第二计费信息, 包括: 所述 PCEF实体响应所述指示消息向所述计费系统发送所述第二计费信 息。
12. 根据权利要求 11所述的方法, 其特征在于, 所述指示消息携带所 述 TDF实体所承载的应用的数据流的关联标识;
所述 PCEF实体响应所述指示消息向所述计费系统发送所述第二计费信 息, 包括:
所述 PCEF实体向所述计费系统发送与所述 TDF实体所承载的应用的数 据流的关联标识对应的所述 PCEF实体所承载的数据流的计费信息。
13.根据权利要求 9至 12中任一项所述的方法,其特征在于,所述 TDF 实体所承载的应用的数据流的关联标识包括第一标识和第二标识, 所述
PCEF实体所承载的数据流的关联标识包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数据流在所述 PCEF实体上所属的承载, 所述第二 标识表示数据流在所述 PCEF实体上对应的费率组;
所述 PCEF实体获取所述 PCEF实体所承载的数据流的关联标识,包括: 所述 PCEF实体接收 PCRF实体发送的数据流的计费策略, 所述数据流 的计费策略包括所述 PCEF实体所承载的数据流的所述第一标识和所述第二 标识, 根据所述数据流的计费策略获取所述 PCEF实体所承载的数据流的所 述第一标识和所述第二标识。
14.根据权利要求 9至 12中任一项所述的方法,其特征在于,所述 TDF 实体所承载的应用的数据流的关联标识包括第一标识和第二标识, 所述
PCEF实体所承载的数据流的关联标识包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数据流在所述 PCEF实体上所属的承载, 所述第二 标识表示数据流在所述 PCEF实体上对应的费率组;
所述 PCEF实体获取所述 PCEF实体所承载的数据流的关联标识,包括: 所述 PCEF实体确定所述 PCEF实体所承载的数据流的所述第一标识; 所述 PCEF实体接收 PCRF实体发送的数据流的计费策略, 所述数据流 的计费策略包括所述 PCEF实体所承载的数据流的所述第二标识, 根据所述 数据流的计费策略获取所述 PCEF实体所承载的数据流的所述第二标识; 所述方法还包括: 的所述第一标识。
15.根据权利要求 9至 12中任一项所述的方法,其特征在于,所述 TDF 实体所承载的应用的数据流的关联标识包括第三标识, 所述 PCEF实体所承 载的数据流的关联标识包括所述第三标识, 其中, 所述第三标识表示数据流 在所述 PCEF实体上所属的 7 载以及对应的费率组;
所述 PCEF实体获取所述 PCEF实体所承载的数据流的关联标识,包括: 所述 PCEF实体接收 PCRF实体发送的数据流的计费策略, 所述数据流 的计费策略包括所述 PCEF实体所承载的数据流的所述第三标识, 根据所述 数据流的计费策略获取所述 PCEF实体所承载的数据流的所述第三标识。
16.根据权利要求 9至 12中任一项所述的方法,其特征在于,所述 TDF 实体所承载的应用的数据流的关联标识包括第四标识和第五标识, 所述
PCEF实体所承载的数据流的关联标识包括第所述四标识和所述第五标识, 其中, 所述第四标识表示数据流在所述 PCEF实体上所属的承载以及对应的 费率组, 所述第五标识用于标识应用的数据流;
所述 PCEF实体获取所述 PCEF实体所承载的数据流的关联标识,包括: 所述 PCEF实体确定所述 PCEF实体所 载的数据流的所述第四标识; 所述 PCEF实体接收所述 TDF实体发送的携带所述第五标识的数据包, 根据所述 TDF实体发送的携带所述第五标识的数据包,获取所述 PCEF实体 所承载的数据流的所述第五标识;
所述方法还包括:
所述 PCEF实体向所述 TDF实体发送携带所述第四标识的数据包,以便 于所述 TDF实体根据所述携带所述第四标识的数据包获取所述 TDF实体所 承载的应用的数据流的所述第四标识。
17. 根据权利要求 9至 16中任一项所述的方法, 其特征在于, 在所述 PCEF实体向计费系统发送第二计费信息之前, 所述方法还包括:
所述 PCEF实体向所述计费系统发送第二配额申请请求, 所述第二配额 申请请求携带所述 PCEF 实体所承载的数据流的关联标识和数据流的费率 组, 以使所述计费系统根据所述数据流的费率组分配第二配额;
所述 PCEF实体接收所述计费系统发送的第二配额。
18. 一种计费的方法, 其特征在于, 包括:
计费系统接收流检测功能 TDF 实体发送的第一计费信息, 所述第一计 费信息携带所述 TDF实体所承载的应用的数据流的关联标识; 所述计费系统接收策略和计费执行功能实体 PCEF实体发送的第二计费 信息, 所述第二计费信息携带所述 PCEF实体所承载的数据流的关联标识; 所述计费系统根据所述 TDF 实体所承载的应用的数据流的关联标识和 所述 PCEF实体所承载的数据流的关联标识, 关联处理所述第一计费信息和 所述第二计费信息。
19. 根据权利要求 18所述的方法, 其特征在于, 所述计费系统接收流 检测功能 TDF实体发送的第一计费信息, 包括:
所述计费系统接收所述 TDF实体在所述 TDF实体的上报触发条件满足 时, 向所述计费系统发送所述第一计费信息;
在所述计费系统接收策略和计费执行功能实体 PCEF实体发送的第二计 费信息之前, 所述方法还包括:
所述计费系统根据所述 TDF 实体所承载的应用的数据流的关联标识向 所述 PCEF实体发送指示所述 PCEF实体发送所述第二计费信息的指示消息; 所述计费系统接收策略和计费执行功能实体 PCEF实体发送的第二计费 信息, 包括;
所述计费系统接收所述 PCEF实体响应所述指示消息发送的所述第二计 费信息。
20. 根据权利要求 19所述的方法, 其特征在于, 所述指示消息携带所 述 TDF实体所承载的应用的数据流的关联标识;
所述计费系统接收所述 PCEF实体响应所述指示消息发送的所述第二计 费信息, 包括:
所述计费系统接收所述 PCEF实体发送的与所述 TDF实体所 载的应用 的数据流的关联标识对应的所述 PCEF实体所承载的数据流的计费信息。
21. 根据权利要求 18所述的方法, 其特征在于, 所述计费系统接收策 略和计费执行功能实体 PCEF实体发送的第二计费信息, 包括:
所述计费系统接收所述 PCEF实体在所述 PCEF实体的上报触发条件满 足时, 向所述计费系统发送所述第二计费信息;
在所述计费系统接收流检测功能 TDF 实体发送的第一计费信息之前, 所述方法还包括:
所述计费系统根据所述 PCEF 实体所承载的数据流的关联标识向所述
TDF实体发送指示所述 TDF实体发送所述第一计费信息的指示消息; 所述计费系统接收流检测功能 TDF实体发送的第一计费信息, 包括; 所述计费系统接收所述 TDF 实体响应所述指示消息发送的所述第一计 费信息。
22. 根据权利要求 21所述的方法, 其特征在于, 所述指示消息携带所 述 PCEF实体所承载的数据流的关联标识;
所述计费系统接收所述 TDF 实体响应所述指示消息发送的所述第一计 费信息, 包括:
所述计费系统接收所述 TDF实体发送的与所述 PCEF实体所承载的数据 流的关联标识对应的所述 TDF实体所承载的应用的数据流的计费信息。
23. 根据权利要求 18至 22 中任一项所述的方法, 其特征在于, 所述
TDF实体所承载的应用的数据流的关联标识包括第一标识和第二标识,所述 PCEF实体所承载的数据流的关联标识包括所述第一标识和所述第二标识, 其中, 所述第一标识表示数据流在所述 PCEF实体上所属的承载, 所述第二 标识表示数据流在所述 PCEF实体上对应的费率组; 或者,
所述 TDF 实体所承载的应用的数据流的关联标识包括第三标识, 所述
PCEF实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三 标识表示数据流在所述 PCEF实体上所属的承载以及对应的费率组; 或者, 所述 PCEF实体所承载的应用的数据流的关联标识包括第四标识和第五 标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第四标识和所述 第五标识, 其中, 所述第四标识表示数据流在所述 PCEF实体上所属的承载 以及对应的费率组, 所述第五标识用于标识应用的数据流。
24. 根据权利要求 18至 23中任一项所述的方法, 其特征在于, 在所述 计费系统接收流检测功能 TDF 实体发送的第一计费信息之前, 所述方法还 包括:
所述计费系统接收所述 TDF 实体发送的第一配额申请请求, 所述第一 配额申请请求携带所述 TDF 实体所承载的应用的数据流的关联标识和应用 的费率组, 以使所述计费系统根据所述应用的费率组分配第一配额;
所述计费系统向所述 TDF实体发送第一配额;
在所述计费系统接收策略和计费执行功能实体 PCEF实体发送的第二计 费信息之前, 所述方法还包括:
所述计费系统接收所述 PCEF实体发送的第二配额申请请求, 所述第二 配额申请请求携带所述 PCEF实体所承载的数据流的关联标识和数据流的费 率组, 以使所述计费系统根据所述数据流的费率组分配第二配额;
所述计费系统向所述 PCEF实体发送第二配额。
25. 根据权利要求 18至 24中任一项所述的方法, 其特征在于, 所述计 费系统根据所述 TDF 实体所承载的应用的数据流的关联标识和所述 PCEF 实体所承载的数据流的关联标识, 关联处理所述第一计费信息和所述第二计 费信息, 包括:
所述计费系统确定所述第一计费信息和所述第二计费信息中关联标识 相同的计费信息,对所述关联标识相同的计费信息采取不同的计费策略进行 计费。
26. 一种计费的方法, 其特征在于, 包括:
策略和计费规则功能实体 PCRF实体向策略和计费执行功能实体 PCEF 实体发送数据流的计费策略, 所述数据流的计费策略包括第二计费关联信 息, 以便于所述 PCEF实体根据所述数据流的计费策略生成携带所述 PCEF 实体所承载的数据流的关联标识的第二计费信息;
所述 PCRF实体向流检测功能 TDF实体发送应用的计费策略, 所述应 用的计费策略包括第一计费关联信息, 以便于所述 TDF 实体根据所述应用 的计费策略生成携带所述 TDF 实体所承载的应用的数据流的关联标识的第 一计费信息; 其中, 所述 PCEF实体所承载的数据流的关联标识和所述 TDF 实体所承载的应用的数据流的关联标识用于计费系统关联处理所述第一计 费信息和所述第二计费信息。
27. 根据权利要求 26所述的方法, 其特征在于, 所述第二计费关联信 息包括所述 PCEF实体所承载的数据流的关联标识, 所述第一计费关联信息 包括所述 TDF实体所承载的应用的数据流的关联标识;
所述 TDF 实体所承载的应用的数据流的关联标识包括第一标识和第二 标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第一标识和所述 第二标识,其中,所述第一标识表示数据流在所述 PCEF实体上所属的承载, 所述第二标识表示数据流在所述 PCEF实体上对应的费率组; 或者,
所述 TDF 实体所承载的应用的数据流的关联标识包括第三标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三 标识表示数据流在所述 PCEF实体上所属的 载以及对应的费率组。
28. 根据权利要求 26所述的方法, 其特征在于, 所述 TDF实体所承载 的应用的数据流的关联标识包括第一标识和第二标识, 所述 PCEF实体所承 载的数据流的关联标识包括所述第一标识和所述第二标识, 其中, 所述第一 标识表示数据流在所述 PCEF实体上所属的承载, 所述第二标识表示数据流 在所述 PCEF实体上对应的费率组;
所述第二计费关联信息包括所述 PCEF实体所承载的数据流的所述第二 标识, 所述第一计费关联信息包括所述 TDF 实体所承载的应用的数据流的 所述第一标识和所述第二标识;
在所述 PCRF实体向流检测功能 TDF实体发送应用的计费策略之前, 所述方法还包括:
所述 PCRF实体接收所述 PCEF实体发送的所述 PCEF实体所承载的数 据流的所述第一标识, 根据所述 PCEF实体所承载的数据流的所述第一标识 确定所述 TDF实体所承载的应用的数据流的所述第一标识。
29. 根据权利要求 27或 28所述的方法, 其特征在于, 所述第一计费关 联信息包括所述 TDF实体上的所有应用的数据流的关联标识以及所述 TDF 实体上的所有应用的数据流的关联标识对应的流模板。
30. 一种流检测功能 TDF实体, 其特征在于, 包括:
获取模块, 用于获取所述 TDF实体所承载的应用的数据流的关联标识; 发送模块, 用于向计费系统发送第一计费信息, 所述第一计费信息携带 所述 TDF 实体所承载的应用的数据流的关联标识, 以便于所述计费系统根 据所述 TDF 实体所承载的应用的数据流的关联标识和策略和计费执行功能 PCEF 实体所承载的数据流的关联标识关联处理所述第一计费信息和所述 PCEF实体向所述计费系统发送的第二计费信息, 其中, 所述第二计费信息 携带所述 PCEF实体所承载的数据流的关联标识。
31. 根据权利要求 30所述的 TDF实体, 其特征在于, 所述发送模块具 体用于, 在所述 TDF 实体的上报触发条件满足时, 向所述计费系统发送所 述第一计费信息, 以使所述计费系统根据所述 TDF 实体所承载的应用的数 据流的关联标识向所述 PCEF实体发送指示所述 PCEF实体向所述计费系统 发送所述第二计费信息的指示消息。
32. 根据权利要求 30所述的 TDF实体, 其特征在于, 所述 TDF实体还 包括: 第一接收模块, 用于在所述发送模块向计费系统发送第一计费信息之 前, 接收所述计费系统根据所述 PCEF实体所承载的数据流的关联标识发送 的指示所述 TDF实体发送所述第一计费信息的指示消息;
所述发送模块具体用于,响应所述指示消息向所述计费系统发送所述第 一计费信息。
33. 根据权利要求 32所述的 TDF实体, 其特征在于, 所述指示消息携 带所述 PCEF实体所承载的数据流的关联标识;
所述发送模块具体用于, 向所述计费系统发送与所述 PCEF实体所承载 的数据流的关联标识对应的所述 TDF 实体所承载的应用的数据流的计费信 息。
34. 根据权利要求 30至 33中任一项所述的 TDF实体, 其特征在于, 所述 TDF实体还包括:
第二接收模块, 用于接收策略和计费规则功能 PCRF实体发送的应用的 计费策略, 所述应用的计费策略包括所述 TDF 实体所承载的应用的数据流 的关联标识;
所述获取模块具体用于, 根据所述应用的计费策略获取所述 TDF 实体 所承载的应用的数据流的关联标识;
所述 TDF 实体所承载的应用的数据流的关联标识包括第一标识和第二 标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第一标识和所述 第二标识,其中,所述第一标识表示数据流在所述 PCEF实体上所属的承载, 所述第二标识表示数据流在所述 PCEF实体上对应的费率组; 或者,
所述 TDF 实体所承载的应用的数据流的关联标识包括第三标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三 标识表示数据流在所述 PCEF实体上所属的 载以及对应的费率组。
35. 根据权利要求 34所述的 TDF实体, 其特征在于, 所述应用的计费 策略包括所述 TDF实体上的所有应用的数据流的关联标识, 以及所述 TDF 实体上的所有应用的数据流的关联标识对应的流模板;
所述获取模块具体用于, 根据所述 TDF 实体上的所有应用的数据流的 关联标识, 以及所述 TDF 实体上的所有应用的数据流的关联标识对应的流 模板, 获取所述 TDF实体所承载的应用的数据流的关联标识。
36. 根据权利要求 30至 33中任一项所述的 TDF实体, 其特征在于, 所述 TDF实体所承载的应用的数据流的关联标识包括第四标识和第五标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第四标识和所述第五标 识, 其中, 所述第四标识表示数据流在所述 PCEF实体上所属的承载以及对 应的费率组, 所述第五标识用于标识应用的数据流;
所述 TDF实体还包括:
第三接收模块,用于接收所述 PCEF实体发送的携带第四标识的数据包; 确定模块, 用于确定所述 TDF实体所承载的应用的数据流的第五标识; 所述获取模块具体用于, 根据所述 PCEF实体发送的携带第四标识的数 据包, 获取所述 TDF 实体所承载的应用的数据流的第四标识, 以及获取所 述确定模块确定的所述 TDF实体所承载的应用的数据流的第五标识;
所述发送模块还用于, 向所述 PCEF实体发送携带第五标识的数据包, 以便于所述 PCEF实体根据所述携带第五标识的数据包获取所述 PCEF实体 所承载的数据流的第五标识。
37. 根据权利要求 30至 36中任一项所述的 TDF实体, 其特征在于, 所述发送模块还用于, 在向计费系统发送第一计费信息之前, 向所述计费系 统发送第一配额申请请求, 所述第一配额申请请求携带所述 TDF 实体所承 载的应用的数据流的关联标识和应用的费率组, 以使所述计费系统根据所述 应用的费率组分配第一配额;
所述 TDF实体还包括:
第四接收模块, 用于接收所述计费系统发送的第一配额。
38. 一种计费的策略和计费执行功能实体 PCEF实体, 其特征在于, 包 括:
获取模块, 用于获取所述 PCEF实体所承载的数据流的关联标识; 发送模块, 用于向计费系统发送第二计费信息, 所述第二计费信息携带 所述 PCEF实体所承载的数据流的关联标识, 以便于所述计费系统根据所述 PCEF实体所承载的数据流的关联标识和流检测功能 TDF实体所承载的应用 的数据流的关联标识关联处理所述第二计费信息和所述 TDF 实体向所述计 费系统发送的第一计费信息, 其中, 所述第一计费信息携带所述 TDF 实体 所承载的应用的数据流的关联标识。
39. 根据权利要求 38所述的 PCEF实体, 其特征在于, 所述发送模块 具体用于, 在所述 PCEF实体的上报触发条件满足时, 向所述计费系统发送 所述第二计费信息, 以使所述计费系统根据所述 PCEF实体所承载的数据流 的关联标识向所述 TDF实体发送指示所述 TDF实体向所述计费系统发送所 述第一计费信息的指示消息。
40. 根据权利要求 38所述的 PCEF实体, 其特征在于, 所述 PCEF实体 还包括:
第一接收模块, 用于在所述发送模块向计费系统发送第二计费信息之 前, 接收所述计费系统根据所述 TDF 实体所承载的应用的数据流的关联标 识发送的指示所述 PCEF实体发送所述第二计费信息的指示消息;
所述发送模块具体用于,响应所述指示消息向所述计费系统发送所述第 二计费信息。
41. 根据权利要求 40所述的 PCEF实体, 其特征在于, 所述指示消息 携带所述 TDF实体所承载的应用的数据流的关联标识;
所述发送模块具体用于, 向所述计费系统发送与所述 TDF 实体所承载 的应用的数据流的关联标识对应的所述 PCEF实体所承载的数据流的计费信 息。
42. 根据权利要求 38至 41中任一项所述的 PCEF实体, 其特征在于, 所述 TDF实体所承载的应用的数据流的关联标识包括第一标识和第二标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第一标识和所述第二标 识, 其中, 所述第一标识表示数据流在所述 PCEF实体上所属的承载, 所述 第二标识表示数据流在所述 PCEF实体上对应的费率组;
所述 PCEF实体还包括:
第二接收模块, 用于接收 PCRF实体发送的数据流的计费策略, 所述数 据流的计费策略包括所述 PCEF实体所承载的数据流的所述第一标识和所述 第二标识;
所述获取模块具体用于, 根据所述数据流的计费策略获取所述 PCEF实 体所承载的数据流的所述第一标识和所述第二标识。
43. 根据权利要求 38至 41中任一项所述的 PCEF实体, 其特征在于, 所述 TDF实体所承载的应用的数据流的关联标识包括第一标识和第二标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第一标识和所述第二标 识, 其中, 所述第一标识表示数据流在所述 PCEF实体上所属的承载, 所述 第二标识表示数据流在所述 PCEF实体上对应的费率组; 所述 PCEF实体还包括:
第一确定模块, 用于确定所述 PCEF实体所承载的数据流的第一标识; 第三接收模块, 用于接收 PCRF实体发送的数据流的计费策略, 所述数 据流的计费策略包括所述 PCEF实体所承载的数据流的第二标识;
所述获取模块具体用于, 获取所述第一确定模块确定的所述 PCEF实体 所承载的数据流的第一标识, 以及根据所述数据流的计费策略获取所述
PCEF实体所承载的数据流的第二标识;
所述发送模块还用于, 向所述 PCRF实体发送所述 PCEF实体所承载的 数据流的第一标识。
44. 根据权利要求 38至 41中任一项所述的 PCEF实体, 其特征在于, 所述 TDF实体所承载的应用的数据流的关联标识包括第三标识,所述 PCEF 实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三标识表 示数据流在所述 PCEF实体上所属的 载以及对应的费率组;
所述 PCEF实体还包括:
第四接收模块, 用于接收 PCRF实体发送的数据流的计费策略, 所述数 据流的计费策略包括所述 PCEF实体所承载的数据流的第三标识;
所述获取模块具体用于, 根据所述数据流的计费策略获取所述 PCEF实 体所承载的数据流的第三标识。
45. 根据权利要求 38至 41中任一项所述的 PCEF实体, 其特征在于, 所述 TDF实体所承载的应用的数据流的关联标识包括第四标识和第五标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第四标识和所述第五标 识, 其中, 所述第四标识表示数据流在所述 PCEF实体上所属的承载以及对 应的费率组, 所述第五标识用于标识应用的数据流;
所述 PCEF实体还包括:
第二确定模块, 用于确定所述 PCEF实体所承载的数据流的第四标识; 第五接收模块, 用于接收所述 TDF实体发送的携带第五标识的数据包; 所述获取模块具体用于, 获取所述第二确定模块确定的所述 PCEF实体 所承载的数据流的第四标识, 以及根据所述 TDF 实体发送的携带第五标识 的数据包, 获取所述 PCEF实体所承载的数据流的第五标识;
所述发送模块还用于, 向所述 TDF 实体发送携带第四标识的数据包, 以便于所述 TDF实体根据所述携带第四标识的数据包获取所述 TDF实体所 承载的应用的数据流的第四标识。
46. 根据权利要求 38至 45中任一项所述的 PCEF实体, 其特征在于, 所述发送模块还用于, 在向计费系统发送第二计费信息之前, 向所述计费系 统发送第二配额申请请求, 所述第二配额申请请求携带所述 PCEF实体所承 载的数据流的关联标识和数据流的费率组, 以使所述计费系统根据所述数据 流的费率组分配第二配额;
所述 PCEF实体还包括:
第六接收模块, 用于接收所述计费系统发送的第二配额。
47. —种计费系统, 其特征在于, 包括:
第一接收模块, 用于接收流检测功能 TDF 实体发送的第一计费信息, 所述第一计费信息携带所述 TDF实体所承载的应用的数据流的关联标识; 第二接收模块, 用于接收策略和计费执行功能实体 PCEF实体发送的第 二计费信息, 所述第二计费信息携带所述 PCEF实体所承载的数据流的关联 标识;
处理模块, 用于根据所述 TDF 实体所承载的应用的数据流的关联标识 和所述 PCEF实体所承载的数据流的关联标识, 关联处理所述第一计费信息 和所述第二计费信息。
48. 根据权利要求 47所述的计费系统, 其特征在于, 所述第一接收模 块具体用于, 接收所述 TDF实体在所述 TDF实体的上报触发条件满足时, 向所述计费系统发送所述第一计费信息;
所述计费系统还包括:
第一发送模块, 用于在所述第二接收模块接收策略和计费执行功能实体 PCEF实体发送的第二计费信息之前,根据所述 TDF实体所承载的应用的数 据流的关联标识向所述 PCEF实体发送指示所述 PCEF实体发送所述第二计 费信息的指示消息;
所述第二接收模块具体用于, 接收所述 PCEF实体响应所述指示消息发 送的所述第二计费信息。
49. 根据权利要求 48所述的计费系统, 其特征在于, 所述指示消息携 带所述 TDF实体所承载的应用的数据流的关联标识;
所述第二接收模块具体用于, 接收所述 PCEF 实体发送的与所述 TDF 实体所承载的应用的数据流的关联标识对应的所述 PCEF实体所承载的数据 流的计费信息。
50. 根据权利要求 47所述的计费系统, 其特征在于, 所述第二接收模 块具体用于,接收所述 PCEF实体在所述 PCEF实体的上报触发条件满足时, 向所述计费系统发送所述第二计费信息;
所述计费系统还包括:
第二发送模块, 用于在所述第一接收模块接收流检测功能 TDF 实体发 送的第一计费信息之前, 根据所述 PCEF实体所承载的数据流的关联标识向 所述 TDF实体发送指示所述 TDF实体发送所述第一计费信息的指示消息; 所述第一接收模块具体用于, 接收所述 TDF 实体响应所述指示消息发 送的所述第一计费信息。
51. 根据权利要求 50所述的计费系统, 其特征在于, 所述指示消息携 带所述 PCEF实体所承载的数据流的关联标识;
所述第一接收模块具体用于, 接收所述 TDF 实体发送的与所述 PCEF 实体所承载的数据流的关联标识对应的所述 TDF 实体所承载的应用的数据 流的计费信息。
52. 根据权利要求 47至 51中任一项所述的计费系统, 其特征在于, 所 述 TDF 实体所承载的应用的数据流的关联标识包括第一标识和第二标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第一标识和所述第二标 识, 其中, 所述第一标识表示数据流在所述 PCEF实体上所属的承载, 所述 第二标识表示数据流在所述 PCEF实体上对应的费率组; 或者,
所述 TDF 实体所承载的应用的数据流的关联标识包括第三标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三 标识表示数据流在所述 PCEF实体上所属的承载以及对应的费率组; 或者, 所述 PCEF实体所承载的应用的数据流的关联标识包括第四标识和第五 标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第四标识和所述 第五标识, 其中, 所述第四标识表示数据流在所述 PCEF实体上所属的承载 以及对应的费率组, 所述第五标识用于标识应用的数据流。
53. 根据权利要求 47至 52中任一项所述的计费系统, 其特征在于, 所 述计费系统还包括:
第三接收模块, 用于在所述第一接收模块接收流检测功能 TDF 实体发 送的第一计费信息之前, 接收所述 TDF 实体发送的第一配额申请请求, 所 述第一配额申请请求携带所述 TDF 实体所承载的应用的数据流的关联标识 和应用的费率组, 以使所述计费系统根据所述应用的费率组分配第一配额; 第三发送模块, 用于向所述 TDF实体发送第一配额;
第四接收模块, 用于在所述第二接收模块接收策略和计费执行功能实体 PCEF实体发送的第二计费信息之前, 接收所述 PCEF实体发送的第二配额 申请请求, 所述第二配额申请请求携带所述 PCEF实体所承载的数据流的关 联标识和数据流的费率组, 以使计费系统可以根据所述数据流的费率组分配 第二配额;
第四发送模块, 用于向所述 PCEF实体发送第二配额。
54. 根据权利要求 47至 53中任一项所述的计费系统, 其特征在于, 所 述处理模块具体用于,确定所述第一计费信息和所述第二计费信息中关联标 识相同的计费信息,对所述关联标识相同的计费信息采取不同的计费策略进 行计费。
55. 一种策略和计费规则功能实体 PCRF实体, 其特征在于, 包括: 确定模块, 用于确定数据流的计费策略, 所述数据流的计费策略包括第 二计费关联信息, 以及, 确定应用的计费策略, 所述应用的计费策略包括第 一计费关联信息;
发送模块, 用于向策略和计费执行功能实体 PCEF实体发送所述数据流 的计费策略, 以便于所述 PCEF实体根据所述数据流的计费策略生成携带所 述 PCEF实体所承载的数据流的关联标识的第二计费信息, 以及, 向流检测 功能 TDF实体发送所述应用的计费策略, 以便于所述 TDF实体根据所述应 用的计费策略生成携带所述 TDF 实体所承载的应用的数据流的关联标识的 第一计费信息;其中,所述 PCEF实体所承载的数据流的关联标识和所述 TDF 实体所承载的应用的数据流的关联标识用于计费系统关联处理所述第一计 费信息和所述第二计费信息。
56. 根据权利要求 55所述的 PCRF实体, 其特征在于, 所述第二计费 关联信息包括所述 PCEF实体所承载的数据流的关联标识, 所述第一计费关 联信息包括所述 TDF实体所承载的应用的数据流的关联标识;
所述 TDF 实体所承载的应用的数据流的关联标识包括第一标识和第二 标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第一标识和所述 第二标识,其中,所述第一标识表示数据流在所述 PCEF实体上所属的承载, 所述第二标识表示数据流在所述 PCEF实体上对应的费率组; 或者, 所述 TDF 实体所承载的应用的数据流的关联标识包括第三标识, 所述 PCEF实体所承载的数据流的关联标识包括所述第三标识, 其中, 所述第三 标识表示数据流在所述 PCEF实体上所属的 载以及对应的费率组。
57. 根据权利要求 55所述的 PCRF实体, 其特征在于, 所述 TDF实体 所承载的应用的数据流的关联标识包括第一标识和第二标识, 所述 PCEF实 体所承载的数据流的关联标识包括所述第一标识和所述第二标识, 其中, 所 述第一标识表示数据流在所述 PCEF实体上所属的承载, 所述第二标识表示 数据流在所述 PCEF实体上对应的费率组;
所述第二计费关联信息包括所述 PCEF 实体所承载的数据流的第二标 识, 所述第一计费关联信息包括所述 TDF 实体所承载的应用的数据流的第 一标识和第二标识;
所述 PCRF实体还包括:
接收模块, 用于在所述发送模块向流检测功能 TDF 实体发送应用的计 费策略之前, 接收所述 PCEF实体发送的所述 PCEF实体所承载的数据流的 第一标识;
所述确定模块具体用于, 根据所述 PCEF实体所承载的数据流的第一标 识确定所述 TDF实体所承载的应用的数据流的第一标识。
58. 根据权利要求 56或 57所述的 PCRF实体, 其特征在于, 所述第一 计费关联信息包括所述 TDF 实体上的所有应用的数据流的关联标识以及所 述 TDF实体上的所有应用的数据流的关联标识对应的流模板。
59. 一种系统, 其特征在于, 包括根据权利要求 30至 37中任一项所述 的 TDF实体,根据权利要求 38至 46中任一项所述的 PCEF实体,根据权利 要求 47至 54中任一项所述的计费系统, 以及根据权利要求 55至 58中任一 项所述的 PCRF实体。
PCT/CN2013/070492 2013-01-15 2013-01-15 计费的方法及设备 Ceased WO2014110719A1 (zh)

Priority Applications (10)

Application Number Priority Date Filing Date Title
EP17182923.7A EP3328113B1 (en) 2013-01-15 2013-01-15 Charging method and device
CN201380000184.5A CN104221418B (zh) 2013-01-15 2013-01-15 计费的方法及设备
AU2013374126A AU2013374126B2 (en) 2013-01-15 2013-01-15 Charging method and device
ES13871961.2T ES2647476T3 (es) 2013-01-15 2013-01-15 Procedimiento y dispositivo de tarificación
PCT/CN2013/070492 WO2014110719A1 (zh) 2013-01-15 2013-01-15 计费的方法及设备
JP2015551953A JP6201270B2 (ja) 2013-01-15 2013-01-15 課金方法および装置
KR1020157021576A KR101806300B1 (ko) 2013-01-15 2013-01-15 과금 방법 및 장치
EP13871961.2A EP2947906B1 (en) 2013-01-15 2013-01-15 Charging method and device
US14/799,751 US9538017B2 (en) 2013-01-15 2015-07-15 Charging method and device
US15/395,151 US9769326B2 (en) 2013-01-15 2016-12-30 Charging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/070492 WO2014110719A1 (zh) 2013-01-15 2013-01-15 计费的方法及设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/799,751 Continuation US9538017B2 (en) 2013-01-15 2015-07-15 Charging method and device

Publications (1)

Publication Number Publication Date
WO2014110719A1 true WO2014110719A1 (zh) 2014-07-24

Family

ID=51208923

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/070492 Ceased WO2014110719A1 (zh) 2013-01-15 2013-01-15 计费的方法及设备

Country Status (8)

Country Link
US (2) US9538017B2 (zh)
EP (2) EP3328113B1 (zh)
JP (1) JP6201270B2 (zh)
KR (1) KR101806300B1 (zh)
CN (1) CN104221418B (zh)
AU (1) AU2013374126B2 (zh)
ES (1) ES2647476T3 (zh)
WO (1) WO2014110719A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016078090A1 (zh) * 2014-11-21 2016-05-26 华为技术有限公司 计费控制装置、方法及系统
CN107819590A (zh) * 2016-09-14 2018-03-20 华为技术有限公司 一种计费的方法、装置和系统
CN108243013A (zh) * 2016-12-26 2018-07-03 中国移动通信有限公司研究院 一种流量计费的方法及装置
EP3358865A4 (en) * 2015-11-20 2018-11-14 Huawei Technologies Co., Ltd. Charging method, control plane network element, forwarding plane network element and charging system

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349298B (zh) 2013-08-09 2019-07-02 中兴通讯股份有限公司 一种网络计费方法、控制器、数据中心及系统
WO2017016586A1 (en) * 2015-07-27 2017-02-02 Telefonaktiebolaget Lm Ericsson (Publ) Apparatuses and methods for alternative sponsored data services
US10349329B2 (en) * 2015-07-28 2019-07-09 Qualcomm Incorporated Mechanisms for differentiated treatment of offloaded traffic
WO2017166194A1 (zh) * 2016-03-31 2017-10-05 华为技术有限公司 一种事件上报的方法及装置
CN106452804B (zh) * 2016-11-15 2019-04-30 中国联合网络通信集团有限公司 一种业务开通的方法及装置
CN113037513B (zh) 2017-01-05 2022-05-13 华为技术有限公司 计费管理方法、用户面功能实体以及控制面功能实体
CN110519069B (zh) 2017-08-03 2020-07-14 华为技术有限公司 一种计费方法及设备
CN111277720B (zh) 2017-11-16 2023-08-04 华为技术有限公司 一种计费方法、装置及系统
EP3963827B1 (en) * 2019-05-03 2023-11-15 Microsoft Technology Licensing, LLC Systems and methods for distributed charging in digital telecommunications networks
US11336471B2 (en) * 2019-12-20 2022-05-17 Cisco Technology, Inc. Achieving seamless service during unreachability of charging function entity
CN113873454B (zh) * 2020-06-30 2023-06-20 华为技术有限公司 一种通信方法及装置
CN112188009B (zh) * 2020-09-30 2021-08-17 国网河北省电力有限公司信息通信分公司 一种一号通业务执行方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102131172A (zh) * 2010-01-18 2011-07-20 中兴通讯股份有限公司 业务处理方法及系统
WO2011147466A1 (en) * 2010-05-28 2011-12-01 Telefonaktiebolaget Lm Ericsson (Publ) Efficient data delivery method and apparatus
WO2012077073A1 (en) * 2010-12-09 2012-06-14 Allot Communications Ltd. Device, system and method of traffic detection
CN102625272A (zh) * 2011-01-31 2012-08-01 中兴通讯股份有限公司 一种支持流检测功能的用量监控方法及系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1315352B1 (en) * 2001-11-21 2005-11-02 Alcatel Method for flexibly charging of IP multimedia communication sessions, telecommunication system and network elements for applying such a method
CN101960778A (zh) 2008-02-26 2011-01-26 朗讯科技公司 在ims网络中对补充业务的在线计费
US8116728B2 (en) * 2008-04-22 2012-02-14 Alcatel Lucent Charging in LTE/EPC communication networks
KR20120123179A (ko) 2009-04-10 2012-11-08 알까뗄 루슨트 네트워크 도메인들에 걸친 과금 기록들의 분배적 상관
US8706080B2 (en) * 2009-10-02 2014-04-22 Telefonaktiebolaget L M Ericsson (Publ) Charging correlation for dedicated bearers
CN102137367B (zh) * 2010-01-26 2016-03-30 中兴通讯股份有限公司 增强的策略和计费控制的方法及系统、pcc系统
CN103220651A (zh) * 2012-01-21 2013-07-24 阿尔卡特朗讯 一种对应用层数据进行计费控制的方法与设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102131172A (zh) * 2010-01-18 2011-07-20 中兴通讯股份有限公司 业务处理方法及系统
WO2011147466A1 (en) * 2010-05-28 2011-12-01 Telefonaktiebolaget Lm Ericsson (Publ) Efficient data delivery method and apparatus
WO2012077073A1 (en) * 2010-12-09 2012-06-14 Allot Communications Ltd. Device, system and method of traffic detection
CN102625272A (zh) * 2011-01-31 2012-08-01 中兴通讯股份有限公司 一种支持流检测功能的用量监控方法及系统

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105814930A (zh) * 2014-11-21 2016-07-27 华为技术有限公司 计费控制装置、方法及系统
EP3214862A4 (en) * 2014-11-21 2017-11-29 Huawei Technologies Co. Ltd. Charging control device, method and system
JP2018504003A (ja) * 2014-11-21 2018-02-08 華為技術有限公司Huawei Technologies Co.,Ltd. 課金制御装置、方法、およびシステム
WO2016078090A1 (zh) * 2014-11-21 2016-05-26 华为技术有限公司 计费控制装置、方法及系统
US10666812B2 (en) 2014-11-21 2020-05-26 Huawei Technologies Co., Ltd. Charging control apparatus, method, and system
RU2669522C1 (ru) * 2014-11-21 2018-10-11 Хуавэй Текнолоджиз Ко., Лтд. Устройство, способ и система управления начислением платы
AU2014411891B2 (en) * 2014-11-21 2018-12-06 Huawei Technologies Co., Ltd. Charging control apparatus, method, and system
KR101933594B1 (ko) * 2014-11-21 2018-12-28 후아웨이 테크놀러지 컴퍼니 리미티드 과금 제어 장치, 방법 및 시스템
CN105814930B (zh) * 2014-11-21 2019-05-28 华为技术有限公司 计费控制装置、方法及系统
US10499213B2 (en) 2015-11-20 2019-12-03 Huawei Technologies Co., Ltd. Charging method, control plane network element, forwarding plane network element, and charging system
EP3358865A4 (en) * 2015-11-20 2018-11-14 Huawei Technologies Co., Ltd. Charging method, control plane network element, forwarding plane network element and charging system
CN107819590A (zh) * 2016-09-14 2018-03-20 华为技术有限公司 一种计费的方法、装置和系统
US10609225B2 (en) * 2016-09-14 2020-03-31 Huawei Technologies Co., Ltd. Charging method, apparatus, and system
US11032433B2 (en) 2016-09-14 2021-06-08 Huawei Technologies Co., Ltd. Charging method, apparatus, and system
CN107819590B (zh) * 2016-09-14 2021-08-13 华为技术有限公司 一种计费的方法、装置和系统
CN108243013A (zh) * 2016-12-26 2018-07-03 中国移动通信有限公司研究院 一种流量计费的方法及装置

Also Published As

Publication number Publication date
EP3328113A1 (en) 2018-05-30
EP3328113B1 (en) 2020-05-27
JP2016504879A (ja) 2016-02-12
US20170111518A1 (en) 2017-04-20
CN104221418B (zh) 2018-07-31
US9538017B2 (en) 2017-01-03
AU2013374126A1 (en) 2015-08-06
KR101806300B1 (ko) 2017-12-07
JP6201270B2 (ja) 2017-09-27
KR20150105442A (ko) 2015-09-16
EP2947906B1 (en) 2017-09-20
US9769326B2 (en) 2017-09-19
EP2947906A4 (en) 2015-12-23
US20150319315A1 (en) 2015-11-05
ES2647476T3 (es) 2017-12-21
EP2947906A1 (en) 2015-11-25
CN104221418A (zh) 2014-12-17
AU2013374126B2 (en) 2015-12-03

Similar Documents

Publication Publication Date Title
WO2014110719A1 (zh) 计费的方法及设备
CN106550162B (zh) 计费控制的方法及计费触发装置、在线计费系统
CN110572270B (zh) 一种计费的方法、装置和系统
CN110971419B (zh) 一种计费会话管理方法、装置
CN104255000B (zh) 一种进行应用计费的方法、计费设备和系统
WO2016107280A1 (zh) 数据业务的计费方法、系统和相关设备
WO2011157137A2 (zh) 策略控制方法、装置以及通信系统
CN103856926A (zh) 一种计费方法以及策略执行、策略和计费控制功能设备
CN108353257B (zh) 一种计费方法、控制面网元、转发面网元和计费系统
WO2014110966A1 (zh) 一种业务数据的处理方法、装置和系统
CN107396333A (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: 13871961

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2015551953

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2013871961

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013871961

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2013374126

Country of ref document: AU

Date of ref document: 20130115

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20157021576

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: IDP00201504997

Country of ref document: ID