WO2016201999A1 - Third-party application charging method and apparatus, and application function device - Google Patents

Third-party application charging method and apparatus, and application function device Download PDF

Info

Publication number
WO2016201999A1
WO2016201999A1 PCT/CN2016/073922 CN2016073922W WO2016201999A1 WO 2016201999 A1 WO2016201999 A1 WO 2016201999A1 CN 2016073922 W CN2016073922 W CN 2016073922W WO 2016201999 A1 WO2016201999 A1 WO 2016201999A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
party application
operator
user identifier
subscription
Prior art date
Application number
PCT/CN2016/073922
Other languages
French (fr)
Chinese (zh)
Inventor
吴锦花
王刚
刘小华
郑兴明
金海�
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016201999A1 publication Critical patent/WO2016201999A1/en

Links

Images

Classifications

    • 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 a policy and a charging control technology in a wireless communication system, and in particular, to a charging method, a device, and an application function device of a third-party application.
  • EPS evolved Evolved Universal Terrestrial Radio Access Network
  • MME Mobility Management Entity
  • S-GW Serving Gateway
  • P-GW or PDN GW Packet Data Network Gateway
  • HSS Home Subscriber Server
  • the 3GPP AAA Authentication, Authorization and Accounting server, the Policy and Charging Rules Function (PCRF) and other supporting nodes. among them,
  • the HSS is a permanent storage location for user subscription data, and is located in the home network to which the user subscribes.
  • the MME is the location where the subscriber subscription data is stored in the current network, and is responsible for terminal-to-network non-access stratum signaling management, terminal security verification function, terminal mobility management, user idle mode tracking and paging management functions, and Bearer management.
  • the S-GW is a gateway of the core network to the wireless system, and is responsible for the user plane bearer of the terminal to the core network, the data buffer in the terminal idle mode, the function of initiating a service request by the network side, the lawful interception and the packet data routing and forwarding function;
  • the gateway is responsible for counting the situation in which the user terminal uses the wireless network, and generates a CDR that the terminal uses the wireless network to transmit to the charging gateway.
  • the P-GW is a gateway of the evolved system and the external packet data network of the system. It is connected to the Internet and the packet data network, and is responsible for the Internet Protocol (IP) address allocation, charging function, packet filtering of the terminal. , policy control and other functions.
  • IP Internet Protocol
  • the PDN is the carrier's IP service network, which provides IP services to users through the carrier's core network.
  • PCC Policy and Charging Control
  • PCRF Policy and Charging Rule function entity
  • PCEF Policy and Charging Enforcement Function
  • BBERF Bearer Binding and Event Report Function
  • AF Application Function
  • SPR Subscribescription Profile Repository
  • the corresponding PDN network can be found through an Access Point Name (APN).
  • a connection from a UE to a PDN network is usually referred to as an IP-Connected Access Network (IP-CAN) session.
  • IP-CAN IP-Connected Access Network
  • the PCC is applicable to all 3GPP IP-CANs.
  • the architecture is shown in Figure 1.
  • the PCRF is responsible for the formulation of the policy and accounting rules.
  • the PCC policy and accounting rules are sent to the PCEF through the Gx interface.
  • the PCEF installs and executes the PCC. Policy, and report related events, and exchange billing information with the billing system.
  • the PCRF sends the QoS (Quality of Service) rules to the BBERF through the Gxx interface.
  • the BBERF does not exchange accounting information with the accounting system. It is only responsible for reporting bearer bindings and related events.
  • the AF provides the service information to the PCRF through the Rx interface, and the SPR stores the service information subscribed by the user.
  • the PCRF can query the SPR for the service information subscribed by the user through the Sp interface.
  • the PCEF sends the online charging information to the online charging system (OSC, Online Charging System) through the Gy interface, and is responsible for online charging statistics.
  • the offline charging information is sent to the offline charging system (OFCS, Offline Charging System) through the Gz interface. .
  • the PCRF can dynamically send a PCC policy to the PCEF, and the policy information includes QoS and charging information.
  • the PCRF formulates a PCC policy based on the service-related information provided by the AF, the bearer-related information reported by the PCEF, and the service information subscribed by the user in the SPR.
  • the AF which is used to provide access points for business applications.
  • the network resources used by these business applications require dynamic policy control.
  • the AF transmits the related service information to the Policy Control and Charging Rules Function (PCRF). If the service information is consistent with the policy of the PCRF, the PCRF accepts the negotiation; otherwise, the PCRF rejects the negotiation and gives the business parameters acceptable to the PCRF upon feedback. The AF can then return these parameters to the user equipment (UE, User Equipment).
  • the interface between the AF and the PCRF is an Rx interface.
  • the PCRF is the core of the PCC and is responsible for policy decision making and billing rules.
  • the PCRF provides network control rules based on service data flows, including detection of traffic data flows, Gating Control, Quality of Service (QoS) control, and traffic flow based charging rules.
  • the PCRF sends its policy and charging rules to the Policy and Control Enforcement Function (PCEF).
  • PCEF Policy and Control Enforcement Function
  • the basis for the PCRF to formulate the policy and the charging rule includes: the service-related information obtained from the AF, and the user policy charging control related to the policy control and charging obtained from the SPR (Subscription Profile Repository). Information, and information about the bearer-related network obtained from the PCEF through the Gx interface.
  • the PCEF is usually located in the gateway (GW, Gate-Way), and executes the policy and charging rules formulated by the PCRF on the bearer plane.
  • the PCEF detects the service data flow according to the service data flow filter in the rule sent by the PCRF, and then performs the policy and charging rule defined by the PCRF for the service data flow; when the bearer is established, the PCEF performs the rule according to the PCRF.
  • the resource allocation is performed according to the information provided by the AF.
  • the PCEF triggers the reporting of the event occurring on the bearer network according to the event subscribed by the PCRF.
  • the PCEF performs the corresponding service data flow charging operation.
  • Billing can be either online charging or offline charging.
  • the PCEF needs to perform credit management together with the Online Charging System (OCS); when offline charging, the relevant billing information is exchanged between the PCEF and the Offline Charging System (OFCS).
  • OCS Online Charging System
  • OFCS Offline Charging System
  • the interface between the PCEF and the PCRF is a Gx interface
  • the interface between the PCEF and the OCS is a Gy interface
  • the interface between the PCEF and the OFCS is a Gz interface.
  • the PCEF can also be enhanced with a Traffic Detection Function (TDF).
  • TDF Traffic Detection Function
  • the PCEF can perform application detection and perform policy enforcement (such as gating, redirection, and bandwidth limitation) according to the local configuration or the PCC rules that are sent by the PCRF and include Application Detection and Control (ADC).
  • ADC Application Detection and Control
  • the PCEF is generally located on the gateway of the network, such as the Packet Data Network Gateway (PDN-GW) of the EPS, the GPRS Gateway Support Node (GGSN) in the General Packet Radio Service (GPRS), and the Internet of the Internet (I).
  • PDN-GW Packet Data Network Gateway
  • GGSN GPRS Gateway Support Node
  • I Internet of the Internet
  • PGW Packet Data Gateway
  • WLAN Interworking WLAN
  • the TDF can also be deployed independently.
  • the TDF and the PCRF are connected to the Sd interface.
  • the TDF can perform application detection and policy execution according to the application detection control rules delivered by the pre-configuration or PCRF.
  • the PCRF provides application detection control rules or activates TDF pre-configuration rules for the TDF, and the policy control execution operations of the independent TDF functions include gating, redirection, and bandwidth limitation.
  • the TDF reports the related events and information of the detected service/flow to the PCRF (for example, reports the start and end of the detected service/flow to the PCRF), and sends a description of the service data flow to the PCRF, and transmits the flow detection from the PCRF. Signaling for service detection and policy rules.
  • the Bearer Binding and Event Reporting Function is usually located in the Access Network Gateway.
  • the BBERF is usually located in the Access Network Gateway.
  • PMIPv6 Proxy Mobile Internet Protocol version 6
  • the BBERF exists in the S-GW.
  • the BBERF also exists in the trusted non-3GPP access gateway.
  • the User Contracted Database stores user policy charging control subscription information related to policy control and charging.
  • the interface between SPR and PCRF is the Sp interface.
  • OCS and PCEF jointly complete the control and management of user credit under online charging mode.
  • the OFCS and the PCEF jointly perform the charging operation in the offline charging mode.
  • IP-CAN IP Connectivity Access Network
  • PDN Packet Data Network
  • the network provides a default subscription resource according to the corresponding authorized QoS.
  • the AF IP Multimedia Subsystem
  • the PCRF initiates an IP-CAN session modification procedure to provide resource authorization for the service.
  • a third-party application provider and the PCRF deploy a network element for performing application access control on the third-party application (the non-roaming PCC architecture introduced after the AAC is shown in Figure 2).
  • the Rx interface between the access control network element and the third party may communicate using, for example, a SOAP or restful protocol, and the Rx interface between the PCRFs may employ a communication based on the Diameter or xml protocol.
  • Application access control network element (application access Control, AAC) has a protocol converter (PC) function, which enables protocol conversion between a third-party data application provider and PCRF, and completes the transmission of application provider information, service information, QoS requirements, and billing information.
  • PC protocol converter
  • the prior art can only solve the policy and charging control performed by the carrier network according to the operator's subscription user identifier after the subscription of the third-party application is accessed.
  • the operator network needs to support multiple charging methods, including the tariff settlement method for the operator to represent the third party charging.
  • the user only needs to process and sign the operator's tariff bill.
  • the user's third-party service fee is included in the operator's bill, and no additional third party payment is required.
  • the operator's billing system charges users, it simply performs credit authorization according to the user's operator logo, as well as billing usage and tariff statistics and execution, and cannot provide separate subscriptions for third-party applications. A detailed list of usage and tariffs for third-party applications for settlement and reconciliation by both parties.
  • the operator can perform the usage and tariff settlement according to the contracted user identifier of the third-party application and the third party, thereby ensuring the concealment and security of the user identity of the operator's own contracted user.
  • the current technology cannot perform the usage statistics and accounting execution based on the third-party subscription user ID, and cannot meet the above charging requirements for the third-party application to shield the operator's subscription user identifier.
  • the invention provides a charging method, a device and an application function device for a third-party application, which solves the problem that the usage statistics and charging execution according to the third-party subscription user identifier cannot be performed in the prior art.
  • a charging method for a third-party application including:
  • the operator charging control system receives the user third party application session request message initiated by the application function device, where the session request message includes the third party application subscription user identifier of the user;
  • the operator charging control system performs charging management on the third-party application of the user according to the session request message.
  • the receiving, by the carrier charging control system, the application function device to initiate a third-party application session request message includes: the application access control function device in the operator charging control system receives the A third-party application session request message initiated by the application device.
  • the method before the operator charging control system performs charging management on the third-party application of the user according to the session request message, the method further includes: the operator charging control system The operator's subscriber subscription identifier and the third-party application subscription subscriber identity are associated;
  • the operator charging control system performs charging management on the third-party application of the user according to the associated operator subscription user identifier and the third-party application subscription user identifier and the session request message.
  • the operator charging control system associates the operator subscription user identifier of the user with the third-party application subscription user identifier, including:
  • the application access control function device After receiving the session request message, the application access control function device obtains the operator subscription user identifier of the corresponding user by using the third-party application subscription user identifier, and obtains the obtained operator subscription user identifier and the The third-party application subscribes to the user identity binding to establish an association;
  • the application access control function device sends the session request message to a policy and charging rule decision function device in the operator charging control system; the policy And the charging rule decision function device obtains the operator subscription user identifier of the corresponding user by using the subscription user identifier of the third-party application, and binds the obtained operator subscription user identifier to the third-party application subscription user identifier, and establishes Association.
  • the method further includes:
  • the application access control function device sends a session establishment request message to the policy and charging rule decision function device, where the session establishment request message includes the associated operator subscription user identifier and the third party application subscription user.
  • the policy and charging rule decision function device performs charging management on the third-party application of the user according to the session establishment request message.
  • the operator charging control system performs charging on the third-party application of the user according to the associated carrier subscription user identifier and the third-party application subscription user identifier and the session request message.
  • Management includes:
  • the policy and charging rule decision function device in the operator charging control system formulates a charging rule according to the associated carrier subscription user identifier and the third party application subscription user identifier and the session request message, and the charging is performed.
  • the rules are sent to the policy and charging execution function device in the operator charging control system;
  • the policy and the charging execution function device perform the charging rule, and feed back the charging information to the charging subsystem in the operator charging control system, where the charging information carries the associated operator subscription user identifier and Third party application subscription user ID.
  • the method before the policy and charging rule decision function device formulates the charging rule, the method further includes:
  • the policy and charging rule decision function device initiates a charging session request message to the charging subsystem in the operator charging control system, where the charging session request message carries the associated carrier subscription user identifier and a third party. Apply the contracted user ID;
  • the policy and charging rule decision function device receives a session response message that is sent by the charging subsystem according to the charging session request message, where the session response message carries service and charging related information.
  • a charging method for a third-party application including:
  • the application function device receives a third-party application service request sent by the user;
  • the application function device initiates a session request message of the user's third-party application to the operator's charging control system according to the third-party application service request, where the session request message includes the third-party application subscription user identifier of the user.
  • a charging apparatus for a third party application including:
  • a message receiving module configured to receive, by the operator's charging control system, a third-party application session request message initiated by the application function device, where the session request message includes a third-party application subscription user identifier of the user;
  • the billing management module is configured to perform billing management on the third-party application of the user according to the session request message.
  • the message receiving module is configured to receive, by the application access control function device in the operator charging control system, a user third party application session request message initiated by the application function device.
  • the method further includes an association establishing module, where the operator charging control system associates the operator subscription user identifier of the user with a third-party application subscription user identifier;
  • the management module is configured to perform charging management on the third-party application of the user according to the associated carrier-signed user identifier, the third-party application subscription user identifier, and the session request message.
  • the association establishing module includes: an information acquisition submodule, where the information acquisition submodule is used by the application access control function device after receiving the session request message
  • the third-party application subscription user identifier acquires the operator subscription user identifier of the corresponding user
  • the association establishment sub-module is used by the application access control function device to obtain the operator subscription user identifier and the third-party application subscription user identifier. Bind, establish association;
  • the association establishing module includes: an information sending submodule, configured to send, by the application access control function device, the session request message to the operator charging control system after receiving the session request message The policy and charging rule decision function device; the information obtaining submodule, wherein the policy and charging rule decision function device obtains the operator subscription user identifier of the corresponding user by using the subscription user identifier of the third party application; And establishing a sub-module, where the policy and charging rule decision function device binds the obtained operator subscription user identifier to the third-party application subscription user identifier to establish an association.
  • an application function device including:
  • a communication module configured to receive a third-party application service request sent by the user
  • the processing module is configured to initiate a session request message of the user's third-party application to the operator's charging control system according to the third-party application service request, where the session request message includes the third-party application subscription user identifier of the user.
  • a non-transitory computer readable storage medium having stored therein instructions that, when executed by a processor of an operator's billing control system, cause the operator to calculate
  • the fee control system implements a charging method for a third party application, and the method includes the following steps:
  • the operator charging control system receives a user third party application session request message initiated by the application function device, where the session request message includes a third party application subscription user identifier of the user;
  • the operator charging control system performs charging management on the third-party application of the user according to the session request message.
  • a non-transitory computer readable storage medium having stored therein instructions that, when executed by a processor of an application function device, cause the application function device to implement a A charging method for a third-party application, the method comprising the following steps:
  • the application function device receives a third-party application service request sent by a user
  • the application function device initiates a user to the operator charging control system according to the third-party application service request.
  • a session request message of the three-party application where the session request message includes a third-party application subscription user identifier of the user.
  • the charging method, the device, and the application function device of the third-party application provided by the present invention carry the user's number in the session request message of the third-party application initiated by the user to the operator's charging control system.
  • the third party applies the subscription user identifier, and the operator charging control system performs charging management on the third party application of the user according to the session request message.
  • the operator billing control system can perform billing execution and third party tariff settlement according to the third party application subscription user identifier, thereby realizing the separate usage and tariff details of the third party application for the contracted user for the third party application. For settlement and reconciliation by both parties.
  • FIG. 1 is a schematic diagram of a PCC non-roaming architecture
  • FIG. 2 is a schematic diagram of a PCC non-roaming architecture in which an AAC function is deployed;
  • FIG. 3 is a schematic flowchart 1 of a charging method of a third-party application according to Embodiment 1 of the present invention.
  • FIG. 4 is a second schematic flowchart of a charging method for a third-party application according to Embodiment 1 of the present invention.
  • FIG. 5 is a flowchart of an embodiment of a third-party data application provider's subscription user accessing an operator network to implement an online charging function through a Gy interface according to the first embodiment of the present invention
  • FIG. 6 is a flowchart of an embodiment of a third-party data application provider's subscription user accessing an operator network to implement an offline charging function through a Gz interface according to Embodiment 1 of the present invention
  • FIG. 7 is a flowchart of a method for implementing an online charging function by using a Sy interface by a subscriber of a third-party data application provider according to the first embodiment of the present invention
  • FIG. 8 is a schematic flowchart of a charging method of a third-party application according to Embodiment 2 of the present invention.
  • FIG. 9 is a schematic structural diagram of a charging apparatus of a third-party application according to Embodiment 3 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the charging method of the third-party application provided in this embodiment includes:
  • the operator charging control system receives a third-party application session request message initiated by the application function device, where the session request message includes a third-party application subscription user identifier of the user.
  • S302 The operator charging control system performs charging management on the third-party application of the user according to the session request message.
  • the third-party application includes: a non-operator application such as WeChat, QQ, Taobao, etc.; the third-party application subscription user identifier may be saved in the form of a mapping list; the third-party application subscription user identifier includes: Service information such as user ID, UE IP, and service data flow description of the third-party application; if necessary, if the third party
  • the subscribed users of the application have different user levels. Different user levels have differentiated QoS and charging subscriptions, and the session request message also carries the user level information, as well as QoS and charging information.
  • the billing management system of the operator performs charging management on the third-party application of the user, including charging and real-time monitoring the third-party application; and the operator charging control system includes two charging methods: online Billing method or offline billing method.
  • the operator charging control system receives the user third party application session request message initiated by the application function device, where the application access control function device in the operator charging control system receives the first initiated by the application function device.
  • the third party applies the session request message; in this embodiment, the communication protocol between the application function device and the application access control function device is not limited; for example, the SOAP or restful protocol may be included.
  • the carrier network where the application access control function device is located is not limited to the home network or the visited network of the UE, and may be a third-party carrier network other than the two.
  • the third-party application subscription user identifier is carried in the session request message, so that the operator charging control system performs charging for the corresponding third-party application when performing charging, and obtains the bill of the third-party application. Convenient user and third party reconciliation settlement operations.
  • the embodiment further provides a charging method for another third-party application, as shown in FIG. 4, including:
  • the operator charging control system receives a user third-party application session request message initiated by the application function device, where the session request message includes a third-party application subscription user identifier of the user;
  • the operator charging control system associates the operator subscription user identifier of the user with the third-party application subscription user identifier.
  • the operator charging control system performs charging management on the third-party application of the user according to the associated operator subscription user identifier and the third-party application subscription user identifier and the session request message.
  • the third-party application subscription user identifier is associated with the operator user identifier of the corresponding user, so that the operator charging control system calculates the corresponding third-party application and the corresponding list of the operator user when performing charging.
  • the fee, the bill of the third-party application and the corresponding operator user, further optimizes the reconciliation settlement of the user and the third party.
  • the operator charging control system associates the operator subscription user identifier of the user with the third-party application subscription user identifier, and the application access control function device uses the conference after receiving the session request message.
  • the third-party application subscription user identifier is used to obtain the operator subscription user identifier of the corresponding user, and the obtained operator subscription user identifier is bound to the third-party application subscription user identifier to establish an association; specifically: the application access control device is configured according to The third-party application subscription user identifier determines whether there is an operator subscription information corresponding to the user, and if not, sends a subscription information request to the SPR, and carries the third-party application subscription user identifier and the PDN identifier in the subscription information request; the SPR stores the reception After the third-party application has a valid subscription user identifier and a list of the user's PDN identifier, the identifier of the user is associated with the other identifier of the same user, for example, by the third-party application subscription user identifier (
  • Corresponding user's operator subscription user ID (eg IMSI or MSISDN), and the associated operator subscription user identifier is fed back to the application access control device; the application access control device locally stores the returned user identifier list (mapping), and performs third-party subscription user identification and operation according to the returned information.
  • the method further includes: the application access control function device to the policy and charging rule decision function device Sending a session establishment request message, where the session establishment request message includes the associated operator subscription user identifier and the third party application subscription user identifier; and the policy and charging rule decision function device according to the session establishment request message Performing billing management on the third-party application of the user;
  • the application access control function device sends the session request message to the policy and charging rule decision function device in the operator charging control system.
  • the policy and charging rule decision function device obtains the operator subscription user identifier of the corresponding user by using the subscription user identifier of the third party application, and obtains the obtained operator subscription user identifier and the third party application subscription user identifier. Bind to establish an association.
  • the policy and charging rule decision function device does not have the operator subscription information of the corresponding user, the device needs to obtain the operator subscription user identifier of the corresponding user in the same manner, and then performs the first according to the returned information.
  • the operator charging control system performs charging management on the third-party application of the user according to the associated carrier-signed user identifier and the third-party application subscription user identifier and the session request message, including: the operator
  • the policy and charging rule decision function device in the fee control system formulates a charging rule according to the associated carrier subscription user identifier and the third party application subscription user identifier and the session request message, and sends the charging rule to the operator.
  • a policy and charging execution function device in the charging control system the policy and charging execution function device executes the charging rule, and feeds back charging information to a charging subsystem in the operator charging control system,
  • the charging information carries the associated carrier subscription user identifier and the third-party application subscription user identifier.
  • the policy and charging execution function device executes the charging rule, and initiates a credit limit request to the online charging subsystem in the operator charging control system, where the credit is The quota request carries the associated carrier subscription user identifier and the third party application subscription user identifier; the online charging subsystem provides credit authorization information to the policy and charging execution device according to the credit quota request and the subscription user identifier;
  • the policy and charging execution function device executes the charging rule, and directly sends an offline charging report to the offline charging subsystem, where the associated charging carrier is carried in the offline charging report.
  • the subscription user ID and the third-party application subscription user ID is accessed from the offline charging subsystem.
  • the policy and charging rule decision function device before the policy and charging rule decision function device formulates the charging rule, the policy and charging rule decision function device initiates a metering to the charging subsystem in the operator charging control system. a fee session request message, where the charging session request message carries an associated carrier subscription user identifier and a third party application subscription user identifier; the policy and charging rule decision function device receives the charging subsystem according to the A session response message fed back by the charging session request message, where the session response message carries service and charging related information.
  • This embodiment is generally implemented in online charging.
  • FIG. 5 is a flowchart of an embodiment of the online charging function implemented by the subscriber of the third-party data application provider of the third-party data application provider through the Gy interface, as shown in FIG.
  • the three-party AF application function device
  • AAC Application Access Control Function Device
  • AAC or PCRF decision function device of the policy and charging rule
  • the message sent by the AAC to the PCRF carries the third-party application subscription user identifier, and the PCRF policy decision delivery rule is used to install and execute the PCEF (policy and charging execution function device), and the message carries the third-party application subscription user identifier.
  • the rule charging method is online charging, and the PCEF sends a credit control request message to the OCS (Online Charging Subsystem) to request a credit authorization, where the message carries the operator's subscription user identifier and the user's third party subscription user identifier, and the OCS saves The user identifier signed by the user at the third party performs credit control for the user service according to the received credit control request message. Specifically, the following steps are included:
  • the gateway where the PCEF is located receives the IP-CAN session establishment request message, where the IP-CAN session establishment request message carries the user identifier and the PDN requested to be accessed.
  • the PCEF sends an IP-CAN session establishment indication message to the PCRF, where the IP-CAN session establishment indication message carries a user identifier, a PDN identifier, and an IP address allocated for the UE.
  • the PCRF sends a subscription document request to the SPR after determining that the operator has not signed the operator subscription information, and carries the user identifier and the PDN identifier in the subscription document request.
  • S504 The SPR returns corresponding user subscription information according to the user identifier and the PDN identifier (returned by the subscription document response);
  • the PCRF makes a policy decision according to the returned user subscription information, the network policy, and the access information of the UE. Among them, may include the formulation of PCC rules;
  • the PCRF sends an IP-CAN session establishment confirmation message to the PCEF, where the IP-CAN session establishment confirmation message carries the PCC rule.
  • the PCEF installation policy, the gateway where the PCEF is located returns an IP-CAN session establishment response to the UE, where the IP-CAN session establishment response carries an IP address;
  • the PCEF sends a CCR (Credit Control Request) message to the OCS, activates the online charging session, provides corresponding input information to the OCS for decision, and the PCEF carries the charging policy or the charging policy. And the service ID to the OCS to request credit information;
  • CCR Clear Control Request
  • the OCS determines whether to provide credit authorization information to the PCEF according to the request message and the subscription information, and returns the information to the PCEF in a CCA (Credit Control Answer) message;
  • the UE connects to the AF of the third-party data application provider and requests a service, and the AF sends an AF session request to the AAC, and triggers establishing an AF session with the PCRF.
  • the request message carries the service information such as the user ID, the UE IP, and the service data flow description of the third-party application subscription;
  • the request message will also carry the user level information, as well as QoS and charging information; here the agreement between AF and AAC is not limited, including SOAP or restful protocol.
  • the carrier network where the AAC is located is not limited to the home network of the UE or the visited network, and may be the third of the two. Party operator network.
  • the AAC After determining, according to the user identifier, the AAC does not have the operator subscription information of the user, and sends a subscription information request to the SPR, and carries the third-party application subscription user identifier (such as an application identifier) and the PDN identifier in the subscription information request.
  • the third-party application subscription user identifier such as an application identifier
  • the SPR returns information such as the corresponding operator subscription user identifier according to the third-party application subscription user identifier and the PDN identifier (returned by the subscription information response).
  • the SPR stores a list of valid subscription user identifiers provided by the third-party application, and a user's carrier subscription identifier.
  • the other identifier of the same user may be identified by one of the identifiers, for example, by the subscriber identifier of the third party application (for example, the user ID of the application layer), and the operator's subscription identifier (for example, IMSI or MSISDN) is obtained.
  • the AAC sends an AF session establishment request to the (H) PCRF, where the message carries the operator subscription user identifier and the third-party application subscription user identifier, and the corresponding content carried in step S510; optionally, if S511 is performed, the AAC local Storing the returned user identification list (mapping), performing binding of the third party subscription user identifier and the operator subscription identifier according to the returned information, and associating the third party subscription user identifier to the operator subscription user identifier;
  • the (H) PCRF needs to perform identity binding, and execute the third-party application subscription user identifier and the operator subscription user according to the locally stored user identification list (map) obtained (stored and stored from the SPR). The binding of the identifier, associated with the third-party application subscription user identifier to the operator subscription user identifier.
  • the PCRF performs policy decision based on the AF session information such as service information, service provider information, and charging information provided by the AAC, the subscription information provided by the SPR, and the IP-CAN session information provided by the PCEF, and determines whether to authorize the service. QoS and generation of PCC rules, generating corresponding rules and corresponding subscription events. If the AF usage threshold is provided or the usage monitoring of the service is signed, the PCEF also needs to send the usage monitoring keyword and the threshold to monitor the usage of the service;
  • the (H) PCRF provides a PCC rule installation and execution to the PCEF
  • the RAR (Re-Authentication Request) message of the PCEF carries the third-party application subscription user identifier and the rule and event subscription generated in step S514, and Possible usage monitoring related information, as described in detail in S514
  • the third-party subscription user identifier may be included in the rule or carried outside the rule to the PCEF;
  • the PCEF saves the related information delivered by the S515, and after installing and executing the policy, returns a confirmation message to the PCRF.
  • the PCEF performs rule matching according to the received rule and event information, and performs modification process processing of the IP-CAN session such as the modification or creation; if the PCRF or the AF subscribes to the rule execution result or the resource allocation result feedback, the PCEF initiates the CCR. The message will report the execution result;
  • the PCEF sends a CCR message to the OCS, requests a credit line, provides corresponding input information to the OCS for decision, the PCEF carries the charging policy, or the charging policy and the service ID to the OCS to request the credit information, in the message At the same time, the operator's subscription user ID and the user's subscription user identifier in the third-party application are carried.
  • the OCS saves the user's subscription user identifier in the third party application, and determines according to the request message and the subscription information. No credit authorization information is provided to the PCEF and returned to the PCEF in the CCA message.
  • the OCS carries the third-party application subscription user identifier in the CDR of the third-party subscription user, and the operator performs the tariff settlement through the third-party application subscription user identifier and the third-party application.
  • FIG. 6 is a flowchart of an embodiment of a third-party data application provider of a third-party data application provider accessing an operator network to implement an offline charging function through a Gz interface.
  • the AF sends a session request message to the AAC, and the message carries the message.
  • the AAC or the PCRF performs the binding of the third-party application subscription user identifier and the operator subscription identifier (associated with the third-party subscription subscriber identifier to the operator subscription subscriber identifier), and the AAC sends the request message to the PCRF.
  • the third-party application subscription user identifier is carried, and the PCRF policy decision delivery rule is executed to the PCEF, and the third-party application subscription user identifier is also carried in the message.
  • the rule charging method is offline charging.
  • the PCEF sends an offline charging report to the OFCS (offline charging device) according to the measurement method (time/traffic/event) and the charging trigger condition.
  • the message carries the operator subscription user identifier and the user.
  • User ID signed at a third party. Specifically, the following steps are included:
  • the gateway where the PCEF is located receives the IP-CAN session establishment request message, where the IP-CAN session establishment request message carries the user identifier and the PDN requested to be accessed.
  • the PCEF sends an IP-CAN session establishment indication message to the PCRF, where the IP-CAN session establishment indication message carries a user identifier, a PDN identifier, and an IP address allocated for the UE.
  • the PCRF sends a subscription document request to the SPR according to the user identifier, and carries the user identifier and the PDN identifier in the subscription document request.
  • the SPR returns corresponding user subscription information according to the user identifier and the PDN identifier (returned by the contract document response);
  • the PCRF makes a policy decision according to the returned user subscription information, the network policy, and the access information of the UE. Among them, may include the formulation of PCC rules, etc.;
  • the PCRF sends an IP-CAN session establishment confirmation message to the PCEF, where the IP-CAN session establishment confirmation message carries a PCC rule or the like;
  • the PCEF installation policy, the gateway where the PCEF is located returns an IP-CAN session establishment response to the UE, where the IP-CAN session establishment response carries an IP address.
  • the UE connects to the AF and requests a service, and the AF sends an AF session request to the AAC, and triggers establishing an AF session with the PCRF.
  • the request message carries the service information such as the user ID, the UE IP, and the service data flow description of the third-party application subscription.
  • the subscribers of the third-party application have different user levels, different user levels have differentiated QoS and charging subscriptions.
  • the user message information, as well as QoS and charging information, are also included in the request message; the protocol between AF and AAC is not limited herein; includes: SOAP or restful protocol. If the roaming is performed, the carrier network where the AAC is located is not limited to the home network or the visited network of the UE, and may be a third-party carrier network other than the two.
  • the AAC After determining, according to the user identifier, the AAC does not have the operator subscription information of the user, and sends a subscription information request to the SPR, and carries the third-party application subscription user identifier (such as an application identifier) and the PDN identifier in the subscription information request.
  • the third-party application subscription user identifier such as an application identifier
  • the SPR returns information such as the corresponding operator subscription user identifier according to the third-party subscription user identifier and the PDN identifier (returned by the subscription information response);
  • the SPR stores a list of valid subscription user identifiers provided by the third-party application, and a subscriber's subscriber subscription identifier.
  • the other identifier of the same user may be identified by one of the identifiers, for example, by the third party application subscription user identifier (eg, the user ID of the application layer) to obtain the operator's subscription identifier (eg, IMSI or MSISDN).
  • the AAC sends an AF session establishment request to the (H) PCRF, where the message carries the operator-signed user identifier and the third-party application subscription user identifier, and the related content carried by the AF in step S608; optionally, if S609 is performed
  • the AAC locally stores the returned user identifier list (mapping), and performs binding of the third-party application subscription user identifier and the operator subscription user identifier according to the returned information, and associates the third-party application subscription user identifier to the operator subscription user identifier;
  • the PCRF needs to perform identity binding, and performs binding of the third-party subscription user identifier and the operator subscription identifier according to the locally stored user identifier list (map) obtained (stored and stored from the SPR). Associate the third-party subscription user ID to the carrier subscription user ID.
  • the PCRF performs policy decision based on the AF session information such as service information, service provider information, and charging information provided by the AAC, the subscription information provided by the SPR, and the IP-CAN session information provided by the PCEF, and determines whether to authorize the service. QoS and generation of PCC rules, generating corresponding rules and corresponding subscription events.
  • the PCEF also needs to send the usage monitoring keyword and the threshold to monitor the usage of the service; if the (H) PCRF rejects the authorization, then (H) PCRF The AAC returns a reject message, the AF service fails, and the process ends.
  • the PCRF provides a PCC rule installation and execution to the PCEF, and the RAR message of the PCEF carries the third-party application subscription user identifier and the rule and event subscription generated in S612, and the related usage monitoring related information, as described in detail in step S612;
  • the third-party application subscription user identifier may be included in the rule or carried outside the rule to the PCEF;
  • the PCEF saves the related information sent by the S613, and after installing and executing the policy, returns a confirmation message to the PCRF.
  • the PCEF performs rule matching according to the received rule and event information, and performs modification process processing of the IP-CAN session such as the modification or creation. If the PCRF or the AF subscribes to the rule execution result or the resource allocation result feedback, the PCEF initiates the CCR. The message will report the execution result;
  • the charging method is offline charging.
  • the PCEF sends an offline charging report to the OFCS according to the measurement method (time/traffic/event) and the charging trigger condition, where the message carries the operator's subscription user identifier and the user is in the first The user ID of the three parties signing.
  • the OFCS carries the third-party application subscription user ID in the CDR of the third-party subscription user, and operates The merchant settles the tariff through the third-party application subscription user ID and the third-party application.
  • FIG. 7 is a flowchart of an embodiment of a third-party data application provider's subscription user accessing an operator network to implement an online charging function through a Sy interface.
  • the AF sends a session request message to the AAC, where the message carries the user's identity in the third-party application subscription; the AAC or PCRF performs the binding of the third-party application subscription user identifier and the carrier subscription identifier (associated with the third-party subscription user).
  • the request message sent to the PCRF by the AAC carries the third-party application subscription user identifier.
  • the PCRF sends a charging session request message to the OCS, where the message carries the operator subscription user identifier and the third party application subscription user identifier, and the OCS saves the third party application subscription user identifier that the user subscribes to by the third party, according to the received charging session.
  • the request message returns a response message for decision by the PCRF.
  • the PCRF policy determines and delivers the rules to the PCEF installation and execution, and the message carries the subscription user identifier of the third-party application.
  • the charging method of the rule is online charging, and the PCEF sends a credit control request message (application credit quota) to the OCS, and the OCS performs credit control for the user service according to the received credit control request message. Specifically, the following steps are included:
  • the gateway where the PCEF is located receives the IP-CAN session establishment request message, where the IP-CAN session establishment request message carries the user identifier and the PDN requested to be accessed.
  • the PDN identifier of the network is the PDN identifier of the network.
  • the PCEF sends an IP-CAN session establishment indication message to the PCRF, where the IP-CAN session establishment indication message carries a user identifier, a PDN identifier, and an IP address allocated for the UE.
  • the PCRF After determining, according to the user identifier, the PCRF does not have the subscription information of the user, and sends a subscription document request to the SPR, and carries the user identifier and the PDN identifier in the subscription document request.
  • the SPR returns corresponding user subscription information according to the user identifier and the PDN identifier (returned by the subscription document response).
  • the PCRF sends a charging session request message to the OCS, and activates the charging session, where the message carries the operator subscription user identifier.
  • the request message carries the credit quota application, or does not carry the quota application, the steps S710 and S711 are performed to perform the credit quota request.
  • the OCS returns a charging session response message to the PCRF according to the request message and the subscription information, and carries the service and charging related information. If the quota request is carried in step S705, the response message may carry the corresponding quota.
  • the PCRF makes a policy decision according to the returned user subscription information, the network policy, and the access information of the UE. Among them, it may include formulating PCC rules and event triggers.
  • the PCRF sends an IP-CAN session establishment confirmation message to the PCEF, where the IP-CAN session establishment confirmation message carries a PCC rule and an event trigger.
  • the PCEF installation policy, the gateway where the PCEF is located returns an IP-CAN session establishment response to the UE, where the IP-CAN session establishment response carries an IP address.
  • the PCEF sends a CCR message to the OCS, activates the online charging session, provides corresponding input information to the OCS for decision, and the PCEF carries the charging policy or the charging policy and the service ID to the OCS to request the credit information.
  • the steps S710 and S711 may be combined in steps S705 and S706, performed by the PCRF. Credit quota application.
  • Step S711 the OCS decides whether to provide credit authorization information to the PCEF according to the request message and the subscription information, and returns the information to the PCEF in the CCA message.
  • the UE connects to the AF and requests a service, and the AF sends an AF session request to the AAC, and triggers establishing an AF session with the PCRF.
  • the request message carries the service information such as the user ID, the UE IP, and the service data flow description of the third-party application subscription.
  • the carrier network where the AAC is located is not limited to the home network or the visited network of the UE, and may be a third-party carrier network other than the two.
  • the AAC After determining, according to the user identifier, the AAC does not have the operator subscription information of the user, and sends a subscription information request to the SPR, and carries the third-party application subscription user identifier (such as an application identifier) and the PDN identifier in the subscription information request.
  • the third-party application subscription user identifier such as an application identifier
  • S713 If S713 is executed, the SPR returns information such as the corresponding operator subscription user identifier according to the third-party application subscription user identifier and the PDN identifier (returned by the subscription information response).
  • the SPR stores a list of valid subscription user identifiers provided by the third-party application, and a user's carrier subscription identifier.
  • the other identifier of the same user may be identified by one of the identifiers, for example, by the third party application subscription user identifier (eg, the user ID of the application layer) to obtain the operator's subscription identifier (eg, IMSI or MSISDN).
  • the AAC sends an AF session establishment request to the (H) PCRF, where the message carries the user identifier signed by the operator and the user identifier signed by the third party application, and the corresponding content carried by the AF in step S712; optionally, if the step is performed S713, the AAC locally stores the returned user identifier list (mapping), and performs binding of the third party subscription user identifier and the operator subscription identifier according to the returned information, and associates the third party subscription user identifier to the operator subscription user identifier;
  • the PCRF initiates a charging session request message to the OCS, where the message carries the operator subscription user identifier and the third party subscription user identifier.
  • the request message carries the credit quota application, or does not carry the quota application, and steps S721 and S722 are performed to perform the credit quota request.
  • the OCS saves the user identifier that is signed by the user in the third party, and returns a charging session response message to the PCRF according to the request message and the subscription information, and carries the service and charging related information. If the PCRF carries the quota request in step S716, the response message is sent in the response message. May carry the corresponding quota.
  • the (H) PCRF needs to perform identity binding, and execute the third-party application subscription user identifier and the operator subscription user according to the locally stored user identification list (map) obtained (stored and stored from the SPR).
  • the PCRF performs policy decision based on the AF session information such as service information, service provider information, and charging information provided by the AAC, the subscription information provided by the SPR, and the IP-CAN session information provided by the PCEF, and determines whether to authorize QoS and generate the service.
  • PCC rules generating corresponding rules and corresponding subscription events.
  • the PCEF also needs to send the usage monitoring keyword and the threshold to monitor the usage of the service; if the PCRF rejects the authorization, the (H) PCRF returns the rejection to the AAC. The message, the AF service fails, and the process ends.
  • the PCRF provides the PCC rule installation and execution to the PCEF, and the RAR message to the PCEF carries the third-party subscription user identifier and the rule and event subscription generated in step S715, and the related usage monitoring related information, which is described in detail in step S715.
  • the three-party application subscription user ID may be included in the rule or carried outside the rule to the PCEF;
  • the PCEF saves the relevant information sent in step S718, and after installing and executing the policy, returns an acknowledgement message to the PCRF.
  • the PCEF performs rule matching according to the received rule and event information, and performs a modification process of the IP-CAN session such as the modification or creation. If the PCRF or the AF subscribes to the rule execution result or the resource allocation result feedback, the PCEF initiates the CCR. The message will report the execution result;
  • the PCEF sends a CCR message to the OCS, requests a credit line, provides corresponding input information to the OCS for decision, and the PCEF carries the charging policy or the charging policy and the service ID to the OCS to request the credit information.
  • the message carries both the operator's subscription user ID and the user's third-party application subscription user ID.
  • the OCS saves the third-party application subscription user identifier of the user, and determines whether to provide the credit authorization information to the PCEF according to the request message and the subscription information, and returns the information to the PCEF in the CCA message.
  • the OCS carries the third-party application subscription user identifier in the CDR of the third-party subscription user, and the operator performs the tariff settlement through the third-party application subscription user identifier and the third-party application.
  • the PCRF here is an HPCRF (Home PCRF, Home PCRF).
  • HPCRF Home PCRF, Home PCRF
  • VPCRF Vehicle Routing Agent
  • AAC Diameter Routing Agent
  • the AF request is sent to the DRA, and the DRA selects the correct PCRF (eg, the PCRF associated with the IP-CAN session) based on the UE ID/IP and PDN identification.
  • PCRF PCRF selection technique that follows existing DRA routes.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the charging method of the third-party application provided in this embodiment includes:
  • the application function device receives a third-party application service request sent by the user.
  • the application function device sends a session request message of the third-party application to be started by the user to the operator charging control system according to the third-party application service request, where the session request message includes the third-party application subscription user identifier of the user. .
  • the third-party application includes: a non-operator application such as WeChat, QQ, Taobao, etc.; the third-party application subscription user identifier may be saved in the form of a mapping list; the third-party application subscription user identifier includes: Service information such as the user ID, UE IP, and service data flow description of the third-party application; if the contracted users of the third-party application have different user levels, and different user levels have differentiated QoS and charging subscriptions, The user request information, as well as QoS and charging information, are also carried in the session request message.
  • a non-operator application such as WeChat, QQ, Taobao, etc.
  • the third-party application subscription user identifier may be saved in the form of a mapping list
  • the third-party application subscription user identifier includes: Service information such as the user ID, UE IP, and service data flow description of the third-party application; if the contracted users of the third-party application have different user levels, and different user levels
  • the third-party application subscription user identifier is carried in the session request message sent to the operator's charging control system by the application function device, so that the operator charging control system, when performing the accounting management, applies the subscription user identifier to the third-party application.
  • the user's third application performs charging, so that the third-party application subscription user identifier is carried in the CDR of the third-party subscription user, and the operator performs the tariff settlement through the third-party application subscription user identifier and the third-party application.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the charging device 90 of the third-party application includes: a message receiving module 901 and a charging management module 902; and the message receiving module 901 is configured to receive an application function by the operator charging control system.
  • a third-party application subscription request message that is initiated by the device, where the session request message includes a third-party application subscription user identifier of the user;
  • the charging management module 903 is used by the carrier charging control system according to the session
  • the request message performs charging management on the third-party application of the user.
  • the billing list for the specific third-party application can be implemented in the operator billing control system, facilitating the user and the third party to check the bill.
  • the message receiving module 901 is configured to receive, by the application access control function device in the operator charging control system, a session request message of a third-party application initiated by the application function device to be activated by the user;
  • the charging device 90 of the third-party application further includes: an association establishing module, where the association establishing module is used by the carrier charging control system to sign the operator subscription user identifier of the user and the third-party application.
  • the user ID is associated with the user identifier;
  • the billing management module 902 is configured to use, by the operator billing control system, the associated third party application subscription user identifier and the third party application subscription user identifier and the session request message to the third party of the user.
  • the application performs charging management; the associated carrier identification user identifier and the third-party application subscription user identifier are sent to the operator charging control system, so that the corresponding carrier user and the operator can be implemented in the operator charging control system.
  • the association establishment module includes: an information acquisition sub-module, where the information acquisition sub-module is configured to obtain, by using the third-party application subscription user identifier, the application access control function device after receiving the session request message a subscriber identity subscriber identifier of the user; an association establishment sub-module, configured to bind the acquired operator subscription subscriber identifier to the third-party application subscription subscriber identity by the application access control function device, to establish an association; or
  • the association establishing module includes: an information sending sub-module, configured to send, by the application access control function device, the session request message to the policy in the operator charging control system after receiving the session request message a billing rule decision function device; the information obtaining sub-module, wherein the policy and charging rule decision function device obtains an operator subscription user identifier of the corresponding user by using the subscription user identifier of the third-party application; Used by the policy and charging rule decision function device to obtain the carrier subscription user label The third-party application and subscriber identity binding, associate.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • the application function device includes: a communication module and a processing module; the communication module is configured to establish a communication connection with the user, and receive a third-party application service request sent by the user; the processing module is configured to use the third party according to the third party
  • the application service request sends a session request message of the third-party application to be started by the user to the operator's charging control system, where the session request message includes the third-party application subscription user identifier of the user.
  • the third-party application subscription user identifier is carried in the session request message sent to the operator's charging control system by the application function device, so that the operator charging control system performs the accounting for the third-party application when the user performs the charging management.
  • the fee is such that the third party application subscription user identifier is carried in the CDR of the third party subscription user, and the operator performs the tariff settlement through the third party application subscription user identifier and the third party application.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • the non-transitory computer readable storage medium stores therein instructions for causing the operator billing control system to implement a third party when executed by a processor of the operator billing control system
  • the charging method of the application includes the following steps: the operator charging control system receives a user third party application session request message initiated by the application function device, where the session request message includes a third party application subscription user identifier of the user And the operator charging control system performs charging management on the third-party application of the user according to the session request message.
  • the non-transitory computer readable storage medium provided by the embodiment, wherein instructions are stored, the instructions, when executed by a processor of the application function device, causing the application function device to implement a charging method of a third-party application,
  • the method includes the following steps: the application function device receives a third-party application service request sent by a user; and the application function device initiates a session of the user third-party application to the operator charging control system according to the third-party application service request. And a request message, where the session request message includes a third-party application subscription user identifier of the user.
  • the charging method, device and application function device of the third-party application of the present application can be applied to a network structure including an operator charging control system and an application function device, and the user initiated by the application function device to the operator charging control system
  • the session request message of the third-party application to be started carries the third-party application subscription user identifier of the user, and the operator charging control system performs charging management on the third-party application of the user according to the session request message.
  • the merchant billing control system can perform billing execution and third party tariff settlement according to the third party application subscription user identifier, thereby realizing the separate usage and tariff details of the third party application for the contracted user for the third party application. Both parties settle and reconcile.

Abstract

Provided are a third-party application charging method and apparatus, and an application function device. The third-party application charging method comprises: an operator charging control system receiving a user third-party application session request message initiated by an application function device, wherein the session request message includes a third-party application subscription user identifier of a user; and the operator charging control system performing charging management on a third-party application of the user according to the session request message. The solution solves the problem in the prior art that usage amount counting and charging execution cannot be performed according to a third-party subscription user identifier, providing an individual usage amount and charging bill regarding a third-party application for a subscription user of the third-party application, enabling settlement and account checking of the two parties.

Description

一种第三方应用的计费方法、装置及应用功能设备Charging method, device and application function device of third party application
本申请要求于2015年6月18日提交中国专利局、申请号为201510341004.0的中国专利申请的优先权,以上全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510341004.0 filed on Jun. 18, 2015, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及无线通信系统中策略和计费控制技术,具体涉及一种第三方应用的计费方法、装置及应用功能设备。The present invention relates to a policy and a charging control technology in a wireless communication system, and in particular, to a charging method, a device, and an application function device of a third-party application.
背景技术Background technique
第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)演进的分组系统(EPS,Evolved Packet System)由演进的通用移动通信系统陆地无线接入网(E-UTRAN,Evolved Universal Terrestrial Radio Access Network)、移动管理单元(MME,Mobility Management Entity)、服务网关(S-GW,Serving Gateway)、分组数据网络网关(P-GW或者PDN GW,Packet Data Network Gateway)、归属用户服务器(HSS,Home Subscriber Server)、3GPP的认证授权计费(AAA,Authentication、Authorization and Accounting)服务器,策略和计费规则功能实体(PCRF,Policy and Charging Rules Function)及其他支撑节点组成。其中,The 3rd Generation Partnership Project (EPS) evolved Evolved Universal Terrestrial Radio Access Network (E-UTRAN), Mobility Management Entity (MME), Serving Gateway (S-GW), Packet Data Network Gateway (P-GW or PDN GW, Packet Data Network Gateway), Home Subscriber Server (HSS) The 3GPP AAA, Authentication, Authorization and Accounting server, the Policy and Charging Rules Function (PCRF) and other supporting nodes. among them,
HSS,是用户签约数据的永久存放地点,位于用户签约的归属网。MME,是用户签约数据在当前网络的存放地点,负责终端到网络的非接入层信令管理、终端的安全验证功能、终端的移动性管理、用户空闲模式下的跟踪和寻呼管理功能和承载管理。S-GW,是核心网到无线系统的网关,负责终端到核心网的用户面承载、终端空闲模式下的数据缓存、网络侧发起业务请求的功能、合法监听和分组数据路由和转发功能;服务网关负责统计用户终端使用无线网的情况,并产生终端使用无线网的话单,传送给计费网关。P-GW,是演进系统和该系统外部分组数据网络的网关,它连接到因特网和分组数据网络上,负责终端的互联网协议(Internet Protocol,简称为IP)地址分配、计费功能、分组包过滤、策略控制等功能。PDN,是运营商的IP业务网络,该网络通过运营商的核心网为用户提供IP服务。The HSS is a permanent storage location for user subscription data, and is located in the home network to which the user subscribes. The MME is the location where the subscriber subscription data is stored in the current network, and is responsible for terminal-to-network non-access stratum signaling management, terminal security verification function, terminal mobility management, user idle mode tracking and paging management functions, and Bearer management. The S-GW is a gateway of the core network to the wireless system, and is responsible for the user plane bearer of the terminal to the core network, the data buffer in the terminal idle mode, the function of initiating a service request by the network side, the lawful interception and the packet data routing and forwarding function; The gateway is responsible for counting the situation in which the user terminal uses the wireless network, and generates a CDR that the terminal uses the wireless network to transmit to the charging gateway. The P-GW is a gateway of the evolved system and the external packet data network of the system. It is connected to the Internet and the packet data network, and is responsible for the Internet Protocol (IP) address allocation, charging function, packet filtering of the terminal. , policy control and other functions. The PDN is the carrier's IP service network, which provides IP services to users through the carrier's core network.
此外,策略控制和计费控制功能(PCC,Policy and Charging Control)嵌入EPS架构中,EPS架构中PCC各功能实体可分布如下:PCRF是策略和计费规则功能实体,策略和计费执行功能实体(PCEF,Policy and Charging Enforcement Function)存在于P-GW中,承载绑定和事件报告功能实体(BBERF,Bearer Binding and Event Report Function)可存在于S-GW中,业务的应用功能实体(AF,Application Function)存在于运营商网络协议(IP,Internet Protocol)业务网络,用户签约数据库(SPR,Subscription Profile Repository) 可与HSS合一。In addition, the policy control and charging control function (PCC, Policy and Charging Control) is embedded in the EPS architecture. The PCC functional entities in the EPS architecture can be distributed as follows: PCRF is a policy and charging rule function entity, and the policy and charging execution function entity The PCEF (Policy and Charging Enforcement Function) exists in the P-GW. The Bearer Binding and Event Report Function (BBERF) can exist in the S-GW. The application function entity (AF, Application Function) exists in the service network protocol (IP, Internet Protocol) service network, SPR (Subscription Profile Repository) Can be combined with HSS.
在3GPP中,通过接入点名称(APN,Access Point Name)可以找到对应PDN网络。通常将UE到PDN网络的一个连接称为一个IP连接接入网(IP-CAN,IP Connectivity Access Network)会话。PCC适用于所有3GPP IP-CAN,其架构如图1所示,PCRF主要负责策略和计费规则的制定,通过Gx接口将制定的PCC策略和计费规则下发给PCEF,PCEF安装、执行PCC策略,并上报相关事件,与计费系统交互计费信息。In 3GPP, the corresponding PDN network can be found through an Access Point Name (APN). A connection from a UE to a PDN network is usually referred to as an IP-Connected Access Network (IP-CAN) session. The PCC is applicable to all 3GPP IP-CANs. The architecture is shown in Figure 1. The PCRF is responsible for the formulation of the policy and accounting rules. The PCC policy and accounting rules are sent to the PCEF through the Gx interface. The PCEF installs and executes the PCC. Policy, and report related events, and exchange billing information with the billing system.
PCRF通过Gxx接口将业务服务质量(QoS,Quality of Service)规则下发给BBERF,BBERF不和计费系统交互计费信息,只负责承载绑定和相关事件的上报。AF通过Rx接口向PCRF提供业务信息,SPR保存了用户签约的业务信息,PCRF可以通过Sp接口向SPR查询用户签约的业务信息。PCEF通过Gy接口将在线计费信息发送给在线计费系统(OSC,Online Charging System)负责在线计费的统计,通过Gz接口将离线计费信息发送给离线计费系统(OFCS,Offline Charging System)。The PCRF sends the QoS (Quality of Service) rules to the BBERF through the Gxx interface. The BBERF does not exchange accounting information with the accounting system. It is only responsible for reporting bearer bindings and related events. The AF provides the service information to the PCRF through the Rx interface, and the SPR stores the service information subscribed by the user. The PCRF can query the SPR for the service information subscribed by the user through the Sp interface. The PCEF sends the online charging information to the online charging system (OSC, Online Charging System) through the Gy interface, and is responsible for online charging statistics. The offline charging information is sent to the offline charging system (OFCS, Offline Charging System) through the Gz interface. .
目前,在PCC架构中,PCRF可以动态地下发PCC策略给PCEF,策略信息中包含QoS和计费的信息。PCRF根据AF提供的业务相关信息、PCEF上报的承载相关信息以及SPR中用户签约的业务信息,制定PCC策略。Currently, in the PCC architecture, the PCRF can dynamically send a PCC policy to the PCEF, and the policy information includes QoS and charging information. The PCRF formulates a PCC policy based on the service-related information provided by the AF, the bearer-related information reported by the PCEF, and the service information subscribed by the user in the SPR.
AF,用于提供业务应用的接入点,这些业务应用所使用的网络资源需要进行动态的策略控制。在业务面进行参数协商时,AF将相关业务信息传递给策略控制与计费规则功能实体(PCRF,Policy and Charging Rules Function)。如果这些业务信息与PCRF的策略相一致,则PCRF接受该协商;否则,PCRF拒绝该协商,并在反馈时给出PCRF可接受的业务参数。随后,AF可将这些参数返回给用户设备(UE,User Equipment)。其中,AF和PCRF之间的接口是Rx接口。AF, which is used to provide access points for business applications. The network resources used by these business applications require dynamic policy control. When the parameter negotiation is performed on the service plane, the AF transmits the related service information to the Policy Control and Charging Rules Function (PCRF). If the service information is consistent with the policy of the PCRF, the PCRF accepts the negotiation; otherwise, the PCRF rejects the negotiation and gives the business parameters acceptable to the PCRF upon feedback. The AF can then return these parameters to the user equipment (UE, User Equipment). The interface between the AF and the PCRF is an Rx interface.
PCRF是PCC的核心,用于负责策略决策和计费规则的制定。PCRF提供基于业务数据流的网络控制规则,这些网络控制包括业务数据流的检测、门控(Gating Control)、服务质量(QoS,Quality of Service)控制以及基于数据流的计费规则等。PCRF将其制定的策略和计费规则发送给策略和计费执行功能实体(PCEF,Policy and Control Enforcement Function)执行;同时,PCRF还需要保证这些规则和用户的签约信息一致。其中,PCRF制定策略和计费规则的依据包括:从AF获得的与业务相关的信息、从用户签约数据库(SPR,Subscription Profile Repository)获得的与策略控制和计费相关的用户策略计费控制签约信息、以及通过Gx接口从PCEF获得的与承载相关网络的信息。The PCRF is the core of the PCC and is responsible for policy decision making and billing rules. The PCRF provides network control rules based on service data flows, including detection of traffic data flows, Gating Control, Quality of Service (QoS) control, and traffic flow based charging rules. The PCRF sends its policy and charging rules to the Policy and Control Enforcement Function (PCEF). At the same time, the PCRF also needs to ensure that these rules are consistent with the user's subscription information. The basis for the PCRF to formulate the policy and the charging rule includes: the service-related information obtained from the AF, and the user policy charging control related to the policy control and charging obtained from the SPR (Subscription Profile Repository). Information, and information about the bearer-related network obtained from the PCEF through the Gx interface.
PCEF通常位于网关(GW,Gate-Way)内,在承载面执行PCRF所制定的策略和计费规则。PCEF按照PCRF所发送的规则中的业务数据流过滤器对业务数据流进行检测,进而对这些业务数据流执行PCRF所制定的策略和计费规则;在承载建立时,PCEF按照PCRF发送的规则进行资源分配,并根据AF提供的信息进行门控控制;同时,PCEF根据PCRF订阅的事件触发上报承载网络上发生的事件;根据PCRF发送的计费规则,PCEF执行相应的业务数据流计费操作,计费既可以是在线计费,也可以是离线计费。如果是在 线计费,则PCEF需要和在线计费系统(OCS,Online Charging System)一起进行信用管理;离线计费时,PCEF和离线计费系统(OFCS,Offline Charging System)之间交换相关的计费信息。其中,PCEF与PCRF之间的接口是Gx接口,PCEF与OCS之间的接口是Gy接口,PCEF与OFCS之间的接口是Gz接口。PCEF也可增强具有业务检测功能(TDF,Traffic Detection Function)。PCEF可以根据本地配置或是PCRF下发的包含应用检测控制策略(Application Detection and Control,简称ADC)的PCC规则进行应用检测并进行策略执行(如门控、重定向和带宽限制)。PCEF一般都位于网络的网关上,如EPS的分组数据网络网关(PDN-GW)、通用无线分组业务(GPRS,General Packet Radio Service)中的GPRS网关支持节点(GGSN)以及互联无线网局域网(I-WLAN,Interworking WLAN)中的分组数据网关(PDG,Packet Data Gateway)等。The PCEF is usually located in the gateway (GW, Gate-Way), and executes the policy and charging rules formulated by the PCRF on the bearer plane. The PCEF detects the service data flow according to the service data flow filter in the rule sent by the PCRF, and then performs the policy and charging rule defined by the PCRF for the service data flow; when the bearer is established, the PCEF performs the rule according to the PCRF. The resource allocation is performed according to the information provided by the AF. At the same time, the PCEF triggers the reporting of the event occurring on the bearer network according to the event subscribed by the PCRF. According to the charging rule sent by the PCRF, the PCEF performs the corresponding service data flow charging operation. Billing can be either online charging or offline charging. If it is For line billing, the PCEF needs to perform credit management together with the Online Charging System (OCS); when offline charging, the relevant billing information is exchanged between the PCEF and the Offline Charging System (OFCS). . The interface between the PCEF and the PCRF is a Gx interface, the interface between the PCEF and the OCS is a Gy interface, and the interface between the PCEF and the OFCS is a Gz interface. The PCEF can also be enhanced with a Traffic Detection Function (TDF). The PCEF can perform application detection and perform policy enforcement (such as gating, redirection, and bandwidth limitation) according to the local configuration or the PCC rules that are sent by the PCRF and include Application Detection and Control (ADC). The PCEF is generally located on the gateway of the network, such as the Packet Data Network Gateway (PDN-GW) of the EPS, the GPRS Gateway Support Node (GGSN) in the General Packet Radio Service (GPRS), and the Internet of the Internet (I). - Packet Data Gateway (PDG) in the WLAN (Interworking WLAN).
TDF也可以独立部署,此时TDF与PCRF通过Sd接口,TDF可以根据预配置或PCRF下发的应用检测控制规则进行应用检测和策略执行。PCRF为TDF提供应用检测控制规则或激活TDF预配置规则,独立TDF功能的策略控制执行操作包括门控、重定向和带宽限制。TDF向PCRF作被检测业务/流的相关事件和信息的上报(例如向PCRF报告检测到的业务/流的开始和终结),以及给PCRF发送业务数据流描述,传送来自PCRF的用于流检测的业务检测和策略规则的信令。The TDF can also be deployed independently. In this case, the TDF and the PCRF are connected to the Sd interface. The TDF can perform application detection and policy execution according to the application detection control rules delivered by the pre-configuration or PCRF. The PCRF provides application detection control rules or activates TDF pre-configuration rules for the TDF, and the policy control execution operations of the independent TDF functions include gating, redirection, and bandwidth limitation. The TDF reports the related events and information of the detected service/flow to the PCRF (for example, reports the start and end of the detected service/flow to the PCRF), and sends a description of the service data flow to the PCRF, and transmits the flow detection from the PCRF. Signaling for service detection and policy rules.
承载绑定和事件报告功能实体(BBERF,Bearer Binding and Event Reporting Function)通常位于接入网网关(Access Network Gateway)内。如当用户设备通过E-UTRAN接入EPS、服务网关S-GW与P-GW之间采用代理移动互联网协议版本6(PMIPv6,Proxy Mobile Internet Protocol version 6)协议时,S-GW中就存在BBERF。当用户设备通过可信任非3GPP接入网接入时,可信任非3GPP接入网关中也存在BBERF。The Bearer Binding and Event Reporting Function (BBERF) is usually located in the Access Network Gateway. For example, when the user equipment accesses the EPS through the E-UTRAN, and the Proxy Mobile Internet Protocol version 6 (PMIPv6) protocol is used between the serving gateway S-GW and the P-GW, the BBERF exists in the S-GW. . When the user equipment accesses through the trusted non-3GPP access network, the BBERF also exists in the trusted non-3GPP access gateway.
用户签约数据库(SPR),存储有与策略控制和计费相关的用户策略计费控制签约信息。SPR和PCRF之间的接口是Sp接口。The User Contracted Database (SPR) stores user policy charging control subscription information related to policy control and charging. The interface between SPR and PCRF is the Sp interface.
OCS和PCEF共同完成在线计费方式下用户信用的控制和管理。OFCS与PCEF共同完成离线计费方式下的计费操作。OCS and PCEF jointly complete the control and management of user credit under online charging mode. The OFCS and the PCEF jointly perform the charging operation in the offline charging mode.
以上PCC架构通过各功能实体实现了对UE为访问一个分组数据网络(Packet Data Network,简称为PDN)所建立的IP连接接入网(IP Connectivity Access Network,简称为IP-CAN)会话的策略计费控制。The above PCC architecture implements a policy plan for an IP Connectivity Access Network (IP-CAN) session established by the UE to access a Packet Data Network (PDN) through various functional entities. Fee control.
现有技术中,UE建立到某个PDN的IP-CAN会话后,网络按相应授权的QoS为其提供默认签约的资源。对于IMS(IP Multimedia Subsystem,IP多媒体子系统)类业务,则AF将提供新的QoS信息给PCRF,PCRF发起IP-CAN会话修改流程,为该业务提供资源授权。对于第三方业务非IMS类业务,第三方应用提供商和PCRF之间部署一个用于对第三方应用执行应用接入控制的网元(引入AAC后的非漫游PCC架构如图2),该应用接入控制网元和第三方之间的Rx接口可以使用例如SOAP或restful协议通信,和PCRF之间的Rx接口可采用基于Diameter或xml协议通信。该应用接入控制网元(application access  control,AAC)兼具协议转换(protocol converter,PC)功能,可实现第三方数据应用提供商和PCRF之间的协议转换,完成应用提供商信息、业务信息、QoS需求和计费信息的传送。In the prior art, after the UE establishes an IP-CAN session to a certain PDN, the network provides a default subscription resource according to the corresponding authorized QoS. For the IMS (IP Multimedia Subsystem) service, the AF will provide new QoS information to the PCRF, and the PCRF initiates an IP-CAN session modification procedure to provide resource authorization for the service. For a non-IMS service of the third-party service, a third-party application provider and the PCRF deploy a network element for performing application access control on the third-party application (the non-roaming PCC architecture introduced after the AAC is shown in Figure 2). The Rx interface between the access control network element and the third party may communicate using, for example, a SOAP or restful protocol, and the Rx interface between the PCRFs may employ a communication based on the Diameter or xml protocol. Application access control network element (application access Control, AAC) has a protocol converter (PC) function, which enables protocol conversion between a third-party data application provider and PCRF, and completes the transmission of application provider information, service information, QoS requirements, and billing information.
但现有技术只能解决第三方应用的签约用户接入后,运营商网络根据运营商签约用户标识执行的策略和计费控制。现有需求中,运营商网络需要支持多种计费方式,其中包括运营商代理第三方收费的资费结算方式。用户只需要处理和签约运营商的资费话单,用户的第三方业务费用均包含在运营商话单内,不需要额外和第三方进行付费。目前运营商的计费系统针对用户计费时,只是简单的根据用户的运营商签约标识进行信用授权,以及计费的用量和资费统计和执行,无法提供针对第三方应用的签约用户单独的关于第三方应用的用量和资费详单,供双方结算和对账。且运营商根据第三方应用的签约用户标识和第三方进行用量和资费结算,可保证运营商自有签约用户的用户标识的隐蔽和安全性。现有技术无法做到根据第三方签约用户标识的用量统计和计费执行,无法满足以上对第三方应用屏蔽运营商签约用户标识的计费需求。However, the prior art can only solve the policy and charging control performed by the carrier network according to the operator's subscription user identifier after the subscription of the third-party application is accessed. In the existing requirements, the operator network needs to support multiple charging methods, including the tariff settlement method for the operator to represent the third party charging. The user only needs to process and sign the operator's tariff bill. The user's third-party service fee is included in the operator's bill, and no additional third party payment is required. At present, when the operator's billing system charges users, it simply performs credit authorization according to the user's operator logo, as well as billing usage and tariff statistics and execution, and cannot provide separate subscriptions for third-party applications. A detailed list of usage and tariffs for third-party applications for settlement and reconciliation by both parties. Moreover, the operator can perform the usage and tariff settlement according to the contracted user identifier of the third-party application and the third party, thereby ensuring the concealment and security of the user identity of the operator's own contracted user. The current technology cannot perform the usage statistics and accounting execution based on the third-party subscription user ID, and cannot meet the above charging requirements for the third-party application to shield the operator's subscription user identifier.
发明内容Summary of the invention
本发明提供了一种第三方应用的计费方法、装置及应用功能设备,解决了现有技术中无法做到根据第三方签约用户标识的用量统计和计费执行的问题。The invention provides a charging method, a device and an application function device for a third-party application, which solves the problem that the usage statistics and charging execution according to the third-party subscription user identifier cannot be performed in the prior art.
根据本发明的一个方面,提供一种第三方应用的计费方法,包括:According to an aspect of the present invention, a charging method for a third-party application is provided, including:
运营商计费控制系统接收应用功能设备发起的用户第三方应用会话请求消息,所述会话请求消息中包含用户的第三方应用签约用户标识;The operator charging control system receives the user third party application session request message initiated by the application function device, where the session request message includes the third party application subscription user identifier of the user;
所述运营商计费控制系统根据所述会话请求消息对所述用户的第三方应用进行计费管理。The operator charging control system performs charging management on the third-party application of the user according to the session request message.
在本发明的一种实施方式中,所述运营商计费控制系统接收应用功能设备发起第三方应用会话请求消息包括:所述运营商计费控制系统中的应用接入控制功能设备接收所述应用功能设备发起的第三方应用会话请求消息。In an embodiment of the present invention, the receiving, by the carrier charging control system, the application function device to initiate a third-party application session request message includes: the application access control function device in the operator charging control system receives the A third-party application session request message initiated by the application device.
在本发明的一种实施方式中,所述运营商计费控制系统根据所述会话请求消息对所述用户的第三方应用进行计费管理之前还包括:所述运营商计费控制系统将所述用户的运营商签约用户标识和第三方应用签约用户标识进行关联;In an embodiment of the present invention, before the operator charging control system performs charging management on the third-party application of the user according to the session request message, the method further includes: the operator charging control system The operator's subscriber subscription identifier and the third-party application subscription subscriber identity are associated;
所述运营商计费控制系统根据关联的运营商签约用户标识和第三方应用签约用户标识及所述会话请求消息对所述用户的第三方应用进行计费管理。The operator charging control system performs charging management on the third-party application of the user according to the associated operator subscription user identifier and the third-party application subscription user identifier and the session request message.
在本发明的一种实施方式中,所述运营商计费控制系统将所述用户的运营商签约用户标识和第三方应用签约用户标识进行关联包括:In an embodiment of the present invention, the operator charging control system associates the operator subscription user identifier of the user with the third-party application subscription user identifier, including:
所述应用接入控制功能设备在接收到所述会话请求消息后,通过利用所述第三方应用签约用户标识获取对应用户的运营商签约用户标识,并将获取的运营商签约用户标识与所述第三方应用签约用户标识绑定,建立关联; After receiving the session request message, the application access control function device obtains the operator subscription user identifier of the corresponding user by using the third-party application subscription user identifier, and obtains the obtained operator subscription user identifier and the The third-party application subscribes to the user identity binding to establish an association;
或者,所述应用接入控制功能设备在接收到所述会话请求消息后,将所述会话请求消息发送给所述运营商计费控制系统中的策略和计费规则决策功能设备;所述策略和计费规则决策功能设备通过利用所述第三方应用的签约用户标识获取对应用户的运营商签约用户标识,并将获取的运营商签约用户标识与所述第三方应用签约用户标识绑定,建立关联。Or, after receiving the session request message, the application access control function device sends the session request message to a policy and charging rule decision function device in the operator charging control system; the policy And the charging rule decision function device obtains the operator subscription user identifier of the corresponding user by using the subscription user identifier of the third-party application, and binds the obtained operator subscription user identifier to the third-party application subscription user identifier, and establishes Association.
在本发明的一种实施方式中,所述应用接入控制功能设备建立运营商签约用户标识与所述第三方应用签约用户标识的关联后,还包括:In an embodiment of the present invention, after the application access control function device establishes an association between the operator subscription user identifier and the third-party application subscription user identifier, the method further includes:
所述应用接入控制功能设备向所述策略和计费规则决策功能设备发送会话建立请求消息,所述会话建立请求消息中包括所述关联的运营商签约用户标识与所述第三方应用签约用户标识;The application access control function device sends a session establishment request message to the policy and charging rule decision function device, where the session establishment request message includes the associated operator subscription user identifier and the third party application subscription user. Identification
所述策略和计费规则决策功能设备根据所述会话建立请求消息对所述用户的第三方应用进行计费管理。The policy and charging rule decision function device performs charging management on the third-party application of the user according to the session establishment request message.
在本发明的一种实施方式中,所述运营商计费控制系统根据关联的运营商签约用户标识和第三方应用签约用户标识及所述会话请求消息对所述用户的第三方应用进行计费管理包括:In an embodiment of the present invention, the operator charging control system performs charging on the third-party application of the user according to the associated carrier subscription user identifier and the third-party application subscription user identifier and the session request message. Management includes:
所述运营商计费控制系统中的策略和计费规则决策功能设备根据关联的运营商签约用户标识和第三方应用签约用户标识及所述会话请求消息制定计费规则,并将所述计费规则发送给运营商计费控制系统中的策略和计费执行功能设备;The policy and charging rule decision function device in the operator charging control system formulates a charging rule according to the associated carrier subscription user identifier and the third party application subscription user identifier and the session request message, and the charging is performed. The rules are sent to the policy and charging execution function device in the operator charging control system;
所述策略和计费执行功能设备执行所述计费规则,并向运营商计费控制系统中的计费子系统反馈计费信息,所述计费信息中携带关联的运营商签约用户标识与第三方应用签约用户标识。The policy and the charging execution function device perform the charging rule, and feed back the charging information to the charging subsystem in the operator charging control system, where the charging information carries the associated operator subscription user identifier and Third party application subscription user ID.
在本发明的一种实施方式中,所述策略和计费规则决策功能设备制定计费规则之前还包括:In an embodiment of the present invention, before the policy and charging rule decision function device formulates the charging rule, the method further includes:
所述策略和计费规则决策功能设备向运营商计费控制系统中的计费子系统发起计费会话请求消息,所述计费会话请求消息中携带有关联的运营商签约用户标识和第三方应用签约用户标识;The policy and charging rule decision function device initiates a charging session request message to the charging subsystem in the operator charging control system, where the charging session request message carries the associated carrier subscription user identifier and a third party. Apply the contracted user ID;
所述策略和计费规则决策功能设备接收所述计费子系统根据所述计费会话请求消息反馈的会话响应消息,所述会话响应消息中携带业务和计费相关信息。The policy and charging rule decision function device receives a session response message that is sent by the charging subsystem according to the charging session request message, where the session response message carries service and charging related information.
根据本发明的另一个方面,还提供了一种第三方应用的计费方法,包括:According to another aspect of the present invention, a charging method for a third-party application is also provided, including:
应用功能设备接收用户发送的第三方应用业务请求;The application function device receives a third-party application service request sent by the user;
所述应用功能设备根据所述第三方应用业务请求向运营商计费控制系统发起用户第三方应用的会话请求消息,所述会话请求消息中包含所述用户的第三方应用签约用户标识。The application function device initiates a session request message of the user's third-party application to the operator's charging control system according to the third-party application service request, where the session request message includes the third-party application subscription user identifier of the user.
根据本发明的另一个方面,提供了一种第三方应用的计费装置,包括:According to another aspect of the present invention, a charging apparatus for a third party application is provided, including:
消息接收模块,用于运营商计费控制系统接收应用功能设备发起的用户第三方应用会话请求消息,所述会话请求消息中包含所述用户的第三方应用签约用户标识; a message receiving module, configured to receive, by the operator's charging control system, a third-party application session request message initiated by the application function device, where the session request message includes a third-party application subscription user identifier of the user;
计费管理模块,用于所述运营商计费控制系统根据所述会话请求消息对所述用户的第三方应用进行计费管理。The billing management module is configured to perform billing management on the third-party application of the user according to the session request message.
在本发明的一种实施方式中,所述消息接收模块用于所述运营商计费控制系统中的应用接入控制功能设备接收应用功能设备发起的用户第三方应用会话请求消息。In an embodiment of the present invention, the message receiving module is configured to receive, by the application access control function device in the operator charging control system, a user third party application session request message initiated by the application function device.
在本发明的一种实施方式中,还包括关联建立模块,用于所述运营商计费控制系统将所述用户的运营商签约用户标识和第三方应用签约用户标识进行关联;所述计费管理模块用于所述运营商计费控制系统根据关联的运营商签约用户标识和第三方应用签约用户标识及所述会话请求消息对所述用户的第三方应用进行计费管理。In an embodiment of the present invention, the method further includes an association establishing module, where the operator charging control system associates the operator subscription user identifier of the user with a third-party application subscription user identifier; The management module is configured to perform charging management on the third-party application of the user according to the associated carrier-signed user identifier, the third-party application subscription user identifier, and the session request message.
在本发明的一种实施方式中,所述关联建立模块包括:信息获取子模块,所述信息获取子模块用于所述应用接入控制功能设备在接收到所述会话请求消息后,通过利用所述第三方应用签约用户标识获取对应用户的运营商签约用户标识;关联建立子模块,用于所述应用接入控制功能设备将获取的运营商签约用户标识与所述第三方应用签约用户标识绑定,建立关联;In an embodiment of the present invention, the association establishing module includes: an information acquisition submodule, where the information acquisition submodule is used by the application access control function device after receiving the session request message The third-party application subscription user identifier acquires the operator subscription user identifier of the corresponding user; the association establishment sub-module is used by the application access control function device to obtain the operator subscription user identifier and the third-party application subscription user identifier. Bind, establish association;
或者,所述关联建立模块包括:信息发送子模块,用于所述应用接入控制功能设备在接收到所述会话请求消息后,将所述会话请求消息发送给所述运营商计费控制系统中的策略和计费规则决策功能设备;信息获取子模块,用于所述策略和计费规则决策功能设备通过利用所述第三方应用的签约用户标识获取对应用户的运营商签约用户标识;关联建立子模块,用于所述策略和计费规则决策功能设备将获取的运营商签约用户标识与所述第三方应用签约用户标识绑定,建立关联。Or the association establishing module includes: an information sending submodule, configured to send, by the application access control function device, the session request message to the operator charging control system after receiving the session request message The policy and charging rule decision function device; the information obtaining submodule, wherein the policy and charging rule decision function device obtains the operator subscription user identifier of the corresponding user by using the subscription user identifier of the third party application; And establishing a sub-module, where the policy and charging rule decision function device binds the obtained operator subscription user identifier to the third-party application subscription user identifier to establish an association.
根据本发明的另一个方面,还提供了一种应用功能设备,包括:According to another aspect of the present invention, an application function device is further provided, including:
通信模块,用于接收用户发送的第三方应用业务请求;a communication module, configured to receive a third-party application service request sent by the user;
处理模块,用于根据所述第三方应用业务请求向运营商计费控制系统发起用户第三方应用的会话请求消息,所述会话请求消息中包含所述用户的第三方应用签约用户标识。The processing module is configured to initiate a session request message of the user's third-party application to the operator's charging control system according to the third-party application service request, where the session request message includes the third-party application subscription user identifier of the user.
根据本发明的另一个方面,还提供了一种非易失性计算机可读存储介质,其中存储有指令,所述指令在由运营商计费控制系统的处理器执行时使所述运营商计费控制系统实施一种第三方应用的计费方法,所述方法包括以下步骤:According to another aspect of the present invention, there is also provided a non-transitory computer readable storage medium having stored therein instructions that, when executed by a processor of an operator's billing control system, cause the operator to calculate The fee control system implements a charging method for a third party application, and the method includes the following steps:
所述运营商计费控制系统接收应用功能设备发起的用户第三方应用会话请求消息,所述会话请求消息中包含用户的第三方应用签约用户标识;以及The operator charging control system receives a user third party application session request message initiated by the application function device, where the session request message includes a third party application subscription user identifier of the user;
所述运营商计费控制系统根据所述会话请求消息对所述用户的第三方应用进行计费管理。The operator charging control system performs charging management on the third-party application of the user according to the session request message.
根据本发明的另一个方面,还提供了一种非易失性计算机可读存储介质,其中存储有指令,所述指令在由应用功能设备的处理器执行时使所述应用功能设备实施一种第三方应用的计费方法,所述方法包括以下步骤:According to another aspect of the present invention, there is also provided a non-transitory computer readable storage medium having stored therein instructions that, when executed by a processor of an application function device, cause the application function device to implement a A charging method for a third-party application, the method comprising the following steps:
所述应用功能设备接收用户发送的第三方应用业务请求;以及The application function device receives a third-party application service request sent by a user;
所述应用功能设备根据所述第三方应用业务请求向运营商计费控制系统发起用户第 三方应用的会话请求消息,所述会话请求消息中包含所述用户的第三方应用签约用户标识。The application function device initiates a user to the operator charging control system according to the third-party application service request. A session request message of the three-party application, where the session request message includes a third-party application subscription user identifier of the user.
本发明的有益效果是:The beneficial effects of the invention are:
本发明提供的第三方应用的计费方法、装置及应用功能设备,通过在应用功能设备向运营商计费控制系统发起的用户待启动的第三方应用的会话请求消息中携带所述用户的第三方应用签约用户标识,运营商计费控制系统根据所述会话请求消息对所述用户的第三方应用进行计费管理。使得运营商计费控制系统可以根据第三方应用签约用户标识进行计费执行和第三方的资费结算,这样,实现了提供针对第三方应用的签约用户单独的关于第三方应用的用量和资费详单,供双方结算和对账。The charging method, the device, and the application function device of the third-party application provided by the present invention carry the user's number in the session request message of the third-party application initiated by the user to the operator's charging control system. The third party applies the subscription user identifier, and the operator charging control system performs charging management on the third party application of the user according to the session request message. The operator billing control system can perform billing execution and third party tariff settlement according to the third party application subscription user identifier, thereby realizing the separate usage and tariff details of the third party application for the contracted user for the third party application. For settlement and reconciliation by both parties.
附图说明DRAWINGS
图1为PCC非漫游架构示意图;1 is a schematic diagram of a PCC non-roaming architecture;
图2为部署AAC功能的PCC非漫游架构示意图;2 is a schematic diagram of a PCC non-roaming architecture in which an AAC function is deployed;
图3为本发明实施例一提供的第三方应用的计费方法流程示意图一;3 is a schematic flowchart 1 of a charging method of a third-party application according to Embodiment 1 of the present invention;
图4为本发明实施例一提供的第三方应用的计费方法流程示意图二;4 is a second schematic flowchart of a charging method for a third-party application according to Embodiment 1 of the present invention;
图5为本发明实施例一提供的第三方数据应用提供商的签约用户接入运营商网络通过Gy接口实现在线计费功能的实施例流程图;5 is a flowchart of an embodiment of a third-party data application provider's subscription user accessing an operator network to implement an online charging function through a Gy interface according to the first embodiment of the present invention;
图6为本发明实施例一提供的第三方数据应用提供商的签约用户接入运营商网络通过Gz接口实现离线计费功能的实施例流程图;FIG. 6 is a flowchart of an embodiment of a third-party data application provider's subscription user accessing an operator network to implement an offline charging function through a Gz interface according to Embodiment 1 of the present invention;
图7为本发明实施例一提供的第三方数据应用提供商的签约用户接入运营商网络通过Sy接口实现在线计费功能的实施例流程图;FIG. 7 is a flowchart of a method for implementing an online charging function by using a Sy interface by a subscriber of a third-party data application provider according to the first embodiment of the present invention;
图8为本发明实施例二提供的第三方应用的计费方法流程示意图;8 is a schematic flowchart of a charging method of a third-party application according to Embodiment 2 of the present invention;
图9为本发明实施例三提供的第三方应用的计费装置结构示意图。FIG. 9 is a schematic structural diagram of a charging apparatus of a third-party application according to Embodiment 3 of the present invention.
具体实施方式detailed description
下面通过具体实施方式结合附图对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings.
实施例一:Embodiment 1:
请参考图3所示,本实施例提供的第三方应用的计费方法包括:Referring to FIG. 3, the charging method of the third-party application provided in this embodiment includes:
S301:运营商计费控制系统接收应用功能设备发起的用户第三方应用会话请求消息,所述会话请求消息中包含用户的第三方应用签约用户标识;S301: The operator charging control system receives a third-party application session request message initiated by the application function device, where the session request message includes a third-party application subscription user identifier of the user.
S302:运营商计费控制系统根据所述会话请求消息对所述用户的第三方应用进行计费管理。S302: The operator charging control system performs charging management on the third-party application of the user according to the session request message.
应当理解的是,所述第三方应用包括:微信、QQ、淘宝等非运营商的应用;所述第三方应用签约用户标识可以以映射列表的形式保存;所述第三方应用签约用户标识包括:第三方应用签约的用户ID、UE IP、业务数据流描述等业务信息;需要说明的,若第三方 应用的签约用户具备不同的用户等级,不同的用户等级存在差异化QoS和计费签约,则该会话请求消息中还会带上该用户等级信息,以及QoS和计费信息。运营商计费控制系统对所述用户的第三方应用进行计费管理包括对第三方应用进行计费并对其进行实时监控;且所述运营商计费控制系统包括两种计费方式:在线计费方式或离线计费方式。It should be understood that the third-party application includes: a non-operator application such as WeChat, QQ, Taobao, etc.; the third-party application subscription user identifier may be saved in the form of a mapping list; the third-party application subscription user identifier includes: Service information such as user ID, UE IP, and service data flow description of the third-party application; if necessary, if the third party The subscribed users of the application have different user levels. Different user levels have differentiated QoS and charging subscriptions, and the session request message also carries the user level information, as well as QoS and charging information. The billing management system of the operator performs charging management on the third-party application of the user, including charging and real-time monitoring the third-party application; and the operator charging control system includes two charging methods: online Billing method or offline billing method.
步骤S301中,运营商计费控制系统接收应用功能设备发起的用户第三方应用会话请求消息包括:所述运营商计费控制系统中的应用接入控制功能设备接收所述应用功能设备发起的第三方应用会话请求消息;在本实施例中,这里应用功能设备和应用接入控制功能设备之间的通信协议不做限定;例如,可以包括SOAP或restful协议等。若漫游时,则该应用接入控制功能设备所在的运营商网络,不限定为该UE的归属地网络或拜访地网络,可以为两者之外的第三方运营商网络。本实施例中通过在会话请求消息中携带用户的第三方应用签约用户标识,使得运营商计费控制系统在进行计费时针对对应的第三方应用进行计费,得到该第三方应用的账单,方便了用户及第三方的对账结算等操作。In step S301, the operator charging control system receives the user third party application session request message initiated by the application function device, where the application access control function device in the operator charging control system receives the first initiated by the application function device. The third party applies the session request message; in this embodiment, the communication protocol between the application function device and the application access control function device is not limited; for example, the SOAP or restful protocol may be included. If the roaming is performed, the carrier network where the application access control function device is located is not limited to the home network or the visited network of the UE, and may be a third-party carrier network other than the two. In this embodiment, the third-party application subscription user identifier is carried in the session request message, so that the operator charging control system performs charging for the corresponding third-party application when performing charging, and obtains the bill of the third-party application. Convenient user and third party reconciliation settlement operations.
优选地,本实施例还提供了另一种第三方应用的计费方法,如图4所示,包括:Preferably, the embodiment further provides a charging method for another third-party application, as shown in FIG. 4, including:
S401:运营商计费控制系统接收应用功能设备发起的用户第三方应用会话请求消息,所述会话请求消息中包含用户的第三方应用签约用户标识;S401: The operator charging control system receives a user third-party application session request message initiated by the application function device, where the session request message includes a third-party application subscription user identifier of the user;
S402:运营商计费控制系统将所述用户的运营商签约用户标识和第三方应用签约用户标识进行关联;S402: The operator charging control system associates the operator subscription user identifier of the user with the third-party application subscription user identifier.
S403:运营商计费控制系统根据关联的运营商签约用户标识和第三方应用签约用户标识及所述会话请求消息对所述用户的第三方应用进行计费管理。S403: The operator charging control system performs charging management on the third-party application of the user according to the associated operator subscription user identifier and the third-party application subscription user identifier and the session request message.
本实施例中通过将第三方应用签约用户标识与对应用户的运营商用户标识进行关联,使得运营商计费控制系统在进行计费时针对对应的第三方应用与运营商用户的对应列表进行计费,得到该第三方应用及对应运营商用户的账单,进一步优化了用户及第三方的对账结算等操作。In this embodiment, the third-party application subscription user identifier is associated with the operator user identifier of the corresponding user, so that the operator charging control system calculates the corresponding third-party application and the corresponding list of the operator user when performing charging. The fee, the bill of the third-party application and the corresponding operator user, further optimizes the reconciliation settlement of the user and the third party.
步骤S402中,运营商计费控制系统将所述用户的运营商签约用户标识和第三方应用签约用户标识进行关联包括:应用接入控制功能设备在接收到所述会话请求消息后,通过利用所述第三方应用签约用户标识获取对应用户的运营商签约用户标识,并将获取的运营商签约用户标识与所述第三方应用签约用户标识绑定,建立关联;具体为:应用接入控制设备根据第三方应用签约用户标识判断是否具有对应用户的运营商签约信息,若没有,则向SPR发送签约信息请求,并在该签约信息请求中携带第三方应用签约用户标识和PDN标识;SPR存储其接收到的第三方应用有效签约用户标识以及用户的PDN标识等列表后,通过其中的一个标识关联到同一个用户的其它标识,例如通过第三方应用签约用户标识(例如应用层的用户ID)获取到对应用户的运营商签约用户标识(例如IMSI或MSISDN),并将关联到的运营商签约用户标识反馈给应用接入控制设备;应用接入控制设备本地存储该返回的用户标识列表(映射),根据返回的信息执行第三方签约用户标识和运营商签约标识的绑定,关联第三方签约用户标识到运营商签约用户标识。 In step S402, the operator charging control system associates the operator subscription user identifier of the user with the third-party application subscription user identifier, and the application access control function device uses the conference after receiving the session request message. The third-party application subscription user identifier is used to obtain the operator subscription user identifier of the corresponding user, and the obtained operator subscription user identifier is bound to the third-party application subscription user identifier to establish an association; specifically: the application access control device is configured according to The third-party application subscription user identifier determines whether there is an operator subscription information corresponding to the user, and if not, sends a subscription information request to the SPR, and carries the third-party application subscription user identifier and the PDN identifier in the subscription information request; the SPR stores the reception After the third-party application has a valid subscription user identifier and a list of the user's PDN identifier, the identifier of the user is associated with the other identifier of the same user, for example, by the third-party application subscription user identifier (for example, the user ID of the application layer). Corresponding user's operator subscription user ID (eg IMSI or MSISDN), and the associated operator subscription user identifier is fed back to the application access control device; the application access control device locally stores the returned user identifier list (mapping), and performs third-party subscription user identification and operation according to the returned information. The binding of the merchant subscription identifier, and the associated third party subscription user identifier to the operator subscription subscriber identifier.
进一步地,所述应用接入控制功能设备建立运营商签约用户标识与所述第三方应用签约用户标识的关联后,还包括:所述应用接入控制功能设备向策略和计费规则决策功能设备发送会话建立请求消息,所述会话建立请求消息中包括所述关联的运营商签约用户标识与所述第三方应用签约用户标识;所述策略和计费规则决策功能设备根据所述会话建立请求消息对所述用户的第三方应用进行计费管理;Further, after the application access control function device establishes an association between the operator subscription user identifier and the third-party application subscription user identifier, the method further includes: the application access control function device to the policy and charging rule decision function device Sending a session establishment request message, where the session establishment request message includes the associated operator subscription user identifier and the third party application subscription user identifier; and the policy and charging rule decision function device according to the session establishment request message Performing billing management on the third-party application of the user;
或者在步骤S402中,所述应用接入控制功能设备在接收到所述会话请求消息后,将所述会话请求消息发送给所述运营商计费控制系统中的策略和计费规则决策功能设备;所述策略和计费规则决策功能设备通过利用所述第三方应用的签约用户标识获取对应用户的运营商签约用户标识,并将获取的运营商签约用户标识与所述第三方应用签约用户标识绑定,建立关联。同样的,所述策略和计费规则决策功能设备不具有对应用户的运营商签约信息时,也需要以同样的方式向SPR获取对应用户的运营商签约用户标识后,再根据返回的信息执行第三方签约用户标识和运营商签约标识的绑定,关联第三方签约用户标识到运营商签约用户标识;Or in step S402, after receiving the session request message, the application access control function device sends the session request message to the policy and charging rule decision function device in the operator charging control system. The policy and charging rule decision function device obtains the operator subscription user identifier of the corresponding user by using the subscription user identifier of the third party application, and obtains the obtained operator subscription user identifier and the third party application subscription user identifier. Bind to establish an association. Similarly, when the policy and charging rule decision function device does not have the operator subscription information of the corresponding user, the device needs to obtain the operator subscription user identifier of the corresponding user in the same manner, and then performs the first according to the returned information. The binding of the three-party subscription user identifier and the operator subscription identifier, and the third-party subscription user identifier to the operator subscription user identifier;
步骤S403中,运营商计费控制系统根据关联的运营商签约用户标识和第三方应用签约用户标识及所述会话请求消息对所述用户的第三方应用进行计费管理包括:所述运营商计费控制系统中的策略和计费规则决策功能设备根据关联的运营商签约用户标识和第三方应用签约用户标识及所述会话请求消息制定计费规则,并将所述计费规则发送给运营商计费控制系统中的策略和计费执行功能设备;所述策略和计费执行功能设备执行所述计费规则,并向运营商计费控制系统中的计费子系统反馈计费信息,所述计费信息中携带关联的运营商签约用户标识与第三方应用签约用户标识。具体地,针对在线计费方式中,所述策略和计费执行功能设备执行所述计费规则,并向运营商计费控制系统中的在线计费子系统发起信用额度请求,在所述信用额度请求中携带关联的运营商签约用户标识与第三方应用签约用户标识;所述在线计费子系统根据所述信用额度请求及签约用户标识向所述策略和计费执行设备提供信用授权信息;在离线计费方式中,所述策略和计费执行功能设备执行所述计费规则,并直接向离线计费子系统发送离线计费报告,在所述离线计费报告中携带关联的运营商签约用户标识与第三方应用签约用户标识。In step S403, the operator charging control system performs charging management on the third-party application of the user according to the associated carrier-signed user identifier and the third-party application subscription user identifier and the session request message, including: the operator The policy and charging rule decision function device in the fee control system formulates a charging rule according to the associated carrier subscription user identifier and the third party application subscription user identifier and the session request message, and sends the charging rule to the operator. a policy and charging execution function device in the charging control system; the policy and charging execution function device executes the charging rule, and feeds back charging information to a charging subsystem in the operator charging control system, The charging information carries the associated carrier subscription user identifier and the third-party application subscription user identifier. Specifically, in the online charging mode, the policy and charging execution function device executes the charging rule, and initiates a credit limit request to the online charging subsystem in the operator charging control system, where the credit is The quota request carries the associated carrier subscription user identifier and the third party application subscription user identifier; the online charging subsystem provides credit authorization information to the policy and charging execution device according to the credit quota request and the subscription user identifier; In the offline charging mode, the policy and charging execution function device executes the charging rule, and directly sends an offline charging report to the offline charging subsystem, where the associated charging carrier is carried in the offline charging report. The subscription user ID and the third-party application subscription user ID.
在另一实施例中,所述策略和计费规则决策功能设备制定计费规则之前还包括:所述策略和计费规则决策功能设备向运营商计费控制系统中的计费子系统发起计费会话请求消息,所述计费会话请求消息中携带有关联的运营商签约用户标识和第三方应用签约用户标识;所述策略和计费规则决策功能设备接收所述计费子系统根据所述计费会话请求消息反馈的会话响应消息,所述会话响应消息中携带业务和计费相关信息。本实施方式一般在在线计费中执行。In another embodiment, before the policy and charging rule decision function device formulates the charging rule, the policy and charging rule decision function device initiates a metering to the charging subsystem in the operator charging control system. a fee session request message, where the charging session request message carries an associated carrier subscription user identifier and a third party application subscription user identifier; the policy and charging rule decision function device receives the charging subsystem according to the A session response message fed back by the charging session request message, where the session response message carries service and charging related information. This embodiment is generally implemented in online charging.
下面以具体实施方式对本方案进行说明,图5为本发明第三方数据应用提供商的签约用户接入运营商网络通过Gy接口实现在线计费功能的实施例流程图,如图5所示,第三方AF(应用功能设备)给AAC(应用接入控制功能设备)发送会话请求消息,消息中携 带用户在第三方应用签约用户标识;AAC或PCRF(策略和计费规则的决策功能设备)执行第三方签约用户标识和运营商签约标识的绑定(关联第三方签约用户标识到运营商签约用户标识),AAC发送给PCRF的消息中携带第三方应用签约用户标识,PCRF策略决策下发规则给PCEF(策略和计费执行功能设备)安装执行,消息中同时携带第三方应用签约用户标识。规则的计费方法为在线计费,PCEF发送信用控制请求消息给OCS(在线计费子系统)请求信用授权,消息中携带运营商签约用户标识和用户在第三方签约用户标识,所述OCS保存用户在第三方签约的用户标识,根据接收到的信用控制请求消息为所述用户业务执行信用控制。具体包括以下步骤:The following is a description of the solution in the specific implementation manner. FIG. 5 is a flowchart of an embodiment of the online charging function implemented by the subscriber of the third-party data application provider of the third-party data application provider through the Gy interface, as shown in FIG. The three-party AF (application function device) sends a session request message to the AAC (Application Access Control Function Device), and the message carries Binding the user ID in the third-party application with the user; AAC or PCRF (decision function device of the policy and charging rule) performs the binding of the third-party subscription user identifier and the operator subscription identifier (associating the third-party subscription user identifier to the operator subscription user) The message sent by the AAC to the PCRF carries the third-party application subscription user identifier, and the PCRF policy decision delivery rule is used to install and execute the PCEF (policy and charging execution function device), and the message carries the third-party application subscription user identifier. The rule charging method is online charging, and the PCEF sends a credit control request message to the OCS (Online Charging Subsystem) to request a credit authorization, where the message carries the operator's subscription user identifier and the user's third party subscription user identifier, and the OCS saves The user identifier signed by the user at the third party performs credit control for the user service according to the received credit control request message. Specifically, the following steps are included:
S501,在UE请求建立IP-CAN会话的过程中,PCEF位于的网关接收到IP-CAN会话建立请求消息,其中,在该IP-CAN会话建立请求消息中携带有用户标识和请求接入的PDN网络的PDN标识;S501, in the process of the UE requesting to establish an IP-CAN session, the gateway where the PCEF is located receives the IP-CAN session establishment request message, where the IP-CAN session establishment request message carries the user identifier and the PDN requested to be accessed. The PDN identifier of the network;
S502,PCEF向PCRF发送IP-CAN会话建立指示消息,其中,该IP-CAN会话建立指示消息中携带用户标识、PDN标识以及为UE分配的IP地址;S502. The PCEF sends an IP-CAN session establishment indication message to the PCRF, where the IP-CAN session establishment indication message carries a user identifier, a PDN identifier, and an IP address allocated for the UE.
S503,PCRF根据用户标识判断出还没有该用户的运营商签约信息后,向SPR发送签约文档请求,并在该签约文档请求中携带用户标识和PDN标识;S503, the PCRF sends a subscription document request to the SPR after determining that the operator has not signed the operator subscription information, and carries the user identifier and the PDN identifier in the subscription document request.
S504,SPR根据用户标识和PDN标识返回对应的用户签约信息(通过签约文档应答返回);S504: The SPR returns corresponding user subscription information according to the user identifier and the PDN identifier (returned by the subscription document response);
S505,PCRF根据返回的用户签约信息、网络策略、UE的接入信息等制定策略决策。其中,可以包括制定PCC规则;S505. The PCRF makes a policy decision according to the returned user subscription information, the network policy, and the access information of the UE. Among them, may include the formulation of PCC rules;
S506,PCRF向PCEF发送IP-CAN会话建立确认消息,其中,该IP-CAN会话建立确认消息中携带PCC规则;S506. The PCRF sends an IP-CAN session establishment confirmation message to the PCEF, where the IP-CAN session establishment confirmation message carries the PCC rule.
S507,PCEF安装策略,PCEF位于的网关向UE返回IP-CAN会话建立应答,其中,该IP-CAN会话建立应答中携带有IP地址;S507, the PCEF installation policy, the gateway where the PCEF is located returns an IP-CAN session establishment response to the UE, where the IP-CAN session establishment response carries an IP address;
S508,如果是在线计费,PCEF发送CCR(Credit Control Request,信用控制请求)消息给OCS,激活在线计费会话,提供相应的输入信息给OCS进行决策,PCEF携带计费策略,或计费策略和服务ID给OCS请求信用信息;S508. If the online charging is performed, the PCEF sends a CCR (Credit Control Request) message to the OCS, activates the online charging session, provides corresponding input information to the OCS for decision, and the PCEF carries the charging policy or the charging policy. And the service ID to the OCS to request credit information;
S509,OCS根据请求消息和签约信息决策是否向PCEF提供信用授权信息,在CCA(Credit Control Answer,信用控制应答)消息中返回给PCEF;S509, the OCS determines whether to provide credit authorization information to the PCEF according to the request message and the subscription information, and returns the information to the PCEF in a CCA (Credit Control Answer) message;
S510,UE与第三方数据应用提供商的AF连接并请求业务,该AF向AAC发送AF会话请求,触发建立与PCRF的AF会话。请求消息中携带第三方应用签约的用户ID、UE IP、业务数据流描述等业务信息;S510: The UE connects to the AF of the third-party data application provider and requests a service, and the AF sends an AF session request to the AAC, and triggers establishing an AF session with the PCRF. The request message carries the service information such as the user ID, the UE IP, and the service data flow description of the third-party application subscription;
可选地,若第三方应用的签约用户具备不同的用户等级,不同的用户等级存在差异化QoS和计费签约。则该请求消息中还会带上该用户等级信息,以及QoS和计费信息;这里AF和AAC之间的协议不做限定,包括SOAP或restful协议等。若漫游时,则该AAC所在的运营商网络,不限定为该UE的归属地网络或拜访地网络,可以为两者之外的第三 方运营商网络。Optionally, if the subscribers of the third-party application have different user levels, different user levels have differentiated QoS and charging subscriptions. The request message will also carry the user level information, as well as QoS and charging information; here the agreement between AF and AAC is not limited, including SOAP or restful protocol. If roaming, the carrier network where the AAC is located is not limited to the home network of the UE or the visited network, and may be the third of the two. Party operator network.
S511,AAC根据用户标识判断出还没有该用户的运营商签约信息后,向SPR发送签约信息请求,并在该签约信息请求中携带第三方应用签约用户标识(例如应用标识)和PDN标识。S511. After determining, according to the user identifier, the AAC does not have the operator subscription information of the user, and sends a subscription information request to the SPR, and carries the third-party application subscription user identifier (such as an application identifier) and the PDN identifier in the subscription information request.
S512,若执行了S511,则SPR根据第三方应用签约用户标识和PDN标识返回对应的运营商签约用户标识等信息(通过签约信息应答返回)。S512. If S511 is performed, the SPR returns information such as the corresponding operator subscription user identifier according to the third-party application subscription user identifier and the PDN identifier (returned by the subscription information response).
这里SPR存储第三方应用提供的有效签约用户标识,以及用户的运营商签约标识等列表。可以通过其中的一个标识关联到同一个用户的其它标识,例如通过第三方应用的签约用户标识(例如应用层的用户ID)获取到用户的运营商签约标识(例如IMSI或MSISDN)。Here, the SPR stores a list of valid subscription user identifiers provided by the third-party application, and a user's carrier subscription identifier. The other identifier of the same user may be identified by one of the identifiers, for example, by the subscriber identifier of the third party application (for example, the user ID of the application layer), and the operator's subscription identifier (for example, IMSI or MSISDN) is obtained.
S513,AAC向(H)PCRF发送AF会话建立请求,消息中携带运营商签约用户标识和第三方应用签约用户标识,以及步骤S510中携带的对应内容;可选地,若执行了S511则AAC本地存储该返回的用户标识列表(映射),根据返回的信息执行第三方签约用户标识和运营商签约标识的绑定,关联第三方签约用户标识到运营商签约用户标识;S513, the AAC sends an AF session establishment request to the (H) PCRF, where the message carries the operator subscription user identifier and the third-party application subscription user identifier, and the corresponding content carried in step S510; optionally, if S511 is performed, the AAC local Storing the returned user identification list (mapping), performing binding of the third party subscription user identifier and the operator subscription identifier according to the returned information, and associating the third party subscription user identifier to the operator subscription user identifier;
S514,若没有执行S511,则(H)PCRF需要执行标识绑定,根据(从SPR中获取并存储的)本地存储的用户标识列表(映射),执行第三方应用签约用户标识和运营商签约用户标识的绑定,关联第三方应用签约用户标识到运营商签约用户标识。(H)PCRF根据AAC提供的业务信息、业务提供商信息、计费信息等AF会话信息,SPR提供的签约信息,以及PCEF提供的IP-CAN会话信息,进行策略决策,决策是否对该业务授权QoS和生成PCC规则,生成相应规则以及相应订阅事件。若AF有用量阈值提供或是签约了该业务的用量监控则还需要同时给PCEF下发用量监控关键字和阈值对该业务进行用量监控;S514: If the S511 is not executed, the (H) PCRF needs to perform identity binding, and execute the third-party application subscription user identifier and the operator subscription user according to the locally stored user identification list (map) obtained (stored and stored from the SPR). The binding of the identifier, associated with the third-party application subscription user identifier to the operator subscription user identifier. (H) The PCRF performs policy decision based on the AF session information such as service information, service provider information, and charging information provided by the AAC, the subscription information provided by the SPR, and the IP-CAN session information provided by the PCEF, and determines whether to authorize the service. QoS and generation of PCC rules, generating corresponding rules and corresponding subscription events. If the AF usage threshold is provided or the usage monitoring of the service is signed, the PCEF also needs to send the usage monitoring keyword and the threshold to monitor the usage of the service;
若(H)PCRF拒绝授权,那么(H)PCRF向AAC返回拒绝消息,AF业务失败,流程结束;If the (H) PCRF rejects the authorization, the (H) PCRF returns a reject message to the AAC, the AF service fails, and the process ends;
S515,(H)PCRF向PCEF提供PCC规则安装执行,给PCEF的RAR(Re-Authentication Request,重鉴权请求)消息中携带第三方应用签约用户标识和步骤S514中生成的规则和事件订阅,以及可能的用量监控相关信息,具体如S514详细描述;第三方签约用户标识可以包含在规则内或规则外携带给PCEF;S515, the (H) PCRF provides a PCC rule installation and execution to the PCEF, and the RAR (Re-Authentication Request) message of the PCEF carries the third-party application subscription user identifier and the rule and event subscription generated in step S514, and Possible usage monitoring related information, as described in detail in S514; the third-party subscription user identifier may be included in the rule or carried outside the rule to the PCEF;
S516,PCEF保存S515下发的相关信息,安装并执行策略后,向PCRF返回确认消息;S516, the PCEF saves the related information delivered by the S515, and after installing and executing the policy, returns a confirmation message to the PCRF.
S517,PCEF根据接收到的规则和事件信息,执行规则匹配以及承载修改或创建等IP-CAN会话的修改流程处理;若PCRF或AF订阅了规则执行结果或资源分配结果反馈,则PCEF将发起CCR消息将执行结果上报;S517, the PCEF performs rule matching according to the received rule and event information, and performs modification process processing of the IP-CAN session such as the modification or creation; if the PCRF or the AF subscribes to the rule execution result or the resource allocation result feedback, the PCEF initiates the CCR. The message will report the execution result;
S518,如果是在线计费,PCEF发送CCR消息给OCS,请求信用额度,提供相应的输入信息给OCS进行决策,PCEF携带计费策略,或计费策略和服务ID给OCS请求信用信息,消息中同时携带运营商签约用户标识和用户在第三方应用签约用户标识。S518, if it is online charging, the PCEF sends a CCR message to the OCS, requests a credit line, provides corresponding input information to the OCS for decision, the PCEF carries the charging policy, or the charging policy and the service ID to the OCS to request the credit information, in the message At the same time, the operator's subscription user ID and the user's subscription user identifier in the third-party application are carried.
S519,OCS保存用户在第三方应用签约用户标识,根据请求消息和签约信息决策是 否向PCEF提供信用授权信息,在CCA消息中返回给PCEF。S519, the OCS saves the user's subscription user identifier in the third party application, and determines according to the request message and the subscription information. No credit authorization information is provided to the PCEF and returned to the PCEF in the CCA message.
通过以上步骤,可完成用户在使用第三方应用签约ID发起业务接入运营商网络开展在线计费的流程。OCS在第三方签约用户的话单中携带第三方应用签约用户标识,运营商通过第三方应用签约用户标识和第三方应用进行资费结算。Through the above steps, the process of initiating the online charging of the service access operator network by using the third-party application subscription ID can be completed. The OCS carries the third-party application subscription user identifier in the CDR of the third-party subscription user, and the operator performs the tariff settlement through the third-party application subscription user identifier and the third-party application.
图6为本发明第三方数据应用提供商的签约用户接入运营商网络通过Gz接口实现离线计费功能的实施例流程图,如图6所示,AF给AAC发送会话请求消息,消息中携带用户的第三方应用签约用户标识;AAC或PCRF执行第三方应用签约用户标识和运营商签约标识的绑定(关联第三方签约用户标识到运营商签约用户标识),AAC发送给PCRF的请求消息中携带第三方应用签约用户标识,PCRF策略决策下发规则给PCEF安装执行,消息中同时携带第三方应用签约用户标识。规则的计费方法为离线计费,PCEF根据测量方法(时间/流量/事件)和计费触发条件发送离线计费报告给OFCS(离线计费设备),消息中携带运营商签约用户标识和用户在第三方签约的用户标识。具体包括以下步骤:FIG. 6 is a flowchart of an embodiment of a third-party data application provider of a third-party data application provider accessing an operator network to implement an offline charging function through a Gz interface. As shown in FIG. 6, the AF sends a session request message to the AAC, and the message carries the message. The AAC or the PCRF performs the binding of the third-party application subscription user identifier and the operator subscription identifier (associated with the third-party subscription subscriber identifier to the operator subscription subscriber identifier), and the AAC sends the request message to the PCRF. The third-party application subscription user identifier is carried, and the PCRF policy decision delivery rule is executed to the PCEF, and the third-party application subscription user identifier is also carried in the message. The rule charging method is offline charging. The PCEF sends an offline charging report to the OFCS (offline charging device) according to the measurement method (time/traffic/event) and the charging trigger condition. The message carries the operator subscription user identifier and the user. User ID signed at a third party. Specifically, the following steps are included:
S601,在UE请求建立IP-CAN会话的过程中,PCEF位于的网关接收到IP-CAN会话建立请求消息,其中,在该IP-CAN会话建立请求消息中携带有用户标识和请求接入的PDN网络的PDN标识;S601, in the process of the UE requesting to establish an IP-CAN session, the gateway where the PCEF is located receives the IP-CAN session establishment request message, where the IP-CAN session establishment request message carries the user identifier and the PDN requested to be accessed. The PDN identifier of the network;
S602,PCEF向PCRF发送IP-CAN会话建立指示消息,其中,该IP-CAN会话建立指示消息中携带用户标识、PDN标识以及为UE分配的IP地址;S602. The PCEF sends an IP-CAN session establishment indication message to the PCRF, where the IP-CAN session establishment indication message carries a user identifier, a PDN identifier, and an IP address allocated for the UE.
S603,PCRF根据用户标识判断出还没有该用户的签约信息后,向SPR发送签约文档请求,并在该签约文档请求中携带用户标识和PDN标识;S603, the PCRF sends a subscription document request to the SPR according to the user identifier, and carries the user identifier and the PDN identifier in the subscription document request.
S604,SPR根据用户标识和PDN标识返回对应的用户签约信息(通过签约文档应答返回);S604. The SPR returns corresponding user subscription information according to the user identifier and the PDN identifier (returned by the contract document response);
S605,PCRF根据返回的用户签约信息、网络策略、UE的接入信息等制定策略决策。其中,可以包括制定PCC规则等;S605. The PCRF makes a policy decision according to the returned user subscription information, the network policy, and the access information of the UE. Among them, may include the formulation of PCC rules, etc.;
S606,PCRF向PCEF发送IP-CAN会话建立确认消息,其中,该IP-CAN会话建立确认消息中携带PCC规则等;S606, the PCRF sends an IP-CAN session establishment confirmation message to the PCEF, where the IP-CAN session establishment confirmation message carries a PCC rule or the like;
S607,PCEF安装策略,PCEF位于的网关向UE返回IP-CAN会话建立应答,其中,该IP-CAN会话建立应答中携带有IP地址。S607, the PCEF installation policy, the gateway where the PCEF is located returns an IP-CAN session establishment response to the UE, where the IP-CAN session establishment response carries an IP address.
S608,UE与AF连接并请求业务,该AF向AAC发送AF会话请求,触发建立与PCRF的AF会话。请求消息中携带第三方应用签约的用户ID、UE IP、业务数据流描述等业务信息。S608. The UE connects to the AF and requests a service, and the AF sends an AF session request to the AAC, and triggers establishing an AF session with the PCRF. The request message carries the service information such as the user ID, the UE IP, and the service data flow description of the third-party application subscription.
可选地,若第三方应用的签约用户具备不同的用户等级,不同的用户等级存在差异化QoS和计费签约。则该请求消息中还会带上该用户等级信息,以及QoS和计费信息;这里AF和AAC之间的协议不做限定;包括:SOAP或restful协议等。若漫游时,则该AAC所在的运营商网络,不限定为该UE的归属地网络或拜访地网络,可以为两者之外的第三方运营商网络。 Optionally, if the subscribers of the third-party application have different user levels, different user levels have differentiated QoS and charging subscriptions. The user message information, as well as QoS and charging information, are also included in the request message; the protocol between AF and AAC is not limited herein; includes: SOAP or restful protocol. If the roaming is performed, the carrier network where the AAC is located is not limited to the home network or the visited network of the UE, and may be a third-party carrier network other than the two.
S609,AAC根据用户标识判断出还没有该用户的运营商签约信息后,向SPR发送签约信息请求,并在该签约信息请求中携带第三方应用签约用户标识(例如应用标识)和PDN标识。S609. After determining, according to the user identifier, the AAC does not have the operator subscription information of the user, and sends a subscription information request to the SPR, and carries the third-party application subscription user identifier (such as an application identifier) and the PDN identifier in the subscription information request.
S610,若执行了S609,则SPR根据第三方签约用户标识和PDN标识返回对应的运营商签约用户标识等信息(通过签约信息应答返回);S610, if S609 is performed, the SPR returns information such as the corresponding operator subscription user identifier according to the third-party subscription user identifier and the PDN identifier (returned by the subscription information response);
这里SPR存储第三方应用提供的有效签约用户标识,以及用户的运营商签约用户标识等列表。可以通过其中的一个标识关联到同一个用户的其它标识,例如通过第三方应用签约用户标识(例如应用层的用户ID)获取到用户的运营商签约标识(例如IMSI或MSISDN)。Here, the SPR stores a list of valid subscription user identifiers provided by the third-party application, and a subscriber's subscriber subscription identifier. The other identifier of the same user may be identified by one of the identifiers, for example, by the third party application subscription user identifier (eg, the user ID of the application layer) to obtain the operator's subscription identifier (eg, IMSI or MSISDN).
S611,AAC向(H)PCRF发送AF会话建立请求,消息中携带运营商签约的用户标识和第三方应用签约用户标识,以及步骤S608中AF携带的相关内容;可选地,若执行了S609则AAC本地存储该返回的用户标识列表(映射),根据返回的信息执行第三方应用签约用户标识和运营商签约用户标识的绑定,关联第三方应用签约用户标识到运营商签约用户标识;S611, the AAC sends an AF session establishment request to the (H) PCRF, where the message carries the operator-signed user identifier and the third-party application subscription user identifier, and the related content carried by the AF in step S608; optionally, if S609 is performed The AAC locally stores the returned user identifier list (mapping), and performs binding of the third-party application subscription user identifier and the operator subscription user identifier according to the returned information, and associates the third-party application subscription user identifier to the operator subscription user identifier;
S612,若没有执行S609,则PCRF需要执行标识绑定,根据(从SPR中获取并存储的)本地存储的用户标识列表(映射),执行第三方签约用户标识和运营商签约标识的绑定,关联第三方签约用户标识到运营商签约用户标识。(H)PCRF根据AAC提供的业务信息、业务提供商信息、计费信息等AF会话信息,SPR提供的签约信息,以及PCEF提供的IP-CAN会话信息,进行策略决策,决策是否对该业务授权QoS和生成PCC规则,生成相应规则以及相应订阅事件。若AF有用量阈值提供或是签约了该业务的用量监控则还需要同时给PCEF下发用量监控关键字和阈值对该业务进行用量监控;若(H)PCRF拒绝授权,那么(H)PCRF向AAC返回拒绝消息,AF业务失败,流程结束;S612, if the S609 is not executed, the PCRF needs to perform identity binding, and performs binding of the third-party subscription user identifier and the operator subscription identifier according to the locally stored user identifier list (map) obtained (stored and stored from the SPR). Associate the third-party subscription user ID to the carrier subscription user ID. (H) The PCRF performs policy decision based on the AF session information such as service information, service provider information, and charging information provided by the AAC, the subscription information provided by the SPR, and the IP-CAN session information provided by the PCEF, and determines whether to authorize the service. QoS and generation of PCC rules, generating corresponding rules and corresponding subscription events. If the AF usage threshold is provided or the usage monitoring of the service is contracted, the PCEF also needs to send the usage monitoring keyword and the threshold to monitor the usage of the service; if the (H) PCRF rejects the authorization, then (H) PCRF The AAC returns a reject message, the AF service fails, and the process ends.
S613,PCRF向PCEF提供PCC规则安装执行,给PCEF的RAR消息中携带第三方应用签约用户标识和S612中生成的规则和事件订阅,以及可能的用量监控相关信息,具体如步骤S612的详细描述;第三方应用签约用户标识可以包含在规则内或规则外携带给PCEF;S613, the PCRF provides a PCC rule installation and execution to the PCEF, and the RAR message of the PCEF carries the third-party application subscription user identifier and the rule and event subscription generated in S612, and the related usage monitoring related information, as described in detail in step S612; The third-party application subscription user identifier may be included in the rule or carried outside the rule to the PCEF;
S614,PCEF保存S613下发的相关信息,安装并执行策略后,向PCRF返回确认消息;S614: The PCEF saves the related information sent by the S613, and after installing and executing the policy, returns a confirmation message to the PCRF.
S615,PCEF根据接收到的规则和事件信息,执行规则匹配以及承载修改或创建等IP-CAN会话的修改流程处理;若PCRF或AF订阅了规则执行结果或资源分配结果反馈,则PCEF将发起CCR消息将执行结果上报;S615. The PCEF performs rule matching according to the received rule and event information, and performs modification process processing of the IP-CAN session such as the modification or creation. If the PCRF or the AF subscribes to the rule execution result or the resource allocation result feedback, the PCEF initiates the CCR. The message will report the execution result;
S616,计费方法为离线计费,业务过程中,PCEF根据测量方法(时间/流量/事件)和计费触发条件发送离线计费报告给OFCS,消息中携带运营商签约用户标识和用户在第三方签约的用户标识。S616, the charging method is offline charging. In the service process, the PCEF sends an offline charging report to the OFCS according to the measurement method (time/traffic/event) and the charging trigger condition, where the message carries the operator's subscription user identifier and the user is in the first The user ID of the three parties signing.
通过以上步骤,可完成用户在使用第三方应用签约ID发起业务接入运营商网络开展离线计费的流程。OFCS在第三方签约用户的话单中携带第三方应用签约用户标识,运营 商通过第三方应用签约用户标识和第三方应用进行资费结算。Through the above steps, the process of using the third-party application subscription ID to initiate the service access operator network to perform offline charging can be completed. The OFCS carries the third-party application subscription user ID in the CDR of the third-party subscription user, and operates The merchant settles the tariff through the third-party application subscription user ID and the third-party application.
图7为本发明第三方数据应用提供商的签约用户接入运营商网络通过Sy接口实现在线计费功能的实施例流程图。如图7所示,AF给AAC发送会话请求消息,消息中携带用户在第三方应用签约用户标识;AAC或PCRF执行第三方应用签约用户标识和运营商签约标识的绑定(关联第三方签约用户标识到运营商签约用户标识),AAC发送给PCRF的请求消息中携带第三方应用签约用户标识。PCRF发送计费会话请求消息给OCS,消息中携带运营商签约用户标识和第三方应用签约用户标识,所述OCS保存用户在第三方签约的第三方应用签约用户标识,根据接收到的计费会话请求消息返回响应消息,供PCRF决策。PCRF策略决策并下发规则给PCEF安装执行,消息中同时携带第三方应用的签约用户标识。规则的计费方法为在线计费,PCEF发送信用控制请求消息(申请信用配额)给OCS,OCS根据接收到的信用控制请求消息为所述用户业务执行信用控制。具体包括以下步骤:FIG. 7 is a flowchart of an embodiment of a third-party data application provider's subscription user accessing an operator network to implement an online charging function through a Sy interface. As shown in Figure 7, the AF sends a session request message to the AAC, where the message carries the user's identity in the third-party application subscription; the AAC or PCRF performs the binding of the third-party application subscription user identifier and the carrier subscription identifier (associated with the third-party subscription user). The request message sent to the PCRF by the AAC carries the third-party application subscription user identifier. The PCRF sends a charging session request message to the OCS, where the message carries the operator subscription user identifier and the third party application subscription user identifier, and the OCS saves the third party application subscription user identifier that the user subscribes to by the third party, according to the received charging session. The request message returns a response message for decision by the PCRF. The PCRF policy determines and delivers the rules to the PCEF installation and execution, and the message carries the subscription user identifier of the third-party application. The charging method of the rule is online charging, and the PCEF sends a credit control request message (application credit quota) to the OCS, and the OCS performs credit control for the user service according to the received credit control request message. Specifically, the following steps are included:
S701,在UE请求建立IP-CAN会话的过程中,PCEF位于的网关接收到IP-CAN会话建立请求消息,其中,在该IP-CAN会话建立请求消息中携带有用户标识和请求接入的PDN网络的PDN标识。S701, in the process of the UE requesting to establish an IP-CAN session, the gateway where the PCEF is located receives the IP-CAN session establishment request message, where the IP-CAN session establishment request message carries the user identifier and the PDN requested to be accessed. The PDN identifier of the network.
S702,PCEF向PCRF发送IP-CAN会话建立指示消息,其中,该IP-CAN会话建立指示消息中携带用户标识、PDN标识以及为UE分配的IP地址。S702: The PCEF sends an IP-CAN session establishment indication message to the PCRF, where the IP-CAN session establishment indication message carries a user identifier, a PDN identifier, and an IP address allocated for the UE.
S703,PCRF根据用户标识判断出还没有该用户的签约信息后,向SPR发送签约文档请求,并在该签约文档请求中携带用户标识和PDN标识。S703. After determining, according to the user identifier, the PCRF does not have the subscription information of the user, and sends a subscription document request to the SPR, and carries the user identifier and the PDN identifier in the subscription document request.
S704,SPR根据用户标识和PDN标识返回对应的用户签约信息(通过签约文档应答返回)。S704. The SPR returns corresponding user subscription information according to the user identifier and the PDN identifier (returned by the subscription document response).
S705,如果是在线计费,PCRF发送计费会话请求消息给OCS,激活计费会话,消息中携带运营商签约用户标识。可选地,该请求消息中携带信用配额申请,或者不携带配额申请则需要执行步骤S710和步骤S711步骤进行信用配额请求。S705: If the online charging is performed, the PCRF sends a charging session request message to the OCS, and activates the charging session, where the message carries the operator subscription user identifier. Optionally, if the request message carries the credit quota application, or does not carry the quota application, the steps S710 and S711 are performed to perform the credit quota request.
S706,OCS根据请求消息和签约信息向PCRF返回计费会话响应消息,携带业务和计费相关信息;若步骤S705中携带了配额请求,则响应消息中可能携带相应配额。S706. The OCS returns a charging session response message to the PCRF according to the request message and the subscription information, and carries the service and charging related information. If the quota request is carried in step S705, the response message may carry the corresponding quota.
S707,PCRF根据返回的用户签约信息、网络策略、UE的接入信息等制定策略决策。其中,可以包括制定PCC规则和事件触发器。S707. The PCRF makes a policy decision according to the returned user subscription information, the network policy, and the access information of the UE. Among them, it may include formulating PCC rules and event triggers.
S708,PCRF向PCEF发送IP-CAN会话建立确认消息,其中,该IP-CAN会话建立确认消息中携带PCC规则和事件触发器。S708. The PCRF sends an IP-CAN session establishment confirmation message to the PCEF, where the IP-CAN session establishment confirmation message carries a PCC rule and an event trigger.
S709,PCEF安装策略,PCEF位于的网关向UE返回IP-CAN会话建立应答,其中,该IP-CAN会话建立应答中携带有IP地址。S709, the PCEF installation policy, the gateway where the PCEF is located returns an IP-CAN session establishment response to the UE, where the IP-CAN session establishment response carries an IP address.
S710,如果是在线计费,PCEF发送CCR消息给OCS,激活在线计费会话,提供相应的输入信息给OCS进行决策,PCEF携带计费策略或计费策略和服务ID给OCS请求信用信息。可选地,步骤S710和S711步骤可以合并在步骤S705和S706中,由PCRF进行 信用配额申请。S710. If the online charging is performed, the PCEF sends a CCR message to the OCS, activates the online charging session, provides corresponding input information to the OCS for decision, and the PCEF carries the charging policy or the charging policy and the service ID to the OCS to request the credit information. Optionally, the steps S710 and S711 may be combined in steps S705 and S706, performed by the PCRF. Credit quota application.
步骤S711,OCS根据请求消息和签约信息决策是否向PCEF提供信用授权信息,在CCA消息中返回给PCEF。Step S711, the OCS decides whether to provide credit authorization information to the PCEF according to the request message and the subscription information, and returns the information to the PCEF in the CCA message.
S712,UE与AF连接并请求业务,该AF向AAC发送AF会话请求,触发建立与PCRF的AF会话。请求消息中携带第三方应用签约的用户ID、UE IP、业务数据流描述等业务信息。S712. The UE connects to the AF and requests a service, and the AF sends an AF session request to the AAC, and triggers establishing an AF session with the PCRF. The request message carries the service information such as the user ID, the UE IP, and the service data flow description of the third-party application subscription.
可选地,若第三方应用的签约用户具备不同的用户等级,不同的用户等级存在差异化QoS和计费签约。则该请求消息中还会带上该用户等级信息,以及QoS和计费信息。这里AF和AAC之间的协议不做限定,包括SOAP或restful协议等。若漫游时,则该AAC所在的运营商网络,不限定为该UE的归属地网络或拜访地网络,可以为两者之外的第三方运营商网络。Optionally, if the subscribers of the third-party application have different user levels, different user levels have differentiated QoS and charging subscriptions. The user level information, as well as QoS and charging information, are also carried in the request message. The agreement between AF and AAC here is not limited, including SOAP or restful protocols. If the roaming is performed, the carrier network where the AAC is located is not limited to the home network or the visited network of the UE, and may be a third-party carrier network other than the two.
S713,AAC根据用户标识判断出还没有该用户的运营商签约信息后,向SPR发送签约信息请求,并在该签约信息请求中携带第三方应用签约用户标识(例如应用标识)和PDN标识。S713. After determining, according to the user identifier, the AAC does not have the operator subscription information of the user, and sends a subscription information request to the SPR, and carries the third-party application subscription user identifier (such as an application identifier) and the PDN identifier in the subscription information request.
S714,若执行了S713,则SPR根据第三方应用签约用户标识和PDN标识返回对应的运营商签约用户标识等信息(通过签约信息应答返回)。S714. If S713 is executed, the SPR returns information such as the corresponding operator subscription user identifier according to the third-party application subscription user identifier and the PDN identifier (returned by the subscription information response).
这里SPR存储第三方应用提供的有效签约用户标识,以及用户的运营商签约标识等列表。可以通过其中的一个标识关联到同一个用户的其它标识,例如通过第三方应用签约用户标识(例如应用层的用户ID)获取到用户的运营商签约标识(例如IMSI或MSISDN)。Here, the SPR stores a list of valid subscription user identifiers provided by the third-party application, and a user's carrier subscription identifier. The other identifier of the same user may be identified by one of the identifiers, for example, by the third party application subscription user identifier (eg, the user ID of the application layer) to obtain the operator's subscription identifier (eg, IMSI or MSISDN).
S715,AAC向(H)PCRF发送AF会话建立请求,消息中携带运营商签约的用户标识和第三方应用签约的用户标识,以及步骤S712中AF携带的相应内容;可选地,若执行了步骤S713,则AAC本地存储该返回的用户标识列表(映射),根据返回的信息执行第三方签约用户标识和运营商签约标识的绑定,关联第三方签约用户标识到运营商签约用户标识;S715, the AAC sends an AF session establishment request to the (H) PCRF, where the message carries the user identifier signed by the operator and the user identifier signed by the third party application, and the corresponding content carried by the AF in step S712; optionally, if the step is performed S713, the AAC locally stores the returned user identifier list (mapping), and performs binding of the third party subscription user identifier and the operator subscription identifier according to the returned information, and associates the third party subscription user identifier to the operator subscription user identifier;
S716,PCRF发起到OCS的计费会话请求消息,消息中携带运营商签约用户标识和第三方签约用户标识。可选地,该请求消息中携带信用配额申请,或者不携带配额申请则需要执行步骤S721和S722进行信用配额请求。S716, the PCRF initiates a charging session request message to the OCS, where the message carries the operator subscription user identifier and the third party subscription user identifier. Optionally, the request message carries the credit quota application, or does not carry the quota application, and steps S721 and S722 are performed to perform the credit quota request.
S717,OCS保存用户在第三方签约的用户标识,根据请求消息和签约信息向PCRF返回计费会话响应消息,携带业务和计费相关信息;若步骤S716中PCRF携带了配额请求,则响应消息中可能携带相应配额。S717: The OCS saves the user identifier that is signed by the user in the third party, and returns a charging session response message to the PCRF according to the request message and the subscription information, and carries the service and charging related information. If the PCRF carries the quota request in step S716, the response message is sent in the response message. May carry the corresponding quota.
S718,若没有执行S713,则(H)PCRF需要执行标识绑定,根据(从SPR中获取并存储的)本地存储的用户标识列表(映射),执行第三方应用签约用户标识和运营商签约用户标识的绑定,关联第三方应用签约用户标识到运营商签约用户标识。PCRF根据AAC提供的业务信息、业务提供商信息、计费信息等AF会话信息,SPR提供的签约信息,以及PCEF提供的IP-CAN会话信息,进行策略决策,决策是否对该业务授权QoS和生成 PCC规则,生成相应规则以及相应订阅事件。若AF有用量阈值提供或是签约了该业务的用量监控则还需要同时给PCEF下发用量监控关键字和阈值对该业务进行用量监控;若PCRF拒绝授权,那么(H)PCRF向AAC返回拒绝消息,AF业务失败,流程结束;S718. If the S713 is not executed, the (H) PCRF needs to perform identity binding, and execute the third-party application subscription user identifier and the operator subscription user according to the locally stored user identification list (map) obtained (stored and stored from the SPR). The binding of the identifier, associated with the third-party application subscription user identifier to the operator subscription user identifier. The PCRF performs policy decision based on the AF session information such as service information, service provider information, and charging information provided by the AAC, the subscription information provided by the SPR, and the IP-CAN session information provided by the PCEF, and determines whether to authorize QoS and generate the service. PCC rules, generating corresponding rules and corresponding subscription events. If the AF usage threshold is provided or the usage monitoring of the service is contracted, the PCEF also needs to send the usage monitoring keyword and the threshold to monitor the usage of the service; if the PCRF rejects the authorization, the (H) PCRF returns the rejection to the AAC. The message, the AF service fails, and the process ends.
S719,PCRF向PCEF提供PCC规则安装执行,给PCEF的RAR消息中携带第三方签约用户标识和步骤S715中生成的规则和事件订阅,以及可能的用量监控相关信息,具体如步骤S715详细描述;第三方应用签约用户标识可以包含在规则内或规则外携带给PCEF;S719, the PCRF provides the PCC rule installation and execution to the PCEF, and the RAR message to the PCEF carries the third-party subscription user identifier and the rule and event subscription generated in step S715, and the related usage monitoring related information, which is described in detail in step S715. The three-party application subscription user ID may be included in the rule or carried outside the rule to the PCEF;
S720,PCEF保存步骤S718下发的相关信息,安装并执行策略后,向PCRF返回确认消息;S720, the PCEF saves the relevant information sent in step S718, and after installing and executing the policy, returns an acknowledgement message to the PCRF.
S721,PCEF根据接收到的规则和事件信息,执行规则匹配以及承载修改或创建等IP-CAN会话的修改流程处理;若PCRF或AF订阅了规则执行结果或资源分配结果反馈,则PCEF将发起CCR消息将执行结果上报;S721: The PCEF performs rule matching according to the received rule and event information, and performs a modification process of the IP-CAN session such as the modification or creation. If the PCRF or the AF subscribes to the rule execution result or the resource allocation result feedback, the PCEF initiates the CCR. The message will report the execution result;
S722,如果是在线计费,PCEF发送CCR消息给OCS,请求信用额度,提供相应的输入信息给OCS进行决策,PCEF携带计费策略或计费策略和服务ID给OCS请求信用信息。消息中同时携带运营商签约用户标识和用户的第三方应用签约用户标识。S722, if it is online charging, the PCEF sends a CCR message to the OCS, requests a credit line, provides corresponding input information to the OCS for decision, and the PCEF carries the charging policy or the charging policy and the service ID to the OCS to request the credit information. The message carries both the operator's subscription user ID and the user's third-party application subscription user ID.
S723,OCS保存用户的第三方应用签约用户标识,根据请求消息和签约信息决策是否向PCEF提供信用授权信息,在CCA消息中返回给PCEF。S723: The OCS saves the third-party application subscription user identifier of the user, and determines whether to provide the credit authorization information to the PCEF according to the request message and the subscription information, and returns the information to the PCEF in the CCA message.
通过以上步骤,可完成用户在使用第三方应用签约ID发起业务接入运营商网络开展在线计费的流程。OCS在第三方签约用户的话单中携带第三方应用签约用户标识,运营商通过第三方应用签约用户标识和第三方应用进行资费结算。Through the above steps, the process of initiating the online charging of the service access operator network by using the third-party application subscription ID can be completed. The OCS carries the third-party application subscription user identifier in the CDR of the third-party subscription user, and the operator performs the tariff settlement through the third-party application subscription user identifier and the third-party application.
在上述具体实施方式中,需要说明的是,其中:对于漫游场景,这里的PCRF为HPCRF(Home PCRF,归属PCRF)。HPCRF与VPCRF(Visited PCRF,漫游PCRF)的交互和接口遵从现有技术实现;对于DRA(Diameter Routing Agent,路由代理节点)场景,即网络存在多个PCRF需要通过DRA进行PCRF选择的场景,AAC的AF请求发送给DRA,DRA根据UE ID/IP和PDN标识,选择正确的PCRF(例如IP-CAN会话关联的PCRF)。遵从现有DRA路由的PCRF选择技术。In the foregoing specific embodiments, it should be noted that, in the roaming scenario, the PCRF here is an HPCRF (Home PCRF, Home PCRF). The interaction and interface between the HPCRF and the VPCRF (Visited PCRF) are implemented according to the prior art; for the DRA (Diameter Routing Agent) scenario, that is, the scenario where multiple PCRFs need to perform PCRF selection through the DRA, AAC The AF request is sent to the DRA, and the DRA selects the correct PCRF (eg, the PCRF associated with the IP-CAN session) based on the UE ID/IP and PDN identification. A PCRF selection technique that follows existing DRA routes.
实施例二:Embodiment 2:
请参考图8所示,本实施例提供的第三方应用的计费方法包括:Referring to FIG. 8, the charging method of the third-party application provided in this embodiment includes:
S801:应用功能设备接收用户发送的第三方应用业务请求;S801: The application function device receives a third-party application service request sent by the user.
S802:应用功能设备根据所述第三方应用业务请求向运营商计费控制系统发起用户待启动的第三方应用的会话请求消息,所述会话请求消息中包含所述用户的第三方应用签约用户标识。S802: The application function device sends a session request message of the third-party application to be started by the user to the operator charging control system according to the third-party application service request, where the session request message includes the third-party application subscription user identifier of the user. .
应当理解的是,所述第三方应用包括:微信、QQ、淘宝等非运营商的应用;所述第三方应用签约用户标识可以以映射列表的形式保存;所述第三方应用签约用户标识包括: 第三方应用签约的用户ID、UE IP、业务数据流描述等业务信息;需要说明的,若第三方应用的签约用户具备不同的用户等级,不同的用户等级存在差异化QoS和计费签约,则该会话请求消息中还会带上该用户等级信息,以及QoS和计费信息。通过应用功能设备在向运营商计费控制系统发送会话请求消息中携带第三方应用签约用户标识,使得运营商计费控制系统在其进行计费的管理时,针对第三方应用签约用户标识来对用户的第三应用进行计费,从而使得在第三方签约用户的话单中携带第三方应用签约用户标识,运营商通过第三方应用签约用户标识和第三方应用进行资费结算。It should be understood that the third-party application includes: a non-operator application such as WeChat, QQ, Taobao, etc.; the third-party application subscription user identifier may be saved in the form of a mapping list; the third-party application subscription user identifier includes: Service information such as the user ID, UE IP, and service data flow description of the third-party application; if the contracted users of the third-party application have different user levels, and different user levels have differentiated QoS and charging subscriptions, The user request information, as well as QoS and charging information, are also carried in the session request message. The third-party application subscription user identifier is carried in the session request message sent to the operator's charging control system by the application function device, so that the operator charging control system, when performing the accounting management, applies the subscription user identifier to the third-party application. The user's third application performs charging, so that the third-party application subscription user identifier is carried in the CDR of the third-party subscription user, and the operator performs the tariff settlement through the third-party application subscription user identifier and the third-party application.
实施例三:Embodiment 3:
请参考图9所示,本实施例提供的第三方应用的计费装置90包括:消息接收模块901和计费管理模块902;所述消息接收模块901用于运营商计费控制系统接收应用功能设备发起的用户第三方应用会话请求消息,所述会话请求消息中包含所述用户的第三方应用签约用户标识;所述计费管理模块903用于所述运营商计费控制系统根据所述会话请求消息对所述用户的第三方应用进行计费管理。通过将用户的第三方应用签约用户标识发送给运营商计费控制系统,使得在运营商计费控制系统中能够实现针对特定的第三方应用的计费清单,方便用户及第三方核对账单。Referring to FIG. 9, the charging device 90 of the third-party application provided by the embodiment includes: a message receiving module 901 and a charging management module 902; and the message receiving module 901 is configured to receive an application function by the operator charging control system. a third-party application subscription request message that is initiated by the device, where the session request message includes a third-party application subscription user identifier of the user; the charging management module 903 is used by the carrier charging control system according to the session The request message performs charging management on the third-party application of the user. By sending the user's third-party application subscription user ID to the operator's billing control system, the billing list for the specific third-party application can be implemented in the operator billing control system, facilitating the user and the third party to check the bill.
进一步地,所述消息接收模块901用于所述运营商计费控制系统中的应用接入控制功能设备接收应用功能设备发起的用户待启动的第三方应用的会话请求消息;Further, the message receiving module 901 is configured to receive, by the application access control function device in the operator charging control system, a session request message of a third-party application initiated by the application function device to be activated by the user;
具体地,所述第三方应用的计费装置90还包括:关联建立模块,所述关联建立模块用于所述运营商计费控制系统将所述用户的运营商签约用户标识和第三方应用签约用户标识进行关联;所述计费管理模块902用于所述运营商计费控制系统根据关联的运营商签约用户标识和第三方应用签约用户标识及所述会话请求消息对所述用户的第三方应用进行计费管理;通过将关联后的运营商签约用户标识和第三方应用签约用户标识发送给运营商计费控制系统,使得在运营商计费控制系统中能够实现针对对应的运营商用户和特定的第三方应用的计费清单,进一步方便用户及第三方核对账单。Specifically, the charging device 90 of the third-party application further includes: an association establishing module, where the association establishing module is used by the carrier charging control system to sign the operator subscription user identifier of the user and the third-party application. The user ID is associated with the user identifier; the billing management module 902 is configured to use, by the operator billing control system, the associated third party application subscription user identifier and the third party application subscription user identifier and the session request message to the third party of the user. The application performs charging management; the associated carrier identification user identifier and the third-party application subscription user identifier are sent to the operator charging control system, so that the corresponding carrier user and the operator can be implemented in the operator charging control system. Billing lists for specific third-party applications, further facilitating user and third-party reconciliations.
所述关联建立模块包括:信息获取子模块,所述信息获取子模块用于所述应用接入控制功能设备在接收到所述会话请求消息后,通过利用所述第三方应用签约用户标识获取对应用户的运营商签约用户标识;关联建立子模块,用于所述应用接入控制功能设备将获取的运营商签约用户标识与所述第三方应用签约用户标识绑定,建立关联;或者,所述关联建立模块包括:信息发送子模块,用于所述应用接入控制功能设备在接收到所述会话请求消息后,将所述会话请求消息发送给所述运营商计费控制系统中的策略和计费规则决策功能设备;信息获取子模块,用于所述策略和计费规则决策功能设备通过利用所述第三方应用的签约用户标识获取对应用户的运营商签约用户标识;关联建立子模块,用于所述策略和计费规则决策功能设备将获取的运营商签约用户标识与所述第三方应用签约用户标识绑定,建立关联。 The association establishment module includes: an information acquisition sub-module, where the information acquisition sub-module is configured to obtain, by using the third-party application subscription user identifier, the application access control function device after receiving the session request message a subscriber identity subscriber identifier of the user; an association establishment sub-module, configured to bind the acquired operator subscription subscriber identifier to the third-party application subscription subscriber identity by the application access control function device, to establish an association; or The association establishing module includes: an information sending sub-module, configured to send, by the application access control function device, the session request message to the policy in the operator charging control system after receiving the session request message a billing rule decision function device; the information obtaining sub-module, wherein the policy and charging rule decision function device obtains an operator subscription user identifier of the corresponding user by using the subscription user identifier of the third-party application; Used by the policy and charging rule decision function device to obtain the carrier subscription user label The third-party application and subscriber identity binding, associate.
实施例四:Embodiment 4:
本实施例提供的应用功能设备包括:通信模块和处理模块;所述通信模块用于与用户建立通信连接,并接收用户发送的第三方应用业务请求;所述处理模块用于根据所述第三方应用业务请求向运营商计费控制系统发起用户待启动的第三方应用的会话请求消息,所述会话请求消息中包括所述用户的第三方应用签约用户标识。通过应用功能设备在向运营商计费控制系统发送会话请求消息中携带第三方应用签约用户标识,使得运营商计费控制系统在其进行计费的管理时,针对第三方应用签约用户标识进行计费,从而使得在第三方签约用户的话单中携带第三方应用签约用户标识,运营商通过第三方应用签约用户标识和第三方应用进行资费结算。The application function device provided in this embodiment includes: a communication module and a processing module; the communication module is configured to establish a communication connection with the user, and receive a third-party application service request sent by the user; the processing module is configured to use the third party according to the third party The application service request sends a session request message of the third-party application to be started by the user to the operator's charging control system, where the session request message includes the third-party application subscription user identifier of the user. The third-party application subscription user identifier is carried in the session request message sent to the operator's charging control system by the application function device, so that the operator charging control system performs the accounting for the third-party application when the user performs the charging management. The fee is such that the third party application subscription user identifier is carried in the CDR of the third party subscription user, and the operator performs the tariff settlement through the third party application subscription user identifier and the third party application.
实施例五:Embodiment 5:
本实施例提供的非易失性计算机可读存储介质,其中存储有指令,所述指令在由运营商计费控制系统的处理器执行时使所述运营商计费控制系统实施一种第三方应用的计费方法,所述方法包括以下步骤:所述运营商计费控制系统接收应用功能设备发起的用户第三方应用会话请求消息,所述会话请求消息中包含用户的第三方应用签约用户标识;以及所述运营商计费控制系统根据所述会话请求消息对所述用户的第三方应用进行计费管理。The non-transitory computer readable storage medium provided by this embodiment stores therein instructions for causing the operator billing control system to implement a third party when executed by a processor of the operator billing control system The charging method of the application, the method includes the following steps: the operator charging control system receives a user third party application session request message initiated by the application function device, where the session request message includes a third party application subscription user identifier of the user And the operator charging control system performs charging management on the third-party application of the user according to the session request message.
实施例六:Example 6:
本实施例提供的非易失性计算机可读存储介质,其中存储有指令,所述指令在由应用功能设备的处理器执行时使所述应用功能设备实施一种第三方应用的计费方法,所述方法包括以下步骤:所述应用功能设备接收用户发送的第三方应用业务请求;以及所述应用功能设备根据所述第三方应用业务请求向运营商计费控制系统发起用户第三方应用的会话请求消息,所述会话请求消息中包含所述用户的第三方应用签约用户标识。The non-transitory computer readable storage medium provided by the embodiment, wherein instructions are stored, the instructions, when executed by a processor of the application function device, causing the application function device to implement a charging method of a third-party application, The method includes the following steps: the application function device receives a third-party application service request sent by a user; and the application function device initiates a session of the user third-party application to the operator charging control system according to the third-party application service request. And a request message, where the session request message includes a third-party application subscription user identifier of the user.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in Within the scope of protection of the present invention.
工业实用性Industrial applicability
本申请的第三方应用的计费方法、装置及应用功能设备可应用于包括运营商计费控制系统和应用功能设备的网络架构中,通过在应用功能设备向运营商计费控制系统发起的用户待启动的第三方应用的会话请求消息中携带所述用户的第三方应用签约用户标识,运营商计费控制系统根据所述会话请求消息对所述用户的第三方应用进行计费管理。使得运营 商计费控制系统可以根据第三方应用签约用户标识进行计费执行和第三方的资费结算,这样,实现了提供针对第三方应用的签约用户单独的关于第三方应用的用量和资费详单,供双方结算和对账。 The charging method, device and application function device of the third-party application of the present application can be applied to a network structure including an operator charging control system and an application function device, and the user initiated by the application function device to the operator charging control system The session request message of the third-party application to be started carries the third-party application subscription user identifier of the user, and the operator charging control system performs charging management on the third-party application of the user according to the session request message. Make operations The merchant billing control system can perform billing execution and third party tariff settlement according to the third party application subscription user identifier, thereby realizing the separate usage and tariff details of the third party application for the contracted user for the third party application. Both parties settle and reconcile.

Claims (13)

  1. 一种第三方应用的计费方法,包括:A charging method for a third-party application, including:
    运营商计费控制系统接收应用功能设备发起的用户第三方应用会话请求消息,所述会话请求消息中包含用户的第三方应用签约用户标识;The operator charging control system receives the user third party application session request message initiated by the application function device, where the session request message includes the third party application subscription user identifier of the user;
    所述运营商计费控制系统根据所述会话请求消息对所述用户的第三方应用进行计费管理。The operator charging control system performs charging management on the third-party application of the user according to the session request message.
  2. 如权利要求1所述的第三方应用的计费方法,其中,所述运营商计费控制系统接收应用功能设备发起第三方应用会话请求消息包括:所述运营商计费控制系统中的应用接入控制功能设备接收所述应用功能设备发起的第三方应用会话请求消息。The method for charging a third-party application according to claim 1, wherein the receiving, by the carrier charging control system, the application function device to initiate a third-party application session request message comprises: applying the application in the operator charging control system The ingress control function device receives a third party application session request message initiated by the application function device.
  3. 如权利要求2所述的第三方应用的计费方法,其中,所述运营商计费控制系统根据所述会话请求消息对所述用户的第三方应用进行计费管理之前还包括:所述运营商计费控制系统将所述用户的运营商签约用户标识和第三方应用签约用户标识进行关联;The method for charging a third-party application according to claim 2, wherein the operator charging control system further includes: the operation before performing charging management on the third-party application of the user according to the session request message. The merchant charging control system associates the operator subscription user identifier of the user with the third party application subscription user identifier;
    所述运营商计费控制系统根据关联的运营商签约用户标识和第三方应用签约用户标识及所述会话请求消息对所述用户的第三方应用进行计费管理。The operator charging control system performs charging management on the third-party application of the user according to the associated operator subscription user identifier and the third-party application subscription user identifier and the session request message.
  4. 如权利要求3所述的第三方应用的计费方法,其中,所述运营商计费控制系统将所述用户的运营商签约用户标识和第三方应用签约用户标识进行关联包括:The method for charging a third-party application according to claim 3, wherein the operator charging control system associates the operator subscription user identifier of the user with the third-party application subscription user identifier, including:
    所述应用接入控制功能设备在接收到所述会话请求消息后,通过利用所述第三方应用签约用户标识获取对应用户的运营商签约用户标识,并将获取的运营商签约用户标识与所述第三方应用签约用户标识绑定,建立关联;After receiving the session request message, the application access control function device obtains the operator subscription user identifier of the corresponding user by using the third-party application subscription user identifier, and obtains the obtained operator subscription user identifier and the The third-party application subscribes to the user identity binding to establish an association;
    或者,所述应用接入控制功能设备在接收到所述会话请求消息后,将所述会话请求消息发送给所述运营商计费控制系统中的策略和计费规则决策功能设备;所述策略和计费规则决策功能设备通过利用所述第三方应用签约用户标识获取对应用户的运营商签约用户标识,并将获取的运营商签约用户标识与所述第三方应用签约用户标识绑定,建立关联。Or, after receiving the session request message, the application access control function device sends the session request message to a policy and charging rule decision function device in the operator charging control system; the policy And the charging rule decision function device obtains the operator subscription user identifier of the corresponding user by using the third-party application subscription user identifier, and binds the obtained operator subscription user identifier to the third-party application subscription user identifier to establish an association. .
  5. 如权利要求4所述的第三方应用的计费方法,其中,所述应用接入控制功能设备建立运营商签约用户标识与所述第三方应用签约用户标识的关联后,还包括:The method for charging a third-party application according to claim 4, wherein after the application access control function device establishes an association between the operator subscription user identifier and the third-party application subscription user identifier, the method further includes:
    所述应用接入控制功能设备向所述策略和计费规则决策功能设备发送会话建立请求消息,所述会话建立请求消息中包括所述关联的运营商签约用户标识与所述第三方应用签约用户标识;The application access control function device sends a session establishment request message to the policy and charging rule decision function device, where the session establishment request message includes the associated operator subscription user identifier and the third party application subscription user. Identification
    所述策略和计费规则决策功能设备根据所述会话建立请求消息对所述用户的第三方应用进行计费管理。 The policy and charging rule decision function device performs charging management on the third-party application of the user according to the session establishment request message.
  6. 如权利要求3-5任一项所述的第三方应用的计费方法,其中,所述运营商计费控制系统根据关联的运营商签约用户标识和第三方应用签约用户标识及所述会话请求消息对所述用户的第三方应用进行计费管理包括:The charging method of the third party application according to any one of claims 3-5, wherein the operator charging control system is based on the associated operator subscription user identifier and the third party application subscription user identifier and the session request. The charging management of the third-party application of the user by the message includes:
    所述运营商计费控制系统中的策略和计费规则决策功能设备根据关联的运营商签约用户标识和第三方应用签约用户标识及所述会话请求消息制定计费规则,并将所述计费规则发送给运营商计费控制系统中的策略和计费执行功能设备;The policy and charging rule decision function device in the operator charging control system formulates a charging rule according to the associated carrier subscription user identifier and the third party application subscription user identifier and the session request message, and the charging is performed. The rules are sent to the policy and charging execution function device in the operator charging control system;
    所述策略和计费执行功能设备执行所述计费规则,并向运营商计费控制系统中的计费子系统反馈计费信息,所述计费信息中携带关联的运营商签约用户标识与第三方应用签约用户标识。The policy and the charging execution function device perform the charging rule, and feed back the charging information to the charging subsystem in the operator charging control system, where the charging information carries the associated operator subscription user identifier and Third party application subscription user ID.
  7. 如权利要求6所述的第三方应用的计费方法,其中,所述策略和计费规则决策功能设备制定计费规则之前还包括:The method for charging a third-party application according to claim 6, wherein the policy and charging rule decision function device further includes:
    所述策略和计费规则决策功能设备向运营商计费控制系统中的计费子系统发起计费会话请求消息,所述计费会话请求消息中携带有关联的运营商签约用户标识和第三方应用签约用户标识;The policy and charging rule decision function device initiates a charging session request message to the charging subsystem in the operator charging control system, where the charging session request message carries the associated carrier subscription user identifier and a third party. Apply the contracted user ID;
    所述策略和计费规则决策功能设备接收所述计费子系统根据所述计费会话请求消息反馈的会话响应消息,所述会话响应消息中携带业务和计费相关信息。The policy and charging rule decision function device receives a session response message that is sent by the charging subsystem according to the charging session request message, where the session response message carries service and charging related information.
  8. 一种第三方应用的计费方法,包括:A charging method for a third-party application, including:
    应用功能设备接收用户发送的第三方应用业务请求;The application function device receives a third-party application service request sent by the user;
    所述应用功能设备根据所述第三方应用业务请求向运营商计费控制系统发起用户第三方应用的会话请求消息,所述会话请求消息中包含所述用户的第三方应用签约用户标识。The application function device initiates a session request message of the user's third-party application to the operator's charging control system according to the third-party application service request, where the session request message includes the third-party application subscription user identifier of the user.
  9. 一种第三方应用的计费装置,包括:A charging device for a third-party application, comprising:
    消息接收模块,设置为使运营商计费控制系统接收应用功能设备发起的用户第三方应用会话请求消息,所述会话请求消息中包含所述用户的第三方应用签约用户标识;The message receiving module is configured to enable the operator charging control system to receive the user third party application session request message initiated by the application function device, where the session request message includes the third party application subscription user identifier of the user;
    计费管理模块,设置为使所述运营商计费控制系统根据所述会话请求消息对所述用户的第三方应用进行计费管理。The billing management module is configured to enable the operator billing control system to perform billing management on the third-party application of the user according to the session request message.
  10. 如权利要求9所述的第三方应用的计费装置,其中,所述消息接收模块设置为使所述运营商计费控制系统中的应用接入控制功能设备接收应用功能设备发起的用户第三方应用会话请求消息。The charging device for a third-party application according to claim 9, wherein the message receiving module is configured to enable an application access control function device in the operator charging control system to receive a user third party initiated by the application function device Application session request message.
  11. 如权利要求10所述的第三方应用的计费装置,其中,还包括关联建立模块,设置 为使所述运营商计费控制系统将所述用户的运营商签约用户标识和第三方应用签约用户标识进行关联;所述计费管理模块设置为使所述运营商计费控制系统根据关联的运营商签约用户标识和第三方应用签约用户标识及所述会话请求消息对所述用户的第三方应用进行计费管理。The charging device of the third party application according to claim 10, further comprising an association establishing module, setting In order for the operator charging control system to associate the operator subscription user identifier of the user with the third party application subscription user identifier; the charging management module is configured to make the carrier charging control system according to the association The operator subscription identifier and the third-party application subscription user identifier and the session request message perform charging management on the third-party application of the user.
  12. 如权利要求11所述的第三方应用的计费装置,其中,所述关联建立模块包括:信息获取子模块,所述信息获取子模块设置为使所述应用接入控制功能设备在接收到所述会话请求消息后,通过利用所述第三方应用签约用户标识获取对应用户的运营商签约用户标识;关联建立子模块,设置为使所述应用接入控制功能设备将获取的运营商签约用户标识与所述第三方应用签约用户标识绑定,建立关联;The charging device for a third-party application according to claim 11, wherein the association establishing module comprises: an information acquiring sub-module, wherein the information acquiring sub-module is configured to enable the application access control function device to receive the After the session request message is described, the operator's subscription user identifier of the corresponding user is obtained by using the third-party application subscription user identifier; the association establishment sub-module is set to enable the application access control function device to obtain the operator subscription user identifier. Binding with the third-party application subscription user identifier to establish an association;
    或者,所述关联建立模块包括:信息发送子模块,设置为使所述应用接入控制功能设备在接收到所述会话请求消息后,将所述会话请求消息发送给所述运营商计费控制系统中的策略和计费规则决策功能设备;信息获取子模块,设置为使所述策略和计费规则决策功能设备通过利用所述第三方应用签约用户标识获取对应用户的运营商签约用户标识;关联建立子模块,设置为使所述策略和计费规则决策功能设备将获取的运营商签约用户标识与所述第三方应用签约用户标识绑定,建立关联。Alternatively, the association establishing module includes: an information sending submodule, configured to enable the application access control function device to send the session request message to the operator charging control after receiving the session request message The policy and charging rule decision function device in the system; the information obtaining sub-module is configured to enable the policy and charging rule decision function device to obtain the operator subscription user identifier of the corresponding user by using the third-party application subscription user identifier; The association establishing sub-module is configured to enable the policy and charging rule decision function device to bind the acquired operator subscription user identifier to the third-party application subscription user identifier to establish an association.
  13. 一种应用功能设备,包括:An application function device, including:
    通信模块,设置为接收用户发送的第三方应用业务请求;a communication module, configured to receive a third-party application service request sent by the user;
    处理模块,设置为根据所述第三方应用业务请求向运营商计费控制系统发起用户第三方应用的会话请求消息,所述会话请求消息中包含所述用户的第三方应用签约用户标识。 The processing module is configured to initiate a session request message of the user's third-party application to the operator's charging control system according to the third-party application service request, where the session request message includes the third-party application subscription user identifier of the user.
PCT/CN2016/073922 2015-06-18 2016-02-17 Third-party application charging method and apparatus, and application function device WO2016201999A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510341004.0A CN106332034A (en) 2015-06-18 2015-06-18 Third-party application charging method and apparatus, and application function equipment
CN201510341004.0 2015-06-18

Publications (1)

Publication Number Publication Date
WO2016201999A1 true WO2016201999A1 (en) 2016-12-22

Family

ID=57544789

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/073922 WO2016201999A1 (en) 2015-06-18 2016-02-17 Third-party application charging method and apparatus, and application function device

Country Status (2)

Country Link
CN (1) CN106332034A (en)
WO (1) WO2016201999A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10616934B2 (en) 2017-12-08 2020-04-07 Comcast Cable Communications, Llc User plane function selection for isolated network slice
US10764789B2 (en) 2017-08-11 2020-09-01 Comcast Cable Communications, Llc Application-initiated network slices in a wireless network
US11134424B2 (en) 2017-05-04 2021-09-28 Comcast Cable Communications, Llc Communications for network slicing using resource status information
US11153813B2 (en) 2017-08-11 2021-10-19 Comcast Cable Communications, Llc Network slice for visited network
CN115242756A (en) * 2021-04-01 2022-10-25 中国移动通信有限公司研究院 Processing method, device, equipment and system for federated learning service

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257353B (en) * 2018-09-25 2021-05-28 京信通信系统(中国)有限公司 Session management method, device and system
CN109587642B (en) * 2018-12-14 2020-12-22 中国联合网络通信集团有限公司 Charging method and device
CN115699682A (en) * 2020-04-07 2023-02-03 瑞典爱立信有限公司 Application awareness of credit conditions in a communication network
CN111835754A (en) * 2020-07-09 2020-10-27 中国联合网络通信集团有限公司 Industry message management method, system, terminal device and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600155A (en) * 2008-06-02 2009-12-09 华为技术有限公司 Realize the methods, devices and systems of general service charging
WO2010020076A1 (en) * 2008-08-21 2010-02-25 阿尔卡特朗讯 A control charging method and equipment based on application service in a communication network
WO2014012594A1 (en) * 2012-07-19 2014-01-23 Telefonaktiebolaget L M Ericsson (Publ) Methods and apparatus for implementing policy and charging control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600155A (en) * 2008-06-02 2009-12-09 华为技术有限公司 Realize the methods, devices and systems of general service charging
WO2010020076A1 (en) * 2008-08-21 2010-02-25 阿尔卡特朗讯 A control charging method and equipment based on application service in a communication network
WO2014012594A1 (en) * 2012-07-19 2014-01-23 Telefonaktiebolaget L M Ericsson (Publ) Methods and apparatus for implementing policy and charging control

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11134424B2 (en) 2017-05-04 2021-09-28 Comcast Cable Communications, Llc Communications for network slicing using resource status information
US11889370B2 (en) 2017-05-04 2024-01-30 Comcast Cable Communications, Llc Handover procedure using resource status information
US10764789B2 (en) 2017-08-11 2020-09-01 Comcast Cable Communications, Llc Application-initiated network slices in a wireless network
US11153813B2 (en) 2017-08-11 2021-10-19 Comcast Cable Communications, Llc Network slice for visited network
US11412418B2 (en) 2017-08-11 2022-08-09 Comcast Cable Communications, Llc Third party charging in a wireless network
US11690005B2 (en) 2017-08-11 2023-06-27 Comcast Cable Communications, Llc Network slice for visited network
US11818608B2 (en) 2017-08-11 2023-11-14 Comcast Cable Communications, Llc Third party charging in a wireless network
US10616934B2 (en) 2017-12-08 2020-04-07 Comcast Cable Communications, Llc User plane function selection for isolated network slice
US11102828B2 (en) 2017-12-08 2021-08-24 Comcast Cable Communications, Llc User plane function selection for isolated network slice
CN115242756A (en) * 2021-04-01 2022-10-25 中国移动通信有限公司研究院 Processing method, device, equipment and system for federated learning service

Also Published As

Publication number Publication date
CN106332034A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2016201999A1 (en) Third-party application charging method and apparatus, and application function device
US8601533B2 (en) Method and system for session modification
JP5499170B2 (en) Billing system and billing method
KR101728265B1 (en) Method for charging for application, and charging device and system
WO2013155942A1 (en) Policy and charging control method, v-pcrf and v-ocs
WO2009124441A1 (en) Session termination triggering method, implementing method and apparatus
WO2006015548A1 (en) A processing method based on charging trigger event and re-authorisation event of packet data flow
WO2010034195A1 (en) Method for providing ip address of user equipment, diameter routing agent
WO2015055063A1 (en) Application access control method and application function entity apparatus
WO2010006491A1 (en) Method for sending down and installing event trigger
WO2011029289A1 (en) Method and system for transmitting a bearer control mode in roaming scenarios
JP2016526357A (en) Method and apparatus for determining PCRF
WO2015143851A1 (en) Usage monitoring method, apparatus and system
WO2014107985A1 (en) Local roaming service online charging method, h-ocs and v-ocs
WO2014094488A1 (en) Charging policy method and device for roaming local service
WO2012071956A1 (en) Method, system and apparatus for supporting sponsored data connectivity in roaming scenarios
US20150038111A1 (en) Method and telecommunications network utilizing more than one online charging system for a given user
WO2018228215A1 (en) Wireless communication method and device
US9532205B2 (en) Method and system for identifying application detection and control function mode
WO2011003307A1 (en) Charging method and system for evolved packet system
CN112383405B (en) Data service charging method, device and system
CN101998515A (en) Implementation method and implementation system for controlling PCRF load balancing
WO2011127666A1 (en) Processing methode, device and system for charging
WO2014079323A1 (en) Method, device and system for realizing roaming local service function
JP5872705B2 (en) Roaming agreement / End of roaming session triggered by partner erasure

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16810740

Country of ref document: EP

Kind code of ref document: A1