WO2017000692A1 - Spending limit acquisition, sending and interaction method, pcrf, ocs and interaction system - Google Patents

Spending limit acquisition, sending and interaction method, pcrf, ocs and interaction system Download PDF

Info

Publication number
WO2017000692A1
WO2017000692A1 PCT/CN2016/082348 CN2016082348W WO2017000692A1 WO 2017000692 A1 WO2017000692 A1 WO 2017000692A1 CN 2016082348 W CN2016082348 W CN 2016082348W WO 2017000692 A1 WO2017000692 A1 WO 2017000692A1
Authority
WO
WIPO (PCT)
Prior art keywords
ocs
pcrf
consumption quota
policy
status
Prior art date
Application number
PCT/CN2016/082348
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 WO2017000692A1 publication Critical patent/WO2017000692A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • 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
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/64On-line charging system [OCS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/80Rating or billing plans; Tariff determination aspects
    • H04M15/8033Rating or billing plans; Tariff determination aspects location-dependent, e.g. business or home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/83Notification aspects
    • H04M15/85Notification aspects characterised by the type of condition triggering a notification
    • H04M15/852Low balance or limit reached
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Definitions

  • the present application relates to, but is not limited to, the interaction between the Policy and Charging Rule Function (PCRF) and the OTC (Online Charging System) in the PCC (Policy and Charging Control) architecture.
  • PCRF Policy and Charging Rule Function
  • OTC Online Charging System
  • PCC Policy and Charging Control
  • the PCRF and the OCS are the main functional entities.
  • the PCRF formulates the policy and accounting rules.
  • the PCC policy and the accounting rules are sent to the PCEF through the Gx interface.
  • the OCS reports the PCRF to the user consumption through the Sy interface.
  • the policy counter status information the OCS uses the policy counter to associate the user consumption quota, and the policy counter status reported to the PCRF is the associated consumption quota status.
  • the PCRF and the OCS exchange the user's policy counter subscription and status report information through the Sy interface.
  • the policy counter status is applied to the PCRF to perform the PCC policy decision.
  • the PCRF obtains the user's policy counter status from the OCS through the Sy interface, and subscribes to the specified The status notification of the consumption quota corresponding to the user's policy counter; on the other hand, when the status of the user's consumption quota changes, if the PCRF subscribes to the consumption information, the OCS will notify the corresponding change of the consumption information of the policy counter through the Sy interface.
  • the current protocol stipulates that the PCRF must subscribe to the SLR by sending an SLR (Spending-Limit-Request) message to the OCS at the same time. At the same time, the OCS needs to send each time the consumption quota status changes.
  • SLR Spending-Limit-Request
  • the SNR Spending-Status-Notification-Request
  • the present application provides a method for acquiring, transmitting, and interacting with consumption quotas, a PCRF, an OCS, and an interactive system to solve the problem that the related technology cannot implement the interaction only for the consumption quota of the specified location.
  • the application provides a method for obtaining consumption quotas, including:
  • the PCRF obtains location information of the specified location
  • the PCRF sends an SLR message with the location information and a policy counter to the OCS;
  • the PCRF receives a consumption quota status at the specified location and associated with the policy counter from an OCS.
  • the step of the PCRF sending the SLR message with the location information and the policy counter to the OCS includes: the PCRF, after establishing an IP-CAN (IP-Connectivity Access Network) session, to the OCS Sending a consumption quota request SLR message with the location information and a policy counter; or the PCRF sends a consumption with the location information and a policy counter to the OCS after modifying the IP-CAN session or when the rule decision needs to be re-executed Quota requests SLR messages.
  • IP-CAN IP-Connectivity Access Network
  • the application provides a method for sending a consumption quota, including:
  • the OCS receives an SLR message sent by the PCRF with location information and a policy counter;
  • the OCS sends the consumption quota status to the PCRF.
  • the step of the OCS sending the consumption quota status to the PCRF includes: sending, by the OCS, the consumption status notification request SNR message with the consumption quota status to the PCRF.
  • the step of the OCS sending the consumption quota status to the PCRF includes: sending, to the PCRF, a change when the OCS detects a consumption quota status change at the specified location and associated with the policy counter. After the consumption quota status.
  • the application provides a method for interacting with consumption quotas, including:
  • the PCRF acquires location information of the specified location, and sends an SLR message with the location information and a policy counter to the OCS;
  • an SLR message having the location information and a policy counter, determining the specified location according to the location information, acquiring a consumption quota status associated with the policy counter at the specified location, and transmitting the status to the PCRF;
  • the PCRF acquires a consumption quota status at the specified location and associated with the policy counter sent by the OCS, and determines a decision rule.
  • the step of the PCRF sending the SLR message with the location information and the policy counter to the OCS includes: after the IPFCAN session is established, the PCRF sends the location information and the policy counter to the OCS.
  • the consumption quota requests an SLR message; or, the PCRF sends a consumption quota request SLR message with the location information and a policy counter to the OCS after modifying the IP-CAN session or when the rule decision needs to be re-executed.
  • the step of the OCS acquiring the consumption quota status at a specified location and associated with a policy counter and sending to the PCRF includes: sending, by the OCS, the consumption with the consumption quota status to the PCRF The status notification requests the SNR message.
  • the step of acquiring, in the OCS, the consumption quota status at a specified location and associated with a policy counter, and sending to the PCRF includes: when the OCS detects the specified location, And the consumption quota status associated with the policy counter changes, and the OCS sends the changed consumption quota status to the PCRF.
  • the application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • the application provides a PCRF comprising:
  • a first acquiring module configured to obtain location information of the specified location
  • a first sending module configured to send an SLR message with the location information and a policy counter to the OCS;
  • the first receiving module is configured to receive, from the OCS, a consumption quota status associated with the policy counter at the designated location.
  • the first sending module is configured to send to the OCS after establishing an IP-CAN session.
  • An initial consumption quota request SLR message having the location information and policy counter; or, after modifying the IP-CAN session, or when the rule decision needs to be re-executed, sending a consumption quota request with the location information and the policy counter to the OCS SLR message.
  • This application provides an OCS, including:
  • a second receiving module configured to receive an SLR message that is sent by the PCRF and has a location information and a policy counter
  • Determining a module configured to determine a specified location according to the location information
  • a second obtaining module configured to acquire a consumption quota status of the specified location and associated with the policy counter
  • the second sending module is configured to send the consumption quota status to the PCRF.
  • the second sending module is configured to send a consumption status notification request SNR message with the consumption quota status to the PCRF.
  • the second sending module is further configured to send the changed consumption quota status to the PCRF when detecting a consumption quota status change at the specified location and associated with the policy counter.
  • the application provides a consumption quota interaction system, including a PCRF, and an OCS, wherein
  • the PCRF is configured to acquire location information of a specified location, and send an SLR message with the location information and a policy counter to the OCS;
  • the OCS is configured to acquire an SLR message having the location information and a policy counter, determine the specified location according to the location information, acquire a consumption quota status associated with the policy counter at the specified location, and send the status to the The PCRF;
  • the PCRF is further configured to acquire a consumption quota status associated with the policy counter at the specified location sent by the OCS.
  • the PCRF is configured to send a consumption quota request SLR message with the location information and a policy counter to the OCS after establishing an IP-CAN session; or, after modifying the IP-CAN session, or need to be restarted
  • a consumption quota request SLR message having the location information and a policy counter is sent to the OCS.
  • the OCS is configured to send, to the PCRF, the state with the consumption quota.
  • the consumption status notification requests the SNR message.
  • the OCS is configured to send a changed consumption quota status to the PCRF when detecting a consumption quota status change at the specified location and associated with a policy counter.
  • the present application provides an interaction method for consuming consumption quotas, providing an SLR message with location information and a policy counter of a specified location, and subscribing a consumption quota status of only one or more specified locations at a time, reducing the message sent by the PCRF to the OCS. Therefore, the system load is reduced.
  • the OCS does not need to send an SNR message to the PCRF every time the consumption quota state changes, and only needs to send a message notification PCRF when the consumption quota status of the specified location of the PCRF subscription changes.
  • FIG. 1 is a schematic structural diagram of a consumption quota interaction system according to a first embodiment of the present application
  • FIG. 2 is a flowchart of a method for interacting with consumption quotas according to a second embodiment of the present application
  • FIG. 3 is a flowchart of a method for interacting with consumption quotas according to a third embodiment of the present application.
  • the PCRF only needs to subscribe to the consumption quota status of the user in the specified location, and can cancel the consumption quota status of the user in the specified location.
  • the method specified in the current protocol cannot implement the interaction only for the consumption quota of the specified location. .
  • FIG. 1 is a schematic structural diagram of a consumption quota interaction system according to a first embodiment of the present application.
  • the consumption quota interaction system provided by the present application includes: a policy and charging rule function entity PCRF1, and Online billing system OCS2, where
  • the policy and charging rule function entity PCRF1 is configured to obtain location information of the specified location, and send an SLR message with location information and a policy counter to the online charging system OCS2;
  • the specified location refers to a specific location set by the user, such as a certain cell, a mall, etc.
  • the specified location may include one or more geographic locations. When multiple geographic locations are included, the geographic locations may be continuous or discontinuous; the location information may be a boundary of a specified location, etc.;
  • the online charging system OCS2 is configured to acquire an SLR message with location information and a policy counter, determine a specified location according to the location information, obtain a consumption quota status of the specified location and associated with the policy counter, and send it to the policy and charging rule function entity PCRF1 ;
  • the policy and charging rule function entity PCRF1 is also set to the consumption quota status associated with the policy counter at the specified location sent according to the acquired online charging system OCS2.
  • the policy and charging rule function entity PCRF1 in the above embodiment is configured to send a consumption quota request SLR message with location information and a policy counter to the online charging system OCS2 after establishing an IP-CAN session; or After modifying the IP-CAN session, or when the rule decision needs to be re-executed, a consumption quota request SLR message with location information and a policy counter is sent to the online charging system OCS2.
  • the online charging system OCS2 in the above embodiment is arranged to send a consumption status notification request SNR message with the consumption quota status to the PCRF1.
  • the online charging system OCS2 in the above embodiment is configured to send a change to the policy and charging rule function entity PCRF1 when a change in the consumption quota status associated with the policy counter at the specified location is detected. After the consumption quota status.
  • the policy and charging rule function entity PCRF1 includes:
  • the first obtaining module 11 is configured to acquire location information of the specified location
  • the first sending module 12 is configured to send an SLR message with location information and a policy counter to the online charging system OCS2;
  • the first receiving module 13 is configured to receive, at a specified location, sent by the online charging system OCS2, The consumption quota status associated with the policy counter.
  • the first sending module 12 in the above embodiment is configured to send an online subscription system OCS2 to a consumption quota request SLR message with location information and a policy counter after establishing an IP-CAN session; or, After modifying the IP-CAN session, or when the rule decision needs to be re-executed, a consumption quota request SLR message with location information and a policy counter is sent to the online charging system OCS2.
  • the online charging system OCS2 provided by the present application includes:
  • the second receiving module 21 is configured to receive an SLR message with location information and a policy counter sent by the policy and charging rule function entity PCRF1;
  • the determining module 22 is configured to determine the specified location according to the location information
  • the second obtaining module 23 is configured to acquire a consumption quota status associated with the policy counter at the specified location;
  • the second sending module 24 is configured to send the consumption quota status to the policy and charging rule function entity PCRF1.
  • the second sending module 24 in the above embodiment is configured to send a consumption status notification request SNR message with the consumption quota status to the PCRF1.
  • the second sending module 24 in the above embodiment is configured to send a change to the policy and charging rule function entity PCRF1 when the consumption quota status change associated with the policy counter is detected and the policy counter is at the specified location. After the consumption quota status.
  • FIG. 2 is a flowchart of a consumption quota interaction method according to a second embodiment of the present application. As shown in FIG. 2, in the embodiment, the consumption quota interaction method provided by the application includes the following steps:
  • the policy and charging rule function entity PCRF obtains the location information of the specified location, and sends the SLR message with the location information and the policy counter of the specified location to the online charging system OCS;
  • the online charging system OCS acquires an SLR message with location information and a policy counter, determines a specified location according to the location information, acquires a consumption quota status associated with the policy counter at the specified location, and sends the status to the policy and charging rule function entity.
  • PCRF Policy Rule Function
  • the policy and charging rule function entity PCRF sends the consumption quota status associated with the policy counter at the specified location according to the obtained online charging system OCS.
  • the step of the policy and charging rule function entity PCRF in the foregoing embodiment sending an SLR message with location information and a policy counter to the online charging system OCS includes: the policy and charging rule function entity PCRF is After the IP-CAN session is established, the consumption quota request SLR message with the location information and the policy counter is sent to the online charging system OCS; or the policy and charging rule function entity PCRF needs to re-execute the rule after modifying the IP-CAN session. At the time of decision, a consumption quota request SLR message with location information and a policy counter is sent to the online charging system OCS.
  • the online charging system OCS in the foregoing embodiment acquires the consumption quota status at the specified location and associated with the policy counter and sends the status to the policy and charging rule function entity PCRF.
  • the fee system OCS sends a consumption status notification request SNR message with the consumption quota status to the PCRF.
  • acquiring a consumption quota status at a specified location and associated with a policy counter and transmitting to the policy and charging rule function entity PCRF includes: The fee system OCS detects the consumption quota status change at the specified location and associated with the policy counter, and the online charging system OCS sends the changed consumption quota status to the policy and charging rule function entity PCRF.
  • the consumption quota acquisition method embodied on the PCRF end of the policy and charging rule function entity includes:
  • the policy and charging rule function entity PCRF acquires location information of the specified location
  • the policy and charging rule function entity PCRF sends an SLR message with location information and a policy counter to the online charging system OCS;
  • the policy and charging rule function entity PCRF receives the consumption quota status associated with the policy counter at the specified location sent by the online charging system OCS.
  • the step of the policy and charging rule function entity PCRF in the foregoing embodiment sending the SLR message with the location information and the policy counter to the online charging system OCS includes: the policy and charging rule function entity PCRF is establishing the IP address. After the -CAN session, the online charging system OCS Sending a consumption quota request SLR message with location information and a policy counter; or, the policy and charging rule function entity PCRF sends the location information to the online charging system OCS after modifying the IP-CAN session or when the rule decision needs to be re-executed And the consumption quota of the policy counter requests the SLR message.
  • the consumption quota sending method embodied in the OCS end of the online charging system, including the consumption quota interaction method shown in FIG. 2, includes:
  • the online charging system OCS determines the designated location based on the location information
  • the online charging system OCS obtains the consumption quota status associated with the policy counter at the specified location
  • the online charging system OCS sends the consumption quota status to the policy and charging rule function entity PCRF.
  • the step of the online charging system OCS in the foregoing embodiment for transmitting the consumption quota status to the policy and charging rule function entity PCRF comprises: the online charging system OCS sending the consumption quota status to the PCRF.
  • the consumption status notification requests the SNR message.
  • the foregoing embodiment further includes: when the online charging system OCS detects the location at the specified location, and The status of the consumption quota associated with the policy counter changes, and the online charging system OCS sends the changed consumption quota status to the policy and charging rule function entity PCRF.
  • FIG. 3 is a flowchart of a consumption quota interaction method according to a third embodiment of the present invention. As shown in FIG. 3, in the embodiment, the consumption quota interaction method provided by the present application includes the following steps:
  • the PCRF determines that it is required to acquire a policy counter status in a specified area.
  • the PCEF Policy and Charging Enforcement Function
  • the PCRF sends an IP-CAN session establishment indication message to the PCRF, which has a user identifier, and the PCRF is from the SPR (Subscription Profile Repository).
  • SPR Subscribescription Profile Repository
  • Obtaining the subscription information of the user, making a rule decision, and sending a session establishment response message to PCEF, PCRF and PCEF complete the creation of an IP-CAN session and save the IP-CAN session information and user information on the PCRF.
  • the PCRF determines that the policy counter state needs to be acquired according to a certain condition, such as configuration, and only considers the policy counter state in the specified area, and proceeds to the next step.
  • the PCEF sends an IP-CAN session modification indication message to the PCRF, or the PCRF internal event is triggered, and the PCRF needs to re-execute the rule decision.
  • the PCRF determines that the policy counter state needs to be acquired according to a certain condition, such as configuration, and only considers Specifies the status of the policy counter for the zone. If a Sy session has been created and the policy counter for that zone is not subscribed, proceed to the next step.
  • the PCRF sends an SLR message with location information and a policy counter to the OCS.
  • the PCF After the PCF completes the IP-CAN session with the PCEF, it determines that it needs and only needs to acquire the consumption quota status at the specified location, and the PCRF sends an initial SLR message to the OCS, and has the user identifier in the initial SLR message. And the policy counter and location information to be subscribed to, such as adding an AVP (Attribute Value Pair) to construct the request message to include location information.
  • AVP Attribute Value Pair
  • the PCEF sends an IP-CAN session modification indication message to the PCRF, or triggers an internal event of the PCRF.
  • the PCRF needs to re-execute the rule decision, it determines that the consumption quota status needs to be acquired only at the specified location, and the PCRF sends the intermediate SLR message to the OCS, and
  • the intermediate SLR message has a user identifier and a policy counter and location information to be subscribed.
  • the OCS acquires a policy counter and location information.
  • the OCS After receiving the initial SLR message or the intermediate SLR message of the PCRF, the OCS decodes the SLR message, parses the policy counter and the location information, determines the specified location according to the location information, saves the session information, and then performs the subsequent process.
  • the OCS searches for the consumption quota associated with the policy counter according to the user identifier and the policy counter of the SLR message, generates a policy counter report according to the consumption quota, and generates a consumption status notification request SNR message to the PCRF, where the policy counter status is generated. .
  • the PCRF After receiving the SNR message of the consumption status notification request, the PCRF decodes and acquires the policy counter status, and further performs rule decision according to the policy counter status.
  • the OCS monitors the consumption quota status associated with the policy counter to determine the consumption quota status. If the policy counter associated with the PCRF subscription changes the consumption quota status, the process proceeds to step S307, and if the policy counter associated with the PCRF subscription does not change the consumption quota status, Repeat this step.
  • the OCS determines whether the location of the consumption quota status is in the designated location of the PCRF subscription, and if the changed consumption quota status is in the designated location, proceeding to step S308; if the changed consumption quota status is not in the designated PCRF subscription Location, the process ends.
  • the OCS constructs and sends an SNR message to the PCRF, which includes the changed consumption quota status associated with the policy counter, and the policy counter is in a valid period.
  • the PCRF After receiving the SNR message, the PCRF saves the consumption status associated with the policy counter, and responds to the SNA (Spending-Status-Notification-Answer) response message to the OCS, and performs rule decision according to the changed consumption quota status associated with the policy counter. .
  • SNA Spending-Status-Notification-Answer
  • the application extends the SLR message, newly adds an AVP in the message layer, and is set to have a policy counter based on the specified location, the type is Grouped, and the policy counter based on the specified location is defined by the following code:
  • 3GPP-User-Location-Inf represents the location information related to the policy counter.
  • Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • the present application provides an interaction method for consuming consumption quotas, providing an SLR message with location information and a policy counter of a specified location, and subscribing a consumption quota status of only one or more specified locations at a time, reducing the message sent by the PCRF to the OCS. Therefore, the system load is reduced.
  • the OCS does not need to send an SNR message to the PCRF every time the consumption quota state changes, and only needs to send a message notification PCRF when the consumption quota status of the specified location of the PCRF subscription changes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A spending limit acquisition, sending and interaction method, a PCRF, an OCS and an interaction system. The interaction method comprises: a PCRF acquiring position information about a specified position, and sending an SLR message with the position information and a policy counter to an OCS; the OCS acquiring the SLR message with the position information and the policy counter, determining the specified position according to the position information, and acquiring and sending a spending limit status which is at the specified position and is associated with the policy counter to the PCRF; and the PCRF acquiring the spending limit status. By means of the solution, an SLR message with position information about a specified position and a policy counter is provided, and spending limit statuses at only one or more specified positions are subscribed at a time, so that messages which are sent to the OCS by the PCRF are reduced, and therefore the system load is reduced. The existing interface can be utilized to implement the policy counter for subscribing to a specified position, and the implementation method is simple and efficient.

Description

消费配额的获取、发送及交互方法,PCRF、OCS及交互系统Acquisition, delivery and interaction methods for consumption quotas, PCRF, OCS and interactive systems 技术领域Technical field
本申请涉及但不限于PCC(Policy and Charging Control,策略和计费控制)架构中PCRF(Policy and Charging Rule Function,策略和计费规则功能实体)与OCS(Online charging system,在线计费系统)交互消费配额领域,尤其是一种消费配额的获取、发送及交互方法,PCRF、OCS及交互系统。The present application relates to, but is not limited to, the interaction between the Policy and Charging Rule Function (PCRF) and the OTC (Online Charging System) in the PCC (Policy and Charging Control) architecture. In the field of consumption quotas, especially a method of acquiring, sending and interacting with consumption quotas, PCRF, OCS and interactive systems.
背景技术Background technique
在PCC架构中,PCRF与OCS为主要的功能实体;PCRF制定策略和计费规则,通过Gx接口将制定的PCC策略和计费规则下发给PCEF,OCS通过Sy接口向PCRF报告与用户消费相关的策略计数器状态信息,OCS使用策略计数器关联用户消费配额,上报给PCRF的策略计数器状态为关联的消费配额状态。PCRF与OCS之间通过Sy接口交互用户的策略计数器的订阅和状态上报信息,策略计数器状态应用于PCRF进行PCC策略决策:一方面,PCRF通过Sy接口向OCS获取用户的策略计数器状态,并订阅指定用户的策略计数器所对应消费配额的状态通知;另一方面,当用户消费配额的状态变化,如果PCRF订阅了这些消费信息,则OCS会通过Sy接口通知策略计数器相应变化的消费信息。In the PCC architecture, the PCRF and the OCS are the main functional entities. The PCRF formulates the policy and accounting rules. The PCC policy and the accounting rules are sent to the PCEF through the Gx interface. The OCS reports the PCRF to the user consumption through the Sy interface. The policy counter status information, the OCS uses the policy counter to associate the user consumption quota, and the policy counter status reported to the PCRF is the associated consumption quota status. The PCRF and the OCS exchange the user's policy counter subscription and status report information through the Sy interface. The policy counter status is applied to the PCRF to perform the PCC policy decision. On one hand, the PCRF obtains the user's policy counter status from the OCS through the Sy interface, and subscribes to the specified The status notification of the consumption quota corresponding to the user's policy counter; on the other hand, when the status of the user's consumption quota changes, if the PCRF subscribes to the consumption information, the OCS will notify the corresponding change of the consumption information of the policy counter through the Sy interface.
当前协议规定,在不同的位置信息,PCRF每次都必须通过向OCS发送SLR(Spending-Limit-Request,消费配额请求)消息进行订阅,同时,OCS需要在每次消费配额状态变化时,都发送SNR(Spending-Status-Notification-Request,消费状态通知请求)消息通知给PCRF,增加OCS和PCRF间的消息交互次数和系统负荷。The current protocol stipulates that the PCRF must subscribe to the SLR by sending an SLR (Spending-Limit-Request) message to the OCS at the same time. At the same time, the OCS needs to send each time the consumption quota status changes. The SNR (Spending-Status-Notification-Request) message is notified to the PCRF to increase the number of message interactions and system load between the OCS and the PCRF.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。 The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本申请提供了一种消费配额获取、发送及交互方法、PCRF、OCS及交互系统,以解决相关技术不能实现仅针对指定位置的消费配额进行交互的问题。The present application provides a method for acquiring, transmitting, and interacting with consumption quotas, a PCRF, an OCS, and an interactive system to solve the problem that the related technology cannot implement the interaction only for the consumption quota of the specified location.
本申请提供了一种消费配额获取方法,包括:The application provides a method for obtaining consumption quotas, including:
PCRF获取指定位置的位置信息;The PCRF obtains location information of the specified location;
所述PCRF向OCS发送具有所述位置信息和策略计数器的SLR消息;The PCRF sends an SLR message with the location information and a policy counter to the OCS;
所述PCRF从OCS接收在所述指定位置的、且与所述策略计数器关联的消费配额状态。The PCRF receives a consumption quota status at the specified location and associated with the policy counter from an OCS.
可选地,所述PCRF向OCS发送具有所述位置信息和策略计数器的SLR消息的步骤包括:所述PCRF在建立IP-CAN(IP-Connectivity Access Network,IP连接访问网络)会话后,向OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息;或者,所述PCRF在修改IP-CAN会话后,或者需要重新执行规则决策时,向OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息。Optionally, the step of the PCRF sending the SLR message with the location information and the policy counter to the OCS includes: the PCRF, after establishing an IP-CAN (IP-Connectivity Access Network) session, to the OCS Sending a consumption quota request SLR message with the location information and a policy counter; or the PCRF sends a consumption with the location information and a policy counter to the OCS after modifying the IP-CAN session or when the rule decision needs to be re-executed Quota requests SLR messages.
本申请提供了一种消费配额发送方法,包括:The application provides a method for sending a consumption quota, including:
OCS接收PCRF发送的具有位置信息和策略计数器的SLR消息;The OCS receives an SLR message sent by the PCRF with location information and a policy counter;
所述OCS根据所述位置信息确定指定位置;Determining, by the OCS, a specified location according to the location information;
所述OCS获取所述指定位置的、且与所述策略计数器关联的消费配额状态;Obtaining, by the OCS, a consumption quota status of the specified location and associated with the policy counter;
所述OCS向PCRF发送所述消费配额状态。The OCS sends the consumption quota status to the PCRF.
可选地,所述OCS向PCRF发送所述消费配额状态的步骤包括:所述OCS向所述PCRF发送具有所述消费配额状态的消费状态通知请求SNR消息。Optionally, the step of the OCS sending the consumption quota status to the PCRF includes: sending, by the OCS, the consumption status notification request SNR message with the consumption quota status to the PCRF.
可选地,所述OCS向PCRF发送所述消费配额状态的步骤包括:当所述在OCS检测到在所述指定位置的、且与所述策略计数器关联的消费配额状态变化,向PCRF发送变化后的消费配额状态。Optionally, the step of the OCS sending the consumption quota status to the PCRF includes: sending, to the PCRF, a change when the OCS detects a consumption quota status change at the specified location and associated with the policy counter. After the consumption quota status.
本申请提供了一种消费配额交互方法,包括: The application provides a method for interacting with consumption quotas, including:
PCRF获取指定位置的位置信息,发送具有所述位置信息和策略计数器的SLR消息至OCS;The PCRF acquires location information of the specified location, and sends an SLR message with the location information and a policy counter to the OCS;
所述OCS获取具有所述位置信息和策略计数器的SLR消息,根据所述位置信息确定所述指定位置,获取在所述指定位置的、与所述策略计数器关联的消费配额状态并发送至所述PCRF;Obtaining, by the OCS, an SLR message having the location information and a policy counter, determining the specified location according to the location information, acquiring a consumption quota status associated with the policy counter at the specified location, and transmitting the status to the PCRF;
所述PCRF获取所述OCS发送的在所述指定位置的、且与所述策略计数器关联的消费配额状态,决策规则。The PCRF acquires a consumption quota status at the specified location and associated with the policy counter sent by the OCS, and determines a decision rule.
可选地,所述PCRF发送具有所述位置信息和策略计数器的SLR消息给OCS的步骤包括:所述PCRF在建立IP-CAN会话后,向所述OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息;或者,所述PCRF在修改IP-CAN会话后,或者需要重新执行规则决策时,向所述OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息。Optionally, the step of the PCRF sending the SLR message with the location information and the policy counter to the OCS includes: after the IPFCAN session is established, the PCRF sends the location information and the policy counter to the OCS. The consumption quota requests an SLR message; or, the PCRF sends a consumption quota request SLR message with the location information and a policy counter to the OCS after modifying the IP-CAN session or when the rule decision needs to be re-executed.
可选地,所述OCS获取在指定位置的、且与策略计数器关联的所述消费配额状态并发送至所述PCRF的步骤包括:所述OCS向所述PCRF发送具有所述消费配额状态的消费状态通知请求SNR消息。Optionally, the step of the OCS acquiring the consumption quota status at a specified location and associated with a policy counter and sending to the PCRF includes: sending, by the OCS, the consumption with the consumption quota status to the PCRF The status notification requests the SNR message.
可选地,所述在所述OCS获取在指定位置的、且与策略计数器关联的所述消费配额状态并发送至所述PCRF的步骤包括:当所述OCS检测到在所述指定位置的、且与策略计数器关联的消费配额状态变化,所述OCS向所述PCRF发送变化后的消费配额状态。Optionally, the step of acquiring, in the OCS, the consumption quota status at a specified location and associated with a policy counter, and sending to the PCRF, includes: when the OCS detects the specified location, And the consumption quota status associated with the policy counter changes, and the OCS sends the changed consumption quota status to the PCRF.
本申请另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。The application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
本申请提供了一种PCRF,包括:The application provides a PCRF comprising:
第一获取模块,设置为获取指定位置的位置信息;a first acquiring module, configured to obtain location information of the specified location;
第一发送模块,设置为向OCS发送具有所述位置信息和策略计数器的SLR消息;a first sending module, configured to send an SLR message with the location information and a policy counter to the OCS;
第一接收模块,设置为从OCS中接收在所述指定位置的、与所述策略计数器关联的消费配额状态。The first receiving module is configured to receive, from the OCS, a consumption quota status associated with the policy counter at the designated location.
可选地,所述第一发送模块设置为在建立IP-CAN会话后,向OCS发送 具有所述位置信息和策略计数器的初始的消费配额请求SLR消息;或者,在修改IP-CAN会话后,或者需要重新执行规则决策时,向OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息。Optionally, the first sending module is configured to send to the OCS after establishing an IP-CAN session. An initial consumption quota request SLR message having the location information and policy counter; or, after modifying the IP-CAN session, or when the rule decision needs to be re-executed, sending a consumption quota request with the location information and the policy counter to the OCS SLR message.
本申请提供了一种OCS,包括:This application provides an OCS, including:
第二接收模块,设置为接收PCRF发送的具有位置信息和策略计数器的SLR消息;a second receiving module, configured to receive an SLR message that is sent by the PCRF and has a location information and a policy counter;
确定模块,设置为根据所述位置信息确定指定位置;Determining a module, configured to determine a specified location according to the location information;
第二获取模块,设置为获取所述指定位置的、且与所述策略计数器关联的消费配额状态;a second obtaining module, configured to acquire a consumption quota status of the specified location and associated with the policy counter;
第二发送模块,设置为向PCRF发送所述消费配额状态。The second sending module is configured to send the consumption quota status to the PCRF.
可选地,所述第二发送模块是设置为向所述PCRF发送具有所述消费配额状态的消费状态通知请求SNR消息。Optionally, the second sending module is configured to send a consumption status notification request SNR message with the consumption quota status to the PCRF.
可选地,所述第二发送模块还设置为当检测到在所述指定位置的、且与策略计数器关联的消费配额状态变化,向PCRF发送变化后的消费配额状态。Optionally, the second sending module is further configured to send the changed consumption quota status to the PCRF when detecting a consumption quota status change at the specified location and associated with the policy counter.
本申请提供了一种消费配额交互系统,包括PCRF、以及OCS,其中,The application provides a consumption quota interaction system, including a PCRF, and an OCS, wherein
所述PCRF设置为获取指定位置的位置信息,发送具有所述位置信息和策略计数器的SLR消息至所述OCS;The PCRF is configured to acquire location information of a specified location, and send an SLR message with the location information and a policy counter to the OCS;
所述OCS设置为获取具有所述位置信息和策略计数器的SLR消息,根据所述位置信息确定所述指定位置,获取在所述指定位置的、与所述策略计数器关联的消费配额状态并发送至所述PCRF;The OCS is configured to acquire an SLR message having the location information and a policy counter, determine the specified location according to the location information, acquire a consumption quota status associated with the policy counter at the specified location, and send the status to the The PCRF;
所述PCRF还设置为获取所述OCS发送的在所述指定位置的、与所述策略计数器关联的消费配额状态。The PCRF is further configured to acquire a consumption quota status associated with the policy counter at the specified location sent by the OCS.
可选地,所述PCRF设置为在建立IP-CAN会话后,向所述OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息;或者,在修改IP-CAN会话后,或者需要重新执行规则决策时,向所述OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息。Optionally, the PCRF is configured to send a consumption quota request SLR message with the location information and a policy counter to the OCS after establishing an IP-CAN session; or, after modifying the IP-CAN session, or need to be restarted When the rule decision is performed, a consumption quota request SLR message having the location information and a policy counter is sent to the OCS.
可选地,所述OCS是设置为向所述PCRF发送具有所述消费配额状态的 消费状态通知请求SNR消息。Optionally, the OCS is configured to send, to the PCRF, the state with the consumption quota. The consumption status notification requests the SNR message.
可选地,所述OCS设置为当检测到在所述指定位置的、且与策略计数器关联的消费配额状态变化,向所述PCRF发送变化后的消费配额状态。Optionally, the OCS is configured to send a changed consumption quota status to the PCRF when detecting a consumption quota status change at the specified location and associated with a policy counter.
本申请的有益效果:The beneficial effects of the application:
本申请提供了一种对消费配额进行交互方法,提供具有指定位置的位置信息和策略计数器的SLR消息,一次订阅仅一个或多个指定位置的消费配额状态,减少了PCRF发送给OCS的消息,从而减小系统负荷,此外,OCS不需要在每次消费配额状态变化时,都发送SNR消息通知给PCRF,只需要在PCRF订阅的指定位置的消费配额状态变化时才发送消息通知PCRF;本申请利用已有接口订阅具有特定位置的位置信息的策略计数器,从而解决了相关技术的PCRF无法只订阅和获取在特定位置的策略计数器状态的问题,实现方式简单高效。The present application provides an interaction method for consuming consumption quotas, providing an SLR message with location information and a policy counter of a specified location, and subscribing a consumption quota status of only one or more specified locations at a time, reducing the message sent by the PCRF to the OCS. Therefore, the system load is reduced. In addition, the OCS does not need to send an SNR message to the PCRF every time the consumption quota state changes, and only needs to send a message notification PCRF when the consumption quota status of the specified location of the PCRF subscription changes. By using an existing interface to subscribe to a policy counter with location information of a specific location, the problem that the related technology PCRF cannot subscribe to and acquire the policy counter state at a specific location is solved, and the implementation manner is simple and efficient.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本申请第一实施例提供的消费配额交互系统的结构示意图;1 is a schematic structural diagram of a consumption quota interaction system according to a first embodiment of the present application;
图2为本申请第二实施例提供的消费配额交互方法的流程图;2 is a flowchart of a method for interacting with consumption quotas according to a second embodiment of the present application;
图3为本申请第三实施例提供的消费配额交互方法的流程图。FIG. 3 is a flowchart of a method for interacting with consumption quotas according to a third embodiment of the present application.
本发明的较佳实施方式Preferred embodiment of the invention
现通过具体实施方式结合附图的方式对本申请做出进一步的诠释说明。The present application will be further illustrated by the specific embodiments in conjunction with the accompanying drawings.
在某些场景下,PCRF仅需要订阅指定位置的用户的消费配额状态,并且能够取消订阅指定位置的用户的消费配额状态,而当前协议规定的方法则不能实现仅针对指定位置的消费配额进行交互。In some scenarios, the PCRF only needs to subscribe to the consumption quota status of the user in the specified location, and can cancel the consumption quota status of the user in the specified location. However, the method specified in the current protocol cannot implement the interaction only for the consumption quota of the specified location. .
因此,需要提供一种可在指定位置对消费配额进行交互的方法。Therefore, there is a need to provide a way to interact with consumption quotas at a given location.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。第一实施例: It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. First embodiment:
图1为本申请第一实施例提供的消费配额交互系统的结构示意图,由图1可知,在本实施例中,本申请提供的消费配额交互系统包括:策略和计费规则功能实体PCRF1、以及在线计费系统OCS2,其中,FIG. 1 is a schematic structural diagram of a consumption quota interaction system according to a first embodiment of the present application. As shown in FIG. 1 , in this embodiment, the consumption quota interaction system provided by the present application includes: a policy and charging rule function entity PCRF1, and Online billing system OCS2, where
策略和计费规则功能实体PCRF1设置为获取指定位置的位置信息,发送具有位置信息和策略计数器的SLR消息至在线计费系统OCS2;指定位置是指用户设置的特定位置,如某小区、商城等,该指定位置可以包括一个或多个地理位置,当包括多个地理位置时,这些地理位置可以是连续的,也可以是不连续的;位置信息可以是指定位置的界限等;The policy and charging rule function entity PCRF1 is configured to obtain location information of the specified location, and send an SLR message with location information and a policy counter to the online charging system OCS2; the specified location refers to a specific location set by the user, such as a certain cell, a mall, etc. The specified location may include one or more geographic locations. When multiple geographic locations are included, the geographic locations may be continuous or discontinuous; the location information may be a boundary of a specified location, etc.;
在线计费系统OCS2设置为获取具有位置信息和策略计数器的SLR消息,根据位置信息确定指定位置,获取指定位置的、且与策略计数器关联的消费配额状态并发送至策略和计费规则功能实体PCRF1;The online charging system OCS2 is configured to acquire an SLR message with location information and a policy counter, determine a specified location according to the location information, obtain a consumption quota status of the specified location and associated with the policy counter, and send it to the policy and charging rule function entity PCRF1 ;
策略和计费规则功能实体PCRF1还设置为根据获取的在线计费系统OCS2发送的在指定位置的、与策略计数器关联的消费配额状态。The policy and charging rule function entity PCRF1 is also set to the consumption quota status associated with the policy counter at the specified location sent according to the acquired online charging system OCS2.
在一些实施例中,上述实施例中的策略和计费规则功能实体PCRF1设置为在建立IP-CAN会话后,向在线计费系统OCS2发送具有位置信息和策略计数器的消费配额请求SLR消息;或者,在修改IP-CAN会话后,或者需要重新执行规则决策时,向在线计费系统OCS2发送具有位置信息和策略计数器的消费配额请求SLR消息。In some embodiments, the policy and charging rule function entity PCRF1 in the above embodiment is configured to send a consumption quota request SLR message with location information and a policy counter to the online charging system OCS2 after establishing an IP-CAN session; or After modifying the IP-CAN session, or when the rule decision needs to be re-executed, a consumption quota request SLR message with location information and a policy counter is sent to the online charging system OCS2.
在一些实施例中,上述实施例中的在线计费系统OCS2设置为向所述PCRF1发送具有所述消费配额状态的消费状态通知请求SNR消息。In some embodiments, the online charging system OCS2 in the above embodiment is arranged to send a consumption status notification request SNR message with the consumption quota status to the PCRF1.
在一些实施例中,上述实施例中的在线计费系统OCS2设置为当检测到在指定位置的、且与所述策略计数器关联的消费配额状态变化,向策略和计费规则功能实体PCRF1发送变化后的消费配额状态。In some embodiments, the online charging system OCS2 in the above embodiment is configured to send a change to the policy and charging rule function entity PCRF1 when a change in the consumption quota status associated with the policy counter at the specified location is detected. After the consumption quota status.
由图1可知,在一些实施例中,策略和计费规则功能实体PCRF1包括:As can be seen from FIG. 1, in some embodiments, the policy and charging rule function entity PCRF1 includes:
第一获取模块11,设置为获取指定位置的位置信息;The first obtaining module 11 is configured to acquire location information of the specified location;
第一发送模块12,设置为发送具有位置信息和策略计数器的SLR消息至在线计费系统OCS2;The first sending module 12 is configured to send an SLR message with location information and a policy counter to the online charging system OCS2;
第一接收模块13,设置为接收在线计费系统OCS2发送的在指定位置的、 与策略计数器关联的消费配额状态。The first receiving module 13 is configured to receive, at a specified location, sent by the online charging system OCS2, The consumption quota status associated with the policy counter.
在一些实施例中,上述实施例中的第一发送模块12设置为在建立IP-CAN会话后,向在线计费系统OCS2发到具有位置信息和策略计数器的消费配额请求SLR消息;或者,在修改IP-CAN会话后,或者需要重新执行规则决策时,向在线计费系统OCS2发送具有位置信息和策略计数器的消费配额请求SLR消息。In some embodiments, the first sending module 12 in the above embodiment is configured to send an online subscription system OCS2 to a consumption quota request SLR message with location information and a policy counter after establishing an IP-CAN session; or, After modifying the IP-CAN session, or when the rule decision needs to be re-executed, a consumption quota request SLR message with location information and a policy counter is sent to the online charging system OCS2.
同时,由图1可知,本申请提供的在线计费系统OCS2包括:Meanwhile, as can be seen from FIG. 1, the online charging system OCS2 provided by the present application includes:
第二接收模块21,设置为接收策略和计费规则功能实体PCRF1发送的具有位置信息和策略计数器的SLR消息;The second receiving module 21 is configured to receive an SLR message with location information and a policy counter sent by the policy and charging rule function entity PCRF1;
确定模块22,设置为根据位置信息确定指定位置;The determining module 22 is configured to determine the specified location according to the location information;
第二获取模块23,设置为获取在指定位置的、与策略计数器关联的消费配额状态;The second obtaining module 23 is configured to acquire a consumption quota status associated with the policy counter at the specified location;
第二发送模块24,设置为发送消费配额状态至策略和计费规则功能实体PCRF1。The second sending module 24 is configured to send the consumption quota status to the policy and charging rule function entity PCRF1.
在一些实施例中,上述实施例中的第二发送模块24设置为向所述PCRF1发送具有所述消费配额状态的消费状态通知请求SNR消息。In some embodiments, the second sending module 24 in the above embodiment is configured to send a consumption status notification request SNR message with the consumption quota status to the PCRF1.
在一些实施例中,上述实施例中的第二发送模块24设置为当检测到策略计数器关联的消费配额状态变化,且该策略计数器在指定位置时,向策略和计费规则功能实体PCRF1发送变化后的消费配额状态。In some embodiments, the second sending module 24 in the above embodiment is configured to send a change to the policy and charging rule function entity PCRF1 when the consumption quota status change associated with the policy counter is detected and the policy counter is at the specified location. After the consumption quota status.
第二实施例:Second embodiment:
图2为本申请第二实施例提供的消费配额交互方法的流程图,由图2可知,在本实施例中,本申请提供的消费配额交互方法包括以下步骤:FIG. 2 is a flowchart of a consumption quota interaction method according to a second embodiment of the present application. As shown in FIG. 2, in the embodiment, the consumption quota interaction method provided by the application includes the following steps:
S201:策略和计费规则功能实体PCRF获取指定位置的位置信息,发送具有指定位置的位置信息和策略计数器的SLR消息至在线计费系统OCS;S201: The policy and charging rule function entity PCRF obtains the location information of the specified location, and sends the SLR message with the location information and the policy counter of the specified location to the online charging system OCS;
S202:在线计费系统OCS获取具有位置信息和策略计数器的SLR消息,根据位置信息确定指定位置,获取在指定位置的、且与策略计数器关联的消费配额状态并发送至策略和计费规则功能实体PCRF; S202: The online charging system OCS acquires an SLR message with location information and a policy counter, determines a specified location according to the location information, acquires a consumption quota status associated with the policy counter at the specified location, and sends the status to the policy and charging rule function entity. PCRF;
S203:策略和计费规则功能实体PCRF根据获取的在线计费系统OCS发送的在指定位置的、与策略计数器关联的消费配额状态。S203: The policy and charging rule function entity PCRF sends the consumption quota status associated with the policy counter at the specified location according to the obtained online charging system OCS.
在一些实施例中,上述实施例中的所述策略和计费规则功能实体PCRF发送具有位置信息和策略计数器的SLR消息给在线计费系统OCS的步骤包括:策略和计费规则功能实体PCRF在建立IP-CAN会话后,向在线计费系统OCS发送具有位置信息和策略计数器的消费配额请求SLR消息;或者,策略和计费规则功能实体PCRF在修改IP-CAN会话后,或者需要重新执行规则决策时,向在线计费系统OCS发送具有位置信息和策略计数器的消费配额请求SLR消息。In some embodiments, the step of the policy and charging rule function entity PCRF in the foregoing embodiment sending an SLR message with location information and a policy counter to the online charging system OCS includes: the policy and charging rule function entity PCRF is After the IP-CAN session is established, the consumption quota request SLR message with the location information and the policy counter is sent to the online charging system OCS; or the policy and charging rule function entity PCRF needs to re-execute the rule after modifying the IP-CAN session. At the time of decision, a consumption quota request SLR message with location information and a policy counter is sent to the online charging system OCS.
在一些实施例中,上述实施例中的所述在线计费系统OCS获取在指定位置的、且与策略计数器关联的消费配额状态并发送至策略和计费规则功能实体PCRF的步骤包括:在线计费系统OCS向所述PCRF发送具有所述消费配额状态的消费状态通知请求SNR消息。In some embodiments, the online charging system OCS in the foregoing embodiment acquires the consumption quota status at the specified location and associated with the policy counter and sends the status to the policy and charging rule function entity PCRF. The fee system OCS sends a consumption status notification request SNR message with the consumption quota status to the PCRF.
在一些实施例中,上述实施例在所述在线计费系统OCS获取在指定位置的、且与策略计数器关联的消费配额状态并发送至策略和计费规则功能实体PCRF的步骤包括:当在线计费系统OCS检测到在指定位置的、且与策略计数器关联的消费配额状态变化,在线计费系统OCS向策略和计费规则功能实体PCRF发送变化后的消费配额状态。In some embodiments, the foregoing embodiment, in the online charging system OCS, acquiring a consumption quota status at a specified location and associated with a policy counter and transmitting to the policy and charging rule function entity PCRF includes: The fee system OCS detects the consumption quota status change at the specified location and associated with the policy counter, and the online charging system OCS sends the changed consumption quota status to the policy and charging rule function entity PCRF.
结合图2所示的消费配额交互方法,在策略和计费规则功能实体PCRF一端体现的消费配额获取方法,包括:In combination with the consumption quota interaction method shown in FIG. 2, the consumption quota acquisition method embodied on the PCRF end of the policy and charging rule function entity includes:
策略和计费规则功能实体PCRF获取指定位置的位置信息;The policy and charging rule function entity PCRF acquires location information of the specified location;
策略和计费规则功能实体PCRF发送具有位置信息和策略计数器的SLR消息至在线计费系统OCS;The policy and charging rule function entity PCRF sends an SLR message with location information and a policy counter to the online charging system OCS;
策略和计费规则功能实体PCRF接收在线计费系统OCS发送的在指定位置的、与策略计数器关联的消费配额状态。The policy and charging rule function entity PCRF receives the consumption quota status associated with the policy counter at the specified location sent by the online charging system OCS.
在一些实施例中,上述实施例中的策略和计费规则功能实体PCRF发送具有位置信息和策略计数器的SLR消息给在线计费系统OCS的步骤包括:策略和计费规则功能实体PCRF在建立IP-CAN会话后,向在线计费系统OCS 发送具有位置信息和策略计数器的消费配额请求SLR消息;或者,策略和计费规则功能实体PCRF在修改IP-CAN会话后,或者需要重新执行规则决策时,向在线计费系统OCS发送具有位置信息和策略计数器的消费配额请求SLR消息。In some embodiments, the step of the policy and charging rule function entity PCRF in the foregoing embodiment sending the SLR message with the location information and the policy counter to the online charging system OCS includes: the policy and charging rule function entity PCRF is establishing the IP address. After the -CAN session, the online charging system OCS Sending a consumption quota request SLR message with location information and a policy counter; or, the policy and charging rule function entity PCRF sends the location information to the online charging system OCS after modifying the IP-CAN session or when the rule decision needs to be re-executed And the consumption quota of the policy counter requests the SLR message.
结合图2所示的消费配额交互方法,在在线计费系统OCS一端体现的消费配额发送方法,包括:The consumption quota sending method embodied in the OCS end of the online charging system, including the consumption quota interaction method shown in FIG. 2, includes:
接收策略和计费规则功能实体PCRF发送的具有位置信息和策略计数器的SLR消息;Receiving an SLR message with location information and a policy counter sent by the policy and charging rule function entity PCRF;
在线计费系统OCS根据位置信息确定指定位置;The online charging system OCS determines the designated location based on the location information;
在线计费系统OCS获取在指定位置的、与策略计数器关联的消费配额状态;The online charging system OCS obtains the consumption quota status associated with the policy counter at the specified location;
在线计费系统OCS发送消费配额状态至策略和计费规则功能实体PCRF。The online charging system OCS sends the consumption quota status to the policy and charging rule function entity PCRF.
在一些实施例中,上述实施例中的在线计费系统OCS发送消费配额状态至策略和计费规则功能实体PCRF的步骤包括:在线计费系统OCS向所述PCRF发送具有所述消费配额状态的消费状态通知请求SNR消息。In some embodiments, the step of the online charging system OCS in the foregoing embodiment for transmitting the consumption quota status to the policy and charging rule function entity PCRF comprises: the online charging system OCS sending the consumption quota status to the PCRF. The consumption status notification requests the SNR message.
在一些实施例中,上述实施例在在线计费系统OCS发送消费配额状态至策略和计费规则功能实体PCRF的步骤之后,还包括:当在线计费系统OCS检测到在指定位置的、且与策略计数器关联的消费配额状态变化,在线计费系统OCS向策略和计费规则功能实体PCRF发送变化后的消费配额状态。In some embodiments, after the step of the online charging system OCS sending the consumption quota status to the policy and charging rule function entity PCRF, the foregoing embodiment further includes: when the online charging system OCS detects the location at the specified location, and The status of the consumption quota associated with the policy counter changes, and the online charging system OCS sends the changed consumption quota status to the policy and charging rule function entity PCRF.
现结合具体应用场景对本申请做进一步的诠释说明。This application is further explained in the context of a specific application scenario.
第三实施例:Third embodiment:
图3为本申请第三实施例提供的消费配额交互方法的流程图,由图3可知,在本实施例中,本申请提供的消费配额交互方法包括以下步骤:FIG. 3 is a flowchart of a consumption quota interaction method according to a third embodiment of the present invention. As shown in FIG. 3, in the embodiment, the consumption quota interaction method provided by the present application includes the following steps:
S301:PCRF确定需要获取指定区域内的策略计数器状态。S301: The PCRF determines that it is required to acquire a policy counter status in a specified area.
实际上,PCC架构中的PCEF(Policy and Charging Enforcement Function,策略和计费执行功能实体)向PCRF发送IP-CAN会话建立指示消息,其中具有用户标识,PCRF从SPR(Subscription Profile Repository,用户签约数据库)获取该用户的签约信息,并进行规则决策,发送会话建立响应消息给 PCEF,PCRF和PCEF完成创建IP-CAN会话,并在PCRF上保存IP-CAN会话信息和用户信息。之后,PCRF根据某种条件,比如配置,判断出需要获取策略计数器状态,并且只考虑在指定区域的策略计数器状态,进行到下一步骤。In fact, the PCEF (Policy and Charging Enforcement Function) in the PCC architecture sends an IP-CAN session establishment indication message to the PCRF, which has a user identifier, and the PCRF is from the SPR (Subscription Profile Repository). Obtaining the subscription information of the user, making a rule decision, and sending a session establishment response message to PCEF, PCRF and PCEF complete the creation of an IP-CAN session and save the IP-CAN session information and user information on the PCRF. After that, the PCRF determines that the policy counter state needs to be acquired according to a certain condition, such as configuration, and only considers the policy counter state in the specified area, and proceeds to the next step.
或者,PCEF向PCRF发送IP-CAN会话修改指示消息,或者PCRF内部事件触发,PCRF需要重新执行规则决策;此时,PCRF根据某种条件,比如配置,判断出需要获取策略计数器状态,只考虑在指定区域的策略计数器状态,如果已经创建过Sy会话,并且该指定区域的策略计数器没有订阅过,进行到下一步骤。Alternatively, the PCEF sends an IP-CAN session modification indication message to the PCRF, or the PCRF internal event is triggered, and the PCRF needs to re-execute the rule decision. At this time, the PCRF determines that the policy counter state needs to be acquired according to a certain condition, such as configuration, and only considers Specifies the status of the policy counter for the zone. If a Sy session has been created and the policy counter for that zone is not subscribed, proceed to the next step.
S302:PCRF发送具有位置信息和策略计数器的SLR消息给OCS。S302: The PCRF sends an SLR message with location information and a policy counter to the OCS.
在该步骤中,PCRF在和PCEF完成创建IP-CAN会话之后,确定需要且仅需要获取在指定位置的消费配额状态,PCRF发送初始SLR消息给OCS,并在该初始SLR消息中,具有用户标识和需订阅的策略计数器及位置信息,如在构造请求消息时新增AVP(Attribute Value Pair,属性值对)以包括位置信息。In this step, after the PCF completes the IP-CAN session with the PCEF, it determines that it needs and only needs to acquire the consumption quota status at the specified location, and the PCRF sends an initial SLR message to the OCS, and has the user identifier in the initial SLR message. And the policy counter and location information to be subscribed to, such as adding an AVP (Attribute Value Pair) to construct the request message to include location information.
PCEF向PCRF发送IP-CAN会话修改指示消息,或者PCRF内部事件触发,PCRF需要重新执行规则决策时,确定需要且仅需要获取在指定位置的消费配额状态,PCRF发送中间SLR消息给OCS,并在该中间SLR消息中,具有用户标识和需订阅的策略计数器及位置信息。The PCEF sends an IP-CAN session modification indication message to the PCRF, or triggers an internal event of the PCRF. When the PCRF needs to re-execute the rule decision, it determines that the consumption quota status needs to be acquired only at the specified location, and the PCRF sends the intermediate SLR message to the OCS, and The intermediate SLR message has a user identifier and a policy counter and location information to be subscribed.
S303:OCS获取策略计数器及位置信息。S303: The OCS acquires a policy counter and location information.
OCS收到PCRF的初始SLR消息或者中间SLR消息后,解码SLR消息,解析出策略计数器和位置信息,根据位置信息确定指定位置,保存会话信息,然后执行后续流程。After receiving the initial SLR message or the intermediate SLR message of the PCRF, the OCS decodes the SLR message, parses the policy counter and the location information, determines the specified location according to the location information, saves the session information, and then performs the subsequent process.
S304:OCS获取对应的消费配额,并发给PCRF。S304: The OCS obtains a corresponding consumption quota and sends it to the PCRF.
OCS根据SLR消息具有的用户标识、策略计数器,查找在指定位置的、且与策略计数器关联的消费配额,根据消费配额生成策略计数器报告,生成消费状态通知请求SNR消息给PCRF,其中具有策略计数器状态。The OCS searches for the consumption quota associated with the policy counter according to the user identifier and the policy counter of the SLR message, generates a policy counter report according to the consumption quota, and generates a consumption status notification request SNR message to the PCRF, where the policy counter status is generated. .
S305:PCRF获取策略计数器状态。 S305: The PCRF acquires a policy counter status.
PCRF收到该消费状态通知请求SNR消息后,解码并获取到策略计数器状态,并进一步的根据策略计数器状态进行规则决策。After receiving the SNR message of the consumption status notification request, the PCRF decodes and acquires the policy counter status, and further performs rule decision according to the policy counter status.
S306:OCS监测消费配额状态。S306: The OCS monitors the consumption quota status.
OCS对策略计数器关联的消费配额状态进行监测,以判断消费配额状态,若PCRF订阅的策略计数器关联消费配额状态变化,则进行到步骤S307,若PCRF订阅的策略计数器关联消费配额状态未变化,则重复本步骤。The OCS monitors the consumption quota status associated with the policy counter to determine the consumption quota status. If the policy counter associated with the PCRF subscription changes the consumption quota status, the process proceeds to step S307, and if the policy counter associated with the PCRF subscription does not change the consumption quota status, Repeat this step.
S307:OCS判断是否需要发送变化后的消费配额状态。S307: The OCS determines whether it is necessary to send the changed consumption quota status.
OCS判断该消费配额状态的位置是否处于PCRF订阅的指定位置,如果变化后的消费配额状态的位置处于指定位置,则进行到步骤S308;如果变化后的消费配额状态的位置不处于PCRF订阅的指定位置,则本流程结束。The OCS determines whether the location of the consumption quota status is in the designated location of the PCRF subscription, and if the changed consumption quota status is in the designated location, proceeding to step S308; if the changed consumption quota status is not in the designated PCRF subscription Location, the process ends.
S308:OCS发送变化后的消费配额状态。S308: The OCS sends the changed consumption quota status.
OCS构造和发送SNR消息通知给PCRF,其中包括变化后的与策略计数器关联的消费配额状态,并且该策略计数器处于有效周期。The OCS constructs and sends an SNR message to the PCRF, which includes the changed consumption quota status associated with the policy counter, and the policy counter is in a valid period.
S309:PCRF获取变化后的消费配额状态。S309: The PCRF acquires the changed consumption quota status.
PCRF收到SNR消息后,保存策略计数器关联的消费状态,回复SNA(Spending-Status-Notification-Answer,状态通知响应)响应消息给OCS,并根据策略计数器关联的变化后的消费配额状态进行规则决策。After receiving the SNR message, the PCRF saves the consumption status associated with the policy counter, and responds to the SNA (Spending-Status-Notification-Answer) response message to the OCS, and performs rule decision according to the changed consumption quota status associated with the policy counter. .
本申请对SLR消息进行扩展,在消息层新增加一个AVP,设置为具有基于指定位置的策略计数器,类型为Grouped,以如下的代码定义所述基于指定位置的策略计数器:The application extends the SLR message, newly adds an AVP in the message layer, and is set to have a policy counter based on the specified location, the type is Grouped, and the policy counter based on the specified location is defined by the following code:
Figure PCTCN2016082348-appb-000001
Figure PCTCN2016082348-appb-000001
SLR消息格式参见名为3GPP TS 29.21的3GPP规范,其中消息层的Policy-Counter-Identifier为协议已有AVP,表示与位置无关的策略计数器;新增Policy-Counter-Information中的Policy-Counter-Identifier表示与位置相关 的策略计数器,3GPP-User-Location-Inf表示策略计数器相关的位置信息,3GPP-User-Location-Info的定义参见在名为3GPP TS 29.061的3GPP规范中的下列代码。For the SLR message format, refer to the 3GPP specification named 3GPP TS 29.21, where the Policy-Counter-Identifier of the message layer is the protocol existing AVP, indicating the location-independent policy counter; the Policy-Counter-Identifier in the Policy-Counter-Information is added. Indicates location related The policy counter, 3GPP-User-Location-Inf, represents the location information related to the policy counter. For the definition of 3GPP-User-Location-Info, see the following code in the 3GPP specification named 3GPP TS 29.061.
Figure PCTCN2016082348-appb-000002
Figure PCTCN2016082348-appb-000002
本发明实施例另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
综上可知,通过本申请的实施,至少存在以下有益效果:In summary, through the implementation of the present application, at least the following beneficial effects exist:
提供具有指定位置的位置信息和策略计数器的SLR消息,一次订阅仅一个或多个指定位置的消费配额状态,减少了PCRF发送给OCS的消息的数量,从而减小系统负荷,此外,OCS不需要在每次消费配额状态变化时,都发送SNR消息通知给PCRF,只需要在PCRF订阅的指定位置的消费配额状态变化时才发送消息通知PCRF;即本申请利用现有接口订阅特定位置内的策略计数器,从而解决了相关技术的PCRF无法只订阅和获取在特定位置的策略计数器状态的问题,实现方式简单高效。Providing SLR messages with location information and policy counters of specified locations, one-time subscription of consumption quota status of only one or more specified locations, reducing the number of messages sent by the PCRF to the OCS, thereby reducing system load, and in addition, OCS does not need When the consumption quota status changes, the SNR message is sent to the PCRF, and the message notification PCRF is sent only when the consumption quota status of the specified location of the PCRF subscription changes; that is, the application subscribes to the policy in the specific location by using the existing interface. The counter thus solves the problem that the related technology PCRF cannot subscribe to and acquire the state of the policy counter at a specific location, and the implementation is simple and efficient.
以上仅是本申请的具体实施方式而已,并非对本申请做任何形式上的限制,凡是依据本申请的技术实质对以上实施方式所做的任意简单修改、等同变化、结合或修饰,均仍属于本申请技术方案的保护范围。The above is only a specific embodiment of the present application, and is not intended to limit the scope of the application. Any simple modification, equivalent change, combination or modification of the above embodiments according to the technical essence of the present application is still Apply for the scope of protection of the technical solution.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的 程序/指令来实现其相应功能。本发明实施例不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions. Embodiments of the invention are not limited to any specific form of combination of hardware and software.
工业实用性Industrial applicability
本申请提供了一种对消费配额进行交互方法,提供具有指定位置的位置信息和策略计数器的SLR消息,一次订阅仅一个或多个指定位置的消费配额状态,减少了PCRF发送给OCS的消息,从而减小系统负荷,此外,OCS不需要在每次消费配额状态变化时,都发送SNR消息通知给PCRF,只需要在PCRF订阅的指定位置的消费配额状态变化时才发送消息通知PCRF;本申请利用已有接口订阅具有特定位置的位置信息的策略计数器,从而解决了相关技术的PCRF无法只订阅和获取在特定位置的策略计数器状态的问题,实现方式简单高效。 The present application provides an interaction method for consuming consumption quotas, providing an SLR message with location information and a policy counter of a specified location, and subscribing a consumption quota status of only one or more specified locations at a time, reducing the message sent by the PCRF to the OCS. Therefore, the system load is reduced. In addition, the OCS does not need to send an SNR message to the PCRF every time the consumption quota state changes, and only needs to send a message notification PCRF when the consumption quota status of the specified location of the PCRF subscription changes. By using an existing interface to subscribe to a policy counter with location information of a specific location, the problem that the related technology PCRF cannot subscribe to and acquire the policy counter state at a specific location is solved, and the implementation manner is simple and efficient.

Claims (18)

  1. 一种消费配额获取方法,包括:A method for obtaining consumption quotas, including:
    策略和计费规则功能实体PCRF获取指定位置的位置信息;The policy and charging rule function entity PCRF acquires location information of the specified location;
    所述PCRF向在线计费系统OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息;The PCRF sends a consumption quota request SLR message with the location information and a policy counter to an online charging system OCS;
    所述PCRF从OCS接收在所述指定位置的、且与所述策略计数器关联的消费配额状态。The PCRF receives a consumption quota status at the specified location and associated with the policy counter from an OCS.
  2. 如权利要求1所述的消费配额获取方法,其中,所述PCRF向OCS发送具有所述位置信息和策略计数器的SLR消息的步骤包括:所述PCRF在建立IP-CAN会话后,向OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息;或者,所述PCRF在修改IP-CAN会话后,或者需要重新执行规则决策时,向OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息。The consumption quota acquisition method according to claim 1, wherein the step of the PCRF transmitting an SLR message having the location information and a policy counter to an OCS includes: the PCRF transmitting to the OCS after establishing an IP-CAN session The location information and the consumption quota of the policy counter request an SLR message; or the PCRF sends a consumption quota request with the location information and a policy counter to the OCS after modifying the IP-CAN session or when the rule decision needs to be re-executed SLR message.
  3. 一种消费配额发送方法,包括:A method for sending consumption quotas, including:
    在线计费系统OCS接收策略和计费规则功能实体PCRF发送的具有位置信息和策略计数器的消费配额请求SLR消息;The online charging system OCS receives the consumption quota request SLR message with the location information and the policy counter sent by the policy and charging rule function entity PCRF;
    所述OCS根据所述位置信息确定指定位置;Determining, by the OCS, a specified location according to the location information;
    所述OCS获取在所述指定位置的、且与所述策略计数器关联的消费配额状态;Obtaining, by the OCS, a consumption quota status at the specified location and associated with the policy counter;
    所述OCS向PCRF发送所述消费配额状态。The OCS sends the consumption quota status to the PCRF.
  4. 如权利要求3所述的消费配额发送方法,其中,所述OCS向PCRF发送所述消费配额状态的步骤包括:所述OCS发送具有所述消费配额状态的消费状态通知请求SNR消息至所述PCRF。The consumption quota sending method according to claim 3, wherein the step of the OCS transmitting the consumption quota status to the PCRF comprises: sending, by the OCS, a consumption status notification request SNR message having the consumption quota status to the PCRF .
  5. 如权利要求3或4所述的消费配额发送方法,其中,所述OCS向PCRF发送所述消费配额状态的步骤包括:当所述在OCS检测到在所述指定位置的、且与所述策略计数器关联的消费配额状态变化,向PCRF发送变化后的消费配额状态。 The consumption quota sending method according to claim 3 or 4, wherein the step of the OCS transmitting the consumption quota status to the PCRF comprises: when the OCS detects the location at the specified location and the policy The status of the consumption quota associated with the counter changes, and the changed consumption quota status is sent to the PCRF.
  6. 一种消费配额交互方法,包括:A method of consumer quota interaction, including:
    策略和计费规则功能实体PCRF获取指定位置的位置信息,发送具有所述位置信息和策略计数器的消费配额请求SLR消息至在线计费系统OCS;The policy and charging rule function entity PCRF acquires the location information of the specified location, and sends the consumption quota request SLR message with the location information and the policy counter to the online charging system OCS;
    所述OCS获取具有所述位置信息和策略计数器的SLR消息,根据所述位置信息确定所述指定位置,获取在所述指定位置的、与所述策略计数器关联的消费配额状态并发送至所述PCRF;Obtaining, by the OCS, an SLR message having the location information and a policy counter, determining the specified location according to the location information, acquiring a consumption quota status associated with the policy counter at the specified location, and transmitting the status to the PCRF;
    所述PCRF获取所述OCS发送的在所述指定位置的、且与所述策略计数器关联的消费配额状态。The PCRF acquires a consumption quota status that is sent by the OCS at the specified location and is associated with the policy counter.
  7. 如权利要求6所述的消费配额交互方法,其中,所述PCRF发送具有所述位置信息和策略计数器的SLR消息给OCS的步骤包括:所述PCRF在建立IP-CAN会话后,向所述OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息;或者,所述PCRF在修改IP-CAN会话后,或者需要重新执行规则决策时,向所述OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息。The consumption quota interaction method according to claim 6, wherein the step of the PCRF transmitting the SLR message having the location information and the policy counter to the OCS comprises: the PCRF after the IP-CAN session is established, to the OCS Sending a consumption quota request SLR message with the location information and a policy counter; or the PCRF sends the location information and the policy counter to the OCS after modifying the IP-CAN session or when the rule decision needs to be re-executed The consumption quota requests an SLR message.
  8. 如权利要求6所述的消费配额交互方法,其中,所述OCS获取在指定位置的、且与策略计数器关联的所述消费配额状态并发送至所述PCRF的步骤包括:所述OCS发送具有所述消费配额状态的消费状态通知请求SNR消息至所述PCRF。The consumption quota interaction method according to claim 6, wherein the step of the OCS acquiring the consumption quota status at a specified location and associated with a policy counter and transmitting to the PCRF comprises: the OCS transmission having a The consumption status notification of the consumption quota status requests the SNR message to the PCRF.
  9. 如权利要求6至8任一项所述的消费配额交互方法,其中,所述在所述OCS获取在指定位置的、且与策略计数器关联的所述消费配额状态并发送至所述PCRF的步骤包括:当所述OCS检测到在所述指定位置的、且与策略计数器关联的消费配额状态变化,所述OCS向所述PCRF发送变化后的消费配额状态。The consumption quota interaction method according to any one of claims 6 to 8, wherein the step of acquiring the consumption quota status at a specified location and associated with a policy counter at the OCS and transmitting to the PCRF The method includes: when the OCS detects a change in a consumption quota state at the specified location and associated with a policy counter, the OCS sends a changed consumption quota status to the PCRF.
  10. 一种策略和计费规则功能实体PCRF,包括:A policy and charging rule function entity PCRF, comprising:
    第一获取模块,设置为获取指定位置的位置信息;a first acquiring module, configured to obtain location information of the specified location;
    第一发送模块,设置为向在线计费系统OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息;a first sending module, configured to send a consumption quota request SLR message with the location information and a policy counter to an online charging system OCS;
    第一接收模块,设置为从OCS中接收在所述指定位置的、与所述策略计 数器关联的消费配额状态。a first receiving module, configured to receive from the OCS at the specified location, and the policy meter The state of the consumption quota associated with the counter.
  11. 如权利要求10所述的PCRF,其中,所述第一发送模块设置为在建立IP-CAN会话后,向OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息;或者,在修改IP-CAN会话后,或者需要重新执行规则决策时,向OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息。The PCRF according to claim 10, wherein said first transmitting module is configured to transmit a consumption quota request SLR message having said location information and a policy counter to an OCS after establishing an IP-CAN session; or, modifying the IP After the CAN session, or when a rule decision needs to be re-executed, a consumption quota request SLR message with the location information and policy counter is sent to the OCS.
  12. 一种在线计费系统OCS,包括:An online charging system OCS, including:
    第二接收模块,设置为接收策略和计费规则功能实体PCRF发送的具有位置信息和策略计数器的消费配额请求SLR消息;a second receiving module, configured to receive a consumption quota request SLR message with location information and a policy counter sent by the policy and charging rule function entity PCRF;
    确定模块,设置为根据所述位置信息确定指定位置;Determining a module, configured to determine a specified location according to the location information;
    第二获取模块,设置为获取在所述指定位置的、且与所述策略计数器关联的消费配额状态;a second obtaining module, configured to acquire a consumption quota status at the specified location and associated with the policy counter;
    第二发送模块,设置为向PCRF发送所述消费配额状态。The second sending module is configured to send the consumption quota status to the PCRF.
  13. 如权利要求12所述的OCS,其中,所述第二发送模块是设置为向PCRF发送具有所述消费配额状态的消费状态通知请求SNR消息。The OCS of claim 12, wherein the second transmitting module is configured to send a consumption status notification request SNR message with the consumption quota status to the PCRF.
  14. 如权利要求12或13所述的OCS,其中,所述第二发送模块设置为当检测到策略计数器关联的消费配额状态变化,且该策略计数器在所述指定位置时,向PCRF发送变化后的消费配额状态。The OCS according to claim 12 or 13, wherein the second transmitting module is configured to send a changed change to the PCRF when the policy quota state change associated with the policy counter is detected, and the policy counter is at the specified location Consumption quota status.
  15. 一种消费配额交互系统,包括策略和计费规则功能实体PCRF、以及在线计费系统OCS,其中,A consumption quota interaction system, including a policy and charging rule function entity PCRF, and an online charging system OCS, wherein
    所述PCRF设置为获取指定位置的位置信息,发送具有所述位置信息和策略计数器的消费配额请求SLR消息至所述OCS;The PCRF is configured to acquire location information of a specified location, and send a consumption quota request SLR message with the location information and a policy counter to the OCS;
    所述OCS设置为获取具有所述位置信息和策略计数器的SLR消息,根据所述位置信息确定所述指定位置,获取在所述指定位置的、与所述策略计数器关联的消费配额状态并发送至所述PCRF;The OCS is configured to acquire an SLR message having the location information and a policy counter, determine the specified location according to the location information, acquire a consumption quota status associated with the policy counter at the specified location, and send the status to the The PCRF;
    所述PCRF还设置为获取所述OCS发送的在所述指定位置的、与所述策略计数器关联的消费配额状态。The PCRF is further configured to acquire a consumption quota status associated with the policy counter at the specified location sent by the OCS.
  16. 如权利要求15所述的消费配额交互系统,其中,所述PCRF是设置 为在建立IP-CAN会话后,向所述OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息;或者,在修改IP-CAN会话后,或者需要重新执行规则决策时,向所述OCS发送具有所述位置信息和策略计数器的消费配额请求SLR消息。The consumption quota interaction system of claim 15 wherein said PCRF is a setting To send a consumption quota request SLR message with the location information and a policy counter to the OCS after establishing an IP-CAN session; or, after modifying an IP-CAN session, or when a rule decision needs to be re-executed, The OCS sends a consumption quota request SLR message with the location information and policy counters.
  17. 如权利要求15所述的消费配额交互系统,其中,所述OCS是设置为向所述PCRF发送具有所述消费配额状态的消费状态通知请求SNR消息。The consumption quota interaction system of claim 15, wherein the OCS is configured to send a consumption status notification request SNR message with the consumption quota status to the PCRF.
  18. 如权利要求15至17任一项所述的消费配额交互系统,其中,所述OCS是设置为当检测到策略计数器关联的消费配额状态变化,且该策略计数器在所述指定位置时,向所述PCRF发送变化后的消费配额状态。 The consumption quota interaction system according to any one of claims 15 to 17, wherein the OCS is set to when a consumption quota state change associated with a policy counter is detected, and the policy counter is at the specified location, The PCRF sends the changed consumption quota status.
PCT/CN2016/082348 2015-06-29 2016-05-17 Spending limit acquisition, sending and interaction method, pcrf, ocs and interaction system WO2017000692A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510368398.9 2015-06-29
CN201510368398.9A CN106332038A (en) 2015-06-29 2015-06-29 Obtainment method, sending method, interaction method, PCRF (Policy and Charging Rule Function), OCS (Online Charging System) and interaction system

Publications (1)

Publication Number Publication Date
WO2017000692A1 true WO2017000692A1 (en) 2017-01-05

Family

ID=57607662

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082348 WO2017000692A1 (en) 2015-06-29 2016-05-17 Spending limit acquisition, sending and interaction method, pcrf, ocs and interaction system

Country Status (2)

Country Link
CN (1) CN106332038A (en)
WO (1) WO2017000692A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632742B (en) * 2017-03-23 2021-02-19 中兴通讯股份有限公司 Method, device and system for reporting event
CN111866778B (en) * 2019-04-29 2022-04-05 华为技术有限公司 Authentication method, equipment and system based on roaming scene

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453722A (en) * 2007-07-24 2009-06-10 华为技术有限公司 Method, apparatus and system for implementing policy and charging control
CN104170482A (en) * 2012-01-06 2014-11-26 阿尔卡特朗讯公司 Reducing the load due to reporting of information changes to a policy and/or charging controller in a mobile communication system
CN104168558A (en) * 2013-05-17 2014-11-26 中国移动通信集团公司 User positional information report flow control method and system
CN104735605A (en) * 2015-02-06 2015-06-24 中国联合网络通信集团有限公司 User service control method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8995305B2 (en) * 2012-08-29 2015-03-31 Alcatel Lucent Sy session creation and recovering from inconsistent session state between PCRF and OCS
CN104244285B (en) * 2013-06-19 2018-10-30 阿尔卡特朗讯 The method and apparatus that a kind of notice of variation to customer position information optimizes
CN104735635B (en) * 2014-12-22 2019-05-24 华为技术有限公司 A kind of policy control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453722A (en) * 2007-07-24 2009-06-10 华为技术有限公司 Method, apparatus and system for implementing policy and charging control
CN104170482A (en) * 2012-01-06 2014-11-26 阿尔卡特朗讯公司 Reducing the load due to reporting of information changes to a policy and/or charging controller in a mobile communication system
CN104168558A (en) * 2013-05-17 2014-11-26 中国移动通信集团公司 User positional information report flow control method and system
CN104735605A (en) * 2015-02-06 2015-06-24 中国联合网络通信集团有限公司 User service control method and device

Also Published As

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

Similar Documents

Publication Publication Date Title
US9344864B2 (en) Redirection method and redirection apparatus under policy and charging control
EP3861706B1 (en) Framework for dynamic brokerage and management of topics and data at the service layer
US10122591B1 (en) Managing access to no-cost content
US20170126828A1 (en) Sending Method and Apparatus and Computer Storage Medium of Notification Message
WO2017113686A1 (en) Method and apparatus for controlling network connection state of terminal
EP3472975A1 (en) End-to-end techniques to collect pm (performance measurement) data from a nvf (network function virtualization) infrastructure
US10257366B2 (en) Method, system and apparatus for managing communication sessions using joint storage
WO2017000692A1 (en) Spending limit acquisition, sending and interaction method, pcrf, ocs and interaction system
US9515892B2 (en) Methods, systems, and computer readable media for providing diameter traffic estimator
WO2016107374A1 (en) Bandwidth control method, apparatus and system
US20240012700A1 (en) Governing Access To Third-Party Application Programming Interfaces
US10298409B2 (en) Conditional policy control
US11082307B2 (en) E-Line service control
WO2017107563A1 (en) Method and device for processing access region monitoring
KR20210048524A (en) Filter for bulk subscription
WO2016206281A1 (en) Consumption quota monitoring method and device, storage medium
US20190037041A1 (en) Information processing system and control method
WO2018201810A1 (en) Pcrf entity, storage medium, race-condition removal method and system
US20120167179A1 (en) Flexible multimedia priority services
JP2016540431A5 (en)
WO2017000660A1 (en) Obtaining, transmitting and interaction method, pcrf, ocs and interaction system
KR20190092441A (en) Methods to enable flexible charging at the M2M IOT service layer
US9332135B1 (en) System, method, and computer program for managing a shared quota for a plurality of network subscribers in a consumer telecommunications network
WO2016206314A1 (en) Method and apparatus for updating user consumption quota, and computer storage medium
CN107426712B (en) User subscription information interaction method, network equipment and system

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

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

Country of ref document: EP

Kind code of ref document: A1