CN100521720C - Packet prepayment service realization based on flow/time length and service quality - Google Patents
Packet prepayment service realization based on flow/time length and service quality Download PDFInfo
- Publication number
- CN100521720C CN100521720C CNB2004100972476A CN200410097247A CN100521720C CN 100521720 C CN100521720 C CN 100521720C CN B2004100972476 A CNB2004100972476 A CN B2004100972476A CN 200410097247 A CN200410097247 A CN 200410097247A CN 100521720 C CN100521720 C CN 100521720C
- Authority
- CN
- China
- Prior art keywords
- qos
- pps
- duration
- subtype
- quota
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Meter Arrangements (AREA)
Abstract
本发明涉及一种基于流量/时长和业务质量(QoS)的分组预付费业务实现方法,应用于CDMA(码分多址)无线通信网络,包括:在网络中设置支持基于流量/时长和QoS的预付费方式;该方法还包括:A、对移动用户鉴权;B、移动用户与PDSN建立主业务实例,PDSN将协商后确定的QoS等级发送给归属的远端用户拨入鉴权服务/预付费服务器(HOME RADIUS/PPS),HOMERADIUS/PPS根据收到的QoS等级进行计算并分配流量/时长配额和流量/时长门限;C、若QoS等级变化,重新分配流量/时长配额和流量/时长门限。根据本发明方法能够对预付费用户结合QoS进行收费。
The present invention relates to a method for implementing packet prepaid services based on traffic/duration and quality of service (QoS), which is applied to a CDMA (Code Division Multiple Access) wireless communication network, including: setting support based on traffic/duration and QoS in the network Prepaid mode; the method also includes: A, mobile user authentication; B, mobile user and PDSN establish a main service instance, and PDSN sends the QoS level determined after negotiation to the remote user attributable to the dial-in authentication service/prepaid Fee server (HOME RADIUS/PPS), HOMERADIUS/PPS calculates and distributes traffic/time quota and traffic/time threshold according to the received QoS level; C. If the QoS level changes, redistribute traffic/time quota and traffic/time threshold . According to the method of the invention, the prepaid user can be charged in combination with QoS.
Description
技术领域 technical field
本发明涉及CDMA通信网络中的预付费业务,尤指一种基于流量/时长和业务质量(QoS)的分组预付费业务实现方法。The invention relates to a prepaid service in a CDMA communication network, in particular to a method for realizing a packet prepaid service based on flow/duration and quality of service (QoS).
背景技术 Background technique
CDMA系统通过PDSN/HA(分组数据服务节点/归属代理)和HomeRADIUS/PPS(归属的远端用户拨入鉴权服务/预付费服务器)的配合实现了基于流量和基于时长的分组预付费业务。Through the cooperation of PDSN/HA (packet data service node/home agent) and HomeRADIUS/PPS (home remote user dial-in authentication service/prepaid server), the CDMA system realizes traffic-based and duration-based packet prepaid services.
预付费业务:使用该业务的用户在运营商处开户后,预先在指定的帐号存入一定额度的费用。在用户使用业务的过程中,运营商实时从该帐户扣除所使用的费用。例如,目前中国移动的神州行,中国联通的如意通都是通过预付费业务实现。Prepaid service: After the user of this service opens an account with the operator, he deposits a certain amount of fees in the designated account in advance. During the user's use of the service, the operator deducts the used fee from the account in real time. For example, China Mobile's Shenzhouxing and China Unicom's Ruyitong are all implemented through prepaid services.
PPAC(PrePaid Accounting Capability,预付费计费支持情况):RADIUSAccounting(远端用户拨入鉴权服务计费)属性之一,这个属性用以指示PPC(PrePaid Client,预付费客户端)支持的计费方式和PPS(PrePaid Server,预付费服务器)选择的计费方式,取值包括只支持基于流量、只支持基于时长和二者都支持。如果PPC向PPS发送的请求消息中未包含该属性,则该会话不能使用预付费方式进行处理。PPAC (PrePaid Accounting Capability, support for prepaid billing): one of the attributes of RADIUSAccounting (remote user dial-in authentication service billing), which is used to indicate the billing supported by PPC (PrePaid Client, prepaid client) Mode and the billing method selected by PPS (PrePaid Server, prepaid server). If the request message sent by the PPC to the PPS does not include this attribute, the session cannot be processed in the prepaid mode.
PPAQ(PrePaid Accounting Quota,预付费计费配额):RADIUS Accounting属性之一,这个属性用以在分组会话中指示流量或时长信息,包括余额、额度门限等。所有的on-line RADIUS Access-Request(在线RADIUS接入请求)和on-line RADIUS Access-Accept(在线RADIUS接入响应)消息中都应包含这个属性。子属性包括VolumeQuota(流量配额)、VolumeThreshold(流量门限)、DurationQuota(时长配额)、DurationThreshold(时长门限)、Update-Reason(更新原因值)等。PPAQ (PrePaid Accounting Quota, prepaid accounting quota): one of the RADIUS Accounting attributes, this attribute is used to indicate traffic or duration information in a group session, including balance, quota threshold, etc. All on-line RADIUS Access-Request (online RADIUS access request) and on-line RADIUS Access-Accept (online RADIUS access response) messages shall contain this attribute. Sub-attributes include VolumeQuota (traffic quota), VolumeThreshold (traffic threshold), DurationQuota (duration quota), DurationThreshold (duration threshold), Update-Reason (update reason value), etc.
以PDSN(Packet Data Serving Node,分组数据服务节点)作为PPC为例,CDMA系统基于流量分组预付费的基本流程如下:Taking PDSN (Packet Data Serving Node, Packet Data Serving Node) as an example of PPC, the basic flow of CDMA system based on traffic packet prepayment is as follows:
参见图1,对于需要与HOME RADIUS(归属RADIUS,RemoteAuthentication Dial in User Service,远端用户拨入鉴权服务)进行认证的SIMPLE IP(简单IP协议,即固定网络中的IP协议)或MIP(移动IP)建立过程,支持PPC的PDSN在发往Home RADIUS的RADIUS Access-Request(RADIUS服务器接入请求)消息中加入PPAC属性,以表明自己支持基于流量的预付费业务。HOME RADIUS/PPS对用户进行认证后,检查用户是否为预付费用户,并检查PDSN发来的PPAC属性。如果用户是预付费用户且有足够的余额可用,HOME RADIUS/PPS返回RADIUS Access-Accept(RADIUS服务器接入响应)消息,其中包括PPAC和PPAQ,在PPAQ中给出了the initializedVolumeQuota(初始流量配额),Quota ID(配额标识)和VolumeThreshold,在PPAC属性中指示其选择的计费类型是基于流量计费。Referring to Figure 1, for SIMPLE IP (simple IP protocol, IP protocol in fixed network) or MIP (mobile IP) establishment process, the PDSN that supports PPC adds PPAC attributes to the RADIUS Access-Request (RADIUS server access request) message sent to Home RADIUS to indicate that it supports traffic-based prepaid services. After HOME RADIUS/PPS authenticates the user, it checks whether the user is a prepaid user, and checks the PPAC attribute sent by the PDSN. If the user is a prepaid user and has enough balance available, HOME RADIUS/PPS returns a RADIUS Access-Accept (RADIUS server access response) message, which includes PPAC and PPAQ, and the initializedVolumeQuota (initial traffic quota) is given in PPAQ , Quota ID (quota identification) and VolumeThreshold, in the PPAC attribute, indicate that the selected charging type is flow-based charging.
在业务使用过程中,PDSN作为PPC通过On-line RADIUS Access-Request消息与HOME RADIUS/PPS进行通信,HOME RADIUS/PPS回应以On-lineRADIUS Access-Accept消息。During business use, PDSN acts as a PPC to communicate with HOME RADIUS/PPS through On-line RADIUS Access-Request message, and HOME RADIUS/PPS responds with On-line RADIUS Access-Accept message.
具体的流量使用过程如图2所示,图中开始时VQ(VolumeQuota,流量配额)=50,VT(VolumeThreshold,流量门限)=40,每当用户使用量达到40,PDSN就发送On-line RADIUS Access-Request消息指示已经达到门限值,HOME RADIUS/PPS根据用户余额进行再次分配。当PDSN检查到用户流量已经达到门限值且VQ=VT,则发送On-line RADIUS Access-Request消息,在PPAQ中指示VQ=150,Update-Reason设为4(即Quota Reached(配额全部用完)),并释放对应的业务实例(Service Instance)。PPS发送Accept消息确认。The specific traffic usage process is shown in Figure 2. At the beginning of the figure, VQ (VolumeQuota, traffic quota) = 50, VT (VolumeThreshold, traffic threshold) = 40. Whenever the user usage reaches 40, PDSN will send On-line RADIUS The Access-Request message indicates that the threshold has been reached, and the HOME RADIUS/PPS redistributes according to the user balance. When the PDSN checks that the user traffic has reached the threshold and VQ=VT, it sends an On-line RADIUS Access-Request message, indicates VQ=150 in the PPAQ, and Update-Reason is set to 4 (that is, Quota Reached (the quota is all used up) )), and release the corresponding service instance (Service Instance). The PPS sends an Accept message for confirmation.
在目前CDMA系统中,分组预付费只考虑了基于流量和基于时长计费两种方式,还没有考虑基于QoS的收费方式,即关注用户使用业务过程中的质量,例如话音业务中声音质量、时延和数据业务中速率、时延、吞吐量等。例如用户在用手机打电话时,如果出现掉话或信号质量太差而无法通话或网络设备宕机,由此造成了用户无法使用运营商提供的语音业务,但是运营商并不会因此给用户收费上的减免。In the current CDMA system, packet prepayment only considers two charging methods based on traffic and duration, and has not considered the charging method based on QoS, that is, paying attention to the quality of users in the process of using services, such as voice quality in voice services, time Delay and data service rate, delay, throughput, etc. For example, when a user makes a call with a mobile phone, if the call is dropped or the signal quality is too poor to make the call or the network equipment is down, the user cannot use the voice service provided by the operator, but the operator will not give the user Waiver of fees.
发明内容 Contents of the invention
本发明提供一种在CDMA系统中实现基于流量/时长和业务质量(QoS)的分组预付费实现方法。The invention provides a method for implementing packet prepayment based on traffic/duration and service quality (QoS) in a CDMA system.
本发明提供的一种基于流量和业务质量QoS的分组预付费业务实现方法,应用于CDMA无线通信网络,包括:在网络中设置支持基于流量和QoS的预付费方式;该方法还包括下列步骤:A method for implementing packet prepaid services based on traffic and quality of service QoS provided by the present invention is applied to a CDMA wireless communication network, including: setting a prepaid mode that supports traffic and QoS in the network; the method also includes the following steps:
A、对移动用户鉴权;A. Authenticate mobile users;
B、移动用户与分组数据服务节点PDSN建立主业务实例,PDSN将协商后确定的QoS等级发送给归属的远端用户拨入鉴权服务/预付费服务器HOMERADIUS/PPS,HOME RADIUS/PPS根据收到的QoS等级进行计算并分配流量配额和流量门限;B. The mobile user establishes a main service instance with the packet data service node PDSN, and the PDSN sends the QoS level determined after negotiation to the belonging remote user dial-in authentication service/prepaid server HOMERADIUS/PPS, and the HOME RADIUS/PPS receives the Calculate and allocate traffic quotas and traffic thresholds according to the QoS level;
C、若QoS等级发生变化,PDSN将变化后的QoS等级发送给HOMERADIUS/PPS,HOME RADIUS/PPS根据变化后的QoS等级、变化前的流量配额和QoS等级变化前已使用的流量重新分配流量配额和流量门限。C. If the QoS level changes, the PDSN will send the changed QoS level to HOMERADIUS/PPS, and the HOME RADIUS/PPS will redistribute the traffic quota according to the changed QoS level, the traffic quota before the change and the used traffic before the QoS level change and traffic thresholds.
根据本发明的上述方法,所述设置支持基于流量和QoS的预付费方式,包括:According to the above method of the present invention, the setting supports a prepaid method based on traffic and QoS, including:
在预付费计费的预付费计费支持情况PPAC属性的子类型预付费服务客户端能够支持的能力AvailableInClient和本次会话选择的预付费方式SelectedforSession中同时增加取值,用来表示用户支持基于流量和QoS预付费方式以及HOMERADIUS/PPS选择了该预付费方式;In the prepaid charging support of prepaid charging, the subtype of the PPAC attribute, the capability AvailableInClient that the prepaid service client can support, and the prepaid method SelectedforSession selected for this session are added at the same time to indicate that the user supports traffic-based And QoS prepayment method and HOMERADIUS/PPS choose this prepayment method;
在子类型更新原因值Update-Reason中增加取值QoS等级变化QoSChanged;Add the value QoS level change QoSChanged in the subtype update reason value Update-Reason;
增加子类型QoS级别QoS Class,用来表示变化后的QoS等级;Add the subtype QoS level QoS Class to indicate the changed QoS level;
增加子类型QoS等级变化之前所使用的流量VolumeUsedBeforeQoSChanged,用来表示在QoS等级变化之前所使用的流量。Add the subtype VolumeUsedBeforeQoSChanged to indicate the traffic used before the QoS level changes.
根据本发明的上述方法,所述步骤A包括:According to the above method of the present invention, said step A comprises:
A1:PDSN在发往HOME RADIUS/PPS的RADIUS服务器接入请求RADIUS Access-Request消息中加入PPAC属性,以指示支持基于流量和QoS的预付费方式;A1: PDSN adds the PPAC attribute to the RADIUS server access request RADIUS Access-Request message sent to HOME RADIUS/PPS to indicate that it supports the prepaid method based on traffic and QoS;
A2:HOME RADIUS/PPS根据PDSN发来的PPAC属性及签约信息,检查用户是否签约了基于流量和QoS的预付费业务,并判断该用户的预付费账户上是否有足够的余额;若是,HOME RADIUS/PPS返回RADIUS服务器接入响应RADIUS Access-Accept消息,其中包括PPAC和预付费配额PPAQ属性,在PPAQ中分配子类型流量配额VolumeQuota=0,流量门限VolumeThreshold=0以及配额标识Quota ID,在PPAC属性的子类型SelectedforSession中指示其选择的预付费类型是基于流量和QoS预付费方式。A2: HOME RADIUS/PPS checks whether the user has signed a prepaid service based on traffic and QoS according to the PPAC attributes and signing information sent by the PDSN, and judges whether the user's prepaid account has sufficient balance; if so, HOME RADIUS /PPS returns the RADIUS server access response RADIUS Access-Accept message, including PPAC and prepaid quota PPAQ attributes, in PPAQ assigning subtype traffic quota VolumeQuota=0, traffic threshold VolumeThreshold=0 and quota identification Quota ID, in PPAC attributes The subtype of SelectedforSession indicates that the selected prepayment type is based on traffic and QoS prepayment.
根据本发明的上述方法,所述步骤B包括:According to the above method of the present invention, said step B comprises:
B1:PDSN向HOME RADIUS/PPS发送在线RADIUS接入请求On-lineRADIUS Access-Request消息,其中包含PPAQ,子类型Update-Reason取值为QoS Changed,子类型QoS Class取值为协商后的QoS等级,VolumeQuota=0以指示此消息用于第一次确定QoS等级;B1: PDSN sends an online RADIUS access request On-lineRADIUS Access-Request message to HOME RADIUS/PPS, which contains PPAQ, the value of subtype Update-Reason is QoS Changed, and the value of subtype QoS Class is the negotiated QoS level. VolumeQuota=0 to indicate that this message is used to determine the QoS level for the first time;
B2:HOME RADIUS/PPS根据收到的QoS等级和业务开通时的QoS业务费率表进行计算,并在在线RADIUS接入响应On-line RADIUS Access-Accept消息中包含PPAQ属性,在PPAQ中给出计算后分配的VolumeQuota,Quota ID和VolumeThreshold。B2: HOME RADIUS/PPS calculates according to the received QoS level and the QoS service rate table when the service is opened, and includes the PPAQ attribute in the online RADIUS access response On-line RADIUS Access-Accept message, which is given in the PPAQ VolumeQuota, Quota ID and VolumeThreshold allocated after calculation.
根据本发明的上述方法,所述步骤C包括:According to the above method of the present invention, said step C comprises:
C1:PDSN向HOMERADIUS/PPS发送On-line RADIUS Access-Request消息,其中包含PPAQ,子类型Update-Reason取值为QoS Changed,子类型QoS Class取值为变化后的QoS等级,子类型VolumeQuota=上次分配的流量配额,子类型VolumeUsedBeforeQoSChanged=QoS等级变化前已使用的流量;C1: PDSN sends an On-line RADIUS Access-Request message to HOMERADIUS/PPS, which includes PPAQ, the value of the subtype Update-Reason is QoS Changed, the value of the subtype QoS Class is the changed QoS level, and the subtype VolumeQuota=Up Secondary allocated traffic quota, subtype VolumeUsedBeforeQoSChanged = used traffic before QoS level change;
C2:HOME RADISU/PPS根据变化后的QoS Class、VolumeQuota、VolumeUsedBeforeQoSChanged重新计算分配配额,并向PDSN返回On-lineRADIUS Access-Accept消息,其中包含PPAQ,并用PPAQ子类型VolumeQuota和VolumeThreshold指示流量配额和流量门限。C2: HOME RADISU/PPS recalculates the allocation quota according to the changed QoS Class, VolumeQuota, and VolumeUsedBeforeQoSChanged, and returns an On-lineRADIUS Access-Accept message to the PDSN, which contains PPAQ, and uses PPAQ subtypes VolumeQuota and VolumeThreshold to indicate the traffic quota and traffic threshold .
根据本发明的上述方法,QoS等级变化后的配额计算方法包括:According to the above method of the present invention, the quota calculation method after the QoS grade changes includes:
HOME RADISU/PPS首先从用户帐号余额中减去QoS等级变化前已使用的流量所对应的费用;HOME RADISU/PPS first subtracts the fee corresponding to the traffic used before the QoS level change from the user account balance;
再根据变化后的QoS等级、基于QoS等级与流量业务的费率表和用户帐号余额,计算出当前用户总共能够使用的流量;Then according to the changed QoS level, the rate table based on the QoS level and traffic service, and the balance of the user account, calculate the total traffic that the current user can use;
按照流量分配与门限控制原则在PPAQ中返回VolumeQuota和VolumeThreshold指示流量配额和流量门限。Return VolumeQuota and VolumeThreshold to indicate traffic quota and traffic threshold in PPAQ according to the principle of traffic allocation and threshold control.
本发明另提供一种基于时长和业务质量QoS的分组预付费业务实现方法,应用于码分多址CDMA无线通信网络,包括:在网络中设置支持基于时长和QoS的预付费方式;该方法还包括下列步骤:The present invention also provides a method for realizing packet prepaid services based on duration and quality of service QoS, which is applied to a code division multiple access CDMA wireless communication network, including: setting in the network to support a prepayment method based on duration and QoS; the method also Include the following steps:
a、对移动用户鉴权;a. Authenticate mobile users;
b、移动用户与分组数据服务节点PDSN建立主业务实例,PDSN将协商后确定的QoS等级发送给归属的远端用户拨入鉴权服务/预付费服务器HOMERADIUS/PPS,HOME RADIUS/PPS根据收到的QoS等级进行计算并分配时长配额和时长门限;b. The mobile user establishes a main service instance with the packet data service node PDSN, and the PDSN sends the QoS level determined after negotiation to the remote user dial-in authentication service/prepaid server HOMERADIUS/PPS, and the HOME RADIUS/PPS receives the Calculate the QoS level and allocate time quotas and time thresholds;
c、若QoS等级发生变化,PDSN将变化后的QoS等级发送给HOMERADIUS/PPS,HOME RADIUS/PPS根据变化后的QoS等级、变化前的时长配额和QoS等级变化前已使用的时长重新分配时长配额和时长门限。c. If the QoS level changes, the PDSN will send the changed QoS level to HOMERADIUS/PPS, and the HOME RADIUS/PPS will redistribute the time length quota according to the changed QoS level, the time quota before the change and the time used before the QoS level change and duration thresholds.
根据本发明的上述方法,所述设置支持基于时长和QoS的预付费方式,包括:According to the above method of the present invention, the setting supports a prepaid method based on duration and QoS, including:
在预付费计费的预付费计费支持情况PPAC属性的子类型预付费服务客户端能够支持的能力AvailableInClient和本次会话选择的预付费方式SelectedforSession中同时增加取值,用来表示用户支持基于时长和QoS预付费方式以及HOME RADIUS/PPS选择了该预付费方式;In the prepaid charging support situation of prepaid charging, the subtype of the PPAC attribute, the capability AvailableInClient that the prepaid service client can support, and the prepaid method SelectedforSession selected for this session are added at the same time to indicate that the user supports time-based And QoS prepayment method and HOME RADIUS/PPS choose this prepayment method;
在子类型更新原因值Update-Reason中增加取值QoS等级变化QoSChanged;Add the value QoS level change QoSChanged in the subtype update reason value Update-Reason;
增加子类型QoS级别QoS Class,用来表示变化后的QoS等级;Add the subtype QoS level QoS Class to indicate the changed QoS level;
增加子类型QoS等级变化之前所使用的时长TimeUsedBeforeQoSChanged,用来表示在QoS等级变化之前所使用的时长。Add TimeUsedBeforeQoSChanged to indicate the time used before the QoS level changes.
根据本发明的上述方法,所述步骤a包括:According to the above method of the present invention, said step a comprises:
a1:PDSN在发往HOME RADIUS/PPS的RADIUS服务器接入请求RADIUS Access-Request消息中加入PPAC属性,以指示支持基于时长和QoS的预付费方式;a1: The PDSN adds the PPAC attribute to the RADIUS Access-Request message sent to the HOME RADIUS/PPS RADIUS server to indicate that it supports the prepayment method based on duration and QoS;
a2:HOME RADIUS/PPS根据PDSN发来的PPAC属性及签约信息,检查用户是否签约了基于时长和QoS的预付费业务,并判断该用户的预付费账户上是否有足够的余额;若是,HOME RADIUS/PPS返回RADIUS服务器接入响应RADIUS Access-Accept消息,其中包括PPAC和预付费配额PPAQ属性,在PPAQ中分配子类型时长配额DurationQuota=0,时长门限DurationThreshold=0以及配额标识Quota ID,在PPAC属性的子类型SelectedforSession中指示其选择的预付费类型是基于时长和QoS预付费方式。a2: HOME RADIUS/PPS checks whether the user has signed a prepaid service based on duration and QoS according to the PPAC attributes and signing information sent by the PDSN, and judges whether the user's prepaid account has sufficient balance; if so, HOME RADIUS /PPS returns the RADIUS server access response RADIUS Access-Accept message, which includes PPAC and prepaid quota PPAQ attributes, assign subtype duration quota DurationQuota=0 in PPAQ, duration threshold DurationThreshold=0 and quota identification Quota ID, in PPAC attributes The subtype of SelectedforSession indicates that the selected prepayment type is based on duration and QoS prepayment.
根据本发明的上述方法,所述步骤b包括:According to the above method of the present invention, said step b comprises:
b1:PDSN向HOME RADIUS/PPS发送在线RADIUS接入请求On-lineRADIUS Access-Request消息,其中包含PPAQ,子类型Update-Reason取值为QoS Changed,子类型QoS Class取值为协商后的QoS等级,DurationQuota=0以指示此消息用于第一次确定QoS等级;b1: PDSN sends an online RADIUS access request On-lineRADIUS Access-Request message to HOME RADIUS/PPS, which contains PPAQ, the value of subtype Update-Reason is QoS Changed, and the value of subtype QoS Class is the negotiated QoS level. DurationQuota=0 to indicate that this message is used to determine the QoS level for the first time;
b2:HOME RADIUS/PPS根据收到的QoS等级和业务开通时的QoS业务费率表进行计算,并在在线RADIUS接入响应On-line RADIUS Access-Accept消息中包含PPAQ属性,在PPAQ中给出计算后分配的DurationQuota,Quota ID和DurationThreshold。b2: HOME RADIUS/PPS calculates according to the received QoS level and the QoS service rate table when the service is opened, and includes the PPAQ attribute in the online RADIUS access response On-line RADIUS Access-Accept message, which is given in the PPAQ DurationQuota, Quota ID and DurationThreshold assigned after calculation.
根据本发明的上述方法,所述步骤c包括:According to the above method of the present invention, said step c comprises:
c1:PDSN向HOME RADIUS/PPS发送On-line RADIUS Access-Request消息,其中包含PPAQ,子类型Update-Reason取值为QoS Changed,子类型QoS Class取值为变化后的QoS等级,子类型DurationQuota=上次分配的时长配额,子类型TimeUsedBeforeQoSChanged=QoS等级变化前已使用的时长;c1: PDSN sends an On-line RADIUS Access-Request message to HOME RADIUS/PPS, which includes PPAQ, the value of the subtype Update-Reason is QoS Changed, the value of the subtype QoS Class is the changed QoS level, and the subtype DurationQuota= The time quota allocated last time, the subtype TimeUsedBeforeQoSChanged=the time used before the QoS level changed;
c2:HOME RADISU/PPS根据变化后的QoS Class、DurationQuota、TimeUsedBeforeQoSChanged重新计算分配配额,并向PDSN返回On-lineRADIUS Access-Accept消息,其中包含PPAQ,并用PPAQ子类型DurationQuota和DurationThreshold指示时长配额和时长门限。c2: HOME RADISU/PPS recalculates the allocation quota according to the changed QoS Class, DurationQuota, and TimeUsedBeforeQoSChanged, and returns an On-lineRADIUS Access-Accept message to the PDSN, which contains PPAQ, and uses the PPAQ subtypes DurationQuota and DurationThreshold to indicate the duration quota and duration threshold .
根据本发明的上述方法,QoS等级变化后的配额计算方法包括:According to the above method of the present invention, the quota calculation method after the QoS grade changes includes:
HOME RADISU/PPS首先从用户帐号余额中减去QoS等级变化前已使用的时长所对应的费用;HOME RADISU/PPS first subtracts the fee corresponding to the time spent before the QoS level changes from the user account balance;
再根据变化后的QoS等级、基于QoS等级与时长业务的费率表和用户帐号余额,计算出当前用户总共能够使用的时长;Then according to the changed QoS level, the rate table based on the QoS level and duration service and the balance of the user account, calculate the total usage time of the current user;
按照时长分配与门限控制原则在PPAQ中返回DurationQuota和DurationThreshold指示时长配额和时长门限。According to the principle of duration allocation and threshold control, DurationQuota and DurationThreshold are returned in PPAQ to indicate the duration quota and duration threshold.
采用本发明方法能够对预付费用户结合QoS等级进行收费。By adopting the method of the invention, the prepaid user can be charged in combination with the QoS level.
附图说明 Description of drawings
图1为预付费鉴权过程示意图;Fig. 1 is a schematic diagram of the prepaid authentication process;
图2为流量使用过程示意图;Figure 2 is a schematic diagram of the traffic usage process;
图3为本发明基于流量和QoS预付费业务流程图;Fig. 3 is a flow chart of the present invention based on traffic and QoS prepaid service;
图4为本发明基于时长和QoS预付费业务流程图。Fig. 4 is a flow chart of the prepaid service based on duration and QoS in the present invention.
具体实施方式 Detailed ways
本发明在3GPP2现有基于流量、基于时长的标准基础上做如下调整:The present invention makes the following adjustments on the basis of the existing traffic-based and time-based standards of 3GPP2:
1、在PPAC VSA的子类型AvailableInClient(预付费服务客户端能够支持的能力)和SelectedforSession(本次会话选择的预付费方式)中同时增加取值,用来表示PPC是否支持基于QoS预付费,PPS是否选择了基于QoS预付费方式;1. Add values to the subtype AvailableInClient (capability supported by the prepaid service client) and SelectedforSession (the prepaid method selected for this session) of the PPAC VSA at the same time to indicate whether PPC supports QoS-based prepaid, PPS Whether the QoS-based prepayment method is selected;
AvailableInClient增加后取值如下:After the increase of AvailableInClient, the values are as follows:
0x00000001 支持基于流量的预付费方式;0x00000001 Support traffic-based prepayment;
0x00000010 支持基于时长的预付费方式;0x00000010 Support time-based prepayment;
0x00000011 支持基于流量和基于时长的预付费方式;0x00000011 Support traffic-based and time-based prepaid methods;
0x00000101 支持基于流量和基于QoS的预付费方式;0x00000101 Support traffic-based and QoS-based prepaid methods;
0x00000110 支持基于时长和基于QoS的预付费方式;0x00000110 Support time-based and QoS-based prepaid methods;
0x00000111 支持基于流量和基于QoS的预付费方式,也支持基于时长和基于QoS的预付费方式。0x00000111 Support traffic-based and QoS-based prepayment methods, and also support duration-based and QoS-based prepayment methods.
SelectedforSession增加后取值如下:After the SelectedforSession is added, the value is as follows:
0x00000001 选择基于流量的预付费方式;0x00000001 Select the traffic-based prepaid method;
0x00000010 选择基于时长的预付费方式;0x00000010 Select the time-based prepayment method;
0x00000011 选择基于流量和基于时长的预付费方式;0x00000011 Select the traffic-based and time-based prepayment method;
0x00000101 选择基于流量和基于QoS的预付费方式;0x00000101 Select traffic-based and QoS-based prepaid methods;
0x00000110 选择基于时长和基于QoS的预付费方式。0x00000110 Select the time-based and QoS-based prepayment methods.
2、在PPAQ VSA中:2. In PPAQ VSA:
(1)子类型Update-Reason中增加取值QoS Changed(QoS等级变化),在QoS等级发生变化时用于通知PPS;(1) The value QoS Changed (QoS level change) is added to the subtype Update-Reason, which is used to notify the PPS when the QoS level changes;
(2)增加子类型QoS Class(QoS等级),用来表示变化后的QoS等级;(2) Add the subtype QoS Class (QoS class), which is used to indicate the changed QoS class;
(3)增加子类型VolumeUsedBeforeQoSChanged,用来表示在QoS等级变化之前所使用的流量,用于基于流量的业务;(3) Add the subtype VolumeUsedBeforeQoSChanged, which is used to indicate the traffic used before the QoS level changes, and is used for traffic-based services;
(4)增加子类型TimeUsedBeforeQoSChanged,用来表示在QoS等级变化之前所使用的时长,用于基于时长的业务。(4) Add the subtype TimeUsedBeforeQoSChanged, which is used to indicate the time used before the QoS level changes, and is used for time-based services.
下面分别对基于流量和QoS的分组预付费流程以及基于时长和QoS的分组预付费流程加以描述。The packet prepayment process based on traffic and QoS and the packet prepayment process based on duration and QoS are described below.
一、基于流量和QoS的分组预付费流程1. Packet prepayment process based on traffic and QoS
前提:PDSN支持基于流量和基于QoS的预付费方式。Premise: PDSN supports traffic-based and QoS-based prepaid methods.
参见图3,本发明基于流量和QoS的分组预付费业务流程如下:Referring to Fig. 3, the present invention is based on flow and QoS packet prepaid service flow as follows:
1、业务发起阶段1. Business initiation stage
对于需要与HomeRADIUS(用户归属的远端用户拨入鉴权服务)进行认证的SIMPLE IP或MIP建立过程,支持PPC的PDSN在发往Home RADIUS/PPS的RADIUS Access-Request消息中加入PPAC属性,以指示支持基于流量和基于QoS的预付费方式。HOME RADIUS/PPS对移动终端进行认证后,检查用户是否为预付费用户和是否签约了QoS业务,并检查PDSN发来的PPAC属性。如果用户是预付费用户且签约了QoS业务,同时有足够的余额可用,HOMERADIUS/PPS返回RADIUS Accept-Accept消息,其中包括PPAC、PPAQ,在PPAQ中给出了VolumeQuota(此处取值为0),Quota ID和VolumeThreshold(此处取值为0),在PPAC属性的子类型SelectedforSession中指示其选择的预付费类型是基于流量和基于QoS预付费方式。For the establishment process of SIMPLE IP or MIP that needs to be authenticated with HomeRADIUS (remote user dial-in authentication service to which the user belongs), the PDSN that supports PPC adds the PPAC attribute to the RADIUS Access-Request message sent to Home RADIUS/PPS to Indicates that traffic-based and QoS-based prepaid methods are supported. After HOME RADIUS/PPS authenticates the mobile terminal, it checks whether the user is a prepaid user and signs up for the QoS service, and checks the PPAC attribute sent by the PDSN. If the user is a prepaid user and has signed a QoS service, and there is enough balance available, HOMERADIUS/PPS returns a RADIUS Accept-Accept message, including PPAC and PPAQ, and VolumeQuota is given in PPAQ (the value here is 0) , Quota ID and VolumeThreshold (the value here is 0), in the subtype SelectedforSession of the PPAC attribute, it indicates that the prepaid type selected is traffic-based and QoS-based prepaid.
移动终端与PDSN建立主业务实例(main service instance)后,进行QoS等级协商,协商后PDSN保留确定的QoS等级,并向PPS发送On-line RADIUSAccess-Request消息,其中包含PPAQ,子类型Update-Reason取值为QoSChanged,子类型QoS Class取值为协商后的QoS等级,VolumeQuota=0以指示此消息用于第一次确定QoS等级。HOME RADIUS/PPS根据收到的QoS等级和业务开通时的QoS业务费率表进行计算,并在On-line RADIUSAccess-Accept消息中包含PPAQ属性,在PPAQ中给出了根据QoS等级计算后分配的在此QoS等级下的VolumeQuota,Quota ID和VolumeThreshold。After the mobile terminal establishes the main service instance (main service instance) with the PDSN, the QoS level negotiation is carried out. After the negotiation, the PDSN reserves the determined QoS level and sends an On-line RADIUSAccess-Request message to the PPS, which includes PPAQ and subtype Update-Reason The value is QoSChanged, the value of the subtype QoS Class is the negotiated QoS level, and VolumeQuota=0 indicates that this message is used to determine the QoS level for the first time. HOME RADIUS/PPS calculates according to the received QoS level and the QoS service rate table when the service is opened, and includes the PPAQ attribute in the On-line RADIUSAccess-Accept message, and the PPAQ gives the distribution after calculation based on the QoS level VolumeQuota, Quota ID and VolumeThreshold under this QoS class.
2、业务使用阶段2. Business use stage
在QoS没有变化的情况下,流程与现有标准中的流程保持一致。在QoS发生变化后,PDSN作为PPC向HOME RADIUS/PPS发送On-line RADIUSAccess-Request消息,其中包含PPAQ,子类型Update-Reason取值为QoSChanged,子类型QoS Class取值为变化后的QoS等级,子类型VolumeQuota=上次分配的流量配额,子类型VolumeUsedBeforeQoSChanged=QoS等级变化前已使用的流量。HOME RADISU/PPS根据变化后的QoS Class、VolumeQuota、VolumeUsedBeforeQoSChanged重新分配配额,并向PDSN返回On-line RADIUSAccess-Accept消息,其中包含PPAQ,并用PPAQ子类型VolumeQuota和VolumeThreshold指示流量配额和流量门限。QoS等级变化后配额计算过程为:Home RADIUS首先从用户帐号余额中减去QoS等级变化之前已使用的流量(VolumeUsedBeforeQoSChanged)所对应的费用,然后再根据变化后的QoS等级、基于QoS等级与流量业务的费率表和用户帐号余额,计算出当前用户总共能够使用多少流量,然后按照流量分配与门限控制原则在PPAQ中返回VolumeQuota和VolumeThreshold指示流量配额和流量门限。In the case of no change in QoS, the process is consistent with that in the existing standard. After the QoS changes, the PDSN, as a PPC, sends an On-line RADIUSAccess-Request message to the HOME RADIUS/PPS, which contains PPAQ, the value of the subtype Update-Reason is QoSChanged, and the value of the subtype QoS Class is the changed QoS level. Subtype VolumeQuota = traffic quota allocated last time, subtype VolumeUsedBeforeQoSChanged = traffic used before QoS level changed. HOME RADISU/PPS redistributes quotas according to the changed QoS Class, VolumeQuota, and VolumeUsedBeforeQoSChanged, and returns an On-line RADIUSAccess-Accept message to PDSN, which contains PPAQ, and uses PPAQ subtypes VolumeQuota and VolumeThreshold to indicate traffic quotas and traffic thresholds. The quota calculation process after the QoS level change is as follows: Home RADIUS first subtracts the fee corresponding to the used traffic (VolumeUsedBeforeQoSChanged) before the QoS level change from the user account balance, and then according to the changed QoS level, based on the QoS level and traffic service According to the rate table and user account balance, calculate how much traffic the current user can use in total, and then return VolumeQuota and VolumeThreshold in PPAQ to indicate the traffic quota and traffic threshold according to the principle of traffic allocation and threshold control.
3、业务终止3. Termination of business
业务终止流程与标准中现有流程保持一致。The business termination process is consistent with the existing process in the standard.
二、基于时长和QoS的分组预付费流程2. Packet prepayment process based on duration and QoS
前提:PDSN支持基于时长和基于QoS的预付费方式。Premise: PDSN supports duration-based and QoS-based prepayment methods.
参见图4,本发明基于时长和QoS的分组预付费业务流程如下:Referring to Fig. 4, the present invention is based on duration and QoS packet prepaid service flow as follows:
1、业务发起阶段1. Business initiation stage
对于需要与Home RADIUS进行认证的SIMPLE IP或MIP建立过程,支持PPC的PDSN在发往Home RADIUS/PPS的RADIUS Access-Request消息中加入PPAC VSA属性,以指示支持基于时长和基于QoS的预付费方式。HOMERADIUS/PPS对移动终端进行认证后,检查用户是否为预付费用户和是否签约了QoS业务,并检查PDSN发来的PPAC属性。如果用户是预付费用户且签约了QoS业务,同时有足够的余额可用,HOME RADIUS/PPS返回RADIUSAccept-Accept消息,其中包括PPAC、PPAQ,在PPAQ中给出了DurationQuota(此处取值为0),Quota ID(配额ID)和DurationThreshold(此处取值为0),在PPAC属性的子类型SelectedforSession中指示其选择的预付费类型是基于时长和基于QoS预付费方式。For the establishment process of SIMPLE IP or MIP that needs to be authenticated with Home RADIUS, the PDSN that supports PPC adds the PPAC VSA attribute to the RADIUS Access-Request message sent to Home RADIUS/PPS to indicate that it supports time-based and QoS-based prepaid methods . After HOMERADIUS/PPS authenticates the mobile terminal, it checks whether the user is a prepaid user and signs up for the QoS service, and checks the PPAC attribute sent by the PDSN. If the user is a prepaid user and has signed a QoS service, and there is enough balance available, HOME RADIUS/PPS returns a RADIUSAccept-Accept message, including PPAC and PPAQ, and DurationQuota is given in PPAQ (the value here is 0) , Quota ID (quota ID) and DurationThreshold (the value here is 0), in the subtype SelectedforSession of the PPAC attribute, it indicates that the selected prepayment type is based on duration and QoS prepayment.
移动终端与PDSN建立主业务实例后,进行QoS等级协商,协商后PDSN保留确定的QoS等级,并向PPS发送On-line RADIUS Access-Request消息,其中包含PPAQ,子类型Update-Reason取值为QoS Changed,子类型QoS Class取值为协商后的QoS等级,DurationQuota=0以指示此消息用于第一次确定QoS等级。HOME RADIUS/PPS根据收到的QoS等级、业务开通时的QoS业务费率表和用户帐号当前余额进行计算,并在On-line RADIUS Access-Accept消息中包含PPAQ属性,在PPAQ中给出了根据QoS等级计算后分配的在此QoS等级下的DurationQuota,Quota ID和DurationThreshold。After the mobile terminal establishes a main service instance with the PDSN, the QoS level negotiation is carried out. After the negotiation, the PDSN reserves the determined QoS level and sends an On-line RADIUS Access-Request message to the PPS, which contains PPAQ, and the subtype Update-Reason value is QoS Changed, the value of the subtype QoS Class is the negotiated QoS class, and DurationQuota=0 to indicate that this message is used to determine the QoS class for the first time. HOME RADIUS/PPS is calculated based on the received QoS level, the QoS service rate table at the time of service opening and the current balance of the user account, and includes the PPAQ attribute in the On-line RADIUS Access-Accept message, and the basis is given in the PPAQ DurationQuota, Quota ID and DurationThreshold assigned under this QoS level after the QoS level is calculated.
2、业务使用阶段2. Business use stage
在QoS没有变化的情况下,流程与现有标准中的流程保持一致。在QoS发生变化后,PDSN作为PPC向HOME RADIUS/PPS发送On-line RADIUSAccess-Request消息,其中包含PPAQ,子类型Update-Reason取值为QoSChanged,子类型QoS Class取值为变化后的QoS等级,子类型DurationQuota=上次分配的时长配额,子类型TimeUsedBeforeQoSChanged=QoS等级变化前已使用的时长。HOME RADISU/PPS根据变化后的QoS Class、DurationQuota、TimeUsedBeforeQoSChanged重新分配配额,并向PDSN返回On-line RADIUSAccess-Accept消息,其中包含PPAQ,并用PPAQ子类型DurationQuota和DurationThreshold指示流量配额和流量门限。QoS等级变化后配额计算过程为:Home RADIUS首先从用户帐号余额中减去QoS等级变化前已使用的时长(TimeUsedBeforeQoSChanged)所对应的费用,然后再根据变化后的QoS等级、基于QoS等级与时长业务的费率表和用户帐号余额,计算出当前用户总共能够使用多少时间,然后按照时长分配与门限控制原则在PPAQ中返回DurationQuota和DurationThreshold指示时长配额和时长门限。In the case of no change in QoS, the process is consistent with that in the existing standard. After the QoS changes, the PDSN, as a PPC, sends an On-line RADIUSAccess-Request message to the HOME RADIUS/PPS, which contains PPAQ, the value of the subtype Update-Reason is QoSChanged, and the value of the subtype QoS Class is the changed QoS level. Subtype DurationQuota = last allocated duration quota, subtype TimeUsedBeforeQoSChanged = used duration before QoS level changed. HOME RADISU/PPS redistributes quotas according to the changed QoS Class, DurationQuota, and TimeUsedBeforeQoSChanged, and returns an On-line RADIUSAccess-Accept message to PDSN, which contains PPAQ, and uses PPAQ subtypes DurationQuota and DurationThreshold to indicate traffic quotas and traffic thresholds. The quota calculation process after the QoS level changes is: Home RADIUS first subtracts the fee corresponding to the time used before the QoS level change (TimeUsedBeforeQoSChanged) from the user account balance, and then according to the changed QoS level, based on the QoS level and time duration business According to the tariff table and user account balance, calculate how much time the current user can use in total, and then return DurationQuota and DurationThreshold to indicate the duration quota and duration threshold in PPAQ according to the duration allocation and threshold control principles.
3、业务终止3. Termination of business
业务终止流程与标准中现有流程保持一致。The business termination process is consistent with the existing process in the standard.
本发明提供了在CDMA系统中实现基于QoS分组预付费业务的解决方案,能够对预付费用户结合QoS进行收费。The invention provides a solution for realizing QoS-based packet prepaid services in a CDMA system, and can charge prepaid users combined with QoS.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求书的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100972476A CN100521720C (en) | 2004-11-18 | 2004-11-18 | Packet prepayment service realization based on flow/time length and service quality |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100972476A CN100521720C (en) | 2004-11-18 | 2004-11-18 | Packet prepayment service realization based on flow/time length and service quality |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1780347A CN1780347A (en) | 2006-05-31 |
| CN100521720C true CN100521720C (en) | 2009-07-29 |
Family
ID=36770447
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2004100972476A Expired - Fee Related CN100521720C (en) | 2004-11-18 | 2004-11-18 | Packet prepayment service realization based on flow/time length and service quality |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100521720C (en) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7881192B2 (en) | 2006-01-13 | 2011-02-01 | Futurewei Technologies, Inc. | System for providing aggregate-rate communication services |
| US7813279B2 (en) | 2006-01-13 | 2010-10-12 | Futurewei Technologies, Inc. | System for rate management of aggregate-rate communication services |
| US7817550B2 (en) | 2006-01-13 | 2010-10-19 | Futurewei Technologies, Inc. | System for rate-control of aggregate-rate communication services |
| CN101106464B (en) * | 2006-07-14 | 2011-04-20 | 中兴通讯股份有限公司 | A method for prepaying code division multi-address packet data service |
| KR20090004658A (en) | 2007-07-02 | 2009-01-12 | 엘지전자 주식회사 | Digital broadcasting system and data processing method |
| US8064579B2 (en) * | 2007-09-27 | 2011-11-22 | Verizon Patent And Licensing Inc. | Prepaid services accounts with multi-user customers and individualized quotas |
| CN101730046A (en) * | 2009-02-18 | 2010-06-09 | 中兴通讯股份有限公司 | Service policy control method and system |
| CN101945437B (en) * | 2009-07-03 | 2013-08-28 | 华为技术有限公司 | Method for determining traffic distribution strategy, access network equipment and route equipment |
| CN103974221B (en) * | 2013-01-25 | 2018-10-26 | 中国移动通信集团广东有限公司 | The distribution method and device of packet domain real time billing flow quota |
| CN106790610B (en) * | 2016-12-29 | 2020-01-17 | 华为技术有限公司 | A cloud system message distribution method, device and system |
-
2004
- 2004-11-18 CN CNB2004100972476A patent/CN100521720C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1780347A (en) | 2006-05-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102026139B (en) | Method and system for delivering dynamic policy rules | |
| JP4842317B2 (en) | Online billing management server | |
| CN101208943A (en) | Controlling the provision of services in a communication network | |
| CN102244580B (en) | Online charging method, communication device and communication system | |
| CN103843374B (en) | Integrated policy and billing control based on SY | |
| CN102144372A (en) | Online charging correlation in IMS networks | |
| KR20040007430A (en) | Charging in a communication system | |
| CN100389561C (en) | Charge network and charge agency device and charge method | |
| CN108401231B (en) | Charging method, device and system | |
| CN100521720C (en) | Packet prepayment service realization based on flow/time length and service quality | |
| CN1848895B (en) | Method for switching charging mode by mobile subscriber station in WiMAX | |
| CN101499912A (en) | Fee charging method and system | |
| WO2007076646A1 (en) | A method for realizing prepayment of digital cluster system | |
| CN1996858A (en) | A method, system and server for charging the pre-paid account | |
| CN101908966A (en) | Method, device and system for broadband billing | |
| CN101616009A (en) | Data service transmission method and device thereof | |
| CN101094080A (en) | A billing method in a push-to-talk system | |
| CN106332040B (en) | Method and device for account resource sharing | |
| CN101150416A (en) | Third-party billing method and system | |
| CN109547956B (en) | A multi-service concurrent processing method | |
| CN100365983C (en) | A method for realizing packet data prepaid service | |
| CN101090326B (en) | Prepayment implement method based on access characteristic parameter | |
| CN101001298B (en) | Method for group prepayment of digital trunking system | |
| CN101212781A (en) | Prepaid data service billing method for mobile terminal in roaming state | |
| WO2005091555A1 (en) | A method for implementing the intelligent network charging |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090729 Termination date: 20161118 |