WO2017124807A1 - Policy charging control method, protocol converter, policy charging rule apparatus and system - Google Patents

Policy charging control method, protocol converter, policy charging rule apparatus and system Download PDF

Info

Publication number
WO2017124807A1
WO2017124807A1 PCT/CN2016/103740 CN2016103740W WO2017124807A1 WO 2017124807 A1 WO2017124807 A1 WO 2017124807A1 CN 2016103740 W CN2016103740 W CN 2016103740W WO 2017124807 A1 WO2017124807 A1 WO 2017124807A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
pcrf
transmission policy
policy
transmission
Prior art date
Application number
PCT/CN2016/103740
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 WO2017124807A1 publication Critical patent/WO2017124807A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • H04L12/1407Policy-and-charging control [PCC] architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Definitions

  • the present invention relates to communication technologies, and in particular, to a policy charging control method, a protocol converter, a policy charging rule device, and a system.
  • FIG. 1 is a schematic diagram of the architecture of a Policy and Charging Control (PCC) defined by the 3rd Generation Partnership Project (3GPP).
  • PCC Policy and Charging Control
  • PCRF Policy and Charging Rules Function
  • the PCRF needs to combine the service information received from the application function (AF, Application Function), the user subscription information received from the SPR (Subscription Profile Repository), and the policy configured by the operator.
  • the PCRF sends the control policy for the service to the Policy and Charging Enforcement Function (PCEF) or the Bearer Binding and Event Report Function (BBERF).
  • PCEF Policy and Charging Enforcement Function
  • BBERF Bearer Binding and Event Report Function
  • the PCRF can subscribe to the bearer layer related events to the PCEF and/or the BBERF, so that when the above events occur in the bearer layer, it can be perceived in time and change the control strategy.
  • the PCEF and the Traffic Detection Function can perform application detection and control functions according to the PCC rules (PCEF) or the Application and Detection Control (ADC) issued by the PCRF.
  • PCEF PCC rules
  • ADC Application and Detection Control
  • PC protocol converter
  • the network provides a special time window for providing third party transmission background data.
  • the specific steps are shown in Figure 3:
  • S301 The Service Capability Exposure Function (SCEF) receives the trigger and decides to request the background data transmission policy from the PCRF.
  • This trigger may come from an external AF or SCEF itself (ie SCEF has AF function).
  • the SCEF sends a background data transmission request (BTR, Background-Data-Transfer-Reques) message to the PCRF, where the message carries a transmission policy request indication, the application provider identifier, and each UE transmits data.
  • BTR Background-Data-Transfer-Reques
  • the flow rate and the time window required to transmit the data is any PCRF in the network.
  • S303 The PCRF requests an existing transmission policy from the SPR.
  • S304 The SPR returns all existing transmission policies to the PCRF.
  • the PCRF determines a new transmission policy according to the information requested by the SCEF, all existing transmission policies, network policies, and other related information.
  • the policy includes a suggested time window, a billing rate, and optionally a maximum aggregation rate.
  • the PCRF returns a background data transmission response (BTA, Background-Data-Transfer-Answer) message to the SCEF, where the message carries the decision transmission strategy and the corresponding reference identifier.
  • BTA Background-Data-Transfer-Answer
  • the SCEF may send the information further to the AF.
  • S307 If the SCEF receives more than one transmission policy, and the AF selects one of the following, the SCEF sends a BTR message to the PCRF, where the message carries the transmission policy notification indication and the selected transmission policy.
  • the PCRF saves the determined new transmission policy and the corresponding reference identifier to the SPR.
  • S310 The SPR returns a confirmation message.
  • the AF carries the reference identifier in the AF session information provided by the PCRF.
  • the PCRF obtains a corresponding transmission policy from the SPR according to the reference identifier and formulates a corresponding PCC rule according to the transmission policy.
  • an embodiment of the present invention provides a policy charging control method, a protocol converter, a policy charging rule device, and a system.
  • HTTP HyperText Transfer Protocol
  • the first BTR message is sent to the PCRF, where the first BTR message carries at least: a transmission policy request indication.
  • the transmission policy response message is sent to the SCEF, and the identifier of the PCRF is carried in the transmission policy response message, including:
  • the HTTP response message is sent to the SCEF, where the HTTP response message carries at least: a transmission policy of the decision, a corresponding reference identifier, and an identifier of the PCRF;
  • the identifier of the PCRF is carried in the transmission policy response message.
  • the method further includes:
  • the method includes:
  • the second BTR message is sent to the PCRF, and the value of the destination host (Destination-Host) AVP of the second BTR message is set according to the identifier of the PCRF.
  • the method before receiving the BTA message sent by the PCRF, the method further includes:
  • the transmission policy request message sent by the SCEF is received, and the transmission policy request message protocol is converted, and then sent to the PCRF.
  • the PCRF After receiving the first BTR message sent by the PC, the PCRF determines a transmission policy, and sends a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF, so that the PC sends the BTA message.
  • the protocol is converted and sent to the SCEF;
  • the determining a transmission strategy includes:
  • a transmission policy including: a time window, a charging rate, and optionally a maximum aggregation rate.
  • the method further includes:
  • the PCRF When the PCRF sends more than one transmission policy to the PC, the PCRF carries the identifier of the PCRF in the BTA message, and the identifier of the PCRF is carried in the newly defined AVP.
  • a second receiving unit configured to receive a BTA message sent by the PCRF, where the BTA message carries a transmission policy of the decision;
  • a second protocol conversion unit configured to convert the BTA message protocol
  • An encapsulating unit configured to carry an identifier of the PCRF in the transmission policy response message
  • a second sending unit configured to send a transmission policy response message carrying the identifier of the PCRF to the SCEF;
  • a third receiving unit configured to receive a transmission policy notification message sent by the SCEF, where the transmission policy notification message carries an identifier of the PCRF and a transmission policy selected from the transmission policy;
  • the third sending unit is configured to send the transmission policy notification message protocol to the PCRF.
  • the first receiving unit is further configured to receive a hypertext transfer protocol HTTP request message sent by the SCEF, where the HTTP request message carries at least: a transmission policy request indication;
  • the first protocol conversion unit is further configured to: after converting the HTTP request message, send a first BTR message to the PCRF, where the first BTR message carries at least: a transmission policy request indication.
  • the second protocol conversion unit is further configured to: after converting the BTA message, send an HTTP response message to the SCEF, where the HTTP response message carries at least: a transmission policy of the decision, and a corresponding reference. Identification and identification of the PCRF.
  • the encapsulating unit is further configured to: when it is determined that the transmission policy includes more than one transmission policy, the identifier of the PCRF is carried in the transmission policy response message.
  • the encapsulating unit is further configured to obtain the value of the identifier of the PCRF from the value of the Origin-Host attribute of the BTA message to the AVP.
  • the third sending unit is further configured to: after converting the transmission policy notification message protocol, send a second BTR message to the PCRF, and set the second BTR message according to the identifier of the PCRF.
  • the value of the Destination-Host AVP is further configured to: after converting the transmission policy notification message protocol, send a second BTR message to the PCRF, and set the second BTR message according to the identifier of the PCRF. The value of the Destination-Host AVP.
  • the protocol converter further includes:
  • a first receiving unit configured to receive a transmission policy request message sent by the SCEF
  • a first protocol conversion unit configured to request a message protocol conversion on the transmission policy
  • a first sending unit configured to send the protocol-transformed transmission policy request message to the PCRF
  • a decision unit configured to receive a first BTR message sent by the PC, and then determine a transmission strategy
  • a sending unit configured to send a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF, so that the PC converts the BTA message protocol and sends it to the SCEF;
  • the receiving unit is configured to receive a second BTR message sent by the PC according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
  • the determining unit is further configured to: determine, according to the transmission policy request message, the existing transmission policy, and the network policy, a transmission policy, where the transmission policy includes: a time window, a charging rate Take And an optional maximum polymerization rate.
  • the sending unit is further configured to: when the one or more transmission policies are sent to the PC, the PCRF carries the identifier of the PCRF in the BTA message, and the identifier of the PCRF carries In the newly defined AVP.
  • the PCRF is configured to: after receiving the first BTR message sent by the PC, determine a transmission policy, and send a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF;
  • the PC is configured to convert the BTA message protocol and send it to the SCEF;
  • the SCEF is further configured to receive a second BTR message sent by the PC according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
  • the PCRF is configured to: after receiving the first BTR message sent by the PC, determine a transmission policy, and send a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF;
  • the PC is configured to convert the BTA message protocol and send it to the SCEF;
  • the SCEF is further configured to receive a second BTR message sent by the PC according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
  • the PC receives the transmission policy request message sent by the SCEF, and after the conversion of the transmission policy request message protocol, the PC sends the BTA message, and the BTA message carries the decision.
  • a transmission policy after the BTA message protocol is converted, sending a transmission policy response message to the SCEF, carrying the identifier of the PCRF in the transmission policy response message, and receiving a transmission policy notification message sent by the SCEF,
  • the transmission policy notification message carries the identifier of the PCRF and the transmission policy selected from the transmission policy; the transmission policy notification message protocol is converted and sent to the PCRF. It can be seen that the identifier of the PCRF is carried in the transmission policy response message, and the identifier of the PCRF is also carried in the transmission policy notification message, so that the corresponding PCRF is addressed according to the identifier of the PCRF.
  • FIG. 1 is a schematic structural diagram of a PCC defined by 3GPP;
  • FIG. 2 is a schematic diagram of a PCC architecture for deploying a PC
  • FIG. 3 is a schematic flowchart of a policy charging control method according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic flowchart of a policy charging control method according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic flowchart of a policy charging control method according to Embodiment 3 of the present invention.
  • FIG. 6 is a schematic flowchart of a policy charging control method according to Embodiment 4 of the present invention.
  • FIG. 7 is a schematic structural diagram of a protocol converter (PC) according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a policy charging rule device (PCRF) according to an embodiment of the present invention.
  • PCRF policy charging rule device
  • FIG. 9 is a schematic structural diagram of a policy charging control system according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a policy charging control method according to Embodiment 1 of the present invention.
  • the policy charging control method in this example is applied to a PC.
  • the policy charging control method includes the following steps:
  • Step 301 Receive a BTA message sent by the PCRF, where the BTA message carries a transmission policy of the decision; after the BTA message protocol is converted, the transmission policy response message is sent to the SCEF, where the PCRF is carried in the transmission policy response message.
  • the method before receiving the BTA message sent by the PCRF, the method further includes: receiving a transmission policy request message sent by the SCEF, and transmitting the message to the PCRF after the transmission policy request message protocol is converted.
  • the SCEF receives the trigger and decides to request the background data transmission policy from the PCRF.
  • This trigger may come from an external AF or SCEF itself (ie SCEF has AF function).
  • the SCEF sends a transmission policy request message to the PC, that is, an HTTP request message, where the HTTP request message carries at least: a transmission policy request indication; and further includes: an application provider identifier, a traffic for each UE to transmit data, and a required data transmission Time window, etc.
  • the PC receives the transmission policy request message sent by the SCEF, and then sends the message to the PCRF after the transmission policy request message protocol is converted.
  • the PC converts the HTTP request message into a Diameter BTR message and sends the message to the PCRF.
  • the Diameter BTR message carries at least: a transmission policy request indication; and further includes: an application provider identifier, a traffic for each UE to transmit data, and a transmission. The time window required for the data, etc.
  • PCRF is any PCRF in the network.
  • the PCRF requests an existing transmission policy from the SPR; the SPR returns all existing transmission policies to the PCRF.
  • the PCRF determines the new transmission policy based on the information requested by the SCEF, all existing transmission policies, network policies, and other related information.
  • the transmission policy includes a suggested time window, a billing rate, and optionally a maximum aggregation rate.
  • the PCRF returns a BTA message to the PC, where the BTA message carries the decision transmission policy and the corresponding reference identifier.
  • the PC receives the BTA message sent by the PCRF.
  • the PC converts the BTA message into an HTTP response message and sends it to the SCEF.
  • the HTTP response message carries the transmission policy of the decision and the corresponding reference identifier.
  • the PC determines that the PCRF returns one or more transmission policies, and the PC carries the identifier of the PCRF in the HTTP response message.
  • the identifier of the PCRF is obtained by the PC from the Origin-Host AVP of the BTA message.
  • the SCEF will send the information further to the AF.
  • Step 302 Receive a transmission policy notification message sent by the SCEF, where the transmission policy notification message is Carrying an identifier of the PCRF and a transmission policy selected from the transmission policy.
  • the SCEF if the SCEF receives more than one transmission policy, and the AF selects one of them, the SCEF sends an HTTP request message to the PC, where the message carries the transmission policy notification indication and the selected transmission policy and the identifier of the PCRF.
  • the PC receives the HTTP request message sent by the SCEF, where the HTTP message carries a transmission policy notification indication, a selected transmission policy, and an identifier of the PCRF.
  • Step 303 Convert the transmission policy notification message protocol to the PCRF.
  • the PC converts the HTTP request message (transmission policy notification message) into a BTR message, where the BTR message carries the transmission policy notification indication and the selected transmission policy. And setting the value of the BTR message Destination-Host AVP according to the identifier of the PCRF provided by the SCEF. In this way, the BTR message is sent to the corresponding PCRF according to the identifier of the PCRF.
  • the PCRF returns an acknowledgement message BTA to the PC; the PC converts the BTA message into an HTTP response message and sends it to the SCEF; the PCRF saves the determined new transmission policy and the corresponding reference identifier to the SPR; the SPR returns an acknowledgement message.
  • the identifier of the PCRF in the above embodiment may be an identifier of a directly addressable PCRF, or may be an identifier of a PCRF obtained by the PC according to a certain mapping relationship, that is, the PC may obtain an optionally located PCRF according to the identifier of the PCRF.
  • logo may be an identifier of a directly addressable PCRF, or may be an identifier of a PCRF obtained by the PC according to a certain mapping relationship, that is, the PC may obtain an optionally located PCRF according to the identifier of the PCRF.
  • the SCEF when the PC determines that the PCRF provides more than one transmission policy, the SCEF is provided with the identifier of the PCRF.
  • the PC can also provide the identifier of the PCRF to the SCEF without making a judgment.
  • FIG. 4 is a schematic flowchart of a policy charging control method according to Embodiment 2 of the present invention.
  • the policy charging control method in this example is applied to a PCRF.
  • the policy charging control method includes the following steps:
  • Step 401 After receiving the first BTR message sent by the PC, determine a transmission policy, and send a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF, so that the PC will The BTA message protocol is converted and sent to the SCEF.
  • the SCEF receives the trigger and decides to request the background data transmission policy from the PCRF.
  • This trigger may come from an external AF or SCEF itself (ie SCEF has AF function).
  • the SCEF sends an HTTP request message to the PC, where the message carries a transmission policy request indication, an application provider identifier, a traffic for each UE to transmit data, and a time window required for transmitting data.
  • the PC converts the HTTP request message into a Diameter BTR message and sends it to the PCRF, where the message carries a transmission policy request indication and the like. Where PCRF is any PCRF in the network.
  • the PCRF receives the transmission policy request message sent by the PC, that is, the above Diameter BTR message.
  • the PCRF then requests the SPR for an existing transmission policy.
  • the SPR returns all existing transmission policies to the PCRF.
  • the PCRF receives the existing transmission policy sent by the SPR.
  • the PCRF determines the new transmission policy based on the SCEF request information (transmission policy request message), all existing transmission policies, network policies, and other related information.
  • the policy includes a suggested time window, a billing rate, and optionally a maximum aggregation rate.
  • the PCRF sends a BTA to the PC.
  • the BTA message carries the transmission policy and the identifier of the PCRF.
  • the BTA message carries the identifier of the PCRF, and the identifier of the PCRF is carried in the newly defined AVP. Or, the identifier of the PCRF is directly carried in the BTA message.
  • the PC converts the BTA message into an HTTP response message and sends it to the SCEF.
  • the message carries the decision transmission strategy and the corresponding reference identifier. If the PCRF returns the identifier of the PCRF, the PC also carries the identifier of the PCRF in the message.
  • the SCEF may send the information further to the AF.
  • Step 402 Receive a second BTR message sent by the PC according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
  • the SCEF if the SCEF receives more than one transmission policy, and the AF selects one of them, the SCEF sends an HTTP request message to the PC, where the message carries the transmission policy notification indication and the selected transmission policy and the identifier of the PCRF.
  • the PC converts the HTTP request message into a BTR message, and the message carries a transmission policy notification indication and a selected transmission policy. And setting the value of the BTR message Destination-Host AVP according to the identifier of the PCRF provided by the SCEF.
  • the PCRF receives a transmission policy notification message (BTR message) sent by the PC according to the identifier of the PCRF, where the transmission policy notification message carries a transmission policy notification indication, a selected transmission policy, and an identifier of the PCRF.
  • BTR message transmission policy notification message
  • the PCRF returns an acknowledgement message BTA to the PC; the PC converts the BTA message into an HTTP response message and sends it to the SCEF; the PCRF saves the determined new transmission policy and the corresponding reference identifier to the SPR; the SPR returns an acknowledgement message.
  • the identifier of the PCRF in the above embodiment may be an identifier of a directly addressable PCRF, or may be an identifier of a PCRF obtained by the PC according to a certain mapping relationship, that is, the PC may obtain an optionally located PCRF according to the identifier of the PCRF.
  • logo may be an identifier of a directly addressable PCRF, or may be an identifier of a PCRF obtained by the PC according to a certain mapping relationship, that is, the PC may obtain an optionally located PCRF according to the identifier of the PCRF.
  • the PCRF when the PCRF provides more than one transmission policy, the PCRF provides the PC with the identity of its PCRF. In other embodiments, the PCRF always provides the identity of its PCRF to the PC.
  • FIG. 5 is a schematic flowchart of a policy charging control method according to Embodiment 3 of the present invention. As shown in FIG. 5, the policy charging control method includes the following steps:
  • Step 501 The SCEF receives the trigger and decides to request the background data transmission policy from the PCRF.
  • This trigger may come from an external AF or SCEF itself (ie SCEF has AF function).
  • Step 502 The SCEF sends an HTTP request message to the PC, where the message carries a transmission policy request indication, an application provider identifier, a traffic for each UE to transmit data, and a time window required for transmitting data.
  • Step 503 The PC converts the HTTP request message into a Diameter BTR message and sends the message to the PCRF.
  • the message carries the transmission policy request indication, the application provider identifier, the traffic of each UE to transmit data, and the time window required for transmitting the data.
  • PCRF is any PCRF in the network.
  • Step 504 The PCRF requests an existing transmission policy from the SPR.
  • Step 505 The SPR returns all existing transmission policies to the PCRF.
  • Step 506 The PCRF according to the information requested by the SCEF, all existing transmission policies, and network policies. And other relevant information to determine the new transmission strategy.
  • the policy includes a suggested time window, a billing rate, and optionally a maximum aggregation rate.
  • Step 507 The PCRF returns a Background-Data-Transfer-Answer (BTA, background data transmission response) message to the PC, where the message carries the decision transmission strategy and the corresponding reference identifier.
  • BTA Background-Data-Transfer-Answer
  • Step 508 The PC converts the BTA message into an HTTP response message and sends it to the SCEF.
  • the message carries the decision transmission strategy and the corresponding reference identifier.
  • the PC determines that the PCRF returns one or more transmission policies, and the PC carries the identifier of the PCRF in the HTTP response message.
  • the value of the identifier of the PCRF is obtained by the PC from the Origin-Host AVP of the BTA message.
  • SCEF may send the information further to AF;
  • Step 509 If the SCEF receives more than one transmission policy, and the AF selects one of them, the SCEF sends an HTTP request message to the PC, where the message carries the transmission policy notification indication and the selected transmission policy and the identifier of the PCRF.
  • Step 510 The PC converts the HTTP request message into a BTR message, where the message carries a transmission policy notification indication and a selected transmission policy. And setting the value of the BTR message Destination-Host AVP according to the identifier of the PCRF provided by the SCEF.
  • Step 511 The PCRF returns a confirmation message BTA to the PC;
  • Step 512 The PC converts the BTA message into an HTTP response message and sends it to the SCEF.
  • Step 513 The PCRF saves the determined new transmission policy and the corresponding reference identifier to the SPR.
  • Step 514 The SPR returns a confirmation message.
  • the SCEF when the PC determines that the PCRF provides more than one transmission policy, the SCEF is provided with the identifier of the PCRF.
  • the PC can also provide the identifier of the PCRF to the SCEF without making a judgment.
  • FIG. 6 is a schematic flowchart of a policy charging control method according to Embodiment 4 of the present invention. As shown in FIG. 6, the policy charging control method includes the following steps:
  • Step 601 The SCEF receives the trigger and decides to request the background data transmission policy from the PCRF.
  • This trigger may come from an external AF or SCEF itself (ie SCEF has AF function).
  • Step 602 The SCEF sends an HTTP request message to the PC, where the message carries a transmission policy request indication, an application provider identifier, a traffic for each UE to transmit data, and a time window required for transmitting data.
  • Step 603 The PC converts the HTTP request message into a Diameter BTR message and sends the message to the PCRF.
  • the message carries the transmission policy request indication, the application provider identifier, the traffic of each UE to transmit data, and the time window required for transmitting the data.
  • PCRF is any PCRF in the network.
  • Step 604 The PCRF requests an existing transmission policy from the SPR.
  • Step 605 The SPR returns all existing transmission policies to the PCRF.
  • Step 606 The PCRF determines a new transmission policy according to the information requested by the SCEF, all transmission policies already existing, network policies, and other related information.
  • the policy includes a suggested time window, a billing rate, and optionally a maximum aggregation rate.
  • Step 607 The PCRF returns a Background-Data-Transfer-Answer (BTA, background data transmission) to the PC.
  • BTA Background-Data-Transfer-Answer
  • the message is sent to the message, and the message carries the decision transmission strategy and the corresponding reference identifier. If the PCRF returns more than one transmission policy to the PC, the PCRF message carries the identifier of the PCRF, and the identifier of the PCRF is carried in the newly defined AVP.
  • BTA Background-Data-Transfer-Answer
  • Step 608 The PC converts the BTA message into an HTTP response message and sends it to the SCEF.
  • the message carries the decision transmission strategy and the corresponding reference identifier. If the PCRF returns the identifier of the PCRF, the PC also carries the identifier of the PCRF in the message.
  • SCEF may send the information further to AF;
  • Step 609 If the SCEF receives more than one transmission policy, and the AF selects one of them, the SCEF sends an HTTP request message to the PC, where the message carries the transmission policy notification indication and the selected transmission policy and the identifier of the PCRF.
  • Step 610 The PC converts the HTTP request message into a BTR message, where the message carries a transmission policy notification indication and a selected transmission policy. And setting the value of the BTR message Destination-Host AVP according to the identifier of the PCRF provided by the SCEF.
  • Step 611 The PCRF returns a confirmation message BTA to the PC;
  • Step 612 The PC converts the BTA message into an HTTP response message and sends it to the SCEF.
  • Step 613 The PCRF saves the determined new transmission policy and the corresponding reference identifier to the SPR.
  • Step 614 The SPR returns a confirmation message.
  • the PCRF message carries the identifier of the PCRF, and the identifier of the PCRF is carried in the newly defined AVP.
  • the PCRF always carries the identity of the PCRF in the message, the identity of the PCRF being carried in the newly defined AVP.
  • FIG. 7 is a schematic structural diagram of a protocol converter (PC) according to an embodiment of the present invention. As shown in FIG. 7, the protocol converter includes:
  • the first receiving unit 71 is configured to receive a transmission policy request message sent by the SCEF.
  • a first protocol conversion unit 72 configured to request a message protocol conversion on the transmission policy
  • the first sending unit 73 is configured to send the protocol-transformed transmission policy request message to the PCRF;
  • the second receiving unit 74 is configured to receive a BTA message sent by the PCRF, where the BTA message carries a transmission policy of the decision;
  • a second protocol conversion unit 75 configured to convert the BTA message protocol
  • the encapsulating unit 76 is configured to carry an identifier of the PCRF in the transmission policy response message
  • a second sending unit 77 configured to send a transmission policy response message carrying the identifier of the PCRF to the SCEF;
  • a third receiving unit 78 configured to receive a transmission policy notification message sent by the SCEF, where the transmission policy notification message carries an identifier of the PCRF and a transmission policy selected from the transmission policy;
  • the third sending unit 79 is configured to send the transmission policy notification message protocol to the PCRF.
  • the first receiving unit 71 is further configured to receive a hypertext transfer protocol HTTP request message sent by the SCEF,
  • the HTTP request message carries at least: a transmission policy request indication;
  • the first protocol conversion unit 72 is further configured to: after converting the HTTP request message, send a first BTR message to the PCRF, where the first BTR message carries at least: a transmission policy request indication.
  • the second protocol conversion unit 75 is further configured to: after converting the BTA message, send an HTTP response message to the SCEF, where the HTTP response message carries at least: a determined transmission policy, a corresponding reference identifier, and the PCRF. logo.
  • the encapsulating unit 76 is further configured to: when it is determined that the transmission policy includes more than one transmission policy, carry the identifier of the PCRF in the transmission policy response message.
  • the value of the identifier of the PCRF is obtained from the value of the Origin-Host attribute of the BTA message to the AVP.
  • the third sending unit 79 is further configured to: after converting the transmission policy notification message protocol, send a second BTR message to the PCRF, and set a Destination-Host AVP of the second BTR message according to the identifier of the PCRF. The value.
  • each unit in the protocol converter shown in FIG. 7 can be implemented by a program running on a processor, or can be realized by a specific logic circuit.
  • FIG. 8 is a schematic structural diagram of a policy charging rule device (PCRF) according to an embodiment of the present invention. As shown in FIG. 8, the policy charging rule device includes:
  • the determining unit 81 is configured to: after receiving the first BTR message sent by the PC, determine a transmission policy
  • the sending unit 82 is configured to send a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF, so that the PC converts the BTA message protocol and sends it to the SCEF;
  • the receiving unit 83 is configured to receive a second BTR message sent by the PC according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
  • the determining unit 81 is further configured to determine a transmission policy according to the transmission policy request message, the existing transmission policy, and a network policy, where the transmission policy includes: a time window, a charging rate, and optionally a maximum Aggregation rate.
  • the sending unit 82 is further configured to: when the one or more transmission policies are sent to the PC, the PCRF carries the identifier of the PCRF in the BTA message, and the identifier of the PCRF is carried in a newly defined AVP. in.
  • each unit in the policy charging rule device shown in FIG. 8 can be understood by referring to the related description of the foregoing policy charging control method.
  • the functions of each unit in the policy charging rule device shown in FIG. 7 can be implemented by a program running on a processor, or can be implemented by a specific logic circuit.
  • FIG. 9 is a schematic structural diagram of a policy charging control system according to an embodiment of the present invention. As shown in FIG. 9, the system includes:
  • the PCRF 91 is configured to: after receiving the first BTR message sent by the PC 92, determine a transmission policy, to the The PC 92 sends a BTA message, where the BTA message carries the transmission policy and the identifier of the PC 92RF 91;
  • the PC 92 is configured to convert the BTA message protocol and send it to the SCEF 93;
  • the SCEF 93 is further configured to receive a second BTR message sent by the PC 92 according to the identifier of the PC 92RF 91, where the second BTR message carries the transmission policy selected from the transmission policy.
  • the PC 92 is further configured to receive a BTA message sent by the PC 92RF 91, where the BTA message carries a transmission policy of the decision; after converting the BTA message protocol, sending the BTA message protocol to the SCEF 93 Transmitting a policy response message, carrying the identifier of the PC 92RF 91 in the transmission policy response message;
  • the SCEF 93 is configured to send a transmission policy notification message to the PC 92, where the transmission policy notification message carries the identifier of the PC 92RF 91 and a transmission policy selected from the transmission policy;
  • the PC 92 is further configured to send the transmission policy notification message protocol to the PC 92RF91 after being converted.
  • the disclosed method and smart device may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one second processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit;
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the invention is applicable to the field of communication, and is configured to carry the identifier of the PCRF in the transmission policy response message, and the identifier of the PCRF is also carried in the transmission policy notification message, so as to be addressed to the corresponding PCRF according to the identifier of the PCRF.

Abstract

The invention discloses a policy charging control method, a protocol converter, and a policy charging rule apparatus. The method comprises: a PC receives a BTA message transmitted from a PCRF, the BTA message carrying decision-making transmission policies; after performing protocol conversion on the BTA message, transmitting a transmission policy response message to a SCEF, the transmission policy response message carrying an identifier of the PCRF; receiving a transmission policy notification message transmitted from the SCEF, the transmission policy notification message carrying the identifier of the PCRF and a selected transmission policy from among the transmission policies; and transmitting, to the PCRF, the transmission policy notification message after protocol conversion.

Description

策略计费控制方法、协议转换器、策略计费规则设备、系统Policy charging control method, protocol converter, policy charging rule device, system 技术领域Technical field
本发明涉及通信技术,尤其涉及一种策略计费控制方法、协议转换器、策略计费规则设备、系统。The present invention relates to communication technologies, and in particular, to a policy charging control method, a protocol converter, a policy charging rule device, and a system.
背景技术Background technique
图1是第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)定义的策略和计费控制(PCC,Policy and Charging Control)的架构示意图。图2是部署协议转换器(PC,Protocol Converter)的PCC架构示意图。如图1和图2所示,策略和计费规则功能(PCRF,Policy and Charging Rules Function)为业务使用网络资源进行服务质量(QoS,Quality of Service)和计费策略的制订。而PCRF制定上述控制策略需要结合从应用功能(AF,Application Function)接收的业务信息、从用户签约数据库(SPR,Subscription Profile Repository)接收的用户签约信息、运营商配置的策略等。PCRF将为业务制定的控制策略下发给策略和计费执行功能(PCEF,Policy and Charging Enforcement Function)或者承载绑定和事件上报功能(BBERF,Bearer Binding and Event Report Function)执行。与此同时,PCRF可以向PCEF和/或BBERF订阅承载层相关事件,以便当承载层发生上述事件时能够及时感知,并更改控制策略。此外,PCEF以及业务检测功能(TDF,Traffic Detection Function)能够根据PCRF下发的PCC规则(PCEF)或应用和检测控制(ADC,Application Detection and Control)规则(TDF)执行应用检测和控制功能。Figure 1 is a schematic diagram of the architecture of a Policy and Charging Control (PCC) defined by the 3rd Generation Partnership Project (3GPP). 2 is a schematic diagram of a PCC architecture of a deployment protocol converter (PC). As shown in FIG. 1 and FIG. 2, the Policy and Charging Rules Function (PCRF) is used to formulate a QoS (Quality of Service) and a charging policy for a service using network resources. The PCRF needs to combine the service information received from the application function (AF, Application Function), the user subscription information received from the SPR (Subscription Profile Repository), and the policy configured by the operator. The PCRF sends the control policy for the service to the Policy and Charging Enforcement Function (PCEF) or the Bearer Binding and Event Report Function (BBERF). At the same time, the PCRF can subscribe to the bearer layer related events to the PCEF and/or the BBERF, so that when the above events occur in the bearer layer, it can be perceived in time and change the control strategy. In addition, the PCEF and the Traffic Detection Function (TDF) can perform application detection and control functions according to the PCC rules (PCEF) or the Application and Detection Control (ADC) issued by the PCRF.
随着移动互联网技术的飞速发展,运营商需要与第三方数据应用提供商进行互通,为第三方数据应用提供商所提供的业务进行QoS保障。由于目前PCC支持的Rx接口采用的是Diameter协议,而对于大多数第三方数据应用提供商而言,其更擅长基于SOAF或REST协议的开发。因此,在PCRF和AF之间设置一个称为协议转换器(PC,Protocol Converter)的网元,用于实现REST协议与Diameter协议之间的转换(如图2所示)。目前,PC采用无状态的机制进行REST协议和Diameter协议之间的转换,即PC上面并不保存针对一个AF会话的上下文信息。With the rapid development of mobile Internet technology, operators need to communicate with third-party data application providers to provide QoS for services provided by third-party data application providers. Since the current RPC interface supported by PCC uses the Diameter protocol, it is better at developing based on SOAF or REST protocol for most third-party data application providers. Therefore, a network element called a protocol converter (PC) is provided between the PCRF and the AF to implement conversion between the REST protocol and the Diameter protocol (as shown in FIG. 2). Currently, the PC uses a stateless mechanism to convert between the REST protocol and the Diameter protocol, that is, the context information for an AF session is not saved on the PC.
同时,为了进一步向第三方应用提供商开放移动网络能力,特别是网络向第三方提供传输背景数据提供特殊的时间窗。具体步骤如图3所示:At the same time, in order to further open the mobile network capabilities to third-party application providers, in particular, the network provides a special time window for providing third party transmission background data. The specific steps are shown in Figure 3:
S301:业务能力开放功能(SCEF,Service Capability Exposure Function)收到触发,决定向PCRF请求背景数据传输策略。该触发可能来自外部的AF,或是SCEF自身(即SCEF具有AF功能)。S301: The Service Capability Exposure Function (SCEF) receives the trigger and decides to request the background data transmission policy from the PCRF. This trigger may come from an external AF or SCEF itself (ie SCEF has AF function).
S302:SCEF向PCRF发送背景数据传输请求(BTR,Background-Data-Transfer-Reques)消息,消息中携带传输策略请求指示,应用提供商标识、每个UE传输数据 的流量以及传输数据需要的时间窗等。其中PCRF是网络中任一PCRF。S302: The SCEF sends a background data transmission request (BTR, Background-Data-Transfer-Reques) message to the PCRF, where the message carries a transmission policy request indication, the application provider identifier, and each UE transmits data. The flow rate and the time window required to transmit the data. Where PCRF is any PCRF in the network.
S303:PCRF向SPR请求已经存在的传输策略。S303: The PCRF requests an existing transmission policy from the SPR.
S304:SPR向PCRF返回已经存在的所有传输策略。S304: The SPR returns all existing transmission policies to the PCRF.
S305:PCRF根据SCEF请求的信息、已经存在的所有传输策略、网络策略和其他相关信息决定新的传输策略。策略包括建议的时间窗、计费费率以及可选地最大聚合速率。S305: The PCRF determines a new transmission policy according to the information requested by the SCEF, all existing transmission policies, network policies, and other related information. The policy includes a suggested time window, a billing rate, and optionally a maximum aggregation rate.
S306:PCRF向SCEF返回背景数据传输应答(BTA,Background-Data-Transfer-Answer)消息,消息中携带决策的传输策略以及对应的参考标识。SCEF可能会将信息进一步发送给AF。S306: The PCRF returns a background data transmission response (BTA, Background-Data-Transfer-Answer) message to the SCEF, where the message carries the decision transmission strategy and the corresponding reference identifier. The SCEF may send the information further to the AF.
S307:若SCEF接收到一个以上的传输策略,并且AF选择其中一个后,SCEF向PCRF发送BTR消息,消息中携带传输策略通知指示和选择的传输策略。S307: If the SCEF receives more than one transmission policy, and the AF selects one of the following, the SCEF sends a BTR message to the PCRF, where the message carries the transmission policy notification indication and the selected transmission policy.
S308:PCRF向SCEF返回确认消息。S308: The PCRF returns an acknowledgement message to the SCEF.
S309:PCRF将确定的新的传输策略以及对应的参考标识保存到SPR;S309: The PCRF saves the determined new transmission policy and the corresponding reference identifier to the SPR.
S310:SPR返回确认消息。S310: The SPR returns a confirmation message.
此后,当背景数据传输将要开始时,AF向PCRF提供的AF会话信息里面携带参考标识。PCRF根据参考标识从SPR中获取相应传输策略并根据传输策略制定相应的PCC规则。Thereafter, when the background data transmission is about to start, the AF carries the reference identifier in the AF session information provided by the PCRF. The PCRF obtains a corresponding transmission policy from the SPR according to the reference identifier and formulates a corresponding PCC rule according to the transmission policy.
为了支持背景数据传输的策略决策,需要同时支持Rx接口和Nt接口。为了能够尽可能的简化网络部署的复杂性,让PC支持Nt接口从REST协议到Diameter协议的转换是一种可行的方案。然而,从图3流程可以发现,到网络决策一个以上的传输策略后,需要SCEF(AF)将选择的传输策略提供给PCRF,则就要求网络能够找到之前决策传输策略的PCRF。但是由于PC是无状态的,因此在部署PC的场景下,SCEF将可能无法找到同一个PCRF。In order to support the policy decision of background data transmission, it is necessary to support both the Rx interface and the Nt interface. In order to simplify the complexity of network deployment as much as possible, it is a feasible solution for the PC to support the conversion of the Nt interface from the REST protocol to the Diameter protocol. However, it can be found from the flow of FIG. 3 that after the network decides more than one transmission strategy, the SCEF (AF) needs to provide the selected transmission strategy to the PCRF, and then the network is required to find the PCRF of the previous decision transmission strategy. However, since the PC is stateless, SCEF may not be able to find the same PCRF in the scenario of deploying a PC.
发明内容Summary of the invention
为解决上述技术问题,本发明实施例提供了一种策略计费控制方法、协议转换器、策略计费规则设备、系统。To solve the above technical problem, an embodiment of the present invention provides a policy charging control method, a protocol converter, a policy charging rule device, and a system.
本发明实施例提供的策略计费控制方法,包括:The policy charging control method provided by the embodiment of the present invention includes:
接收PCRF发送的BTA消息,所述BTA消息中携带决策的传输策略;Receiving a BTA message sent by the PCRF, where the BTA message carries a transmission policy of the decision;
将所述BTA消息协议转换后,向SCEF发送传输策略应答消息,在所述传输策略应答消息中携带所述PCRF的标识;Transmitting the BTA message protocol, sending a transmission policy response message to the SCEF, and carrying the identifier of the PCRF in the transmission policy response message;
接收所述SCEF发送的传输策略通知消息,所述传输策略通知消息中携带所述PCRF的标识和从所述传输策略中选择出的传输策略;Receiving a transmission policy notification message sent by the SCEF, where the transmission policy notification message carries an identifier of the PCRF and a transmission policy selected from the transmission policy;
将所述传输策略通知消息协议转换后发送给所述PCRF。Transmitting the transmission policy notification message protocol to the PCRF.
本发明实施例中,所述接收SCEF发送的传输策略请求消息,对所述传输策略请 求消息协议转换后,发送给PCRF,包括:In the embodiment of the present invention, the receiving a transmission policy request message sent by the SCEF, and requesting the transmission policy After the message protocol is converted, it is sent to the PCRF, including:
接收SCEF发送的超文本传输协议(HTTP,HyperText Transfer Protocol)请求消息,所述HTTP请求消息中至少携带:传输策略请求指示;Receiving, by the SCEF, a HyperText Transfer Protocol (HTTP) request message, where the HTTP request message carries at least: a transmission policy request indication;
将所述HTTP请求消息转换后向所述PCRF发送第一BTR消息,所述第一BTR消息中至少携带:传输策略请求指示。After the HTTP request message is converted, the first BTR message is sent to the PCRF, where the first BTR message carries at least: a transmission policy request indication.
本发明实施例中,所述将所述BTA消息协议转换后,向所述SCEF发送传输策略应答消息,在所述传输策略应答消息中携带所述PCRF的标识,包括:In the embodiment of the present invention, after the BTA message protocol is converted, the transmission policy response message is sent to the SCEF, and the identifier of the PCRF is carried in the transmission policy response message, including:
将所述BTA消息转换后向所述SCEF发送HTTP应答消息,所述HTTP应答消息中至少携带:决策的传输策略、对应的参考标识以及所述PCRF的标识;After the BTA message is converted, the HTTP response message is sent to the SCEF, where the HTTP response message carries at least: a transmission policy of the decision, a corresponding reference identifier, and an identifier of the PCRF;
本发明实施例中,当判断出所述传输策略中包含一个以上的传输策略时,在所述传输策略应答消息中携带所述PCRF的标识。In the embodiment of the present invention, when it is determined that the transmission policy includes more than one transmission policy, the identifier of the PCRF is carried in the transmission policy response message.
本发明实施例中,所述方法还包括:In the embodiment of the present invention, the method further includes:
从所述BTA消息的源主机(Origin-Host)属性值对AVP中获取所述PCRF的标识的取值。Obtaining the value of the identifier of the PCRF from the value of the source host (Origin-Host) attribute of the BTA message to the AVP.
本发明实施例中,所述将所述传输策略通知消息协议转换后发送给所述PCRF,包括:In the embodiment of the present invention, after the converting the transmission policy notification message protocol to the PCRF, the method includes:
将所述传输策略通知消息协议转换后,向所述PCRF发送第二BTR消息,根据所述PCRF的标识设置所述第二BTR消息的目的主机(Destination-Host)AVP的取值。After the transmission policy notification message protocol is converted, the second BTR message is sent to the PCRF, and the value of the destination host (Destination-Host) AVP of the second BTR message is set according to the identifier of the PCRF.
本发明实施例中,接收PCRF发送的BTA消息之前,所述方法还包括:In the embodiment of the present invention, before receiving the BTA message sent by the PCRF, the method further includes:
接收SCEF发送的传输策略请求消息,对所述传输策略请求消息协议转换后,发送给PCRF。The transmission policy request message sent by the SCEF is received, and the transmission policy request message protocol is converted, and then sent to the PCRF.
本发明另一实施例提供的策略计费控制方法,包括:A policy charging control method provided by another embodiment of the present invention includes:
PCRF接收PC发送的第一BTR消息后,决策出传输策略,向所述PC发送BTA消息,所述BTA消息中携带所述传输策略和所述PCRF的标识,从而所述PC将所述BTA消息协议转换后发送给SCEF;After receiving the first BTR message sent by the PC, the PCRF determines a transmission policy, and sends a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF, so that the PC sends the BTA message. The protocol is converted and sent to the SCEF;
接收所述PC根据所述PCRF的标识发送的第二BTR消息,所述第二BTR消息中携带所述从所述传输策略中选择出的传输策略。And receiving, by the PC, a second BTR message that is sent according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
本发明实施例中,所述决策出传输策略,包括:In the embodiment of the present invention, the determining a transmission strategy includes:
根据所述传输策略请求消息、所述已有的传输策略、网络策略决策出传输策略,所述传输策略包括:时间窗、计费费率以及可选地最大聚合速率。And transmitting, according to the transmission policy request message, the existing transmission policy, and the network policy, a transmission policy, where the transmission policy includes: a time window, a charging rate, and optionally a maximum aggregation rate.
本发明实施例中,所述方法还包括:In the embodiment of the present invention, the method further includes:
当所述PCRF向所述PC发送了一个以上的传输策略,则所述PCRF在所述BTA消息中携带所述PCRF的标识,所述PCRF的标识携带在新定义的AVP中。When the PCRF sends more than one transmission policy to the PC, the PCRF carries the identifier of the PCRF in the BTA message, and the identifier of the PCRF is carried in the newly defined AVP.
本发明实施例提供的协议转换器,包括: The protocol converter provided by the embodiment of the present invention includes:
第二接收单元,设置为接收PCRF发送的BTA消息,所述BTA消息中携带决策的传输策略;a second receiving unit, configured to receive a BTA message sent by the PCRF, where the BTA message carries a transmission policy of the decision;
第二协议转换单元,设置为将所述BTA消息协议转换;a second protocol conversion unit, configured to convert the BTA message protocol;
封装单元,设置为在所述传输策略应答消息中携带PCRF的标识;An encapsulating unit, configured to carry an identifier of the PCRF in the transmission policy response message;
第二发送单元,设置为将携带PCRF的标识的传输策略应答消息发送给所述SCEF;a second sending unit, configured to send a transmission policy response message carrying the identifier of the PCRF to the SCEF;
第三接收单元,设置为接收所述SCEF发送的传输策略通知消息,所述传输策略通知消息中携带所述PCRF的标识和从所述传输策略中选择出的传输策略;a third receiving unit, configured to receive a transmission policy notification message sent by the SCEF, where the transmission policy notification message carries an identifier of the PCRF and a transmission policy selected from the transmission policy;
第三发送单元,设置为将所述传输策略通知消息协议转换后发送给所述PCRF。The third sending unit is configured to send the transmission policy notification message protocol to the PCRF.
本发明实施例中,第一接收单元,还设置为接收SCEF发送的超文本传输协议HTTP请求消息,所述HTTP请求消息中至少携带:传输策略请求指示;In the embodiment of the present invention, the first receiving unit is further configured to receive a hypertext transfer protocol HTTP request message sent by the SCEF, where the HTTP request message carries at least: a transmission policy request indication;
第一协议转换单元,还设置为将所述HTTP请求消息转换后向所述PCRF发送第一BTR消息,所述第一BTR消息中至少携带:传输策略请求指示。The first protocol conversion unit is further configured to: after converting the HTTP request message, send a first BTR message to the PCRF, where the first BTR message carries at least: a transmission policy request indication.
本发明实施例中,所述第二协议转换单元,还设置为将所述BTA消息转换后向所述SCEF发送HTTP应答消息,所述HTTP应答消息中至少携带:决策的传输策略、对应的参考标识以及所述PCRF的标识。In the embodiment of the present invention, the second protocol conversion unit is further configured to: after converting the BTA message, send an HTTP response message to the SCEF, where the HTTP response message carries at least: a transmission policy of the decision, and a corresponding reference. Identification and identification of the PCRF.
本发明实施例中,所述封装单元,还设置为当判断出所述传输策略中包含一个以上的传输策略时,在所述传输策略应答消息中携带所述PCRF的标识。In the embodiment of the present invention, the encapsulating unit is further configured to: when it is determined that the transmission policy includes more than one transmission policy, the identifier of the PCRF is carried in the transmission policy response message.
本发明实施例中,所述封装单元,还设置为从所述BTA消息的Origin-Host属性值对AVP中获取所述PCRF的标识的取值。In the embodiment of the present invention, the encapsulating unit is further configured to obtain the value of the identifier of the PCRF from the value of the Origin-Host attribute of the BTA message to the AVP.
本发明实施例中,所述第三发送单元,还设置为将所述传输策略通知消息协议转换后,向所述PCRF发送第二BTR消息,根据所述PCRF的标识设置所述第二BTR消息的Destination-Host AVP的取值。In the embodiment of the present invention, the third sending unit is further configured to: after converting the transmission policy notification message protocol, send a second BTR message to the PCRF, and set the second BTR message according to the identifier of the PCRF. The value of the Destination-Host AVP.
本发明实施例中,所述协议转换器还包括:In the embodiment of the present invention, the protocol converter further includes:
第一接收单元,设置为接收SCEF发送的传输策略请求消息;a first receiving unit, configured to receive a transmission policy request message sent by the SCEF;
第一协议转换单元,设置为对所述传输策略请求消息协议转换;a first protocol conversion unit, configured to request a message protocol conversion on the transmission policy;
第一发送单元,设置为将协议转换后的所述传输策略请求消息发送给PCRF;a first sending unit, configured to send the protocol-transformed transmission policy request message to the PCRF;
本发明实施例提供的策略计费规则设备PCRF,包括:The policy charging rule device PCRF provided by the embodiment of the present invention includes:
决策单元,设置为接收PC发送的第一BTR消息后,决策出传输策略;a decision unit, configured to receive a first BTR message sent by the PC, and then determine a transmission strategy;
发送单元,设置为向所述PC发送BTA消息,所述BTA消息中携带所述传输策略和所述PCRF的标识,从而所述PC将所述BTA消息协议转换后发送给SCEF;a sending unit, configured to send a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF, so that the PC converts the BTA message protocol and sends it to the SCEF;
接收单元,设置为接收所述PC根据所述PCRF的标识发送的第二BTR消息,所述第二BTR消息中携带所述从所述传输策略中选择出的传输策略。The receiving unit is configured to receive a second BTR message sent by the PC according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
本发明实施例中,所述决策单元,还设置为根据所述传输策略请求消息、所述已有的传输策略、网络策略决策出传输策略,所述传输策略包括:时间窗、计费费率以 及可选的最大聚合速率。In the embodiment of the present invention, the determining unit is further configured to: determine, according to the transmission policy request message, the existing transmission policy, and the network policy, a transmission policy, where the transmission policy includes: a time window, a charging rate Take And an optional maximum polymerization rate.
本发明实施例中,所述发送单元,还设置为当向所述PC发送了一个以上的传输策略,则所述PCRF在所述BTA消息中携带所述PCRF的标识,所述PCRF的标识携带在新定义的AVP中。In the embodiment of the present invention, the sending unit is further configured to: when the one or more transmission policies are sent to the PC, the PCRF carries the identifier of the PCRF in the BTA message, and the identifier of the PCRF carries In the newly defined AVP.
本发明实施例提供的策略计费控制系统,包括:The policy charging control system provided by the embodiment of the invention includes:
PCRF,设置为接收PC发送的第一BTR消息后,决策出传输策略,向所述PC发送BTA消息,所述BTA消息中携带所述传输策略和所述PCRF的标识;The PCRF is configured to: after receiving the first BTR message sent by the PC, determine a transmission policy, and send a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF;
PC,设置为将所述BTA消息协议转换后发送给SCEF;The PC is configured to convert the BTA message protocol and send it to the SCEF;
所述SCEF,还设置为接收所述PC根据所述PCRF的标识发送的第二BTR消息,所述第二BTR消息中携带所述从所述传输策略中选择出的传输策略。The SCEF is further configured to receive a second BTR message sent by the PC according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
本发明实施例中,PCRF,设置为接收PC发送的第一BTR消息后,决策出传输策略,向所述PC发送BTA消息,所述BTA消息中携带所述传输策略和所述PCRF的标识;In the embodiment of the present invention, the PCRF is configured to: after receiving the first BTR message sent by the PC, determine a transmission policy, and send a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF;
PC,设置为将所述BTA消息协议转换后发送给SCEF;The PC is configured to convert the BTA message protocol and send it to the SCEF;
所述SCEF,还设置为接收所述PC根据所述PCRF的标识发送的第二BTR消息,所述第二BTR消息中携带所述从所述传输策略中选择出的传输策略。The SCEF is further configured to receive a second BTR message sent by the PC according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
本发明实施例的技术方案中,PC接收SCEF发送的传输策略请求消息,对所述传输策略请求消息协议转换后,发送给PCRF;接收所述PCRF发送的BTA消息,所述BTA消息中携带决策的传输策略;将所述BTA消息协议转换后,向所述SCEF发送传输策略应答消息,在所述传输策略应答消息中携带所述PCRF的标识;接收所述SCEF发送的传输策略通知消息,所述传输策略通知消息中携带所述PCRF的标识和从所述传输策略中选择出的传输策略;将所述传输策略通知消息协议转换后发送给所述PCRF。可见,在传输策略应答消息中携带了PCRF的标识,并且传输策略通知消息中也携带上述PCRF的标识,如此,实现了根据PCRF的标识寻址到对应的PCRF。In the technical solution of the embodiment of the present invention, the PC receives the transmission policy request message sent by the SCEF, and after the conversion of the transmission policy request message protocol, the PC sends the BTA message, and the BTA message carries the decision. a transmission policy, after the BTA message protocol is converted, sending a transmission policy response message to the SCEF, carrying the identifier of the PCRF in the transmission policy response message, and receiving a transmission policy notification message sent by the SCEF, The transmission policy notification message carries the identifier of the PCRF and the transmission policy selected from the transmission policy; the transmission policy notification message protocol is converted and sent to the PCRF. It can be seen that the identifier of the PCRF is carried in the transmission policy response message, and the identifier of the PCRF is also carried in the transmission policy notification message, so that the corresponding PCRF is addressed according to the identifier of the PCRF.
附图说明DRAWINGS
图1为3GPP定义的PCC的架构示意图;FIG. 1 is a schematic structural diagram of a PCC defined by 3GPP;
图2为部署PC的PCC架构示意图;2 is a schematic diagram of a PCC architecture for deploying a PC;
图3为本发明实施例一的策略计费控制方法的流程示意图;3 is a schematic flowchart of a policy charging control method according to Embodiment 1 of the present invention;
图4为本发明实施例二的策略计费控制方法的流程示意图;4 is a schematic flowchart of a policy charging control method according to Embodiment 2 of the present invention;
图5为本发明实施例三的策略计费控制方法的流程示意图;5 is a schematic flowchart of a policy charging control method according to Embodiment 3 of the present invention;
图6为本发明实施例四的策略计费控制方法的流程示意图;6 is a schematic flowchart of a policy charging control method according to Embodiment 4 of the present invention;
图7为本发明实施例协议转换器(PC)的结构组成示意图;FIG. 7 is a schematic structural diagram of a protocol converter (PC) according to an embodiment of the present invention; FIG.
图8为本发明实施例的策略计费规则设备(PCRF)的结构组成示意图;FIG. 8 is a schematic structural diagram of a policy charging rule device (PCRF) according to an embodiment of the present invention;
图9为本发明实施例的策略计费控制系统的结构组成示意图。 FIG. 9 is a schematic structural diagram of a policy charging control system according to an embodiment of the present invention.
具体实施方式detailed description
为了能够更加详尽地了解本发明实施例的特点与技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明实施例。The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
图3为本发明实施例一的策略计费控制方法的流程示意图,本示例中的策略计费控制方法应用于PC,如图3所示,所述策略计费控制方法包括以下步骤:3 is a schematic flowchart of a policy charging control method according to Embodiment 1 of the present invention. The policy charging control method in this example is applied to a PC. As shown in FIG. 3, the policy charging control method includes the following steps:
步骤301:接收PCRF发送的BTA消息,所述BTA消息中携带决策的传输策略;将所述BTA消息协议转换后,向SCEF发送传输策略应答消息,在所述传输策略应答消息中携带所述PCRF的标识。Step 301: Receive a BTA message sent by the PCRF, where the BTA message carries a transmission policy of the decision; after the BTA message protocol is converted, the transmission policy response message is sent to the SCEF, where the PCRF is carried in the transmission policy response message. Logo.
本发明实施例中,接收所述PCRF发送的BTA消息之前,所述方法还包括:接收SCEF发送的传输策略请求消息,对所述传输策略请求消息协议转换后,发送给PCRF。In the embodiment of the present invention, before receiving the BTA message sent by the PCRF, the method further includes: receiving a transmission policy request message sent by the SCEF, and transmitting the message to the PCRF after the transmission policy request message protocol is converted.
本发明实施例中,SCEF收到触发,决定向PCRF请求背景数据传输策略。该触发可能来自外部的AF,或是SCEF自身(即SCEF具有AF功能)。In the embodiment of the present invention, the SCEF receives the trigger and decides to request the background data transmission policy from the PCRF. This trigger may come from an external AF or SCEF itself (ie SCEF has AF function).
然后,SCEF向PC发送传输策略请求消息,即HTTP请求消息,该HTTP请求消息中至少携带:传输策略请求指示;进一步可以包括:应用提供商标识、每个UE传输数据的流量以及传输数据需要的时间窗等。Then, the SCEF sends a transmission policy request message to the PC, that is, an HTTP request message, where the HTTP request message carries at least: a transmission policy request indication; and further includes: an application provider identifier, a traffic for each UE to transmit data, and a required data transmission Time window, etc.
这样,PC接收SCEF发送的传输策略请求消息,然后,对所述传输策略请求消息协议转换后,发送给PCRF。In this way, the PC receives the transmission policy request message sent by the SCEF, and then sends the message to the PCRF after the transmission policy request message protocol is converted.
具体地,PC将HTTP请求消息转换成Diameter BTR消息发送给PCRF,所述Diameter BTR消息中至少携带:传输策略请求指示;进一步还可以包括:应用提供商标识、每个UE传输数据的流量以及传输数据需要的时间窗等。其中,PCRF是网络中任一PCRF。Specifically, the PC converts the HTTP request message into a Diameter BTR message and sends the message to the PCRF. The Diameter BTR message carries at least: a transmission policy request indication; and further includes: an application provider identifier, a traffic for each UE to transmit data, and a transmission. The time window required for the data, etc. Where PCRF is any PCRF in the network.
本发明实施例中,PCRF向SPR请求已经存在的传输策略;SPR向PCRF返回已经存在的所有传输策略。PCRF根据SCEF请求的信息、已经存在的所有传输策略、网络策略和其他相关信息决定新的传输策略。所述传输策略包括建议的时间窗、计费费率以及可选地最大聚合速率。In the embodiment of the present invention, the PCRF requests an existing transmission policy from the SPR; the SPR returns all existing transmission policies to the PCRF. The PCRF determines the new transmission policy based on the information requested by the SCEF, all existing transmission policies, network policies, and other related information. The transmission policy includes a suggested time window, a billing rate, and optionally a maximum aggregation rate.
然后,PCRF向PC返回BTA消息,BTA消息中携带决策的传输策略以及对应的参考标识。这样,PC接收所述PCRF发送的BTA消息。PC将BTA消息转换成HTTP应答消息发送给SCEF。HTTP应答消息中携带决策的传输策略以及对应的参考标识。PC判断PCRF返回一个以上的传输策略,则PC在HTTP应答消息中携带PCRF的标识。该PCRF的标识取值是PC从BTA消息的Origin-Host AVP中获取。在一种实施方式中,SCEF会将信息进一步发送给AF。Then, the PCRF returns a BTA message to the PC, where the BTA message carries the decision transmission policy and the corresponding reference identifier. In this way, the PC receives the BTA message sent by the PCRF. The PC converts the BTA message into an HTTP response message and sends it to the SCEF. The HTTP response message carries the transmission policy of the decision and the corresponding reference identifier. The PC determines that the PCRF returns one or more transmission policies, and the PC carries the identifier of the PCRF in the HTTP response message. The identifier of the PCRF is obtained by the PC from the Origin-Host AVP of the BTA message. In one embodiment, the SCEF will send the information further to the AF.
步骤302:接收所述SCEF发送的传输策略通知消息,所述传输策略通知消息中 携带所述PCRF的标识和从所述传输策略中选择出的传输策略。Step 302: Receive a transmission policy notification message sent by the SCEF, where the transmission policy notification message is Carrying an identifier of the PCRF and a transmission policy selected from the transmission policy.
本发明实施例中,若SCEF接收到一个以上的传输策略,并且AF选择其中一个后,SCEF向PC发送HTTP请求消息,消息中携带传输策略通知指示和选择的传输策略以及PCRF的标识。这样,PC接收所述SCEF发送的HTTP请求消息,所述HTTP消息中携带传输策略通知指示、选择的传输策略以及PCRF的标识。In the embodiment of the present invention, if the SCEF receives more than one transmission policy, and the AF selects one of them, the SCEF sends an HTTP request message to the PC, where the message carries the transmission policy notification indication and the selected transmission policy and the identifier of the PCRF. In this way, the PC receives the HTTP request message sent by the SCEF, where the HTTP message carries a transmission policy notification indication, a selected transmission policy, and an identifier of the PCRF.
步骤303:将所述传输策略通知消息协议转换后发送给所述PCRF。Step 303: Convert the transmission policy notification message protocol to the PCRF.
本发明实施例中,PC将HTTP请求消息(传输策略通知消息)转换成BTR消息,BTR消息中携带传输策略通知指示和选择的传输策略。并且根据SCEF提供的PCRF的标识设置BTR消息Destination-Host AVP的取值。这样,即根据所述PCRF的标识将BTR消息发送给对应的PCRF。In the embodiment of the present invention, the PC converts the HTTP request message (transmission policy notification message) into a BTR message, where the BTR message carries the transmission policy notification indication and the selected transmission policy. And setting the value of the BTR message Destination-Host AVP according to the identifier of the PCRF provided by the SCEF. In this way, the BTR message is sent to the corresponding PCRF according to the identifier of the PCRF.
然后,PCRF向PC返回确认消息BTA;PC将BTA消息转换成HTTP应答消息发送给SCEF;PCRF将确定的新的传输策略以及对应的参考标识保存到SPR;SPR返回确认消息。Then, the PCRF returns an acknowledgement message BTA to the PC; the PC converts the BTA message into an HTTP response message and sends it to the SCEF; the PCRF saves the determined new transmission policy and the corresponding reference identifier to the SPR; the SPR returns an acknowledgement message.
在上述实施例中的PCRF的标识,可以是一个直接可寻址的PCRF的标识,也可以是PC根据一定映射关系获得的PCRF的标识,即PC可以根据该PCRF的标识获取可选址的PCRF的标识。The identifier of the PCRF in the above embodiment may be an identifier of a directly addressable PCRF, or may be an identifier of a PCRF obtained by the PC according to a certain mapping relationship, that is, the PC may obtain an optionally located PCRF according to the identifier of the PCRF. Logo.
在上述实施例中,当PC判断PCRF提供了一个以上的传输策略时,向SCEF提供PCRF的标识。当然,PC也可以不进行判断,总是将PCRF的标识提供给SCEF。In the above embodiment, when the PC determines that the PCRF provides more than one transmission policy, the SCEF is provided with the identifier of the PCRF. Of course, the PC can also provide the identifier of the PCRF to the SCEF without making a judgment.
图4为本发明实施例二的策略计费控制方法的流程示意图,本示例中的策略计费控制方法应用于PCRF,如图4所示,所述策略计费控制方法包括以下步骤:4 is a schematic flowchart of a policy charging control method according to Embodiment 2 of the present invention. The policy charging control method in this example is applied to a PCRF. As shown in FIG. 4, the policy charging control method includes the following steps:
步骤401:接收PC发送的第一BTR消息后,决策出传输策略,向所述PC发送BTA消息,所述BTA消息中携带所述传输策略和所述PCRF的标识,从而所述PC将所述BTA消息协议转换后发送给SCEF。Step 401: After receiving the first BTR message sent by the PC, determine a transmission policy, and send a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF, so that the PC will The BTA message protocol is converted and sent to the SCEF.
本发明实施例中,SCEF收到触发,决定向PCRF请求背景数据传输策略。该触发可能来自外部的AF,或是SCEF自身(即SCEF具有AF功能)。SCEF向PC发送HTTP请求消息,消息中携带传输策略请求指示,应用提供商标识、每个UE传输数据的流量以及传输数据需要的时间窗等。PC将HTTP请求消息转换成Diameter BTR消息发送给PCRF,消息中携带传输策略请求指示等。其中PCRF是网络中任一PCRF。In the embodiment of the present invention, the SCEF receives the trigger and decides to request the background data transmission policy from the PCRF. This trigger may come from an external AF or SCEF itself (ie SCEF has AF function). The SCEF sends an HTTP request message to the PC, where the message carries a transmission policy request indication, an application provider identifier, a traffic for each UE to transmit data, and a time window required for transmitting data. The PC converts the HTTP request message into a Diameter BTR message and sends it to the PCRF, where the message carries a transmission policy request indication and the like. Where PCRF is any PCRF in the network.
这样,PCRF接收PC发送的传输策略请求消息,即上述Diameter BTR消息。然后,PCRF向SPR请求已经存在的传输策略。In this way, the PCRF receives the transmission policy request message sent by the PC, that is, the above Diameter BTR message. The PCRF then requests the SPR for an existing transmission policy.
本发明实施例中,SPR向PCRF返回已经存在的所有传输策略。PCRF接收所述SPR发送的已有的传输策略。然后,PCRF根据SCEF请求的信息(传输策略请求消息)、已经存在的所有传输策略、网络策略和其他相关信息决定新的传输策略。策略包括建议的时间窗、计费费率以及可选地最大聚合速率。最后,PCRF向PC发送BTA 消息,所述BTA消息中携带所述传输策略和所述PCRF的标识。In the embodiment of the present invention, the SPR returns all existing transmission policies to the PCRF. The PCRF receives the existing transmission policy sent by the SPR. The PCRF then determines the new transmission policy based on the SCEF request information (transmission policy request message), all existing transmission policies, network policies, and other related information. The policy includes a suggested time window, a billing rate, and optionally a maximum aggregation rate. Finally, the PCRF sends a BTA to the PC. The BTA message carries the transmission policy and the identifier of the PCRF.
这里,若PCRF向PC返回了一个以上的传输策略,则BTA消息中携带所述PCRF的标识,该PCRF的标识携带在新定义的AVP中。或者,直接在BTA消息中携带所述PCRF的标识。Here, if the PCRF returns more than one transmission policy to the PC, the BTA message carries the identifier of the PCRF, and the identifier of the PCRF is carried in the newly defined AVP. Or, the identifier of the PCRF is directly carried in the BTA message.
PC将BTA消息转换成HTTP应答消息发送给SCEF。消息中携带决策的传输策略以及对应的参考标识。若PCRF返回了所述PCRF的标识,则PC在消息中还携带PCRF的标识。SCEF可能会将信息进一步发送给AF。The PC converts the BTA message into an HTTP response message and sends it to the SCEF. The message carries the decision transmission strategy and the corresponding reference identifier. If the PCRF returns the identifier of the PCRF, the PC also carries the identifier of the PCRF in the message. The SCEF may send the information further to the AF.
步骤402:接收所述PC根据所述PCRF的标识发送的第二BTR消息,所述第二BTR消息中携带所述从所述传输策略中选择出的传输策略。Step 402: Receive a second BTR message sent by the PC according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
本发明实施例中,若SCEF接收到一个以上的传输策略,并且AF选择其中一个后,SCEF向PC发送HTTP请求消息,消息中携带传输策略通知指示和选择的传输策略以及PCRF的标识。PC将HTTP请求消息转换成BTR消息,消息中携带传输策略通知指示和选择的传输策略。并且根据SCEF提供的PCRF的标识设置BTR消息Destination-Host AVP的取值。这样,PCRF接收所述PC根据所述PCRF的标识发送的传输策略通知消息(BTR消息),所述传输策略通知消息携带传输策略通知指示、选择的传输策略以及PCRF的标识。PCRF向PC返回确认消息BTA;PC将BTA消息转换成HTTP应答消息发送给SCEF;PCRF将确定的新的传输策略以及对应的参考标识保存到SPR;SPR返回确认消息。In the embodiment of the present invention, if the SCEF receives more than one transmission policy, and the AF selects one of them, the SCEF sends an HTTP request message to the PC, where the message carries the transmission policy notification indication and the selected transmission policy and the identifier of the PCRF. The PC converts the HTTP request message into a BTR message, and the message carries a transmission policy notification indication and a selected transmission policy. And setting the value of the BTR message Destination-Host AVP according to the identifier of the PCRF provided by the SCEF. In this way, the PCRF receives a transmission policy notification message (BTR message) sent by the PC according to the identifier of the PCRF, where the transmission policy notification message carries a transmission policy notification indication, a selected transmission policy, and an identifier of the PCRF. The PCRF returns an acknowledgement message BTA to the PC; the PC converts the BTA message into an HTTP response message and sends it to the SCEF; the PCRF saves the determined new transmission policy and the corresponding reference identifier to the SPR; the SPR returns an acknowledgement message.
在上述实施例中的PCRF的标识,可以是一个直接可寻址的PCRF的标识,也可以是PC根据一定映射关系获得的PCRF的标识,即PC可以根据该PCRF的标识获取可选址的PCRF的标识。The identifier of the PCRF in the above embodiment may be an identifier of a directly addressable PCRF, or may be an identifier of a PCRF obtained by the PC according to a certain mapping relationship, that is, the PC may obtain an optionally located PCRF according to the identifier of the PCRF. Logo.
在上述实施例中,当PCRF提供了一个以上的传输策略时,PCRF向PC提供其PCRF的标识。在其他实施例中,PCRF总是将其PCRF的标识提供给PC。In the above embodiment, when the PCRF provides more than one transmission policy, the PCRF provides the PC with the identity of its PCRF. In other embodiments, the PCRF always provides the identity of its PCRF to the PC.
图5为本发明实施例三的策略计费控制方法的流程示意图,如图5所示,所述策略计费控制方法包括以下步骤:FIG. 5 is a schematic flowchart of a policy charging control method according to Embodiment 3 of the present invention. As shown in FIG. 5, the policy charging control method includes the following steps:
步骤501:SCEF收到触发,决定向PCRF请求背景数据传输策略。该触发可能来自外部的AF,或是SCEF自身(即SCEF具有AF功能)。Step 501: The SCEF receives the trigger and decides to request the background data transmission policy from the PCRF. This trigger may come from an external AF or SCEF itself (ie SCEF has AF function).
步骤502:SCEF向PC发送HTTP请求消息,消息中携带传输策略请求指示,应用提供商标识、每个UE传输数据的流量以及传输数据需要的时间窗等。Step 502: The SCEF sends an HTTP request message to the PC, where the message carries a transmission policy request indication, an application provider identifier, a traffic for each UE to transmit data, and a time window required for transmitting data.
步骤503:PC将HTTP请求消息转换成Diameter BTR消息发送给PCRF,消息中携带传输策略请求指示,应用提供商标识、每个UE传输数据的流量以及传输数据需要的时间窗等。其中PCRF是网络中任一PCRF。Step 503: The PC converts the HTTP request message into a Diameter BTR message and sends the message to the PCRF. The message carries the transmission policy request indication, the application provider identifier, the traffic of each UE to transmit data, and the time window required for transmitting the data. Where PCRF is any PCRF in the network.
步骤504:PCRF向SPR请求已经存在的传输策略;Step 504: The PCRF requests an existing transmission policy from the SPR.
步骤505:SPR向PCRF返回已经存在的所有传输策略;Step 505: The SPR returns all existing transmission policies to the PCRF.
步骤506:PCRF根据SCEF请求的信息、已经存在的所有传输策略、网络策略 和其他相关信息决定新的传输策略。策略包括建议的时间窗、计费费率以及可选地最大聚合速率。Step 506: The PCRF according to the information requested by the SCEF, all existing transmission policies, and network policies. And other relevant information to determine the new transmission strategy. The policy includes a suggested time window, a billing rate, and optionally a maximum aggregation rate.
步骤507:PCRF向PC返回Background-Data-Transfer-Answer(BTA,背景数据传输应答)消息,消息中携带决策的传输策略以及对应的参考标识;Step 507: The PCRF returns a Background-Data-Transfer-Answer (BTA, background data transmission response) message to the PC, where the message carries the decision transmission strategy and the corresponding reference identifier.
步骤508:PC将BTA消息转换成HTTP应答消息发送给SCEF。消息中携带决策的传输策略以及对应的参考标识。PC判断PCRF返回一个以上的传输策略,则PC在HTTP应答消息中携带PCRF的标识。该PCRF的标识的取值是PC从BTA消息的Origin-Host AVP中获取。SCEF可能会将信息进一步发送给AF;Step 508: The PC converts the BTA message into an HTTP response message and sends it to the SCEF. The message carries the decision transmission strategy and the corresponding reference identifier. The PC determines that the PCRF returns one or more transmission policies, and the PC carries the identifier of the PCRF in the HTTP response message. The value of the identifier of the PCRF is obtained by the PC from the Origin-Host AVP of the BTA message. SCEF may send the information further to AF;
步骤509:若SCEF接收到一个以上的传输策略,并且AF选择其中一个后,SCEF向PC发送HTTP请求消息,消息中携带传输策略通知指示和选择的传输策略以及PCRF的标识。Step 509: If the SCEF receives more than one transmission policy, and the AF selects one of them, the SCEF sends an HTTP request message to the PC, where the message carries the transmission policy notification indication and the selected transmission policy and the identifier of the PCRF.
步骤510:PC将HTTP请求消息转换成BTR消息,消息中携带传输策略通知指示和选择的传输策略。并且根据SCEF提供的PCRF的标识设置BTR消息Destination-Host AVP的取值。Step 510: The PC converts the HTTP request message into a BTR message, where the message carries a transmission policy notification indication and a selected transmission policy. And setting the value of the BTR message Destination-Host AVP according to the identifier of the PCRF provided by the SCEF.
步骤511:PCRF向PC返回确认消息BTA;Step 511: The PCRF returns a confirmation message BTA to the PC;
步骤512:PC将BTA消息转换成HTTP应答消息发送给SCEF;Step 512: The PC converts the BTA message into an HTTP response message and sends it to the SCEF.
步骤513:PCRF将确定的新的传输策略以及对应的参考标识保存到SPR;Step 513: The PCRF saves the determined new transmission policy and the corresponding reference identifier to the SPR.
步骤514:SPR返回确认消息。Step 514: The SPR returns a confirmation message.
在上述实施例中,当PC判断PCRF提供了一个以上的传输策略时,向SCEF提供PCRF的标识。当然,PC也可以不进行判断,总是将PCRF的标识提供给SCEF。In the above embodiment, when the PC determines that the PCRF provides more than one transmission policy, the SCEF is provided with the identifier of the PCRF. Of course, the PC can also provide the identifier of the PCRF to the SCEF without making a judgment.
图6为本发明实施例四的策略计费控制方法的流程示意图,如图6所示,所述策略计费控制方法包括以下步骤:FIG. 6 is a schematic flowchart of a policy charging control method according to Embodiment 4 of the present invention. As shown in FIG. 6, the policy charging control method includes the following steps:
步骤601:SCEF收到触发,决定向PCRF请求背景数据传输策略。该触发可能来自外部的AF,或是SCEF自身(即SCEF具有AF功能)。Step 601: The SCEF receives the trigger and decides to request the background data transmission policy from the PCRF. This trigger may come from an external AF or SCEF itself (ie SCEF has AF function).
步骤602:SCEF向PC发送HTTP请求消息,消息中携带传输策略请求指示,应用提供商标识、每个UE传输数据的流量以及传输数据需要的时间窗等。Step 602: The SCEF sends an HTTP request message to the PC, where the message carries a transmission policy request indication, an application provider identifier, a traffic for each UE to transmit data, and a time window required for transmitting data.
步骤603:PC将HTTP请求消息转换成Diameter BTR消息发送给PCRF,消息中携带传输策略请求指示,应用提供商标识、每个UE传输数据的流量以及传输数据需要的时间窗等。其中PCRF是网络中任一PCRF。Step 603: The PC converts the HTTP request message into a Diameter BTR message and sends the message to the PCRF. The message carries the transmission policy request indication, the application provider identifier, the traffic of each UE to transmit data, and the time window required for transmitting the data. Where PCRF is any PCRF in the network.
步骤604:PCRF向SPR请求已经存在的传输策略;Step 604: The PCRF requests an existing transmission policy from the SPR.
步骤605:SPR向PCRF返回已经存在的所有传输策略;Step 605: The SPR returns all existing transmission policies to the PCRF.
步骤606:PCRF根据SCEF请求的信息、已经存在的所有传输策略、网络策略和其他相关信息决定新的传输策略。策略包括建议的时间窗、计费费率以及可选地最大聚合速率。Step 606: The PCRF determines a new transmission policy according to the information requested by the SCEF, all transmission policies already existing, network policies, and other related information. The policy includes a suggested time window, a billing rate, and optionally a maximum aggregation rate.
步骤607:PCRF向PC返回Background-Data-Transfer-Answer(BTA,背景数据传 输应答)消息,消息中携带决策的传输策略以及对应的参考标识。若PCRF向PC返回了一个以上的传输策略,则PCRF消息中携带所述PCRF的标识,该PCRF的标识携带在新定义的AVP中;Step 607: The PCRF returns a Background-Data-Transfer-Answer (BTA, background data transmission) to the PC. The message is sent to the message, and the message carries the decision transmission strategy and the corresponding reference identifier. If the PCRF returns more than one transmission policy to the PC, the PCRF message carries the identifier of the PCRF, and the identifier of the PCRF is carried in the newly defined AVP.
步骤608:PC将BTA消息转换成HTTP应答消息发送给SCEF。消息中携带决策的传输策略以及对应的参考标识。若PCRF返回了所述PCRF的标识,则PC在消息中还携带PCRF的标识。SCEF可能会将信息进一步发送给AF;Step 608: The PC converts the BTA message into an HTTP response message and sends it to the SCEF. The message carries the decision transmission strategy and the corresponding reference identifier. If the PCRF returns the identifier of the PCRF, the PC also carries the identifier of the PCRF in the message. SCEF may send the information further to AF;
步骤609:若SCEF接收到一个以上的传输策略,并且AF选择其中一个后,SCEF向PC发送HTTP请求消息,消息中携带传输策略通知指示和选择的传输策略以及PCRF的标识。Step 609: If the SCEF receives more than one transmission policy, and the AF selects one of them, the SCEF sends an HTTP request message to the PC, where the message carries the transmission policy notification indication and the selected transmission policy and the identifier of the PCRF.
步骤610:PC将HTTP请求消息转换成BTR消息,消息中携带传输策略通知指示和选择的传输策略。并且根据SCEF提供的PCRF的标识设置BTR消息Destination-Host AVP的取值。Step 610: The PC converts the HTTP request message into a BTR message, where the message carries a transmission policy notification indication and a selected transmission policy. And setting the value of the BTR message Destination-Host AVP according to the identifier of the PCRF provided by the SCEF.
步骤611:PCRF向PC返回确认消息BTA;Step 611: The PCRF returns a confirmation message BTA to the PC;
步骤612:PC将BTA消息转换成HTTP应答消息发送给SCEF;Step 612: The PC converts the BTA message into an HTTP response message and sends it to the SCEF.
步骤613:PCRF将确定的新的传输策略以及对应的参考标识保存到SPR;Step 613: The PCRF saves the determined new transmission policy and the corresponding reference identifier to the SPR.
步骤614:SPR返回确认消息。Step 614: The SPR returns a confirmation message.
在上述实施例中,若PCRF向PC返回了一个以上的传输策略,则PCRF消息中携带所述PCRF的标识,该PCRF的标识携带在新定义的AVP中。在其他实施例中,PCRF总是在消息中携带所述PCRF的标识,该PCRF的标识携带在新定义的AVP中。In the above embodiment, if the PCRF returns more than one transmission policy to the PC, the PCRF message carries the identifier of the PCRF, and the identifier of the PCRF is carried in the newly defined AVP. In other embodiments, the PCRF always carries the identity of the PCRF in the message, the identity of the PCRF being carried in the newly defined AVP.
图7为本发明实施例协议转换器(PC)的结构组成示意图,如图7所示,所述协议转换器包括:FIG. 7 is a schematic structural diagram of a protocol converter (PC) according to an embodiment of the present invention. As shown in FIG. 7, the protocol converter includes:
第一接收单元71,用于接收SCEF发送的传输策略请求消息;The first receiving unit 71 is configured to receive a transmission policy request message sent by the SCEF.
第一协议转换单元72,用于对所述传输策略请求消息协议转换;a first protocol conversion unit 72, configured to request a message protocol conversion on the transmission policy;
第一发送单元73,用于将协议转换后的所述传输策略请求消息发送给PCRF;The first sending unit 73 is configured to send the protocol-transformed transmission policy request message to the PCRF;
第二接收单元74,用于接收所述PCRF发送的BTA消息,所述BTA消息中携带决策的传输策略;The second receiving unit 74 is configured to receive a BTA message sent by the PCRF, where the BTA message carries a transmission policy of the decision;
第二协议转换单元75,用于将所述BTA消息协议转换;a second protocol conversion unit 75, configured to convert the BTA message protocol;
封装单元76,用于在所述传输策略应答消息中携带PCRF的标识;The encapsulating unit 76 is configured to carry an identifier of the PCRF in the transmission policy response message;
第二发送单元77,用于将携带PCRF的标识的传输策略应答消息发送给所述SCEF;a second sending unit 77, configured to send a transmission policy response message carrying the identifier of the PCRF to the SCEF;
第三接收单元78,用于接收所述SCEF发送的传输策略通知消息,所述传输策略通知消息中携带所述PCRF的标识和从所述传输策略中选择出的传输策略;a third receiving unit 78, configured to receive a transmission policy notification message sent by the SCEF, where the transmission policy notification message carries an identifier of the PCRF and a transmission policy selected from the transmission policy;
第三发送单元79,用于将所述传输策略通知消息协议转换后发送给所述PCRF。The third sending unit 79 is configured to send the transmission policy notification message protocol to the PCRF.
所述第一接收单元71,还用于接收SCEF发送的超文本传输协议HTTP请求消息, 所述HTTP请求消息中至少携带:传输策略请求指示;The first receiving unit 71 is further configured to receive a hypertext transfer protocol HTTP request message sent by the SCEF, The HTTP request message carries at least: a transmission policy request indication;
所述第一协议转换单元72,还用于将所述HTTP请求消息转换后向所述PCRF发送第一BTR消息,所述第一BTR消息中至少携带:传输策略请求指示。The first protocol conversion unit 72 is further configured to: after converting the HTTP request message, send a first BTR message to the PCRF, where the first BTR message carries at least: a transmission policy request indication.
所述第二协议转换单元75,还用于将所述BTA消息转换后向所述SCEF发送HTTP应答消息,所述HTTP应答消息中至少携带:决策的传输策略、对应的参考标识以及所述PCRF的标识。The second protocol conversion unit 75 is further configured to: after converting the BTA message, send an HTTP response message to the SCEF, where the HTTP response message carries at least: a determined transmission policy, a corresponding reference identifier, and the PCRF. Logo.
所述封装单元76,还用于当判断出所述传输策略中包含一个以上的传输策略时,在所述传输策略应答消息中携带所述PCRF的标识。还用于从所述BTA消息的Origin-Host属性值对AVP中获取所述PCRF的标识的取值。The encapsulating unit 76 is further configured to: when it is determined that the transmission policy includes more than one transmission policy, carry the identifier of the PCRF in the transmission policy response message. The value of the identifier of the PCRF is obtained from the value of the Origin-Host attribute of the BTA message to the AVP.
所述第三发送单元79,还用于将所述传输策略通知消息协议转换后,向所述PCRF发送第二BTR消息,根据所述PCRF的标识设置所述第二BTR消息的Destination-Host AVP的取值。The third sending unit 79 is further configured to: after converting the transmission policy notification message protocol, send a second BTR message to the PCRF, and set a Destination-Host AVP of the second BTR message according to the identifier of the PCRF. The value.
本领域技术人员应当理解,图7所示的协议转换器中的各单元的实现功能可参照前述策略计费控制方法的相关描述而理解。图7所示的协议转换器中的各单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。Those skilled in the art should understand that the implementation functions of the units in the protocol converter shown in FIG. 7 can be understood by referring to the related description of the foregoing policy charging control method. The functions of each unit in the protocol converter shown in FIG. 7 can be implemented by a program running on a processor, or can be realized by a specific logic circuit.
图8为本发明实施例的策略计费规则设备(PCRF)的结构组成示意图,如图8所示,所述策略计费规则设备包括:FIG. 8 is a schematic structural diagram of a policy charging rule device (PCRF) according to an embodiment of the present invention. As shown in FIG. 8, the policy charging rule device includes:
决策单元81,用于接收PC发送的第一BTR消息后,决策出传输策略;The determining unit 81 is configured to: after receiving the first BTR message sent by the PC, determine a transmission policy;
发送单元82,用于向所述PC发送BTA消息,所述BTA消息中携带所述传输策略和所述PCRF的标识,从而所述PC将所述BTA消息协议转换后发送给SCEF;The sending unit 82 is configured to send a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF, so that the PC converts the BTA message protocol and sends it to the SCEF;
接收单元83,用于接收所述PC根据所述PCRF的标识发送的第二BTR消息,所述第二BTR消息中携带所述从所述传输策略中选择出的传输策略。The receiving unit 83 is configured to receive a second BTR message sent by the PC according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
所述决策单元81,还用于根据所述传输策略请求消息、所述已有的传输策略、网络策略决策出传输策略,所述传输策略包括:时间窗、计费费率以及可选地最大聚合速率。The determining unit 81 is further configured to determine a transmission policy according to the transmission policy request message, the existing transmission policy, and a network policy, where the transmission policy includes: a time window, a charging rate, and optionally a maximum Aggregation rate.
所述发送单元82,还用于当向所述PC发送了一个以上的传输策略,则所述PCRF在所述BTA消息中携带所述PCRF的标识,所述PCRF的标识携带在新定义的AVP中。The sending unit 82 is further configured to: when the one or more transmission policies are sent to the PC, the PCRF carries the identifier of the PCRF in the BTA message, and the identifier of the PCRF is carried in a newly defined AVP. in.
本领域技术人员应当理解,图8所示的策略计费规则设备中的各单元的实现功能可参照前述策略计费控制方法的相关描述而理解。图7所示的策略计费规则设备中的各单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。Those skilled in the art should understand that the implementation functions of each unit in the policy charging rule device shown in FIG. 8 can be understood by referring to the related description of the foregoing policy charging control method. The functions of each unit in the policy charging rule device shown in FIG. 7 can be implemented by a program running on a processor, or can be implemented by a specific logic circuit.
图9为本发明实施例的策略计费控制系统的结构组成示意图,如图9所示,所述系统包括:FIG. 9 is a schematic structural diagram of a policy charging control system according to an embodiment of the present invention. As shown in FIG. 9, the system includes:
PCRF 91,用于接收PC 92发送的第一BTR消息后,决策出传输策略,向所述 PC 92发送BTA消息,所述BTA消息中携带所述传输策略和所述PC 92RF 91的标识;The PCRF 91 is configured to: after receiving the first BTR message sent by the PC 92, determine a transmission policy, to the The PC 92 sends a BTA message, where the BTA message carries the transmission policy and the identifier of the PC 92RF 91;
PC 92,用于将所述BTA消息协议转换后发送给SCEF 93;The PC 92 is configured to convert the BTA message protocol and send it to the SCEF 93;
所述SCEF 93,还用于接收所述PC 92根据所述PC 92RF 91的标识发送的第二BTR消息,所述第二BTR消息中携带所述从所述传输策略中选择出的传输策略。The SCEF 93 is further configured to receive a second BTR message sent by the PC 92 according to the identifier of the PC 92RF 91, where the second BTR message carries the transmission policy selected from the transmission policy.
在另一实施方式中,所述PC 92,还用于接收PC 92RF 91发送的BTA消息,所述BTA消息中携带决策的传输策略;将所述BTA消息协议转换后,向所述SCEF 93发送传输策略应答消息,在所述传输策略应答消息中携带所述PC 92RF 91的标识;In another embodiment, the PC 92 is further configured to receive a BTA message sent by the PC 92RF 91, where the BTA message carries a transmission policy of the decision; after converting the BTA message protocol, sending the BTA message protocol to the SCEF 93 Transmitting a policy response message, carrying the identifier of the PC 92RF 91 in the transmission policy response message;
所述SCEF 93,用于向所述PC 92发送传输策略通知消息,所述传输策略通知消息中携带所述PC 92RF 91的标识和从所述传输策略中选择出的传输策略;The SCEF 93 is configured to send a transmission policy notification message to the PC 92, where the transmission policy notification message carries the identifier of the PC 92RF 91 and a transmission policy selected from the transmission policy;
所述PC 92,还用于将所述传输策略通知消息协议转换后发送给所述PC 92RF91。The PC 92 is further configured to send the transmission policy notification message protocol to the PC 92RF91 after being converted.
本发明实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。The technical solutions described in the embodiments of the present invention can be arbitrarily combined without conflict.
在本发明所提供的几个实施例中,应该理解到,所揭露的方法和智能设备,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present invention, it should be understood that the disclosed method and smart device may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个第二处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one second processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention.
工业实用性Industrial applicability
本发明适用于通信领域,用以在传输策略应答消息中携带了PCRF的标识,并且传输策略通知消息中也携带上述PCRF的标识,以实现根据PCRF的标识寻址到对应的PCRF。 The invention is applicable to the field of communication, and is configured to carry the identifier of the PCRF in the transmission policy response message, and the identifier of the PCRF is also carried in the transmission policy notification message, so as to be addressed to the corresponding PCRF according to the identifier of the PCRF.

Claims (22)

  1. 一种策略计费控制方法,所述方法包括:A policy charging control method, the method comprising:
    接收策略和计费规则功能PCRF发送的背景数据传输应答BTA消息,所述BTA消息中携带决策的传输策略;The background data transmission response BTA message sent by the receiving policy and charging rule function PCRF, where the BTA message carries the transmission strategy of the decision;
    将所述BTA消息协议转换后,向业务能力开放功能SCEF发送传输策略应答消息,在所述传输策略应答消息中携带所述PCRF的标识;Transmitting the BTA message protocol, and transmitting a transmission policy response message to the service capability opening function SCEF, where the transmission policy response message carries the identifier of the PCRF;
    接收所述SCEF发送的传输策略通知消息,所述传输策略通知消息中携带所述PCRF的标识和从所述传输策略中选择出的传输策略;Receiving a transmission policy notification message sent by the SCEF, where the transmission policy notification message carries an identifier of the PCRF and a transmission policy selected from the transmission policy;
    将所述传输策略通知消息协议转换后发送给所述PCRF。Transmitting the transmission policy notification message protocol to the PCRF.
  2. 根据权利要求1所述的策略计费控制方法,其中,所述接收SCEF发送的传输策略请求消息,对所述传输策略请求消息协议转换后,发送给PCRF,包括:The policy charging control method according to claim 1, wherein the receiving the transmission policy request message sent by the SCEF, after the conversion of the transmission policy request message protocol, is sent to the PCRF, including:
    接收SCEF发送的超文本传输协议HTTP请求消息,所述HTTP请求消息中至少携带:传输策略请求指示;Receiving a hypertext transfer protocol HTTP request message sent by the SCEF, where the HTTP request message carries at least: a transmission policy request indication;
    将所述HTTP请求消息转换后向所述PCRF发送第一背景数据传输请求BTR消息,所述第一BTR消息中至少携带:传输策略请求指示。After the HTTP request message is converted, the first background data transmission request BTR message is sent to the PCRF, where the first BTR message carries at least: a transmission policy request indication.
  3. 根据权利要求1所述的策略计费控制方法,其中,所述将所述BTA消息协议转换后,向所述SCEF发送传输策略应答消息,在所述传输策略应答消息中携带所述PCRF的标识,包括:The policy charging control method according to claim 1, wherein the converting the BTA message protocol, transmitting a transmission policy response message to the SCEF, and carrying the identifier of the PCRF in the transmission policy response message ,include:
    将所述BTA消息转换后向所述SCEF发送HTTP应答消息,所述HTTP应答消息中至少携带:决策的传输策略、对应的参考标识以及所述PCRF的标识。After the BTA message is converted, an HTTP response message is sent to the SCEF, where the HTTP response message carries at least: a determined transmission policy, a corresponding reference identifier, and an identifier of the PCRF.
  4. 根据权利要求1所述的策略计费控制方法,其中,当判断出所述传输策略中包含一个以上的传输策略时,在所述传输策略应答消息中携带所述PCRF的标识。The policy charging control method according to claim 1, wherein when it is determined that the transmission policy includes more than one transmission policy, the identifier of the PCRF is carried in the transmission policy response message.
  5. 根据权利要求4所述的策略计费控制方法,其中,所述方法还包括:The policy charging control method according to claim 4, wherein the method further comprises:
    从所述BTA消息的源主机Origin-Host属性值对AVP中获取所述PCRF的标识的取值。Obtaining the value of the identifier of the PCRF from the value of the source host Origin-Host attribute of the BTA message.
  6. 根据权利要求1所述的策略计费控制方法,其中,所述将所述传输策略通知消息协议转换后发送给所述PCRF,包括:The policy charging control method according to claim 1, wherein the transmitting the transmission policy notification message protocol to the PCRF after the message protocol conversion comprises:
    将所述传输策略通知消息协议转换后,向所述PCRF发送第二BTR消息,根据所述PCRF的标识设置所述第二BTR消息的目的主机Destination-Host AVP的取值。After the transmission policy notification message protocol is converted, the second BTR message is sent to the PCRF, and the value of the destination host Destination-Host AVP of the second BTR message is set according to the identifier of the PCRF.
  7. 根据权利要求1所述的策略计费控制方法,其中,接收PCRF发送的背景数据传输应答BTA消息之前,所述方法还包括:The policy charging control method according to claim 1, wherein before receiving the background data transmission response BTA message sent by the PCRF, the method further includes:
    接收SCEF发送的传输策略请求消息,对所述传输策略请求消息协议转换后,发送给PCRF。The transmission policy request message sent by the SCEF is received, and the transmission policy request message protocol is converted, and then sent to the PCRF.
  8. 一种策略计费控制方法,所述方法包括:A policy charging control method, the method comprising:
    策略和计费规则功能PCRF接收协议转换器PC发送的第一BTR消息后,决策 出传输策略,向所述PC发送BTA消息,所述BTA消息中携带所述传输策略和所述PCRF的标识,从而所述PC将所述BTA消息协议转换后发送给SCEF;The policy and charging rule function PCRF receives the first BTR message sent by the protocol converter PC, and then decides And transmitting a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF, so that the PC converts the BTA message protocol and sends it to the SCEF;
    接收所述PC根据所述PCRF的标识发送的第二BTR消息,所述第二BTR消息中携带所述从所述传输策略中选择出的传输策略。And receiving, by the PC, a second BTR message that is sent according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
  9. 根据权利要求8所述的策略计费控制方法,其中,所述决策出传输策略,包括:The policy charging control method according to claim 8, wherein the determining a transmission policy comprises:
    根据所述传输策略请求消息、所述已有的传输策略、网络策略决策出传输策略,所述传输策略包括:时间窗、计费费率以及可选地最大聚合速率。And transmitting, according to the transmission policy request message, the existing transmission policy, and the network policy, a transmission policy, where the transmission policy includes: a time window, a charging rate, and optionally a maximum aggregation rate.
  10. 根据权利要求8所述的策略计费控制方法,其中,所述方法还包括:The policy charging control method according to claim 8, wherein the method further comprises:
    当所述PCRF向所述PC发送了一个以上的传输策略,则所述PCRF在所述BTA消息中携带所述PCRF的标识,所述PCRF的标识携带在新定义的AVP中。When the PCRF sends more than one transmission policy to the PC, the PCRF carries the identifier of the PCRF in the BTA message, and the identifier of the PCRF is carried in the newly defined AVP.
  11. 一种协议转换器,所述协议转换器包括:A protocol converter, the protocol converter comprising:
    第二接收单元,设置为接收所述PCRF发送的BTA消息,所述BTA消息中携带决策的传输策略;a second receiving unit, configured to receive a BTA message sent by the PCRF, where the BTA message carries a transmission policy of the decision;
    第二协议转换单元,设置为将所述BTA消息协议转换;a second protocol conversion unit, configured to convert the BTA message protocol;
    封装单元,设置为在所述传输策略应答消息中携带所述PCRF的标识;An encapsulating unit, configured to carry an identifier of the PCRF in the transmission policy response message;
    第二发送单元,设置为将携带所述PCRF的标识的传输策略应答消息发送给所述SCEF;a second sending unit, configured to send a transmission policy response message carrying the identifier of the PCRF to the SCEF;
    第三接收单元,设置为接收所述SCEF发送的传输策略通知消息,所述传输策略通知消息中携带所述PCRF的标识和从所述传输策略中选择出的传输策略;a third receiving unit, configured to receive a transmission policy notification message sent by the SCEF, where the transmission policy notification message carries an identifier of the PCRF and a transmission policy selected from the transmission policy;
    第三发送单元,设置为将所述传输策略通知消息协议转换后发送给所述PCRF。The third sending unit is configured to send the transmission policy notification message protocol to the PCRF.
  12. 根据权利要求11所述的协议转换器,其中,The protocol converter according to claim 11, wherein
    所述第一接收单元,还设置为接收SCEF发送的超文本传输协议HTTP请求消息,所述HTTP请求消息中至少携带:传输策略请求指示;The first receiving unit is further configured to receive a hypertext transfer protocol HTTP request message sent by the SCEF, where the HTTP request message carries at least: a transmission policy request indication;
    所述第一协议转换单元,还设置为将所述HTTP请求消息转换后向所述PCRF发送第一BTR消息,所述第一BTR消息中至少携带:传输策略请求指示。The first protocol conversion unit is further configured to: after converting the HTTP request message, send a first BTR message to the PCRF, where the first BTR message carries at least: a transmission policy request indication.
  13. 根据权利要求11所述的协议转换器,其中,所述第二协议转换单元,还设置为将所述BTA消息转换后向所述SCEF发送HTTP应答消息,所述HTTP应答消息中至少携带:决策的传输策略、对应的参考标识以及所述PCRF的标识。The protocol converter according to claim 11, wherein the second protocol conversion unit is further configured to: after converting the BTA message, send an HTTP response message to the SCEF, where the HTTP response message carries at least: a decision The transmission policy, the corresponding reference identifier, and the identity of the PCRF.
  14. 根据权利要求11所述的协议转换器,其中,所述封装单元,还设置为当判断出所述传输策略中包含一个以上的传输策略时,在所述传输策略应答消息中携带所述PCRF的标识。The protocol converter according to claim 11, wherein the encapsulating unit is further configured to: when it is determined that the transmission policy includes more than one transmission policy, carrying the PCRF in the transmission policy response message Logo.
  15. 根据权利要求14所述的协议转换器,其中,所述封装单元,还设置为从所述BTA消息的Origin-Host属性值对AVP中获取所述PCRF的标识的取值。The protocol converter according to claim 14, wherein the encapsulating unit is further configured to obtain the value of the identifier of the PCRF from the Origin-Host attribute value of the BTA message to the AVP.
  16. 根据权利要求11所述的协议转换器,其中,所述第三发送单元,还设置为 将所述传输策略通知消息协议转换后,向所述PCRF发送第二BTR消息,根据所述PCRF的标识设置所述第二BTR消息的Destination-Host AVP的取值。The protocol converter according to claim 11, wherein said third transmitting unit is further configured to After the transmission of the transmission policy notification message protocol, the second BTR message is sent to the PCRF, and the value of the Destination-Host AVP of the second BTR message is set according to the identifier of the PCRF.
  17. 根据权利要求11所述的协议转换器,其中,所述协议转换器还包括:The protocol converter of claim 11 wherein said protocol converter further comprises:
    第一接收单元,设置为接收SCEF发送的传输策略请求消息;a first receiving unit, configured to receive a transmission policy request message sent by the SCEF;
    第一协议转换单元,设置为对所述传输策略请求消息协议转换;a first protocol conversion unit, configured to request a message protocol conversion on the transmission policy;
    第一发送单元,设置为将协议转换后的所述传输策略请求消息发送给PCRF。The first sending unit is configured to send the protocol-transformed transmission policy request message to the PCRF.
  18. 一种策略和计费规则功能PCRF设备,所述策略计费规则设备包括:A policy and charging rule function PCRF device, where the policy charging rule device includes:
    决策单元,设置为接收PC发送的第一BTR消息后,决策出传输策略;a decision unit, configured to receive a first BTR message sent by the PC, and then determine a transmission strategy;
    发送单元,设置为向所述PC发送BTA消息,所述BTA消息中携带所述传输策略和所述PCRF的标识,从而所述PC将所述BTA消息协议转换后发送给SCEF;a sending unit, configured to send a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF, so that the PC converts the BTA message protocol and sends it to the SCEF;
    接收单元,设置为接收所述PC根据所述PCRF的标识发送的第二BTR消息,所述第二BTR消息中携带所述从所述传输策略中选择出的传输策略。The receiving unit is configured to receive a second BTR message sent by the PC according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
  19. 根据权利要求18所述的策略计费规则设备,其中,所述决策单元,还设置为根据所述传输策略请求消息、所述已有的传输策略、网络策略决策出传输策略,所述传输策略包括:时间窗、计费费率以及可选地最大聚合速率。The policy charging rule device according to claim 18, wherein the determining unit is further configured to determine a transmission policy according to the transmission policy request message, the existing transmission policy, and a network policy, and the transmission policy Includes: time window, billing rate, and optionally maximum rate of aggregation.
  20. 根据权利要求18所述的策略计费规则设备,其中,所述发送单元,还设置为当向所述PC发送了一个以上的传输策略,则所述PCRF在所述BTA消息中携带所述PCRF的标识,所述PCRF的标识携带在新定义的AVP中。The policy charging rule device according to claim 18, wherein the sending unit is further configured to: when the one or more transmission policies are sent to the PC, the PCRF carries the PCRF in the BTA message. The identifier of the PCRF is carried in the newly defined AVP.
  21. 一种策略计费控制系统,所述系统包括:A policy charging control system, the system comprising:
    PCRF,设置为接收PC发送的第一BTR消息后,决策出传输策略,向所述PC发送BTA消息,所述BTA消息中携带所述传输策略和所述PCRF的标识;The PCRF is configured to: after receiving the first BTR message sent by the PC, determine a transmission policy, and send a BTA message to the PC, where the BTA message carries the transmission policy and the identifier of the PCRF;
    PC,设置为将所述BTA消息协议转换后发送给SCEF;The PC is configured to convert the BTA message protocol and send it to the SCEF;
    所述SCEF,还设置为接收所述PC根据所述PCRF的标识发送的第二BTR消息,所述第二BTR消息中携带所述从所述传输策略中选择出的传输策略。The SCEF is further configured to receive a second BTR message sent by the PC according to the identifier of the PCRF, where the second BTR message carries the transmission policy selected from the transmission policy.
  22. 根据权利要求21所述的策略计费控制系统,其中,The policy charging control system according to claim 21, wherein
    所述PC,还设置为接收PCRF发送的BTA消息,所述BTA消息中携带决策的传输策略;将所述BTA消息协议转换后,向所述SCEF发送传输策略应答消息,在所述传输策略应答消息中携带所述PCRF的标识;The PC is further configured to receive a BTA message sent by the PCRF, where the BTA message carries a transmission policy of the decision; after converting the BTA message protocol, sending a transmission policy response message to the SCEF, where the transmission policy answers The message carries the identifier of the PCRF;
    所述SCEF,设置为向所述PC发送传输策略通知消息,所述传输策略通知消息中携带所述PCRF的标识和从所述传输策略中选择出的传输策略;The SCEF is configured to send a transmission policy notification message to the PC, where the transmission policy notification message carries an identifier of the PCRF and a transmission policy selected from the transmission policy;
    所述PC,还设置为将所述传输策略通知消息协议转换后发送给所述PCRF。 The PC is further configured to send the transmission policy notification message protocol to the PCRF after being converted.
PCT/CN2016/103740 2016-01-18 2016-10-28 Policy charging control method, protocol converter, policy charging rule apparatus and system WO2017124807A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610030476.9 2016-01-18
CN201610030476.9A CN106982125A (en) 2016-01-18 2016-01-18 Strategic charging control method, protocol converter, policy charging rule equipment, system

Publications (1)

Publication Number Publication Date
WO2017124807A1 true WO2017124807A1 (en) 2017-07-27

Family

ID=59340152

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103740 WO2017124807A1 (en) 2016-01-18 2016-10-28 Policy charging control method, protocol converter, policy charging rule apparatus and system

Country Status (2)

Country Link
CN (1) CN106982125A (en)
WO (1) WO2017124807A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714493B (en) * 2017-10-26 2021-06-18 中国电信股份有限公司 Method, device and system for binding machine-card pool
CN110519795B (en) 2018-05-21 2021-12-10 华为技术有限公司 Method and device for determining background traffic transmission strategy
WO2019223658A1 (en) * 2018-05-21 2019-11-28 华为技术有限公司 Method and device for determining background traffic transmission policy
US20210337419A1 (en) * 2018-08-24 2021-10-28 Telefonaktiebolaget Lm Ericsson (Publ) Background Data Transfer Handling
CN112104464B (en) * 2019-06-17 2021-09-07 华为技术有限公司 Method, device and system for transmitting background traffic transmission information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8400916B2 (en) * 2010-06-28 2013-03-19 Alcatel Lucent Method of authorizing AF sessions using external subscriber database
CN104254140A (en) * 2013-06-26 2014-12-31 中国电信股份有限公司 Session association method and system for PCC system in mobile network
CN104767722A (en) * 2014-01-08 2015-07-08 中兴通讯股份有限公司 Conversation management method, strategy server and application function entity

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8400916B2 (en) * 2010-06-28 2013-03-19 Alcatel Lucent Method of authorizing AF sessions using external subscriber database
CN104254140A (en) * 2013-06-26 2014-12-31 中国电信股份有限公司 Session association method and system for PCC system in mobile network
CN104767722A (en) * 2014-01-08 2015-07-08 中兴通讯股份有限公司 Conversation management method, strategy server and application function entity

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"3GPP; Technical Specification Group Core Network and Terminals; . ''Service capability exposure functionality over Nt reference point", 3GPP TS 29. 154 V13. 0. 0, 31 December 2015 (2015-12-31), XP055598959 *

Also Published As

Publication number Publication date
CN106982125A (en) 2017-07-25

Similar Documents

Publication Publication Date Title
JP5490250B2 (en) Packet filter installation control on user equipment
US8799440B2 (en) Policy and charging control method and system for multi-PDN connections of single APN
US7907524B2 (en) Method and devices for installing packet filters in a data transmission
EP2030401B1 (en) Loss of signalling bearer transport
WO2017124807A1 (en) Policy charging control method, protocol converter, policy charging rule apparatus and system
WO2019196813A1 (en) Method and device for subscribing to service
WO2008116406A1 (en) A control method, system and function entity of reporting signaling internet flow bearing event
WO2014173252A1 (en) Session management method, application function entity, policy server and protocol converter
US10637937B2 (en) Method for service chain policy formulation and device
WO2011124106A1 (en) Method, system and device for policy charging control
WO2011029289A1 (en) Method and system for transmitting a bearer control mode in roaming scenarios
WO2011085621A1 (en) Method and system for service processing
WO2009089790A1 (en) Method for acquiring bearer service type and switching between bearer networks for terminals
WO2011134319A1 (en) Policy control method for packet service and packet service system
WO2018095341A1 (en) Method and apparatus for executing transfer policy, and computer-readable storage medium
WO2014176987A1 (en) Policy control method and network element
WO2015033579A1 (en) Communication device, control device, communication system, communication method, control method, and program
WO2011003307A1 (en) Charging method and system for evolved packet system
WO2013113263A1 (en) Method and system for identifying application detection control function mode
WO2011134315A1 (en) Method, device and system for service authorization
WO2014110923A1 (en) Network information processing method, apparatus and system
KR100879164B1 (en) Binding mechanism for quality of service management in a communication network
CN106992868B (en) Third-party application service deployment method, SCEF entity, PCRF entity and PCC framework
Baleh et al. Enriched connectivity-as-a-service for dynamic Mobile-Cloud
WO2010025627A1 (en) Method and apparatus for identifying session information

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

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

Country of ref document: EP

Kind code of ref document: A1