CN106332036A - Consumption quota monitoring method and device - Google Patents
Consumption quota monitoring method and device Download PDFInfo
- Publication number
- CN106332036A CN106332036A CN201510348660.3A CN201510348660A CN106332036A CN 106332036 A CN106332036 A CN 106332036A CN 201510348660 A CN201510348660 A CN 201510348660A CN 106332036 A CN106332036 A CN 106332036A
- Authority
- CN
- China
- Prior art keywords
- consumption quota
- ocs
- message
- user
- status
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
- H04L12/1407—Policy-and-charging control [PCC] architecture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/141—Indication of costs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/64—On-line charging system [OCS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/66—Policy and charging system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/83—Notification aspects
- H04M15/85—Notification aspects characterised by the type of condition triggering a notification
- H04M15/852—Low balance or limit reached
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/83—Notification aspects
- H04M15/85—Notification aspects characterised by the type of condition triggering a notification
- H04M15/853—Calculate maximum communication time or volume
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/83—Notification aspects
- H04M15/85—Notification aspects characterised by the type of condition triggering a notification
- H04M15/854—Available credit
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种消费配额监控方法及装置。该方法包括:PCRF通过SLR消息向OCS查询未订阅的用户消费额度状态,SLR消息中携带有查询操作指示、以及需要查询的用户消费额度信息;PCRF接收OCS发送的消费配额响应SLA消息,从SLA消息中获取相应的用户消费额度状态。由于SPR修改配置、或者PCEF请求消费相关额度导致PCRF进行策略决策,并在策略决策过程中发现需要取消订阅用户某些类型的用户消费额度状态时,PCRF通过SLR消息向OCS取消订阅预定类型的用户消费额度状态,SLR消息中携带有取消订阅操作指示、以及需要取消订阅的用户消费额度信息;PCRF接收OCS通过SLA消息发送的取消订阅成功响应。
The invention discloses a consumption quota monitoring method and device. The method includes: the PCRF queries the OCS for the state of the unsubscribed user consumption quota through the SLR message, and the SLR message carries the query operation instruction and the user consumption quota information to be queried; the PCRF receives the consumption quota response SLA message sent by the OCS, and receives the SLA message from the SLA Get the corresponding user consumption quota status in the message. When PCRF makes a policy decision due to SPR modification configuration, or PCEF requests consumption related quotas, and finds that it is necessary to unsubscribe certain types of user consumption quota status during the policy decision-making process, PCRF unsubscribes predetermined types of users to OCS through SLR messages Consumption quota status, the SLR message carries the unsubscription operation instruction and the consumption quota information of the user who needs to unsubscribe; the PCRF receives the unsubscription success response sent by the OCS through the SLA message.
Description
技术领域technical field
本发明涉及移动通讯领域,特别是涉及一种消费配额监控方法及装置。The invention relates to the field of mobile communication, in particular to a consumption quota monitoring method and device.
背景技术Background technique
随着策略和计费控制(Policy and Charging Control,PCC)架构不断演进,如图1所示,PCC架构包括以下功能实体:策略控制与计费规则功能实体(Policy and Charging Rules Function,PCRF)、策略和计费执行功能实体(Policyand Control Enforcement Function,PCEF)、承载绑定和事件上报功能(BearerBinding and Event Reporting Function,BBERF)、应用功能(ApplicationFunction,AF)、流量监测功能实体(Traffic Detection Function,TDF)、用户签约数据库(Subscription Profile Repository,SPR)、离线计费系统(Offlinecharging system,OFCS)、在线计费系统(Online charging system,OCS)。With the continuous evolution of the Policy and Charging Control (PCC) architecture, as shown in Figure 1, the PCC architecture includes the following functional entities: Policy and Charging Rules Function (Policy and Charging Rules Function, PCRF), Policy and Charging Enforcement Function (Policy and Control Enforcement Function, PCEF), Bearer Binding and Event Reporting Function (BBERF), Application Function (ApplicationFunction, AF), Traffic Detection Function (Traffic Detection Function, TDF), user subscription database (Subscription Profile Repository, SPR), offline charging system (Offline charging system, OFCS), online charging system (Online charging system, OCS).
PCRF主要负责策略和计费规则的制定,通过Gx接口将制定的PCC策略和计费规则下发给PCEF,PCEF安装、执行PCC策略,并上报相关事件,与计费系统交互计费信息。PCRF通过Gxx接口将业务服务质量(Quality ofService,QoS)规则下发给BBERF,BBERF不和计费系统交互计费信息,只负责承载绑定和相关事件的上报。PCRF通过Sd接口把需要监控的业务信息下发给TDF,TDF执行业务监控,并上报给PCRF。AF通过Rx接口向PCRF提供业务信息。SPR保存了用户签约的业务信息,PCRF可以通过Sp接口向SPR查询用户签约的业务信息。OCS通过Sy接口向PCRF报告与用户消费相关的策略计数器状态信息。PCEF通过Gy接口将在线计费信息发送给OCS进行在线计费的统计,通过Gz接口将离线计费信息发送给OFCS。TDF通过Gyn接口将基于业务的在线计费信息发送给OCS,通过Gz n接口将基于业务的离线计费信息发送给OFCS。The PCRF is mainly responsible for the formulation of policies and charging rules, and sends the formulated PCC policies and charging rules to the PCEF through the Gx interface. The PCEF installs and executes the PCC policies, reports related events, and exchanges charging information with the charging system. The PCRF sends the Quality of Service (QoS) rules to the BBERF through the Gxx interface. The BBERF does not exchange charging information with the charging system, but is only responsible for bearer binding and reporting of related events. The PCRF sends the service information to be monitored to the TDF through the Sd interface, and the TDF performs service monitoring and reports it to the PCRF. The AF provides service information to the PCRF through the Rx interface. The SPR stores the service information signed by the user, and the PCRF can query the SPR for the service information signed by the user through the Sp interface. The OCS reports policy counter status information related to user consumption to the PCRF through the Sy interface. The PCEF sends the online charging information to the OCS through the Gy interface for online charging statistics, and sends the offline charging information to the OFCS through the Gz interface. TDF sends service-based online charging information to OCS through the Gyn interface, and sends service-based offline charging information to OFCS through the Gz n interface.
PCRF与OCS在Sy接口上传递的信息可以分为两个方向:从PCRF向OCS主要传递用户的消费信息,例如消费计数器、消费计数器对应的消费配额状态,这些信息用作为PCRF实施PCC的决策输入条件和PCRF向OCS订阅用户消费计数器对应的消费状态。从OCS向PCRF主要传递订阅的消费计数器所对应的消费配额的状态,这个状态可以用在PCRF实施PCC的决策输入条件。The information transmitted by PCRF and OCS on the Sy interface can be divided into two directions: From PCRF to OCS, the user's consumption information is mainly transmitted, such as the consumption counter and the consumption quota status corresponding to the consumption counter. These information are used as the decision-making input for PCRF to implement PCC Conditions and PCRF subscribe the consumption status corresponding to the user's consumption counter to the OCS. The state of the consumption quota corresponding to the subscribed consumption counter is mainly transmitted from the OCS to the PCRF, and this state can be used as a decision-making input condition for the PCRF to implement the PCC.
PCRF使用消费配额请求(Spending-Limit-Request,SLR)/消费配额响应(Spending-Limit-Answer,SLA)流程发起Sy会话用于消费信息的获取和订阅,也可以使用SLR/SLA流程对消费信息订阅进行修改。PCRF根据获取的消费信息和本地配置的业务策略、用户属性作出策略判断,将生成的规则下发给PCEF。PCRF使用STR/STA流程发起Sy会话的终止,取消订阅的消费计数器的消费配额状态。用户消费状态发生变化的时候不会再通知PCRF。OCS使用消费配额状态通知请求消息(Spending-Status-Notification-Request,SNR)/消费配额状态通知响应消息(Spending-Status-Notification-Answer,SNA)发起Sy会话用于通知消费配额信息状态变化,PCRF将根据新的消费状态作出策略判断,并生成规则下发给PCEF。PCRF uses the consumption quota request (Spending-Limit-Request, SLR)/consumption quota response (Spending-Limit-Answer, SLA) process to initiate the Sy session for the acquisition and subscription of consumption information, and can also use the SLR/SLA process for consumption information Subscribe for modification. PCRF makes policy judgments based on the acquired consumption information, locally configured service policies, and user attributes, and delivers the generated rules to PCEF. The PCRF uses the STR/STA process to initiate the termination of the Sy session, and cancel the consumption quota status of the subscribed consumption counter. PCRF will not be notified when the user's consumption status changes. OCS uses the Spending-Status-Notification-Request (SNR)/Spending-Status-Notification-Answer (SNA) to initiate a Sy session to notify consumption quota information status changes, PCRF Based on the new consumption status, policy judgments will be made, and rules will be generated and sent to PCEF.
OCS检测到PCRF订阅的计费计数器所对应消费配额状态发生变化时,会根据消费计数器所关联Sy会话,使用SNR通知PCRF配额状态改变。When the OCS detects that the consumption quota state corresponding to the charging counter subscribed by the PCRF changes, it will use the SNR to notify the PCRF of the quota state change according to the Sy session associated with the consumption counter.
当前PCRF系统有这样的应用场景:PCRF对在线限速用户跨月时能够主动查询消费配额状态,因而会主动发起SLR请求查询该用户的消费配额状态,此类用户非跨月时可能不需要OCS通过OCS主动推送消费配额状态。另外,目前取消用户的某些消费配额订阅,必须通过会话终止请求(Session-Termination-Request,STR)触发释放会话的操作才能取消消费配额订阅,缺少不释放会话直接取消订阅的方法。The current PCRF system has such an application scenario: PCRF can actively query the consumption quota status of online rate-limited users when they span months, so it will actively initiate an SLR request to query the consumption quota status of the user. Such users may not need OCS when they do not span months Actively push consumption quota status through OCS. In addition, to cancel certain consumption quota subscriptions of users at present, the operation of releasing the session must be triggered through the session termination request (Session-Termination-Request, STR) to cancel the consumption quota subscription, and there is no method to directly cancel the subscription without releasing the session.
如上所述,目前的订阅方式,存在如下缺陷:1、缺少直接查询用户消费配额且不需要OCS推送消费配额状态的查询方法,在不需要后续订阅推送消费配额状态的情况下,增加了系统间负荷水平;2、缺少不释放会话直接取消订阅消费配额状态的方法,目前系统在暂时不需要订阅消费配额状态时,只能通过释放会话来取消订阅,后续需要订阅该用户的其它消费配额状态时,重新建立会话并重新订阅消费配额状态。释放会话和重新建立会话的过程降低了PCRF/OCS系统的处理能力,也增加系统间的负荷水平。As mentioned above, the current subscription method has the following defects: 1. It lacks a query method to directly query the user's consumption quota and does not require OCS to push the consumption quota status. Load level; 2. There is no method to directly cancel the subscription consumption quota status without releasing the session. At present, when the system does not need to subscribe to the consumption quota status temporarily, it can only cancel the subscription by releasing the session. When it is necessary to subscribe to other consumption quota status of the user in the future , re-establish the session and re-subscribe to the consumption quota state. The process of releasing the session and re-establishing the session reduces the processing capacity of the PCRF/OCS system and also increases the load level between the systems.
发明内容Contents of the invention
鉴于现有技术中不能够直接查询用户消费配额且不需要OCS推送消费配额状态的问题,提出了本发明以便提供一种克服上述问题的消费配额监控方法及装置。In view of the problems in the prior art that user consumption quotas cannot be directly queried and OCS is not required to push the consumption quota status, the present invention is proposed to provide a consumption quota monitoring method and device that overcomes the above-mentioned problems.
本发明提供一种消费配额监控方法,包括:策略控制与计费规则功能实体PCRF通过消费配额请求SLR消息向在线计费系统OCS查询未订阅的用户消费额度状态,其中,SLR消息中携带有查询操作指示、以及需要查询的用户消费额度信息;PCRF接收OCS发送的消费配额响应SLA消息,从SLA消息中获取相应的用户消费额度状态。The present invention provides a consumption quota monitoring method, including: the policy control and charging rule functional entity PCRF queries the online charging system OCS for the consumption quota status of unsubscribed users through the consumption quota request SLR message, wherein the SLR message carries the query Operation instructions, and user consumption quota information to be queried; PCRF receives the consumption quota response SLA message sent by the OCS, and obtains the corresponding user consumption quota status from the SLA message.
优选地,上述方法进一步包括:触发启动条件,PCRF通过SLR消息向OCS订阅预定类型的用户消费额度状态,其中,SLR消息中携带有订阅操作指示、以及需要订阅的用户消费额度信息;PCRF接收OCS通过SLA消息发送的订阅成功响应,并在订阅的用户消费额度状态发生变化时,接收OCS发送的消费配额状态通知请求SNR消息,从SNR消息中获取用户消费额度状态变化信息。Preferably, the above method further includes: triggering the start condition, the PCRF subscribes to the OCS the status of the predetermined type of user consumption quota through the SLR message, wherein the SLR message carries the subscription operation indication and the user consumption quota information that needs to be subscribed; the PCRF receives the OCS The subscription success response sent through the SLA message, and when the status of the subscribed user's consumption quota changes, receives the consumption quota status notification request SNR message sent by the OCS, and obtains the status change information of the user's consumption quota from the SNR message.
优选地,上述启动条件包括:由于用户签约数据库SPR修改配置、或者策略和计费执行功能实体PCEF请求消费相关额度导致PCRF进行策略决策,并在策略决策过程中发现需要使用OCS控制的用户消费额度状态作为策略条件。Preferably, the above starting conditions include: PCRF makes a policy decision due to the user subscription database SPR modifying the configuration, or the policy and charging enforcement function entity PCEF requests consumption-related quotas, and discovers that the user consumption quota controlled by OCS needs to be used during the policy decision-making process Status as a policy condition.
优选地,上述方法进一步包括:由于SPR修改配置、或者PCEF请求消费相关额度导致PCRF进行策略决策,并在策略决策过程中发现需要取消订阅用户某些类型的用户消费额度状态时,PCRF通过SLR消息向OCS取消订阅预定类型的用户消费额度状态,其中,SLR消息中携带有取消订阅操作指示、以及需要取消订阅的用户消费额度信息;PCRF接收OCS通过SLA消息发送的取消订阅成功响应。Preferably, the above method further includes: PCRF makes a policy decision due to SPR modification configuration or PCEF requesting consumption related quotas, and when it is found during the policy decision-making process that it is necessary to unsubscribe from certain types of user consumption quota status, the PCRF sends an SLR message Unsubscribe from the OCS the predetermined type of user consumption quota status, wherein the SLR message carries the unsubscribe operation instruction and the user consumption quota information that needs to be unsubscribed; PCRF receives the unsubscribe success response sent by the OCS through the SLA message.
优选地,上述方法进一步包括:PCRF在确定后续不再需要获取某用户所有的用户消费额度状态时,向OCS发送会话终止请求STR消息,请求释放会话;PCRF接收OCS通过会话终止响应STA消息发送的会话释放响应。Preferably, the above method further includes: PCRF sends a session termination request STR message to OCS when determining that it is no longer necessary to obtain the user consumption quota status of a certain user in the future, requesting to release the session; PCRF receives OCS through the session termination response STA message sent Session release response.
本发明还提供了一种消费配额监控装置,设置于策略控制与计费规则功能实体PCRF,具体包括:查询请求模块,用于通过消费配额请求SLR消息向在线计费系统OCS查询未订阅的用户消费额度状态,其中,SLR消息中携带有查询操作指示、以及需要查询的用户消费额度信息;获取模块,用于接收OCS发送的消费配额响应SLA消息,从SLA消息中获取相应的用户消费额度状态。The present invention also provides a consumption quota monitoring device, which is set in the policy control and charging rule functional entity PCRF, and specifically includes: a query request module, which is used to query the online charging system OCS for unsubscribed users through the consumption quota request SLR message Consumption quota status, wherein, the SLR message carries the query operation instruction and the user consumption quota information that needs to be queried; the acquisition module is used to receive the consumption quota response SLA message sent by the OCS, and obtain the corresponding user consumption quota status from the SLA message .
优选地,上述装置进一步包括:订阅请求模块,触发启动条件,通过SLR消息向OCS订阅预定类型的用户消费额度状态,其中,SLR消息中携带有订阅操作指示、以及需要订阅的用户消费额度信息;第一接收模块,用于接收OCS通过SLA消息发送的订阅成功响应,并在订阅的用户消费额度状态发生变化时,接收OCS发送的消费配额状态通知请求SNR消息,从SNR消息中获取用户消费额度状态变化信息。Preferably, the above-mentioned device further includes: a subscription request module, triggering a start condition, and subscribing a predetermined type of user consumption quota status to the OCS through an SLR message, wherein the SLR message carries a subscription operation instruction and user consumption quota information that needs to be subscribed; The first receiving module is used to receive the subscription success response sent by the OCS through the SLA message, and when the status of the subscribed user consumption quota changes, receive the consumption quota status notification request SNR message sent by the OCS, and obtain the user consumption quota from the SNR message Status change information.
优选地,上述启动条件包括:由于用户签约数据库SPR修改配置、或者策略和计费执行功能实体PCEF请求消费相关额度导致PCRF进行策略决策,并在策略决策过程中发现需要使用OCS控制的用户消费额度状态作为策略条件。Preferably, the above starting conditions include: PCRF makes a policy decision due to the user subscription database SPR modifying the configuration, or the policy and charging enforcement function entity PCEF requests consumption-related quotas, and discovers that the user consumption quota controlled by OCS needs to be used during the policy decision-making process Status as a policy condition.
优选地,上述装置进一步包括:取消订阅模块,用于在由于SPR修改配置、或者PCEF请求消费相关额度导致PCRF进行策略决策,并在策略决策过程中发现需要取消订阅用户某些类型的用户消费额度状态时,通过SLR消息向OCS取消订阅预定类型的用户消费额度状态,其中,SLR消息中携带有取消订阅操作指示、以及需要取消订阅的用户消费额度信息;第二接收模块,用于接收OCS通过SLA消息发送的取消订阅成功响应。Preferably, the above-mentioned device further includes: an unsubscribing module, which is used to make a policy decision when the PCRF makes a policy decision due to SPR modification configuration or PCEF requesting consumption-related quotas, and finds that certain types of user consumption quotas need to be canceled during the policy decision-making process state, unsubscribe the predetermined type of user consumption quota status to the OCS through an SLR message, wherein the SLR message carries an unsubscription operation indication and user consumption quota information that needs to be unsubscribed; the second receiving module is used to receive OCS through Unsubscribe success response sent by SLA message.
优选地,上述装置进一步包括:会话释放模块,用于在确定后续不再需要获取某用户所有的用户消费额度状态时,向OCS发送会话终止请求STR消息,请求释放会话;第三接收模块,用于接收OCS通过会话终止响应STA消息发送的会话释放响应。Preferably, the above device further includes: a session release module, configured to send a session termination request STR message to the OCS when it is determined that it is no longer necessary to obtain the user consumption quota status of a certain user in the future, and request to release the session; the third receiving module uses To receive the session release response sent by the OCS through the session termination response STA message.
本发明有益效果如下:The beneficial effects of the present invention are as follows:
借助于本发明实施例的技术方案,解决了现有技术中不能够直接查询用户消费配额且不需要OCS推送消费配额状态的问题,查询用户消费配额状态时仅一次操作,不再要求OCS后续通过SNR继续通知该用户消费配额状态,减少了系统间消息负荷。With the help of the technical solution of the embodiment of the present invention, the problem in the prior art that the user consumption quota cannot be directly queried and the status of the consumption quota is not required to be pushed by the OCS is solved. When querying the status of the user consumption quota, only one operation is required, and the OCS is no longer required to pass through SNR continues to notify the user of the consumption quota status, reducing the message load between systems.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:
图1是现有技术中PCC架构的结构示意图;FIG. 1 is a schematic structural diagram of a PCC architecture in the prior art;
图2是本发明实施例的消费配额监控方法的流程图;Fig. 2 is a flowchart of a consumption quota monitoring method according to an embodiment of the present invention;
图3是本发明实施例的消费配额订阅释放处理的流程图;FIG. 3 is a flow chart of consumption quota subscription release processing according to an embodiment of the present invention;
图4是本发明实施例的消费配额查询订阅取消订阅释放处理的流程图;Fig. 4 is a flow chart of consumption quota query subscription cancellation subscription release processing according to an embodiment of the present invention;
图5是本发明实施例的消费配额监控装置的结构示意图。Fig. 5 is a schematic structural diagram of a consumption quota monitoring device according to an embodiment of the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
为了解决现有技术不能够直接查询用户消费配额且不需要OCS推送消费配额状态的问题,本发明提供了一种查询、订阅、取消订阅用户消费配额状态的方法及系统,包括:直接查询用户消费配额状态且不需要OCS推送消费配额状态的查询方法,不再订阅OCS推送消费配额状态;取消订阅用户消费配额状态而不释放会话的方法,以下结合附图以及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。In order to solve the problem that the existing technology cannot directly query the user consumption quota and does not require OCS to push the consumption quota status, the present invention provides a method and system for querying, subscribing, and unsubscribing the user consumption quota status, including: directly querying the user consumption quota Quota status and does not require OCS to push the query method of consumption quota status, no longer subscribe to OCS push consumption quota status; cancel the method of subscribing user consumption quota status without releasing the session, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments . It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
方法实施例method embodiment
根据本发明的实施例,提供了一种消费配额监控方法,图2是本发明实施例的消费配额监控方法的流程图,如图2所示,根据本发明实施例的消费配额监控方法包括如下处理:According to an embodiment of the present invention, a method for monitoring a consumption quota is provided. FIG. 2 is a flow chart of the method for monitoring a consumption quota according to an embodiment of the present invention. As shown in FIG. 2 , the method for monitoring a consumption quota according to an embodiment of the present invention includes the following deal with:
步骤201,策略控制与计费规则功能实体PCRF通过消费配额请求SLR消息向在线计费系统OCS查询未订阅的用户消费额度状态,其中,SLR消息中携带有查询操作指示、以及需要查询的用户消费额度信息;Step 201, the policy control and charging rule functional entity PCRF queries the online charging system OCS for the status of the unsubscribed user consumption quota through the consumption quota request SLR message, wherein the SLR message carries the query operation instruction and the user consumption quota that needs to be queried Quota information;
步骤201之后,4、OCS查看该用户查询相关的消费额度状态,通过SLA消息返回;After step 201, 4. OCS checks the status of the consumption quota related to the user query, and returns it through the SLA message;
步骤202,PCRF接收OCS发送的消费配额响应SLA消息,从SLA消息中获取相应的用户消费额度状态。In step 202, the PCRF receives the consumption quota response SLA message sent by the OCS, and obtains the corresponding consumption quota status of the user from the SLA message.
本发明实施例的技术方案进一步包括如下处理:触发启动条件,PCRF通过SLR消息向OCS订阅预定类型的用户消费额度状态,其中,SLR消息中携带有订阅操作指示、以及需要订阅的用户消费额度信息;OCS查看该用户订阅的消费额度状态,通过SLA消息返回,同时记录下订阅的消费额度信息,在这些消费额度信息状态发生变化时,后续通过SNR消息通知PRCF消费额度信息状态变化;PCRF接收OCS通过SLA消息发送的订阅成功响应,并在订阅的用户消费额度状态发生变化时,接收OCS发送的消费配额状态通知请求SNR消息,从SNR消息中获取用户消费额度状态变化信息。其中,上述启动条件包括:由于用户签约数据库SPR修改配置、或者策略和计费执行功能实体PCEF请求消费相关额度导致PCRF进行策略决策,并在策略决策过程中发现需要使用OCS控制的用户消费额度状态作为策略条件。在上述条件下的订阅是重新订阅,即PCRF通过SLR消息向OCS重新订阅用户消费额度状态。在重新订阅时,OCS查看该用户消费额度相关状态,通过SLA消息返回,同时记录下重新订阅的消费额度信息,在这些消费额度信息状态发生变化时,后续通过SNR消息通知PRCF消费额度信息状态变化。The technical solution of the embodiment of the present invention further includes the following processing: the start condition is triggered, and the PCRF subscribes to the OCS for a predetermined type of user consumption quota status through an SLR message, wherein the SLR message carries a subscription operation instruction and user consumption quota information that needs to be subscribed ;OCS checks the status of the consumption quota subscribed by the user, returns it through the SLA message, and records the consumption quota information subscribed at the same time. When the status of the consumption quota information changes, it will notify the PRCF of the status change of the consumption quota information through the SNR message; PCRF receives the OCS The subscription success response sent through the SLA message, and when the status of the subscribed user's consumption quota changes, receives the consumption quota status notification request SNR message sent by the OCS, and obtains the status change information of the user's consumption quota from the SNR message. Among them, the above starting conditions include: PCRF makes a policy decision due to the modification of the configuration of the user subscription database SPR, or the request of the policy and charging enforcement function entity PCEF for consumption related quotas, and discovers the state of the user consumption quota that needs to be controlled by the OCS during the policy decision-making process as a policy condition. Subscription under the above conditions is a re-subscription, that is, the PCRF resubscribes to the OCS for the status of the user's consumption quota through the SLR message. When re-subscribing, OCS checks the relevant status of the user's consumption quota, returns it through the SLA message, and records the re-subscribed consumption quota information at the same time. When the status of these consumption quota information changes, the PRCF is subsequently notified of the status change of the consumption quota information through the SNR message .
在实际应用中,由于SPR修改配置、或者PCEF请求消费相关额度导致PCRF进行策略决策,并在策略决策过程中发现需要取消订阅用户某些类型的用户消费额度状态时,PCRF通过SLR消息向OCS取消订阅预定类型的用户消费额度状态,其中,SLR消息中携带有取消订阅操作指示、以及需要取消订阅的用户消费额度信息;OCS通过SLA消息返回取消订阅成功,同时在本地取消订阅该用户相应的消费额度信息,后续不再通过SNR消息通知PRCF消费额度信息状态变化。PCRF接收OCS通过SLA消息发送的取消订阅成功响应。需要说明的是,在实际应用中,用户消费额度包括多种类型,例如,时间、流量等。In practical applications, when PCRF makes a policy decision due to SPR modification configuration or PCEF requesting consumption related quotas, and finds that it is necessary to cancel subscription status of certain types of user consumption quotas of users during the policy decision-making process, PCRF cancels to OCS through SLR message Subscribe to the user's consumption quota status of the scheduled type, where the SLR message carries the unsubscription operation instruction and the user's consumption quota information that needs to be unsubscribed; OCS returns the unsubscription success through the SLA message, and at the same time unsubscribes the corresponding consumption of the user locally Quota information, the PRCF will no longer be notified of the state change of the consumption quota information through the SNR message in the future. The PCRF receives the unsubscribe success response sent by the OCS through the SLA message. It should be noted that, in practical applications, user consumption quotas include multiple types, for example, time, traffic, and so on.
PCRF在确定后续不再需要获取某用户所有的用户消费额度状态时,向OCS发送会话终止请求STR消息,请求释放会话;PCRF接收OCS通过会话终止响应STA消息发送的会话释放响应。即PRCF发现后续都不再需要获取该用户所有的消费额度状态,则向OCS发出STR消息,要求释放Sy会话;OCS收到STR消息后,回复STA消息,同时也释放本地Sy会话信息。When the PCRF determines that it is no longer necessary to obtain the user consumption quota status of a certain user, it sends a session termination request STR message to the OCS to request the release of the session; the PCRF receives the session release response sent by the OCS through the session termination response STA message. That is to say, PRCF finds that it no longer needs to obtain all the consumption quota status of the user, and then sends a STR message to the OCS, requesting to release the Sy session; after receiving the STR message, the OCS replies to the STA message, and releases the local Sy session information at the same time.
以下结合附图,对本发明实施例的技术方案进行详细说明。The technical solutions of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.
图3是本发明实施例的消费配额订阅释放处理的流程图;如图3所示,PCRF在决策过程中发现需要使用OCS控制的用户消费状态作策略条件,此时PCRF通过SLR消息向OCS订阅用户某些消费额度状态,OCS查看该用户消费额度相关状态,通过SLA消息返回。PRCF发现需要获取取消订阅该用户的消费额度状态,则向OCS发出STR消息,OCS收到STR消息后,回复STA消息释放Sy会话信息。Fig. 3 is the flow chart of the consumption quota subscription release processing of the embodiment of the present invention; As shown in Fig. 3, PCRF finds in the decision-making process that needs to use the user's consumption state controlled by OCS as policy condition, and PCRF subscribes to OCS through SLR message at this moment For the status of certain consumption quotas of the user, OCS checks the status of the consumption quota of the user and returns it through the SLA message. When the PRCF finds that it needs to obtain the status of unsubscribing the user's consumption quota, it sends a STR message to the OCS. After receiving the STR message, the OCS replies with an STA message to release the Sy session information.
图4是本发明实施例的消费配额查询订阅取消订阅释放处理的流程图;PCEF、SPR或PCRF等功能实体触发授权流程,PCRF发现需要向OCS订阅用户的消费状态,通过SLR向OCS订阅,OCS回复SLA标识接受此用户消费配额状态监控订阅。PCRF由于运营策略等原因通过SLR消息向OCS查询用户某些消费额度状态,OCS通过SLA消息返回。PCRF进行策略决策过程中发现需要重新订阅该用户的其它消费额度信息状态,通过SLR消息向OCS重新订阅用户的其它消费额度状态,OCS通过SLA消息返回。PRCF发现后续都不再需要获取该用户所有的消费额度状态,则向OCS发出STR消息,OCS回复STA消息。如图4所示,具体包括如下处理:Fig. 4 is a flow chart of consumption quota query subscription cancellation subscription release processing according to an embodiment of the present invention; functional entities such as PCEF, SPR or PCRF trigger the authorization process, PCRF finds that the consumption status of the user needs to be subscribed to the OCS, and subscribes to the OCS through the SLR, and the OCS Reply to the SLA ID to accept this user's consumption quota status monitoring subscription. Due to reasons such as operation policies, the PCRF queries the OCS about the status of certain consumption quotas of the user through the SLR message, and the OCS returns it through the SLA message. PCRF finds that it needs to re-subscribe the user's other consumption quota information status during the policy decision-making process, and re-subscribes the user's other consumption quota information status to the OCS through the SLR message, and the OCS returns through the SLA message. When the PRCF finds that it is no longer necessary to obtain all the consumption quota status of the user, it sends a STR message to the OCS, and the OCS replies with a STA message. As shown in Figure 4, it specifically includes the following processing:
步骤401,PCEF、SPR或PCRF等功能实体触发授权流程,PCRF发现需要使用OCS控制的用户的消费状态作为策略决策的输入条件,并且PCRF本地也没相关的信息,通过SLR消息向OCS订阅相关的用户消费提醒;其中SLR消息的Subscription-Id AVP用来携带用户的标识(例如:IMSI或MSISDN)。SLR消息里会携带消费计数器操作类型Policy-Counter-Operate-Type,类型值为订阅,同时携带订阅的这些消费计数器的标识Policy-Counter-Identifier AVP。如果没有携带Policy-Counter-Identifier AVP则表示获取/订阅该用户所有可用的消费计数器所对应的消费配额状态;Step 401, functional entities such as PCEF, SPR, or PCRF trigger the authorization process. PCRF finds that the consumption status of users controlled by OCS is used as an input condition for policy decisions, and PCRF has no relevant information locally, and subscribes to OCS through SLR messages. User consumption reminder; the Subscription-Id AVP of the SLR message is used to carry the user's identity (for example: IMSI or MSISDN). The SLR message will carry the consumption counter operation type Policy-Counter-Operate-Type, the type value is subscription, and carry the identifier Policy-Counter-Identifier AVP of these consumption counters subscribed. If it does not carry the Policy-Counter-Identifier AVP, it means to obtain/subscribe the consumption quota status corresponding to all available consumption counters of the user;
步骤402,OCS收到PCRF订阅请求后,注册用户相应的消费通知。OCS使用SLA消息的Policy-Counter-Status-Report AVP来通知PCRF注册的用户消费计数器的状态;Step 402: After receiving the PCRF subscription request, the OCS registers the corresponding consumption notification of the user. OCS uses the Policy-Counter-Status-Report AVP of the SLA message to notify the PCRF of the status of the registered user consumption counter;
步骤403,PCRF由于运营策略等原因通过SLR消息向OCS查询相关的用户消费提醒。SLR消息里会携带消费计数器操作类型Policy-Counter-Operate-Type,类型值为查询,同时携带查询的这些消费计数器的标识Policy-Counter-Identifier AVP。如果没有携带Policy-Counter-IdentifierAVP则表示查询该用户所有可用的消费计数器所对应的消费配额状态;Step 403 , the PCRF queries the OCS for relevant user consumption reminders through the SLR message due to reasons such as operation policies. The SLR message will carry the consumption counter operation type Policy-Counter-Operate-Type, the type value is query, and carry the identifier Policy-Counter-Identifier AVP of these consumption counters queried. If no Policy-Counter-IdentifierAVP is carried, it means to query the consumption quota status corresponding to all available consumption counters of the user;
步骤404,OCS收到PCRF查询请求后,查询用户相应的消费通知。OCS使用SLA消息的Policy-Counter-Status-Report AVP来通知PCRF查询的用户消费计数器的状态;Step 404, after receiving the PCRF query request, the OCS queries the corresponding consumption notification of the user. OCS uses the Policy-Counter-Status-Report AVP of the SLA message to notify the PCRF of the status of the user's consumption counter;
步骤405,PCEF、SPR或PCRF等功能实体触发重新授权流程,PCRF发现需要使用OCS控制的用户其它的消费状态作为策略决策的输入条件,通过SLR消息向OCS重新订阅相关的用户消费提醒。SLR消息里会携带消费计数器操作类型Policy-Counter-Operate-Type,类型值为订阅,同时携带重新订阅的这些消费计数器的标识Policy-Counter-Identifier AVP;Step 405, functional entities such as PCEF, SPR, or PCRF trigger the re-authorization process. PCRF finds that other consumption states of users controlled by OCS are used as input conditions for policy decisions, and re-subscribes relevant user consumption reminders to OCS through SLR messages. The SLR message will carry the consumption counter operation type Policy-Counter-Operate-Type, the type value is subscription, and carry the identifier Policy-Counter-Identifier AVP of these consumption counters resubscribed;
步骤406,OCS收到PCRF重新订阅请求后,重新注册用户相应的消费通知。OCS使用SLA消息的Policy-Counter-Status-Report AVP来通知PCRF重新注册的用户消费计数器的状态;Step 406: After receiving the PCRF re-subscription request, the OCS re-registers the corresponding consumption notification of the user. OCS uses the Policy-Counter-Status-Report AVP of the SLA message to notify the PCRF of the status of the re-registered user consumption counter;
步骤407,由于SPR修改配置、或者PCEF请求消费相关额度导致PCRF进行策略决策,并在决策过程中发现需要取消订阅用户某些消费额度状态。SLR消息里会携带消费计数器操作类型Policy-Counter-Operate-Type,类型值为取消订阅,同时携带取消订阅的这些消费计数器的标识Policy-Counter-IdentifierAVP;Step 407 , the PCRF makes a policy decision due to the configuration modification of the SPR or the request of the PCEF to consume related quotas, and during the decision-making process, it is found that it is necessary to cancel the subscription status of certain consumption quotas of the user. The SLR message will carry the consumption counter operation type Policy-Counter-Operate-Type, the type value is unsubscribe, and carry the identifier Policy-Counter-IdentifierAVP of these unsubscribed consumption counters;
步骤408,OCS收到PCRF取消订阅请求后,注销用户相应的消费通知,并通过SLA消息返回取消订阅成功,后续不再通过SNR消息通知PRCF消费额度信息状态变化。Step 408: After receiving the PCRF unsubscription request, the OCS cancels the corresponding consumption notification of the user, and returns the unsubscription success through the SLA message, and then does not notify the PRCF of the status change of the consumption quota information through the SNR message.
步骤409,PRCF发现后续都不再需要获取该用户所有的消费额度状态,则向OCS发出STR消息,要求释放Sy会话;In step 409, the PRCF finds that it is no longer necessary to obtain the status of all consumption quotas of the user, and then sends a STR message to the OCS, requesting to release the Sy session;
步骤410,OCS收到STR消息后,回复STA消息,同时也释放本地Sy会话信息。Step 410, after receiving the STR message, the OCS replies to the STA message and releases the local Sy session information at the same time.
需要说明的是,本发明实施例需要在SLR消息中扩展Policy-Counter-Operate-Type,AVP则表示需要如何操作用户消费计数器所对应的消费配额状态。如表1所示:用户消费配额状态操作类型Policy-Counter-Operate-Type(0:查询;1:订阅;2:取消订阅)。It should be noted that in the embodiment of the present invention, the Policy-Counter-Operate-Type needs to be extended in the SLR message, and the AVP indicates how to operate the consumption quota state corresponding to the user's consumption counter. As shown in Table 1: User consumption quota status operation type Policy-Counter-Operate-Type (0: query; 1: subscribe; 2: cancel subscription).
表1Table 1
Policy-Counter-Operate-Type在SLR消息中的位置如下:The position of Policy-Counter-Operate-Type in the SLR message is as follows:
<SL-Request>::=<Diameter Header:8388635,REQ,PXY><SL-Request>::=<Diameter Header:8388635,REQ,PXY>
<Session-Id> <Session-Id>
{Auth-Application-Id} {Auth-Application-Id}
{Origin-Host} {Origin-Host}
{Origin-Realm} {Origin-Realm}
{Destination-Realm} {Destination-Realm}
[Destination-Host] [Destination-Host]
[Origin-State-Id] [Origin-State-Id]
{SL-Request-Type} {SL-Request-Type}
*[Subscription-Id] *[Subscription-Id]
[Policy-Counter-Operate-Type][Policy-Counter-Operate-Type]
*[Policy-Counter-Identifier] *[Policy-Counter-Identifier]
[Logical-Access-ID] [Logical-Access-ID]
[Physical-Access-ID] [Physical-Access-ID]
*[Proxy-Info] *[Proxy-Info]
*[Route-Record] *[Route-Record]
*[AVP] *[AVP]
综上所述,本发明实施例提供的查询、订阅、取消订阅用户消费配额状态的方法及系统,在查询用户消费配额状态时仅一次操作不再要求OCS后续通过SNR继续通知该用户消费配额状态,减少了系统间消息负荷。取消订阅用户某些消费配额状态而不释放会话的方法,对于后续该用户又要继续订阅其它消费配额状态时,不需要释放会话然后又重建会话这样一个反复过程,节省了系统间消息负荷,也提升了PCRF/OCS系统自身的处理能力。In summary, the method and system for querying, subscribing, and unsubscribing user consumption quota status provided by the embodiments of the present invention only requires one operation when querying the user consumption quota status, and no longer requires the OCS to continue to notify the user of the user consumption quota status through SNR. , reducing the message load between systems. The method of unsubscribing certain consumption quota states of the user without releasing the session, when the user continues to subscribe to other consumption quota states, does not need to release the session and then recreate the repeated process of the session, which saves the message load between systems and also Improve the processing capacity of the PCRF/OCS system itself.
装置实施例Device embodiment
根据本发明的实施例,提供了一种消费配额监控装置,设置于PCRF,图5是本发明实施例的消费配额监控装置的结构示意图,如图5所示,根据本发明实施例的消费配额监控装置包括:查询请求模块50、获取模块52,以下对本发明实施例的各个模块进行详细的说明。According to an embodiment of the present invention, a consumption quota monitoring device is provided, which is set in a PCRF. FIG. 5 is a schematic structural diagram of a consumption quota monitoring device according to an embodiment of the present invention. As shown in FIG. The monitoring device includes: a query request module 50 and an acquisition module 52, each module of the embodiment of the present invention will be described in detail below.
查询请求模块50,用于通过消费配额请求SLR消息向在线计费系统OCS查询未订阅的用户消费额度状态,其中,SLR消息中携带有查询操作指示、以及需要查询的用户消费额度信息;The query request module 50 is configured to query the status of the unsubscribed user consumption quota to the online charging system OCS through the consumption quota request SLR message, wherein the SLR message carries the query operation instruction and the user consumption quota information to be queried;
获取模块52,用于接收OCS发送的消费配额响应SLA消息,从SLA消息中获取相应的用户消费额度状态。The obtaining module 52 is configured to receive the consumption quota response SLA message sent by the OCS, and obtain the corresponding user consumption quota status from the SLA message.
上述装置进一步包括:The above-mentioned device further comprises:
订阅请求模块,触发启动条件,通过SLR消息向OCS订阅预定类型的用户消费额度状态,其中,SLR消息中携带有订阅操作指示、以及需要订阅的用户消费额度信息;上述启动条件包括:由于用户签约数据库SPR修改配置、或者策略和计费执行功能实体PCEF请求消费相关额度导致PCRF进行策略决策,并在策略决策过程中发现需要使用OCS控制的用户消费额度状态作为策略条件。The subscription request module triggers the start condition, and subscribes to the OCS for a predetermined type of user consumption quota status through the SLR message, wherein the SLR message carries the subscription operation instruction and the user consumption quota information that needs to be subscribed; the above startup conditions include: The database SPR modifies the configuration, or the policy and billing enforcement function entity PCEF requests consumption-related quotas to cause PCRF to make policy decisions, and finds that the status of user consumption quotas controlled by OCS needs to be used as policy conditions during the policy decision-making process.
第一接收模块,用于接收OCS通过SLA消息发送的订阅成功响应,并在订阅的用户消费额度状态发生变化时,接收OCS发送的消费配额状态通知请求SNR消息,从SNR消息中获取用户消费额度状态变化信息。The first receiving module is used to receive the subscription success response sent by the OCS through the SLA message, and when the status of the subscribed user consumption quota changes, receive the consumption quota status notification request SNR message sent by the OCS, and obtain the user consumption quota from the SNR message Status change information.
取消订阅模块,用于在由于SPR修改配置、或者PCEF请求消费相关额度导致PCRF进行策略决策,并在策略决策过程中发现需要取消订阅用户某些类型的用户消费额度状态时,通过SLR消息向OCS取消订阅预定类型的用户消费额度状态,其中,SLR消息中携带有取消订阅操作指示、以及需要取消订阅的用户消费额度信息;The unsubscribe module is used to send a SLR message to the OCS when the PCRF makes policy decisions due to SPR modification configurations or PCEF requests for consumption-related quotas, and finds that certain types of user consumption quotas need to be unsubscribed during the policy decision-making process. Unsubscribe from the status of the user's consumption quota of the predetermined type, wherein the SLR message carries the unsubscription operation instruction and the user's consumption quota information that needs to be unsubscribed;
第二接收模块,用于接收OCS通过SLA消息发送的取消订阅成功响应。The second receiving module is configured to receive an unsubscription success response sent by the OCS through an SLA message.
会话释放模块,用于在确定后续不再需要获取某用户所有的用户消费额度状态时,向OCS发送会话终止请求STR消息,请求释放会话;The session release module is used to send a session termination request STR message to the OCS when it is determined that it is no longer necessary to obtain the user consumption quota status of a certain user in the future, and request to release the session;
第三接收模块,用于接收OCS通过会话终止响应STA消息发送的会话释放响应。The third receiving module is configured to receive a session release response sent by the OCS through a session termination response STA message.
本发明实施例中各个模块的具体操作可以根据上述方法实施例中相应的描述进行理解,在此不再赘述。The specific operations of each module in the embodiments of the present invention can be understood according to the corresponding descriptions in the above method embodiments, and will not be repeated here.
综上所述,本发明实施例提供的查询、订阅、取消订阅用户消费配额状态的方法及系统,在查询用户消费配额状态时仅一次操作不再要求OCS后续通过SNR继续通知该用户消费配额状态,减少了系统间消息负荷。取消订阅用户某些消费配额状态而不释放会话的方法,对于后续该用户又要继续订阅其它消费配额状态时,不需要释放会话然后又重建会话这样一个反复过程,节省了系统间消息负荷,也提升了PCRF/OCS系统自身的处理能力。In summary, the method and system for querying, subscribing, and unsubscribing user consumption quota status provided by the embodiments of the present invention only requires one operation when querying the user consumption quota status, and no longer requires the OCS to continue to notify the user of the user consumption quota status through SNR. , reducing the message load between systems. The method of unsubscribing certain consumption quota states of the user without releasing the session, when the user continues to subscribe to other consumption quota states, does not need to release the session and then recreate the repeated process of the session, which saves the message load between systems and also Improve the processing capacity of the PCRF/OCS system itself.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的客户端中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个客户端中。可以把实施例中的模块组合成一个模块,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者客户端的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the client in the embodiment can be adaptively changed and installed in one or more clients different from the embodiment. The modules in the embodiments can be combined into one module, and furthermore can be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of the client are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的加载有排序网址的客户端中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to realize some or all of the functions of some or all of the components in the client loaded with sorted URLs according to embodiments of the present invention . The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
Claims (10)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510348660.3A CN106332036A (en) | 2015-06-23 | 2015-06-23 | Consumption quota monitoring method and device |
| PCT/CN2015/094051 WO2016206281A1 (en) | 2015-06-23 | 2015-11-06 | Consumption quota monitoring method and device, storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510348660.3A CN106332036A (en) | 2015-06-23 | 2015-06-23 | Consumption quota monitoring method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106332036A true CN106332036A (en) | 2017-01-11 |
Family
ID=57584675
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510348660.3A Withdrawn CN106332036A (en) | 2015-06-23 | 2015-06-23 | Consumption quota monitoring method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106332036A (en) |
| WO (1) | WO2016206281A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111355596A (en) * | 2018-12-22 | 2020-06-30 | 华为技术有限公司 | Strategy decision method, related device and system |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111835809B (en) * | 2019-09-23 | 2023-04-18 | 北京嘀嘀无限科技发展有限公司 | Work order message distribution method, work order message distribution device, server and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102547640A (en) * | 2010-12-10 | 2012-07-04 | 中兴通讯股份有限公司 | Method and system for signing and executing consumption restriction business |
| US20140064151A1 (en) * | 2012-08-29 | 2014-03-06 | Alcatel-Lucent Canada, Inc. | Sy session creation and recovering from inconsistent session state between pcrf and ocs |
| US20140094138A1 (en) * | 2012-09-28 | 2014-04-03 | Alcatel Lucent | Sponsored data plan management |
| CN103716765A (en) * | 2012-09-29 | 2014-04-09 | 阿尔卡特朗讯公司 | Policy and online charging control system |
| CN104053186A (en) * | 2014-06-23 | 2014-09-17 | 中兴通讯股份有限公司 | Flow control method and device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103166767B (en) * | 2013-03-21 | 2016-12-07 | 华为技术有限公司 | Charging and band width control method, entity and system |
-
2015
- 2015-06-23 CN CN201510348660.3A patent/CN106332036A/en not_active Withdrawn
- 2015-11-06 WO PCT/CN2015/094051 patent/WO2016206281A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102547640A (en) * | 2010-12-10 | 2012-07-04 | 中兴通讯股份有限公司 | Method and system for signing and executing consumption restriction business |
| US20140064151A1 (en) * | 2012-08-29 | 2014-03-06 | Alcatel-Lucent Canada, Inc. | Sy session creation and recovering from inconsistent session state between pcrf and ocs |
| US20140094138A1 (en) * | 2012-09-28 | 2014-04-03 | Alcatel Lucent | Sponsored data plan management |
| CN103716765A (en) * | 2012-09-29 | 2014-04-09 | 阿尔卡特朗讯公司 | Policy and online charging control system |
| CN104053186A (en) * | 2014-06-23 | 2014-09-17 | 中兴通讯股份有限公司 | Flow control method and device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111355596A (en) * | 2018-12-22 | 2020-06-30 | 华为技术有限公司 | Strategy decision method, related device and system |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2016206281A1 (en) | 2016-12-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102264056B (en) | Strategy control method, system and relevant device | |
| EP2460314B1 (en) | Packet classification method and apparatus | |
| CN103945356B (en) | A method, charging device and system for policy decision-making | |
| CN103477587B (en) | Method and apparatus for controlling the QOS and/or strategy and charging control of Guest User | |
| US9407512B2 (en) | Method and apparatus for controlling terminal's access to a wireless network | |
| US8949447B2 (en) | Optimized interface between two network elements operating under an authentication, authorization and accounting protocol | |
| CN101801038B (en) | User conversation strategy control method, device and system | |
| CN104170344B (en) | Handling of authorization requests for packet-based services in mobile networks | |
| EP3864825A1 (en) | A method for supporting a service of subscription and reporting of monitoring of events in a telecommunication network as well as related network functions | |
| CN117835198A (en) | Apparatus and method for small data usage enablement in 3GPP networks | |
| CN101399679A (en) | Method and equipment for acquiring policy and charging execution function capability | |
| CN104244211A (en) | Method and device for determining PCRF | |
| US9820183B2 (en) | User plane congestion control | |
| WO2020089707A1 (en) | Filters for bulk subscriptions | |
| CN104053186A (en) | Flow control method and device | |
| US8706080B2 (en) | Charging correlation for dedicated bearers | |
| US10187217B1 (en) | Methods, systems, and computer readable media for efficient mapping of rule precedence values and filter priority values | |
| CN106332036A (en) | Consumption quota monitoring method and device | |
| WO2016107374A1 (en) | Bandwidth control method, apparatus and system | |
| WO2016070556A1 (en) | Method for acquiring user identifier and network side device | |
| CN106304009A (en) | Customer consumption quota update method and device | |
| WO2018201810A1 (en) | Pcrf entity, storage medium, race-condition removal method and system | |
| WO2017000692A1 (en) | Spending limit acquisition, sending and interaction method, pcrf, ocs and interaction system | |
| CN104486738A (en) | Policy making method, device and system | |
| CN106332039B (en) | Acquisition, transmission and interaction method, PCRF, OCS and interaction system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170111 |
|
| WW01 | Invention patent application withdrawn after publication |