CN102984768A - Method and device of real-time adjustment of on-line user bandwidth under shared charge rule - Google Patents
Method and device of real-time adjustment of on-line user bandwidth under shared charge rule Download PDFInfo
- Publication number
- CN102984768A CN102984768A CN2012104472642A CN201210447264A CN102984768A CN 102984768 A CN102984768 A CN 102984768A CN 2012104472642 A CN2012104472642 A CN 2012104472642A CN 201210447264 A CN201210447264 A CN 201210447264A CN 102984768 A CN102984768 A CN 102984768A
- Authority
- CN
- China
- Prior art keywords
- charging rule
- shared charging
- online
- notification message
- under
- 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.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例提供一种实时调整共享计费规则下在线用户的带宽的方法,包括:在共享计费规则下的用户的通用分组无线业务GPRS流程中,在线计费系统OCS监测所述用户的上网时长/流量;若所述用户的上网时长/流量达到所述共享计费规则下的门限值,则所述OCS构造一条通知消息,并向策略和计费规则实体PCRF下发所述通知消息,以便所述PCRF根据所述消息对所述共享计费规则下的在线用户制定带宽控制策略,并使GPRS网关支撑节点GGSN根据所述带宽控制策略实时调整所述共享计费规则下的在线用户的带宽。本发明实施例同时提供相应的装置。采用本实施例提供的方法,能够实时调整共享计费规则下所有在线用户的带宽,避免用户和运营商的利益受损。
An embodiment of the present invention provides a method for real-time adjustment of the bandwidth of an online user under a shared charging rule, comprising: in the general packet radio service GPRS process of the user under the shared charging rule, the online charging system OCS monitors the user's bandwidth Internet access duration/traffic; if the user’s online access duration/traffic reaches the threshold value under the shared charging rule, the OCS constructs a notification message and sends the notification to the policy and charging rule entity PCRF message, so that the PCRF formulates a bandwidth control strategy for online users under the shared charging rule according to the message, and enables the GPRS gateway support node GGSN to adjust the online users under the shared charging rule in real time according to the bandwidth control strategy User's bandwidth. The embodiment of the present invention also provides a corresponding device. By adopting the method provided in this embodiment, the bandwidth of all online users under the shared charging rule can be adjusted in real time, so as to avoid damage to the interests of users and operators.
Description
技术领域technical field
本发明涉及通信技术领域,具体涉及一种实时调整共享计费规则下在线用户带宽的方法及装置。The invention relates to the field of communication technology, in particular to a method and device for real-time adjustment of bandwidth of online users under shared charging rules.
背景技术Background technique
通用无线分组业务(General Packet Radio Service,GPRS)是在现有GSM移动通信系统的基础上发展起来的一种移动分组数据业务。GPRS通过在GSM移动网络中引入分组交换功能实体来完成用分组方式进行的数据传输。针对GPRS业务,移动运营商推出了家庭用户、集团用户以及子母卡数据业务套餐包服务,用户可以订购一个大的数据业务套餐包,包一定的流量/时长,作为家庭成员或者子卡、集团成员共享使用该套餐。General Packet Radio Service (GPRS) is a mobile packet data service developed on the basis of the existing GSM mobile communication system. GPRS completes data transmission in packet mode by introducing packet switching functional entities in the GSM mobile network. For GPRS services, mobile operators have launched data service package services for family users, group users, and mother-child cards. Users can order a large data service package, including a certain amount of traffic/duration, as family members or sub-cards, group Members share the use of the package.
当使用该套餐包的流量/时长到运营商设置的限额时,需要对使用该套餐的用户降带宽。例如:某家庭订购一个GPRS数据业务月套餐包,初始带宽为400Kbps,其中规定月使用流量累积超过30GB时,将带宽下调到初始带宽的70%。则该家庭中用户累计使用流量到30GB时需要对用户降带宽。When the traffic/time length of the package reaches the limit set by the operator, the bandwidth of the user who uses the package needs to be reduced. For example: A family subscribes to a GPRS data service monthly package, the initial bandwidth is 400Kbps, which stipulates that when the accumulated monthly traffic exceeds 30GB, the bandwidth will be reduced to 70% of the initial bandwidth. Then, when the accumulative traffic usage of the users in this family reaches 30GB, the bandwidth needs to be reduced for the users.
在当前的带宽控制方案中,由OCS(Online Charging System,在线计费系统)对用户使用的套餐流量、时长等信息进行记录,当达到限额需要调整带宽时由OCS向PCRF(Policy and Charging Rules Function,策略和计费规则实体)下发通知消息,由PCRF进行带宽的调整。In the current bandwidth control scheme, the OCS (Online Charging System, online charging system) records information such as the package traffic and duration used by the user. When the bandwidth needs to be adjusted when the limit is reached, the OCS sends the PCRF (Policy and Charging Rules Function , policy and charging rule entity) sends a notification message, and the PCRF adjusts the bandwidth.
OCS与PCRF之间是长连接,PCRF仅能调整本连接对应的用户的带宽,不能同时对套餐包内的其他用户的带宽进行调整,要等到其他用户下次上报消息时才能变更其带宽。一次GPRS业务交互的时间比较长,如果由于PCRF未及时调整用户的带宽,导致超出套餐包的限额,要扣用户的主资金并且资费和带宽相关,对用户来说不利;若超过套餐包限额仅降带宽但允许用户免费使用,对运营商来说也会造成一定损失。由此可见,现有的带宽调整方案应用于同一套餐下共享计费规则用户时,有可能会产生上述其中一方面的弊端。There is a long connection between OCS and PCRF. PCRF can only adjust the bandwidth of the user corresponding to this connection, and cannot adjust the bandwidth of other users in the package at the same time. The bandwidth cannot be changed until other users report a message next time. A GPRS service interaction takes a long time. If PCRF does not adjust the user’s bandwidth in time, resulting in exceeding the limit of the package, the user’s main fund will be deducted and the tariff is related to the bandwidth, which is not good for the user; if the limit of the package is exceeded, only Reducing bandwidth but allowing users to use it for free will also cause certain losses to operators. It can be seen that, when the existing bandwidth adjustment solution is applied to users sharing charging rules under the same package, one of the above-mentioned disadvantages may occur.
发明内容Contents of the invention
为了解决现有的带宽调整方案仅能调整当前达到门限的用户的带宽,不能控制共享计费规则下其他用户的带宽的问题。In order to solve the problem that the existing bandwidth adjustment scheme can only adjust the bandwidth of the user who currently reaches the threshold, but cannot control the bandwidth of other users under the shared charging rule.
第一方面,本发明实施例提供了一种实时调整共享计费规则下在线用户的带宽的方法,包括:In the first aspect, the embodiment of the present invention provides a method for real-time adjustment of the bandwidth of an online user under a shared charging rule, including:
在共享计费规则下的用户的通用分组无线业务GPRS流程中,在线计费系统OCS监测所述用户的上网时长/流量;In the general packet radio service GPRS process of the user under the shared charging rule, the online charging system OCS monitors the online duration/flow of the user;
若所述用户的上网时长/流量达到所述共享计费规则下的门限值,则所述OCS构造一条通知消息,并向策略和计费规则实体PCRF下发所述通知消息,以便所述PCRF根据所述消息对所述共享计费规则下的在线用户制定带宽控制策略,并使GPRS网关支撑节点GGSN根据所述带宽控制策略实时调整所述共享计费规则下的在线用户的带宽。If the online duration/traffic of the user reaches the threshold value under the shared charging rule, the OCS constructs a notification message, and sends the notification message to the policy and charging rule entity PCRF, so that the The PCRF formulates a bandwidth control strategy for the online users under the shared charging rule according to the message, and enables the GPRS gateway support node GGSN to adjust the bandwidth of the online user under the shared charging rule in real time according to the bandwidth control strategy.
在第一方面的第一种可能的实现方式中,OCS构造一条通知消息,并向PCRF下发通知消息,以便所述PCRF根据所述消息对所述共享计费规则下的在线用户制定带宽控制策略,包括:In a first possible implementation of the first aspect, the OCS constructs a notification message, and sends the notification message to the PCRF, so that the PCRF formulates bandwidth control for online users under the shared charging rule according to the message strategies, including:
所述OCS搜集所述共享计费规则下的在线用户的标识,在所述通知消息中携带所述在线用户的标识;The OCS collects the identification of the online user under the shared charging rule, and carries the identification of the online user in the notification message;
向所述PCRF下发所述通知消息,以便所述PCRF根据所述在线用户的标识,针对每个在线用户制定所述带宽控制策略。Sending the notification message to the PCRF, so that the PCRF formulates the bandwidth control policy for each online user according to the identifier of the online user.
在第一方面的第二种可能的实现方式中,OCS构造一条通知消息,并向PCRF下发通知消息,以便所述PCRF根据所述消息对所述共享计费规则下的在线用户制定带宽控制策略,包括:In the second possible implementation of the first aspect, the OCS constructs a notification message, and sends the notification message to the PCRF, so that the PCRF formulates bandwidth control for online users under the shared charging rule according to the message strategies, including:
所述OCS搜集所述共享计费规则下的所有用户的标识,在所述通知消息中携带所述共享计费规则下所有用户的标识;The OCS collects the identifiers of all users under the shared charging rule, and carries the identifiers of all users under the shared charging rule in the notification message;
向所述PCRF下发所述通知消息,以便所述PCRF根据所述共享计费规则下所有用户的标识查找出当前在线的用户,并针对每个在线用户制定所述带宽控制策略。Sending the notification message to the PCRF, so that the PCRF finds out the currently online users according to the identifiers of all users under the shared charging rule, and formulates the bandwidth control policy for each online user.
在第一方面的第三种可能的实现方式中,OCS构造一条通知消息,并向PCRF下发通知消息,以便所述PCRF根据所述消息对所述共享计费规则下的在线用户制定带宽控制策略,包括:In a third possible implementation of the first aspect, the OCS constructs a notification message, and sends the notification message to the PCRF, so that the PCRF formulates bandwidth control for online users under the shared charging rule according to the message strategies, including:
所述OCS查找所述共享计费规则下的用户的群组标识,在所述通知消息中携带所述群组标识;The OCS searches for the group identifier of the user under the shared charging rule, and carries the group identifier in the notification message;
向所述PCRF下发所述通知消息,以便所述PCRF根据所述群组标识查找出当前在线的用户,并针对每个在线用户制定所述带宽控制策略。Sending the notification message to the PCRF, so that the PCRF finds out the currently online users according to the group identifier, and formulates the bandwidth control policy for each online user.
在第一方面的第四种可能的实现方式中,OCS构造一条通知消息,并向PCRF下发通知消息,以便所述PCRF根据所述消息对所述共享计费规则下的在线用户制定带宽控制策略,包括:In a fourth possible implementation of the first aspect, the OCS constructs a notification message, and sends the notification message to the PCRF, so that the PCRF formulates bandwidth control for online users under the shared charging rule according to the message strategies, including:
所述OCS在所述通知消息中携带所述共享计费规则的标识,以及所述共享计费规则下套餐的累积使用量;The OCS carries the identifier of the shared charging rule in the notification message, and the cumulative usage of the package under the shared charging rule;
向所述PCRF下发所述通知消息,以便所述PCRF根据所述共享计费规则的标识和所述共享计费规则下套餐的累积使用量制定所述共享计费规则下在线用户的带宽控制策略。Sending the notification message to the PCRF, so that the PCRF formulates bandwidth control for online users under the shared charging rule according to the identity of the shared charging rule and the cumulative usage of the package under the shared charging rule Strategy.
第二方面,本发明实施例提供一种实时调整共享计费规则下在线用户的带宽的装置,包括:In the second aspect, the embodiment of the present invention provides a device for real-time adjustment of the bandwidth of online users under shared charging rules, including:
监测单元,用于在共享计费规则下的用户的通用分组无线业务GPRS流程中,监测所述用户的上网时长/流量;The monitoring unit is used to monitor the online duration/flow of the user in the GPRS process of the user under the shared charging rule;
构造单元,用于在所述监测单元监测到所述用户的上网时长/流量达到所述共享计费规则下的门限值时,构造一条通知消息;A construction unit, configured to construct a notification message when the monitoring unit detects that the online duration/traffic of the user reaches the threshold value under the shared charging rule;
发送单元,用于向策略和计费规则实体PCRF下发所述构造单元构造的通知消息,以便所述PCRF根据所述消息对所述共享计费规则下的在线用户制定带宽控制策略,并使GPRS网关支撑节点GGSN根据所述带宽控制策略实时调整所述共享计费规则下的在线用户的带宽。A sending unit, configured to send the notification message constructed by the construction unit to the policy and charging rule entity PCRF, so that the PCRF formulates a bandwidth control strategy for online users under the shared charging rule according to the message, and makes The GPRS gateway support node GGSN adjusts the bandwidth of online users under the shared charging rule in real time according to the bandwidth control policy.
采用本发明实施例公开的带宽调整方案,OCS在监测到当前用户的上网流量/时长达到共享计费规则下的门限值时,能够通知PCRF相应修改共享计费规则下的在线用户的带宽,从而不必等到其他用户下次上报消息时才变更其带宽。这样就能及时调整用户的带宽,避免超出套餐包限额的情况的出现,最大限度地维护用户以及运营商的利益。Using the bandwidth adjustment solution disclosed in the embodiment of the present invention, when the OCS monitors that the current user's online traffic/duration reaches the threshold value under the shared charging rule, it can notify the PCRF to modify the bandwidth of the online user under the shared charging rule accordingly, Therefore, there is no need to wait for other users to change their bandwidth when they report a message next time. In this way, the user's bandwidth can be adjusted in time, avoiding the situation of exceeding the package limit, and maximizing the protection of the interests of users and operators.
附图说明Description of drawings
图1所示为本发明实施例提供的当前3GPP网络的计费组网示意图;Fig. 1 shows the schematic diagram of the billing networking of the current 3GPP network provided by the embodiment of the present invention;
图2所示为本发明实施例提供的一种实时调整共享计费规则下在线用户带宽的方法示意图;FIG. 2 is a schematic diagram of a method for real-time adjustment of online user bandwidth under shared charging rules provided by an embodiment of the present invention;
图3所示为本发明实施例提供的实时调整共享计费规则下在线用户带宽的方法流程图;FIG. 3 is a flowchart of a method for real-time adjustment of online user bandwidth under shared charging rules provided by an embodiment of the present invention;
图4所示为本发明实施例提供的一种实时调整共享计费规则下在线用户的带宽的装置的结构示意图;FIG. 4 is a schematic structural diagram of a device for real-time adjustment of the bandwidth of online users under shared charging rules provided by an embodiment of the present invention;
图5所示为本发明实施例提供的实时调整共享计费规则下在线用户的带宽的装置的硬件架构图。FIG. 5 is a hardware architecture diagram of a device for real-time adjustment of bandwidth of online users under shared charging rules provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了便于本领域一般技术人员理解和实现本发明,现结合附图描述本发明的实施例。In order to facilitate those skilled in the art to understand and implement the present invention, the embodiments of the present invention are now described with reference to the accompanying drawings.
图1所示为当前3GPP网络的计费组网示意图,以下结合该图详细说明图中各组件的作用。FIG. 1 is a schematic diagram of a billing networking of a current 3GPP network. The functions of each component in the figure will be described in detail below in conjunction with this figure.
AF(Application Function,应用功能实体)是IMS(IP Multimedia Subsystem,IP多媒体子系统)网络的入口,通过Rx接口和PCRF交互,主要完成把IMS会话信息传递给PCRF,包含业务流信息和QoS(Quality ofService,服务质量)信息,实现指示PCRF对承载层的门控,交互计费信息等功能;AF (Application Function, application function entity) is the entrance of the IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) network. It interacts with PCRF through the Rx interface, and mainly completes the transfer of IMS session information to PCRF, including service flow information and QoS (Quality ofService (Quality of Service) information, to realize functions such as instructing the PCRF to gate the bearer layer and exchange charging information;
PCRF负责决策和授权,其基本功能是根据运营商策略、用户签约数据、用户正在进行的业务信息以及用户接入网络的信息等因素,制定相应的策略,该策略称为PCC(Policy and Charging Control,策略与计费控制)规则。PCRF制定PCC规则,下发给PCEF执行,从而实现对业务数据流的控制。PCRF is responsible for decision-making and authorization. Its basic function is to formulate corresponding policies based on factors such as operator policies, user subscription data, user ongoing service information, and user access network information. This policy is called PCC (Policy and Charging Control , Policy and Accounting Control) rules. The PCRF formulates PCC rules and sends them to the PCEF for execution, so as to control the flow of service data.
PCEF(Policy and Charging Enforcement Function,策略与计费执行实体)的基本功能是执行PCC规则,根据PCC规则对指定的业务数据流进行QoS控制(包括带宽和优先级等)、门控(即是否允许数据流通过)、计费控制(包括在线计费和离线计费)等。PCEF作为一个逻辑上的功能实体,通常和网关设备(Gateway)合设;The basic function of PCEF (Policy and Charging Enforcement Function, Policy and Charging Enforcement Function) is to execute PCC rules, and perform QoS control (including bandwidth and priority, etc.) data flow through), charging control (including online charging and offline charging), etc. As a logical functional entity, PCEF is usually set up together with a gateway device (Gateway);
OCS是在线计费系统,OFCS(Online Charging System)是离线计费系统;OCS is an online charging system, and OFCS (Online Charging System) is an offline charging system;
Gy参考点(Reference Point,也可称为接口)完成PCEF到OCS之间的在线计费,在线计费功能是指:对所提供的业务进行实时的计费。在线计费用户发起数据业务时,PCEF向OCS实时申请配额,OCS将根据用户信息和用户账户中的金额决定是否允许该用户进行分组数据业务,对PCEF进行用户配额的实时下发。OCS实时跟踪用户对所购资源的使用情况(时间或流量),实时从账户余额中扣除当前的使用费用,账户资金用尽时终止业务或者对用户进行相关提示。The Gy reference point (Reference Point, which can also be called an interface) completes online charging between PCEF and OCS. The online charging function refers to real-time charging for the provided services. When an online billing user initiates a data service, the PCEF applies for a quota to the OCS in real time, and the OCS will decide whether to allow the user to perform packet data services based on the user information and the amount in the user account, and issue the user quota to the PCEF in real time. OCS tracks the user's usage (time or flow) of purchased resources in real time, deducts the current usage fee from the account balance in real time, and terminates the service or prompts the user when the account funds are exhausted.
Gz参考点完成PCEF到OCS之间的离线计费,将MS的话单/信息发送到OFCS,由OFCS完成话单的存储、标准化等预处理工作,并将标准计费数据送到计费系统作最终处理,不对提供的业务进行实时的计费。The Gz reference point completes the offline charging between PCEF and OCS, sends the bill/information of the MS to OFCS, and OFCS completes the preprocessing work such as storage and standardization of the bill, and sends the standard billing data to the billing system for billing Final processing, no real-time billing for the services provided.
Sy接口为PCRF和OCS之间的接口,用于PCRF在进行策略决策时向OCS请求用户的消费限额(spending limits)。PCRF使用policy counter ID进行订阅,OCS根据该订阅进行上报。The Sy interface is an interface between the PCRF and the OCS, and is used for the PCRF to request the user's spending limits (spending limits) from the OCS when making policy decisions. PCRF uses the policy counter ID to subscribe, and OCS reports based on the subscription.
基于图1所示的计费组网,本发明实施例提供一种实时调整共享计费规则下在线用户带宽的方案。在一个GPRS流程中,OCS监测到一个共享计费规则下的用户的上网时长/流量达到该共享计费规则下的门限值时,主动向PCRF下发一条通知信息,以使PCRF根据该消息制定此共享计费规则下在线用户的带宽控制策略,并把该策略发送到GGSN(Gateway GPRS SupportNode,GPRS网关支撑节点),以使GGSN依据该带宽控制策略,实时调整该共享计费规则下的在线用户的带宽,保护用户和运营商的最大利益。Based on the charging networking shown in FIG. 1 , the embodiment of the present invention provides a solution for real-time adjustment of online user bandwidth under shared charging rules. In a GPRS process, when the OCS monitors that the online duration/traffic of a user under a shared charging rule reaches the threshold value under the shared charging rule, it will actively send a notification message to the PCRF, so that the PCRF Formulate the bandwidth control policy of online users under this shared billing rule, and send the policy to GGSN (Gateway GPRS SupportNode, GPRS gateway support node), so that GGSN can adjust the bandwidth under this shared billing rule in real time according to the bandwidth control policy. The bandwidth of online users protects the best interests of users and operators.
图2所示为本发明实施例提供的一种实时调整共享计费规则下在线用户带宽的方法示意图。依据该图,详述该方案的步骤如下:FIG. 2 is a schematic diagram of a method for real-time adjustment of online user bandwidth under shared charging rules provided by an embodiment of the present invention. According to the diagram, the steps to detail the scheme are as follows:
步骤201、在共享计费规则下的用户的GPRS流程中,OCS监测用户的上网时长/流量;
步骤202、若该用户的上网时长/流量达到此共享计费规则下的门限值,则由OCS构造一条通知消息,并向PCRF下发该通知消息,以便PCRF根据此消息对共享计费规则下的在线用户制定带宽控制策略,并使GGSN根据该带宽控制策略实时调整共享计费规则下的在线用户的带宽。
采用本发明实施例公开的带宽调整方案,OCS在监测到当前用户的上网流量/时长达到共享计费规则下的门限值时,能够通知PCRF相应修改共享计费规则下的在线用户的带宽,从而不必等到其他用户下次上报消息时才变更其带宽。这样就能及时调整用户的带宽,避免超出套餐包限额的情况的出现,最大限度地维护用户以及运营商的利益。Using the bandwidth adjustment solution disclosed in the embodiment of the present invention, when the OCS monitors that the current user's online traffic/duration reaches the threshold value under the shared charging rule, it can notify the PCRF to modify the bandwidth of the online user under the shared charging rule accordingly, Therefore, there is no need to wait for other users to change their bandwidth when they report a message next time. In this way, the user's bandwidth can be adjusted in time, avoiding the situation of exceeding the package limit, and maximizing the protection of the interests of users and operators.
图3所示是本发明一个实施例提供的实时调整共享计费规则下在线用户带宽的方法流程图。详述该流程的各步骤如下:FIG. 3 is a flow chart of a method for real-time adjustment of online user bandwidth under shared charging rules provided by an embodiment of the present invention. The steps in the process are detailed below:
步骤301、在一个GPRS流程中,OCS监测用户的上网时长/流量,若此用户属于共享计费规则下的用户,则在监测到该用户的上网时长/流量达到该共享计费规则下的门限值时,向PCRF发送通知消息;Step 301, in a GPRS process, the OCS monitors the user's online duration/traffic, if the user belongs to the user under the shared charging rule, then when it is detected that the user's online duration/traffic reaches the threshold under the shared charging rule When the limit value is exceeded, a notification message is sent to the PCRF;
其中,共享计费规则下的用户具体可以是使用一个共享数据业务套餐包的用户,例如家庭成员套餐包用户、集团套餐包用户以及字母卡用户等,这些用户在使用GPRS数据业务时,共享一个计费规则。Wherein, the user under the shared billing rule can specifically be a user who uses a shared data service package, such as a family member package user, a group package package user, and an alphabet card user. When these users use the GPRS data service, they share a billing rules.
在某共享规则下的用户使用GPRS数据业务的过程中,OCS监测该用户的上网时长/流量,在整个套餐包的上网时长/流量达到共享计费规则下的门限值时,向PCRF下发一条通知消息,以便PCRF根据此通知消息调整共享规则下在线用户的带宽。When a user under a certain sharing rule uses the GPRS data service, the OCS monitors the user's online duration/traffic, and when the online duration/traffic of the entire package reaches the threshold value under the shared charging rule, the OCS sends a A notification message, so that the PCRF can adjust the bandwidth of online users under the sharing rules according to the notification message.
步骤302、OCS向PCRF发送通知消息;Step 302, the OCS sends a notification message to the PCRF;
步骤303、PCRF根据该通知消息制定此共享计费规则下在线用户的带宽控制策略;Step 303, PCRF formulates the bandwidth control policy of online users under the shared charging rule according to the notification message;
具体地,以下公开OCS在监测到用户的上网时长/流量达到该用户所属的共享计费规则下的门限值时,如何构造向PCRF发送的通知消息,以及PCRF如何根据通知消息实时调整该共享规则下在线用户的带宽。Specifically, the following discloses how the OCS constructs a notification message sent to the PCRF when it detects that the user's online duration/traffic reaches the threshold value under the shared charging rule to which the user belongs, and how the PCRF adjusts the shared charging rule in real time according to the notification message. The bandwidth of online users under the rule.
方式一:OCS在GPRS流程中判断达到共享计费规则下的门限,则搜集当前共享计费规则下在线用户的列表,通过增加*[Subscription-Id]字段携带在通知消息中下发给PCRF。Method 1: OCS judges in the GPRS process that the threshold under the shared charging rule is reached, then collects the list of online users under the current shared charging rule, and sends it to the PCRF by adding the *[Subscription-Id] field in the notification message.
PCRF收到通知消息后,除了对本流程对应的用户重新指定带宽控制策略外,遍历*[Subscription-Id]列表,对于其下的每个在线用户,重新计算针对该用户的带宽控制策略。After receiving the notification message, PCRF traverses the *[Subscription-Id] list, and recalculates the bandwidth control policy for each online user under it, in addition to redesignating the bandwidth control policy for the user corresponding to this process.
另外,也可以由OCS将共享计费规则下的用户的列表都发送给PCRF,再由PCRF过滤出在线用户后指定带宽控制策略。In addition, the OCS may also send the list of users under the shared charging rule to the PCRF, and then the PCRF filters out the online users and specifies a bandwidth control policy.
上述实现方式可以通过扩展OCS与PCRF之间进行通信的SNR协议,在其中增加*[Subscription-Id]字段来实现。其中Subscription-Id表示共享计费规则下的在线用户的标识或用户的标识,以下举例说明该协议的扩展:The above implementation manner can be realized by extending the SNR protocol for communication between the OCS and the PCRF, and adding a *[Subscription-Id] field therein. Among them, Subscription-Id represents the ID of the online user or the ID of the user under the shared billing rules. The following example illustrates the extension of the protocol:
<SN-Request>::=<Diameter Header:TBD-IANA,REQ,PXY><SN-Request>::=<Diameter Header: TBD-IANA, REQ, PXY>
<Session-Id><Session-Id>
{Origin-Host}{Origin-Host}
{Origin-Realm}{Origin-Realm}
{Destination-Realm}{Destination-Realm}
{Destination-Host}{Destination-Host}
{Auth-Application-Id}{Auth-Application-Id}
[Origin-State-Id][Origin-State-Id]
*[Policy-Counter-Status-Report]*[Policy-Counter-Status-Report]
*[Proxy-Info]*[Proxy-Info]
*[Route-Record]*[Route-Record]
*[Subscription-Id]*[Subscription-Id]
*[AVP]*[AVP]
方式二:OCS在GPRS流程中判断达到共享计费规则下的门限,通过增加*[OwnerGroupID]字段表示用户所属群组的标识,携带在通知消息中下发给PCRF。其中,用户所属群组表示同一共享计费规则下的用户群组的标识,例如集团用户的标识、家庭成员用户的标识等。Method 2: OCS judges in the GPRS process that the threshold under the shared charging rule is reached, and adds *[OwnerGroupID] field to indicate the identity of the group to which the user belongs, carries it in the notification message and sends it to PCRF. Wherein, the group to which the user belongs refers to an identifier of a user group under the same shared charging rule, such as an identifier of a group user, an identifier of a family member user, and the like.
PCRF收到通知消息后,除了对本流程对应的用户重新指定带宽控制策略外,遍历其他在线链接,重新计算归属于同一个共享计费规则群组的用户的带宽控制策略。After the PCRF receives the notification message, in addition to redesignating the bandwidth control policy for the user corresponding to this process, it traverses other online links and recalculates the bandwidth control policy of the users belonging to the same shared charging rule group.
上述实现方式可以通过扩展OCS与PCRF之间进行通信的SNR协议,在其中增加*[OwnerGroupID]字段来实现。其中OwnerGroupID表示同一个共享计费规则下用户群组的标识,以下举例说明该协议的扩展:The above implementation manner can be realized by extending the SNR protocol for communication between the OCS and the PCRF, and adding an *[OwnerGroupID] field therein. Among them, OwnerGroupID represents the identifier of a user group under the same shared billing rule. The following example illustrates the extension of this protocol:
<SN-Request>::=<Diameter Header:TBD-IANA,REQ,PXY><SN-Request>::=<Diameter Header: TBD-IANA, REQ, PXY>
<Session-Id><Session-Id>
{Origin-Host}{Origin-Host}
{Origin-Realm}{Origin-Realm}
{De stination-Realm}{De stination-Realm}
{Destination-Host}{Destination-Host}
{Auth-Application-Id}{Auth-Application-Id}
[Origin-State-Id][Origin-State-Id]
*[Policy-Counter-Status-Report]*[Policy-Counter-Status-Report]
*[Proxy-Info]*[Proxy-Info]
*[Route-Record]*[Route-Record]
*[Own erGroupID]*[OwnerGroupID]
*[AVP]*[AVP]
方式三:OCS在GPRS流程中判断达到共享计费规则下的门限,则将该共享计费规则的标识,以及达到的counter(累积项标识)和level(当前带宽对应的标识)携带在通知消息中向PCRF下发。Method 3: In the GPRS process, the OCS judges that the threshold under the shared charging rule is reached, and then carries the identification of the shared charging rule, as well as the reached counter (accumulation item identification) and level (identification corresponding to the current bandwidth) in the notification message Send it to the PCRF.
PCRF收到通知消息后,除了对本流程对应的用户重新指定带宽控制策略外,遍历其他在线链接,重新计算使用相同counter的用户的带宽控制策略。After the PCRF receives the notification message, in addition to redesignating the bandwidth control policy for the user corresponding to this process, it traverses other online links and recalculates the bandwidth control policy of the user using the same counter.
步骤304、PCRF将制定的带宽控制策略发送给GGSN;Step 304, the PCRF sends the formulated bandwidth control policy to the GGSN;
步骤305、GGSN根据带宽控制策略实时调整此共享计费规则下的在线用户的带宽。Step 305, the GGSN adjusts the bandwidth of the online users under the shared charging rule in real time according to the bandwidth control policy.
采用本发明实施例公开的带宽调整方案,OCS在监测到当前用户的上网流量/时长达到共享计费规则下的门限值时,能够通知PCRF相应修改共享计费规则下的在线用户的带宽,从而不必等到其他用户下次上报消息时才变更其带宽。这样就能及时调整用户的带宽,避免超出套餐包限额的情况的出现,最大限度地维护用户以及运营商的利益。Using the bandwidth adjustment solution disclosed in the embodiment of the present invention, when the OCS monitors that the current user's online traffic/duration reaches the threshold value under the shared charging rule, it can notify the PCRF to modify the bandwidth of the online user under the shared charging rule accordingly, Therefore, there is no need to wait for other users to change their bandwidth when they report a message next time. In this way, the user's bandwidth can be adjusted in time, avoiding the situation of exceeding the package limit, and maximizing the protection of the interests of users and operators.
图4所示为本发明一个实施例提供的一种实时调整共享计费规则下在线用户的带宽的装置的结构示意图。依据该图,装置中的各组成部分如下:FIG. 4 is a schematic structural diagram of an apparatus for real-time adjustment of bandwidth of online users under shared charging rules provided by an embodiment of the present invention. According to the figure, the components in the device are as follows:
监测单元401,用于在共享计费规则下的用户的GPRS流程中,监测用户的上网时长/流量;The
构造单元402,用于在监测单元401监测到该用户的上网时长/流量达到共享计费规则下的门限值时,构造一条通知消息;The
其中,构造单元402构造通知消息,具体为:Wherein, the
搜集共享计费规则下的在线用户的标识,在通知消息中携带在线用户的标识;Collect the IDs of online users under the shared charging rules, and carry the IDs of online users in the notification message;
或者,搜集共享计费规则下的所有用户的标识,在通知消息中携带共享计费规则下所有用户的标识;Alternatively, collect the identifiers of all users under the shared charging rule, and carry the identifiers of all users under the shared charging rule in the notification message;
或者,查找共享计费规则下的用户的群组标识,在通知消息中携带群组标识;Or, find the group ID of the user under the shared charging rule, and carry the group ID in the notification message;
或者,在通知消息中携带共享计费规则的标识,以及共享计费规则下套餐的累积使用量。Alternatively, the notification message carries the identifier of the shared billing rule and the cumulative usage of the package under the shared billing rule.
发送单元403,用于向PCRF下发构造单元402构造的通知消息,以便PCRF根据该消息对共享计费规则下的在线用户制定带宽控制策略,并使GGSN根据该带宽控制策略实时调整共享计费规则下的在线用户的带宽。The sending
使用本发明实施例提供的实时调整共享计费规则下在线用户的带宽的装置,在超出计费规则下的门限值时,能够及时调整同一个共享计费规则下所有在线用户的带宽,避免用户或运营商的利益损失。Using the device for real-time adjustment of the bandwidth of online users under the shared billing rule provided by the embodiment of the present invention, when the threshold value under the billing rule is exceeded, the bandwidth of all online users under the same shared billing rule can be adjusted in time to avoid Loss of interests of users or operators.
图5描述了本发明另一个实施例提供的实时调整共享计费规则下在线用户的带宽的装置的硬件架构图,包括至少一个处理器501(例如CPU),至少一个网络接口502或者其他通信接口,存储器503,和至少一个通信总线504,用于实现这些装置之间的连接通信。处理器501用于执行存储器503中存储的可执行模块,例如计算机程序。存储器503可能包含高速随机存取存储器(RAM:Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个网络接口502(可以是有线或者无线)实现该系统网关与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。Fig. 5 has described the hardware architecture diagram of the device for adjusting the bandwidth of online users under the shared billing rules in real time provided by another embodiment of the present invention, including at least one processor 501 (such as CPU), at least one
在一些实施方式中,存储器503存储了程序指令,程序指令可以被处理器501执行,其中,程序指令包括监测单元401、构造单元402和发送单元403。其中,各模块的具体实现参见图4所揭示的相应模块,这里不再累述。In some implementations, the
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护层级之内。Through the above description of the implementation manners, those skilled in the art can clearly understand that the present invention can be implemented by hardware, firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example but not limitation: computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or may be used to carry or store information in the form of instructions or data structures desired program code and any other medium that can be accessed by a computer. also. Any connection can suitably be a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwave are included in the fixation of the respective media. As used herein, Disk and disc include compact disc (CD), laser disc, compact disc, digital versatile disc (DVD), floppy disc, and Blu-ray disc, where discs usually reproduce data magnetically, and discs Lasers are used to optically reproduce the data. Combinations of the above should also be included within the protection level of computer-readable media.
总之,以上所述仅为本发明技术方案的较佳实施例而已,并非用于限定本发明的保护层级。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护层级之内。In a word, the above description is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the protection level of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection level of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210447264.2A CN102984768B (en) | 2012-11-09 | 2012-11-09 | Method and the device of online user's bandwidth under charging regulation are shared in a kind of real-time adjustment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210447264.2A CN102984768B (en) | 2012-11-09 | 2012-11-09 | Method and the device of online user's bandwidth under charging regulation are shared in a kind of real-time adjustment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102984768A true CN102984768A (en) | 2013-03-20 |
CN102984768B CN102984768B (en) | 2016-03-02 |
Family
ID=47858402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210447264.2A Active CN102984768B (en) | 2012-11-09 | 2012-11-09 | Method and the device of online user's bandwidth under charging regulation are shared in a kind of real-time adjustment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102984768B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469726A (en) * | 2013-09-22 | 2015-03-25 | 阿尔卡特朗讯 | Method and equipment for use monitoring of user group |
CN104735605A (en) * | 2015-02-06 | 2015-06-24 | 中国联合网络通信集团有限公司 | User service control method and device |
CN104796876A (en) * | 2014-01-17 | 2015-07-22 | 华为技术有限公司 | OCS (Online Charging System), PCEF (Policy and Charging Enforcement Function), PCRF (Policy and Charging Rules Function) and terminal bandwidth control method |
WO2015196599A1 (en) * | 2014-06-23 | 2015-12-30 | 中兴通讯股份有限公司 | Traffic control method and apparatus |
CN105517010A (en) * | 2014-09-26 | 2016-04-20 | 中国电信股份有限公司 | Strategy counter state reporting method and system, OCS and PCRF |
WO2016107374A1 (en) * | 2014-12-30 | 2016-07-07 | 华为技术有限公司 | Bandwidth control method, apparatus and system |
WO2016127638A1 (en) * | 2015-02-09 | 2016-08-18 | 中兴通讯股份有限公司 | Method for real-time monitoring of ps domain traffic, and related device |
CN107786765A (en) * | 2016-08-25 | 2018-03-09 | 中兴通讯股份有限公司 | A kind of information interacting method and device |
CN107920337A (en) * | 2016-10-11 | 2018-04-17 | 中国电信股份有限公司 | User class dynamic speed adjustment methods, devices and systems |
CN108076477A (en) * | 2016-11-15 | 2018-05-25 | 中兴通讯股份有限公司 | A kind of data traffic monitoring method, apparatus and system |
CN108293026A (en) * | 2015-12-31 | 2018-07-17 | 柏思科技有限公司 | Method and system for limiting data usage on network devices |
CN109462489A (en) * | 2018-12-27 | 2019-03-12 | 中国移动通信集团江苏有限公司 | A kind of method, device and equipment of synchronizing information |
CN110366122A (en) * | 2018-03-26 | 2019-10-22 | 华为技术有限公司 | A method and device for pricing |
CN112866974A (en) * | 2015-12-31 | 2021-05-28 | 柏思科技有限公司 | Method for sharing data usage on multiple network devices |
CN113781118A (en) * | 2021-09-13 | 2021-12-10 | 微积分创新科技(北京)股份有限公司 | Intelligent operation management system, method and storage medium based on one object and one code |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101296092A (en) * | 2007-04-26 | 2008-10-29 | 华为技术有限公司 | Method, system and device for charging user service data |
CN101378586A (en) * | 2007-08-27 | 2009-03-04 | 华为技术有限公司 | Method, device and system for controlling business data stream policy |
EP2107728A1 (en) * | 2007-06-15 | 2009-10-07 | Huawei Technologies Co., Ltd. | Method, system and entity for implementing policy control |
CN101945368A (en) * | 2009-07-06 | 2011-01-12 | 华为技术有限公司 | Group charging method, charging processor and communication system |
-
2012
- 2012-11-09 CN CN201210447264.2A patent/CN102984768B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101296092A (en) * | 2007-04-26 | 2008-10-29 | 华为技术有限公司 | Method, system and device for charging user service data |
EP2107728A1 (en) * | 2007-06-15 | 2009-10-07 | Huawei Technologies Co., Ltd. | Method, system and entity for implementing policy control |
CN101378586A (en) * | 2007-08-27 | 2009-03-04 | 华为技术有限公司 | Method, device and system for controlling business data stream policy |
CN101945368A (en) * | 2009-07-06 | 2011-01-12 | 华为技术有限公司 | Group charging method, charging processor and communication system |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469726A (en) * | 2013-09-22 | 2015-03-25 | 阿尔卡特朗讯 | Method and equipment for use monitoring of user group |
CN104796876A (en) * | 2014-01-17 | 2015-07-22 | 华为技术有限公司 | OCS (Online Charging System), PCEF (Policy and Charging Enforcement Function), PCRF (Policy and Charging Rules Function) and terminal bandwidth control method |
CN104796876B (en) * | 2014-01-17 | 2018-10-19 | 华为技术有限公司 | OCS, PCEF, PCRF and terminal bandwidth control method |
WO2015196599A1 (en) * | 2014-06-23 | 2015-12-30 | 中兴通讯股份有限公司 | Traffic control method and apparatus |
CN105517010A (en) * | 2014-09-26 | 2016-04-20 | 中国电信股份有限公司 | Strategy counter state reporting method and system, OCS and PCRF |
WO2016107374A1 (en) * | 2014-12-30 | 2016-07-07 | 华为技术有限公司 | Bandwidth control method, apparatus and system |
CN105813046A (en) * | 2014-12-30 | 2016-07-27 | 华为技术有限公司 | Bandwidth control method, device and system |
CN104735605B (en) * | 2015-02-06 | 2018-05-11 | 中国联合网络通信集团有限公司 | The method and system of customer service control |
CN104735605A (en) * | 2015-02-06 | 2015-06-24 | 中国联合网络通信集团有限公司 | User service control method and device |
WO2016127638A1 (en) * | 2015-02-09 | 2016-08-18 | 中兴通讯股份有限公司 | Method for real-time monitoring of ps domain traffic, and related device |
CN105991360A (en) * | 2015-02-09 | 2016-10-05 | 中兴通讯股份有限公司 | Real-time PS domain flow monitoring method and related equipment |
CN112866974B (en) * | 2015-12-31 | 2023-10-13 | 柏思科技有限公司 | How to share data usage across multiple network devices |
CN108293026A (en) * | 2015-12-31 | 2018-07-17 | 柏思科技有限公司 | Method and system for limiting data usage on network devices |
CN112911579A (en) * | 2015-12-31 | 2021-06-04 | 柏思科技有限公司 | Method for sharing data usage on multiple network devices |
CN112911579B (en) * | 2015-12-31 | 2023-09-29 | 柏思科技有限公司 | Method for sharing data usage on multiple network devices |
CN108293026B (en) * | 2015-12-31 | 2021-09-28 | 柏思科技有限公司 | Method and system for limiting data usage on network devices |
CN112866974A (en) * | 2015-12-31 | 2021-05-28 | 柏思科技有限公司 | Method for sharing data usage on multiple network devices |
CN107786765A (en) * | 2016-08-25 | 2018-03-09 | 中兴通讯股份有限公司 | A kind of information interacting method and device |
CN107786765B (en) * | 2016-08-25 | 2020-12-18 | 中兴通讯股份有限公司 | Information interaction method and device |
CN107920337A (en) * | 2016-10-11 | 2018-04-17 | 中国电信股份有限公司 | User class dynamic speed adjustment methods, devices and systems |
CN107920337B (en) * | 2016-10-11 | 2020-11-24 | 中国电信股份有限公司 | User-level dynamic speed regulation method, device and system |
CN108076477A (en) * | 2016-11-15 | 2018-05-25 | 中兴通讯股份有限公司 | A kind of data traffic monitoring method, apparatus and system |
CN108076477B (en) * | 2016-11-15 | 2021-10-29 | 中兴通讯股份有限公司 | Data traffic monitoring method, device and system |
CN110366122B (en) * | 2018-03-26 | 2020-12-15 | 华为技术有限公司 | Appraisal method and device |
CN110366122A (en) * | 2018-03-26 | 2019-10-22 | 华为技术有限公司 | A method and device for pricing |
CN109462489A (en) * | 2018-12-27 | 2019-03-12 | 中国移动通信集团江苏有限公司 | A kind of method, device and equipment of synchronizing information |
CN113781118A (en) * | 2021-09-13 | 2021-12-10 | 微积分创新科技(北京)股份有限公司 | Intelligent operation management system, method and storage medium based on one object and one code |
Also Published As
Publication number | Publication date |
---|---|
CN102984768B (en) | 2016-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102984768B (en) | Method and the device of online user's bandwidth under charging regulation are shared in a kind of real-time adjustment | |
EP2901750B1 (en) | Congestion control for radio access networks (ran) | |
AU2015211419B2 (en) | Device, system and method of traffic detection | |
US8374081B2 (en) | Controlling subscriber usage in a telecommunications network | |
KR101296048B1 (en) | Online charging architecture in lte/epc communication networks | |
JP5606617B2 (en) | Local roaming billing in LTE / EPC networks | |
JP5632977B2 (en) | Temporary restrictions and rollbacks | |
US9495706B2 (en) | Sy based integrated policy and charging control | |
JP2015528244A (en) | Method, system, and computer-readable medium for policy-based local breakout (LBO) | |
RU2481721C2 (en) | Communication system | |
CN104581670B (en) | Application access control method and application function entity device | |
WO2015143851A1 (en) | Usage monitoring method, apparatus and system | |
US20180309584A1 (en) | Data Service Charging Method, Apparutus, and System | |
WO2014094488A1 (en) | Charging policy method and device for roaming local service | |
WO2012071956A1 (en) | Method, system and apparatus for supporting sponsored data connectivity in roaming scenarios | |
CN102711086B (en) | Sponsored Data Connection Processing Method and Policy and Charging Rules Functional Entity | |
CN102791042B (en) | Method and system for establishing S9 subsession and policy and charging rules function (PCRF) | |
US11223492B2 (en) | Wireless communication method and device | |
WO2012041150A1 (en) | Volume usage monitoring method and policy control and charging rules functional entity | |
CN101163102B (en) | A resource admission control method and policy decision-making functional unit | |
CN104378791A (en) | QoS control method, device and system | |
CN102118729A (en) | Offline charging method and device | |
Cai et al. | Online charging in the roaming EPC/LTE network | |
CN103918306A (en) | Roaming session termination triggered by roaming agreement/partner deletion |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |