CN101001161A - Method for implementing switching of prepayment rate - Google Patents
Method for implementing switching of prepayment rate Download PDFInfo
- Publication number
- CN101001161A CN101001161A CN 200710003646 CN200710003646A CN101001161A CN 101001161 A CN101001161 A CN 101001161A CN 200710003646 CN200710003646 CN 200710003646 CN 200710003646 A CN200710003646 A CN 200710003646A CN 101001161 A CN101001161 A CN 101001161A
- Authority
- CN
- China
- Prior art keywords
- user
- quota
- rate
- prepaid
- duration
- 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.)
- Pending
Links
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
一种实现预付费费率切换的方法,包含下述步骤:(a)用户接入数据服务网络中,预付费服务器授权用户使用业务,发送授权信息给预付费客户端,授权信息中包含预付费配额信息和费率切换时间间隔,该费率切换时间间隔为用户累积消费时长到达时长费率切换点的时间间隔;(b)用户开始使用数据业务,预付费客户端监控用户使用情况;(c)当用户使用数据业务的时长到达费率切换时间间隔后,预付费客户端向预付费服务器发送费率切换配额更新请求消息,向预付费服务器汇报所分配的配额使用情况,请求分配新的配额;(d)预付费服务器收到预付费客户端的费率切换配额更新请求消息后,调整费率,根据新的费率为用户分配新的配额,返回新的配额信息。
A method for switching prepaid rates, comprising the following steps: (a) when a user accesses a data service network, a prepaid server authorizes the user to use a service, and sends authorization information to a prepaid client, the authorization information including prepaid Quota information and rate switching time interval, the rate switching time interval is the time interval between the user's accumulated consumption time reaching the duration rate switching point; (b) the user starts to use the data service, and the prepaid client monitors the user's usage; (c ) When the duration of the user's use of the data service reaches the rate switching time interval, the prepaid client sends a rate switching quota update request message to the prepaid server, reports the allocated quota usage to the prepaid server, and requests the allocation of new quotas ; (d) After the prepayment server receives the rate switch quota update request message from the prepayment client, it adjusts the rate, allocates a new quota for the user according to the new rate, and returns the new quota information.
Description
技术领域technical field
本发明属于通讯领域,尤其涉及预付费技术。The invention belongs to the communication field, and in particular relates to prepayment technology.
背景技术Background technique
语音的预付费业务要求移动用户预先购买一定价值的通话时长,用户使用时,移动网络对其进行实时计费,从预先购买的通话时长里减去本次通话时长,直到预付金额全部用完。预付金额用完后,移动网络通知用户需要再购买通话时长。用户可以重新给其帐号续费,继续使用移动业务。The voice prepaid service requires mobile users to pre-purchase a certain value of call time. When the user uses it, the mobile network charges it in real time, and subtracts the call time from the pre-purchased call time until the prepaid amount is used up. After the prepaid amount is used up, the mobile network notifies the user that he needs to purchase another airtime. Users can renew their account and continue to use mobile services.
随着数据业务的发展和开拓,为了更好地为用户提供高质量数据增值业务,需要解决预付费数据业务用户的实时计费问题。预付费数据服务要求用户提前支付一定量服务的费用,例如购买了一定时长的服务,或者购买了一定流量的服务。With the development and expansion of data services, in order to better provide users with high-quality data value-added services, it is necessary to solve the problem of real-time billing for prepaid data service users. The prepaid data service requires the user to pay a certain amount of service fees in advance, for example, to purchase a service of a certain length of time, or to purchase a service of a certain amount of traffic.
预付费数据业务实时计费的实现,解决了以往个别用户利用系统计费延时漏洞透支的问题。运营商通过开展预付费数据业务,可为不同用户提供基于流量、时长、时段、帐户金额、套餐等类型的系列化、个性化计费方式和营销手段。The realization of real-time billing for prepaid data services solves the problem of overdraft by individual users in the past by taking advantage of system billing delay loopholes. By developing prepaid data services, operators can provide different users with serialized and personalized billing methods and marketing methods based on traffic, duration, time period, account amount, package, etc.
分组预付费业务(Packet Prepaid Service)是一种网络用户先交费,运营商维护用户的帐户信息,用户根据帐户余额享受分组数据服务的业务。Packet Prepaid Service (Packet Prepaid Service) is a service in which the network user pays first, the operator maintains the user's account information, and the user enjoys the packet data service according to the account balance.
预付费服务器(Prepaid Server,简称PPS)是负责维护用户的帐户余额和状态,与预付费客户端(Prepaid Client,简称PPC)交互完成预付费用户的鉴权和计费的实体。The prepaid server (Prepaid Server, referred to as PPS) is responsible for maintaining the user's account balance and status, and interacting with the prepaid client (Prepaid Client, referred to as PPC) to complete the prepaid user's authentication and billing entity.
预付费客户端PPC是核心网中请求预付费服务器对用户的预付费业务进行授权,对用户使用情况实时跟踪和处理的实体。The prepaid client PPC is an entity in the core network that requests the prepaid server to authorize the user's prepaid service, and tracks and processes the user's usage in real time.
在预付费数据业务实现过程中,为了实现实时扣费,预付费服务器在授权用户使用预付费数据业务时,根据用户的帐户情况,给用户分配一定的时长或流量配额,预付费客户端在用户进行预付费数据业务过程中,实时控制用户的配额使用情况。当配额使用达到规定的值,如到达门限配额,预付费客户端将发起配额更新操作,向预付费服务器汇报用户已使用的配额情况,并申请新的配额。预付费服务器收到配额更新请求后,根据用户的帐户情况重新给用户分配新的配额。以上过程不断交互,直至用户下线或用户的帐户金额使用完成。通过配额的不断分配使用,实现用户数据业务实时计费的功能。In the process of realizing the prepaid data service, in order to realize real-time deduction, the prepaid server assigns a certain duration or traffic quota to the user according to the user's account when authorizing the user to use the prepaid data service. In the process of prepaid data service, real-time control of user's quota usage. When the quota usage reaches the specified value, such as reaching the threshold quota, the prepaid client will initiate a quota update operation, report the used quota to the prepaid server, and apply for a new quota. After receiving the quota update request, the prepaid server redistributes a new quota to the user according to the user's account situation. The above process continues to interact until the user goes offline or the user's account amount is used up. Through the continuous allocation and use of quotas, the real-time billing function for user data services is realized.
用户使用预付费数据业务过程中,可建立多个并发服务(MultipleConcurrent Services),系统可同时为一个用户的多个并发服务提供预付费数据服务。During the user's use of prepaid data services, multiple concurrent services (Multiple Concurrent Services) can be established, and the system can provide prepaid data services for multiple concurrent services of a user at the same time.
如果在预付费数据业务过程中,满足预先确定的费率策略变化的条件(如达到一个规定的时间点,或用户使用的时长达到规定值时),预付费客户端也需要发起配额更新操作,汇报用户已使用的配额情况,并申请新的配额。If during the prepaid data business process, the pre-determined rate policy change conditions are met (such as reaching a specified time point, or when the user's usage time reaches a specified value), the prepaid client also needs to initiate a quota update operation, Report the quotas used by users and apply for new quotas.
现有技术中,在规定的时间点前后,用户可采用不同的费率进行预付费数据业务,如在晚上9:00前,用户采用费率1使用数据业务;9:00之后,用户使用费率2进行数据业务。这种费率的不同,可以采用时间点的费率切换方式来实现,即在固定的时间点,用户的费率发生变化。In the prior art, before and after the specified time point, users can use different rates for prepaid data services. For example, before 9:00 pm, users use rate 1 to use data services; rate 2 for data services. This difference in rates can be realized by switching rates at a time point, that is, at a fixed time point, the user's rate changes.
如果用户采用一定期间内交固定费用来使用预付费数据业务,可能出现用户长期占用网络资源,而运营商却不能进行控制的情形。If the user pays a fixed fee within a certain period of time to use the prepaid data service, the user may occupy network resources for a long time, but the operator cannot control it.
发明内容Contents of the invention
本发明所要解决的技术问题是提供一种实现预付费费率切换的方法,能够对用户使用数据业务进行调控,达到鼓励或限制用户使用数据业务的目的。The technical problem to be solved by the present invention is to provide a method for switching prepaid rates, which can regulate the use of data services by users and achieve the purpose of encouraging or restricting users to use data services.
为了实现上述目的,本发明提供了一种实现预付费费率切换的方法,包括如下步骤:In order to achieve the above object, the present invention provides a method for realizing prepaid rate switching, including the following steps:
本发明提出一种实现预付费费率切换的方法,包含下述步骤:The present invention proposes a method for realizing prepaid rate switching, comprising the following steps:
(a)用户接入数据服务网络中,预付费客户端与预付费服务器交互,预付费服务器授权用户使用业务,发送授权信息给预付费客户端,授权信息中包含预付费配额信息和费率切换时间间隔,该费率切换时间间隔为用户累积消费时长到达时长费率切换点的时间间隔;(a) When the user accesses the data service network, the prepaid client interacts with the prepaid server. The prepaid server authorizes the user to use the service and sends authorization information to the prepaid client. The authorized information includes prepaid quota information and rate switching Time interval, the rate switching time interval is the time interval for the user's accumulated consumption time to reach the time-duration rate switching point;
(b)用户开始使用数据业务,预付费客户端监控用户使用数据业务的情况;(b) The user starts to use the data service, and the prepaid client monitors the user's use of the data service;
(c)当用户使用数据业务的时长到达费率切换时间间隔后,预付费客户端向预付费服务器发送费率切换配额更新请求消息,向预付费服务器汇报所分配的配额使用情况,请求分配新的配额;(c) When the duration of the user's use of the data service reaches the rate switching time interval, the prepaid client sends a rate switching quota update request message to the prepaid server, reports the allocated quota usage to the prepaid server, and requests to allocate a new quota. quota;
(d)预付费服务器收到预付费客户端的费率切换配额更新请求消息后,调整费率,根据新的费率为用户分配新的配额,返回新的配额信息。(d) After the prepayment server receives the rate switching quota update request message from the prepayment client, it adjusts the rate, allocates a new quota for the user according to the new rate, and returns the new quota information.
所述步骤(a)中累积消费时长为一次数据业务中的累积消费时长,所述时长费率切换点是一次数据业务中设定的时长费率切换点。The accumulated consumption duration in the step (a) is the accumulated consumption duration in one data service, and the duration rate switching point is the duration rate switching point set in one data service.
所述步骤(a)中累积消费时长为用户一定期间内的累积消费时长,所述时长费率切换点为一定期间内设定的时长费率切换点。The accumulated consumption duration in the step (a) is the accumulated consumption duration of the user within a certain period, and the duration tariff switching point is the duration tariff switching point set within a certain period.
所述步骤(a)和(d)中的配额信息中包含流量配额和流量门限,或包含时长配额和时长门限。The quota information in the steps (a) and (d) includes a traffic quota and a traffic threshold, or includes a time-length quota and a time-length threshold.
所述步骤(d)中如果有多个时长费率切换点,预付费服务器还向预付费客户端返回新的费率切换时间间隔,该费率切换时间间隔为用户累积消费时长到达下一个时长费率切换点的时间间隔。If there are multiple duration rate switching points in the step (d), the prepaid server also returns a new rate switching time interval to the prepaid client, and the rate switching time interval is when the user's accumulated consumption time reaches the next The time interval between tariff switching points.
所述步骤(b)中当用户使用数据业务到达预付费服务器授权的配额时,预付费客户端向预付费服务器发起配额更新请求消息,请求中携带用户已使用的配额信息,预付费服务器收到该请求消息后,发送新的预付费配额信息至预付费客户端。In the step (b), when the user uses the data service to reach the quota authorized by the prepayment server, the prepayment client initiates a quota update request message to the prepayment server, and the request carries the quota information that the user has used, and the prepayment server receives After the request message, send new prepaid quota information to the prepaid client.
所述方法进一步包含步骤(e):当用户下线时,预付费客户端发送配额更新请求消息至预付费服务器,预付费服务器收到该消息后,统计并保存用户的累积消费时长。The method further includes step (e): when the user goes offline, the prepaid client sends a quota update request message to the prepaid server, and the prepaid server counts and saves the cumulative consumption time of the user after receiving the message.
所述步骤(c)中,预付费客户端向预付费服务器发送的费率切换配额更新请求消息中,包含向预付费服务器汇报用户本次数据业务已使用的时长。In the step (c), the rate switching quota update request message sent by the prepayment client to the prepayment server includes reporting to the prepayment server the duration of time the user has used this data service.
所述步骤(d)中预付费服务器收到预付费客户端的费率切换配额更新请求消息后,统计用户在一定期间内的累积消费时长,或在本次数据业务过程中累积消费时长。In the step (d), after the prepayment server receives the rate switching quota update request message from the prepayment client, it counts the cumulative consumption time of the user within a certain period, or the cumulative consumption time during this data service process.
所述步骤(c)中,预付费客户端在费率切换时间间隔到达后,立即发起费率切换配额更新请求消息。In the step (c), the prepaid client terminal immediately initiates a rate switching quota update request message after the rate switching time interval arrives.
预付费服务器在给预付费客户端返回费率切换时间间隔时,指定预付费客户端到达费率切换时间间隔后一定时间段内发送费率切换配额更新请求;预付费客户端在此规定的时间段内发送费率切换配额更新请求消息,请求消息中携带费率切换点前后用户使用的数据业务配额信息。When the prepayment server returns the rate switching interval to the prepayment client, it specifies that the prepayment client should send a rate switching quota update request within a certain period of time after the prepayment client reaches the rate switching interval; A rate switching quota update request message is sent within the segment, and the request message carries the data service quota information used by the user before and after the rate switching point.
所述步骤(a)中用户接入数据服务网络中时,可以建立多个并发服务,预付费服务器为每个并发服务授权配额信息,所述步骤(c)中当用户使用数据业务的时长到达费率切换时间间隔后,预付费客户端为每个并发服务都向预付费服务器发送费率切换更新请求消息。In the step (a), when the user accesses the data service network, multiple concurrent services can be established, and the prepaid server authorizes quota information for each concurrent service. In the step (c), when the user uses the data service, the duration reaches After the rate switching interval, the prepayment client sends a rate switching update request message to the prepayment server for each concurrent service.
本发明提供一种实现预付费费率切换的方法,在用户使用预付费数据业务时,根据时间点的费率切换方式来实现时长的费率切换,以达到根据用户使用的不同时长采用不同费率来进行预付费扣费。当用户使用数据业务时长超过固定期间内或本次数据业务规定的数值,对超过部分将采取不同的费率进行扣费,使系统可以灵活地为用户提供多种计费方式的预付费数据服务,为合理控制用户的在线时长及鼓励或限制用户使用预付费数据业务提供了可能。The present invention provides a method for realizing prepaid tariff switching. When a user uses a prepaid data service, the tariff switching mode of the time point is used to realize the tariff switching of the duration, so as to adopt different tariffs according to the different durations used by the user. rate for prepaid deduction. When the user's data service time exceeds the fixed period or the specified value of this data service, different rates will be used to deduct the excess part, so that the system can flexibly provide users with prepaid data services in various billing methods , which provides the possibility to reasonably control the user's online time and encourage or restrict users to use prepaid data services.
附图说明Description of drawings
图1是实现预付费数据业务的网络结构图;Fig. 1 is the network structural diagram of realizing the prepaid data service;
图2是本发明时长费率切换的流程图;Fig. 2 is a flow chart of the duration rate switching of the present invention;
图3是本发明实施例的CDMA系统中实现时长费率切换的流程图。Fig. 3 is a flow chart of implementing time-duration tariff switching in the CDMA system according to the embodiment of the present invention.
具体实施方式Detailed ways
下面进一步结合附图对本发明技术方案的实施作详细描述。The implementation of the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings.
如果用户采用一定期间内交固定费用来使用预付费数据业务,可能出现用户长期占用网络资源,而运营商却不能进行控制的情形。为避免出现这种情况,可以对用户的上网时长进行一定的控制。如可限定用户在包月的费用内,使用的时长有一个上限值,当用户本月上网总时长超过这个上限值时,超过的部分按一定的费率进行计费。If the user pays a fixed fee within a certain period of time to use the prepaid data service, the user may occupy network resources for a long time, but the operator cannot control it. In order to avoid this situation, certain control can be performed on the user's online time. For example, it is possible to limit the user's usage time within the monthly subscription fee to an upper limit. When the user's total online time this month exceeds the upper limit, the excess part will be billed at a certain rate.
另外,在实际预付费数据业务开展过程中,用户也可能希望选择固定时长的费率切率。如,用户在100个小时以内采用费率3进行数据业务,在100个小时后采用费率4进行数据业务;或者在一次上网过程中,前10个小时采用费率5进行数据业务,超过10小时后采用费率6进行数据业务。这种费率的不同,可以采用时长的费率切换方式来实现,即在固定的时长间隔后,用户的费率发生变化,用户使用不同的时长,对应不同的费率。In addition, during the actual development of the prepaid data service, the user may also wish to select a fixed-time rate switching rate. For example, the user uses rate 3 for data services within 100 hours, and uses rate 4 for data services after 100 hours; After hours, rate 6 is used for data services. This difference in tariff rate can be realized by the tariff rate switching method of duration, that is, after a fixed duration interval, the user's tariff rate changes, and the user uses different durations, corresponding to different tariff rates.
图1为实现预付费数据业务的网络结构图,其中:Figure 1 is a network structure diagram for implementing prepaid data services, where:
用户11可为固定网络接入用户,也可为移动网络接入用户;
预付费客户端12为用户提供预付费数据业务控制功能,在用户实际使用预付费数据业务时,监控配额的使用情况,并发起配额的实时更新操作,预付费客户端功能可由接入服务器承担;The
预付费服务器13为用户提供预付费数据业务的授权及计费功能,汇总并保存用户使用数据业务的时长信息,预付费服务器13与预付费客户端12共同配合为用户提供预付费数据业务服务。The
图2为本发明时长费率切换的流程图。其具体步骤如下:Fig. 2 is a flow chart of the duration rate switching in the present invention. The specific steps are as follows:
步骤210:用户接入到数据服务网络中,预付费客户端对用户进行鉴权,发送鉴权请求消息给预付费服务器,预付费服务器判断用户为预付费用户,并有正的余额,向预付费客户端发送授权信息,授权信息中包括预付费配额信息及费率切换时间间隔,此时间间隔为用户在一定期间内或一次数据业务过程中累积消费时长到达时长费率切换点的时间间隔;Step 210: The user accesses the data service network, the prepaid client authenticates the user, sends an authentication request message to the prepaid server, and the prepaid server judges that the user is a prepaid user with a positive balance, and sends the prepaid The fee client sends authorization information. The authorization information includes prepaid quota information and the time interval for switching rates. This time interval is the time interval for the user to reach the switching point of the time-duration rate within a certain period of time or during a data service.
上述时长费率切换点指一定期间内用户累积消费时长达到一定数值进行费率切换,比如在一个月内,用户使用数据业务的时长达到100小时进行费率切换,那么时长费率切换点为100小时;如果用户本次接入时,在本月已使用40小时,那么此时预付费服务器发送给预付费客户端的费率切换时间间隔为60小时。The above-mentioned duration rate switching point refers to the user’s accumulated consumption time reaching a certain value within a certain period of time to switch the rate. For example, within a month, the user uses the data service for 100 hours to switch the rate, then the duration rate switch point is 100 Hours; if the user has used 40 hours in this month during this access, then the rate switching interval sent by the prepaid server to the prepaid client is 60 hours.
上述时长费率切换点也可以指一次数据业务过程中用户使用数据业务的时长达到一定数值行费率切换,比如说10小时。The above-mentioned duration rate switching point may also refer to the rate switching when the user uses the data service for a certain amount of time in a data service process, for example, 10 hours.
上述预付费配额信息为预付费流量配额和流量门限,或为时长配额和时长门限。The above prepaid quota information is the prepaid traffic quota and the traffic threshold, or the duration quota and the duration threshold.
步骤220:用户使用数据业务,预付费客户端统计用户使用数据业务的信息,如用户使用数据业务的时长和/或流量等;Step 220: the user uses the data service, and the prepaid client collects information on the user's use of the data service, such as the duration and/or traffic of the user's use of the data service;
步骤230:当用户配额需要更新时,即用户使用业务到达预付费服务器规定的配额门限(流量或时长门限)时,预付费客户端向预付费服务器发起配额更新请求消息,请求消息中携带用户已使用的配额信息;Step 230: When the user's quota needs to be updated, that is, when the user's service reaches the quota threshold (traffic or duration threshold) specified by the prepaid server, the prepaid client sends a quota update request message to the prepaid server, and the request message carries the user's used quota information;
步骤240:预付费服务器收到该请求消息后,发送新的预付费配额信息至预付费客户端;Step 240: After receiving the request message, the prepaid server sends new prepaid quota information to the prepaid client;
步骤250:当用户使用数据业务时长到达费率切换时间间隔时,预付费客户端发送配额更新请求消息至预付费服务器,向预付费服务器汇报所分配的配额使用情况,并携带用户本次数据业务已使用的时长;Step 250: When the duration of the user's data service reaches the rate switching time interval, the prepaid client sends a quota update request message to the prepaid server, reports the allocated quota usage to the prepaid server, and carries the user's current data service the amount of time used;
步骤260:预付费服务器收到预付费客户端的配额更新请求消息,调整费率,根据新的费率为用户分配新配额,并向预付费客户端返回新配额信息;如果有多个时长费率切换点,预付费服务器还返回新的费率切换时间间隔,此费率切换时间间隔为用户在一定期间或一次数据业务中累积消费时长到达下一个时长费率切换点的时间间隔;预付费客户端收到新配额信息和新的费率切换时间间隔后,Step 260: The prepaid server receives the quota update request message from the prepaid client, adjusts the rate, allocates a new quota for the user according to the new rate, and returns the new quota information to the prepaid client; if there are multiple duration rates At the switching point, the prepaid server also returns a new rate switching interval, which is the time interval for the user to reach the next duration rate switching point during a certain period or a data service accumulated consumption time; prepaid customers After the end receives the new quota information and the new rate switching interval,
其中,预付费服务器收到预付费客户端的费率切换配额更新请求后,统计并保存用户在一定期间内的累积消费时长,或在本次数据业务过程中的累积消费时长。Wherein, after the prepayment server receives the rate switching quota update request from the prepayment client, it counts and saves the cumulative consumption time of the user within a certain period, or the cumulative consumption time during this data service process.
步骤270:如果用户下线或用户的帐户金额用完,预付费客户端向预付费服务器发送配额更新请求消息,消息中携带用户本次配额使用情况和本次使用的时长,转到步骤280,否则,返回步骤220;Step 270: If the user goes offline or the user's account amount is used up, the prepaid client sends a quota update request message to the prepaid server, and the message carries the user's current quota usage and the duration of this usage, and turns to step 280, Otherwise, return to step 220;
步骤280:预付费服务器收到该请求消息后,统计用户在一定期间内累积消费时长并保存,处理用户帐户消费情况,结束。Step 280: After receiving the request message, the prepaid server counts and saves the cumulative consumption time of the user within a certain period, processes the consumption situation of the user account, and ends.
在本发明另一实施例中,步骤260中预付费服务器向预付费客户端返回的信息中,不包含新的费率切换时间间隔,这种情况下只有一个时长费率切换点。In another embodiment of the present invention, the information returned by the prepayment server to the prepayment client in
在本发明再一实施例中,用户使用预付费数据业务时,可以建立多个并发服务,预付费客户端可为用户申请多个并发服务的配额,预付费服务器分别给该多个并发服务发送授权信息,预付费客户端发起费率切换配额更新操作时,对每个并发服务都发起配额更新操作。In yet another embodiment of the present invention, when a user uses a prepaid data service, multiple concurrent services can be established, and the prepaid client can apply for quotas for multiple concurrent services for the user, and the prepaid server sends data to the multiple concurrent services respectively. Authorization information, when the prepaid client initiates a tariff switching quota update operation, it initiates a quota update operation for each concurrent service.
图3以CDMA(Code Division Multiple Address,码分多址)系统的预付费为例,对实现基于流量预付费的时长费率切换的具体实施方式进行说明。Fig. 3 takes the prepayment of the CDMA (Code Division Multiple Address, Code Division Multiple Access) system as an example to illustrate the specific implementation of the time-duration rate switching based on the traffic prepayment.
CDMA是一种常用的以宽带扩频技术为基础的多址调制技术。CDMA2000是第三代移动通信的主要模式之一,它不仅提供高质量的话音服务,同时也提供高速的分组数据传输服务。CDMA is a commonly used multiple access modulation technology based on wideband spread spectrum technology. CDMA2000 is one of the main modes of the third-generation mobile communication. It not only provides high-quality voice services, but also provides high-speed packet data transmission services.
CDMA系统中,数据业务的预付费客户端PPC一般由分组数据服务节点(Packet Data Service Node,简称PDSN)或归属代理(Home Agent,简称HA)承担。其预付费功能的是通过PPC与归属鉴权、授权及计费服务器(Authentication&Authorization&Accounting,简称AAA)/预付费服务器PPS采用扩展拨入用户远端认证(Remote Authentication Dial-In User Service,简称RADIUS)消息的交互来实现。In a CDMA system, the prepaid client PPC for data services is generally undertaken by a Packet Data Service Node (PDSN for short) or a Home Agent (HA for short). Its prepayment function is through PPC and attribution authentication, authorization and accounting server (Authentication&Authorization&Accounting, referred to as AAA)/prepaid server PPS adopts extended dial-in user remote authentication (Remote Authentication Dial-In User Service, referred to as RADIUS) message interaction to achieve.
在用户接入时,PPC发送鉴权请求(Radius Access-Request)消息给归属AAA/PPS,请求预付费的授权,归属AAA/PPS判断用户为预付费用户,并有正的余额,授权配额(Quota)及门限(Threshold)等预付费业务信息给PPC,PPC开始为用户提供预付费业务,同时监控配额的使用情况;当预付费配额消耗到达预授权的门限时,PPC发送在线配额更新请求(On-lineRadius Access-Request)消息给归属AAA/PPS,为当前会话申请新的可用配额;当用户配额使用完或用户中途下线时,PPC发送在线配额更新请求消息,汇报已使用配额信息,以便归属AAA/PPS执行扣款。When the user accesses, the PPC sends an authentication request (Radius Access-Request) message to the home AAA/PPS, requesting prepaid authorization, and the home AAA/PPS judges that the user is a prepaid user with a positive balance, and authorizes the quota ( Quota) and threshold (Threshold) and other prepaid service information to PPC, PPC starts to provide users with prepaid services, while monitoring the use of quota; when the prepaid quota consumption reaches the pre-authorized threshold, PPC sends an online quota update request ( On-lineRadius Access-Request) message to the home AAA/PPS to apply for a new available quota for the current session; when the user quota is used up or the user goes offline midway, the PPC sends an online quota update request message to report the used quota information, so that Vest AAA/PPS to perform the deduction.
为实现预付费数据业务,预付费客户端和预付费服务器可采用以下预付费业务属性携带相关的预付费信息:In order to realize the prepaid data service, the prepaid client and the prepaid server can use the following prepaid service attributes to carry relevant prepaid information:
预付费计费能力(Prepaid Accounting Capability,PPAC):PPC利用该属性向AAA/PPS通报其支持的预付费能力,PPS利用该属性授权选择的预付费方式。取值包括基于流量、基于时长及基于流量和时长三种。如果PPC向PPS发送的接入请求消息中不包含该属性,表示客户端不具备预付费能力,当前会话不能使用预付费业务。Prepaid Accounting Capability (Prepaid Accounting Capability, PPAC): PPC uses this attribute to notify AAA/PPS of its supported prepaid capability, and PPS uses this attribute to authorize the selected prepaid method. The values include traffic-based, duration-based, and traffic-duration-based. If the access request message sent by the PPC to the PPS does not include this attribute, it means that the client does not have the prepayment capability, and the current session cannot use the prepayment service.
预付费计费配额(Prepaid Accounting Quota,PPAQ):指示在分组业务中授权或使用的流量或时长配额信息,包括授权额度、门限或已使用配额等。当用户上线时,预付费客户端发送鉴权请求给AAA/PPS请求鉴权,AAA/PPS判断此用户为预付费用户,并有正的帐户余额,分配时长或流量配额给PPC,PPC根据配额为用户提供基于时长或流量的预付费服务。在为用户提供预付费服务过程中,预付费客户端采用在线更新配额消息汇报使用的配额信息,同时请求AAA/PPS为用户分配新的配额。由此,实现用户数据业务的实时扣费功能。Prepaid Accounting Quota (Prepaid Accounting Quota, PPAQ): Indicates the traffic or duration quota information authorized or used in the packet service, including authorized quota, threshold or used quota, etc. When the user goes online, the prepaid client sends an authentication request to AAA/PPS to request authentication. AAA/PPS judges that the user is a prepaid user and has a positive account balance, and allocates time or traffic quota to PPC. PPC according to the quota Provide users with prepaid services based on duration or traffic. In the process of providing prepaid services for users, the prepaid client uses the online update quota message to report the used quota information, and at the same time requests AAA/PPS to allocate new quotas for users. Thus, the real-time deduction function of the user data service is realized.
预付费费率切换(PrePaidTariffSwitching,PTS):指示在预付费分组业务中费率切换授权及相应的费率切换信息。预付费服务器在授权预付费客户端使用预付费数据业务的同时,进行相应费率切换信息的授权。当费率切换触发后,预付费客户端将费率切换时或费率切换前后数据业务的使用情况信息汇报给预付费服务器,预付费服务器根据新的费率重新进行预付费授权。Prepaid tariff switching (PrePaid TariffSwitching, PTS): Indicates the tariff switching authorization and corresponding tariff switching information in the prepaid packet service. The prepaid server authorizes the corresponding rate switching information while authorizing the prepaid client to use the prepaid data service. When the rate switching is triggered, the prepayment client reports the usage information of the data service at or before the rate switch to the prepayment server, and the prepayment server re-authorizes the prepayment according to the new rate.
图3为本发明实施例的CDMA系统中实现时长费率切换的流程图。此实施例中,归属AAA/PPS负责记录移动终端(Mobile Station,简称MS)在一定期间内使用数据业务的总时长,当用户请求新的预付费数据业务时,由归属AAA/PPS在预付费授权时返回费率切换时间间隔(即从当前请求时间点到达时长费率切换点的时间间隔)。当此时间间隔到达后,费率切换触发,归属AAA/PPS更新费率,为用户按新的费率重新分配配额。Fig. 3 is a flow chart of implementing time-duration rate switching in the CDMA system according to the embodiment of the present invention. In this embodiment, the home AAA/PPS is responsible for recording the total duration of the mobile terminal (Mobile Station, referred to as MS) using data services within a certain period. When authorizing, return the rate switching interval (that is, the time interval from the current request time point to the duration rate switching point). When this time interval is reached, the rate switch is triggered, and the attributable AAA/PPS updates the rate, and redistributes the quota for the user according to the new rate.
在CDMA系统中实现时长费率切换的具体步骤如下:The specific steps to realize the duration rate switching in the CDMA system are as follows:
步骤31:PDSN为MS提供数据接入服务,归属AAA/PPS授权用户使用基于流量的预付费服务,在授权信息中携带PPAQ及PTS;PPAQ中包括所分配的预付费流量配额(VolumeQuota,VQ)和流量门限(VolumeThreshold,VT),PTS中包括费率切换时间间隔(Tariff SwitchInterval,TSI),此TSI为用户累积消费时长到达时长费率切换点的时间间隔;Step 31: The PDSN provides data access services for the MS, and the home AAA/PPS authorizes users to use traffic-based prepaid services, and carries PPAQ and PTS in the authorization information; PPAQ includes the allocated prepaid traffic quota (VolumeQuota, VQ) And the traffic threshold (VolumeThreshold, VT), the PTS includes the tariff switching interval (Tariff SwitchInterval, TSI), this TSI is the time interval for the user's cumulative consumption time to reach the duration tariff switching point;
步骤32:PDSN统计用户使用数据业务的流量VQ等信息;当用户使用的流量到达流量门限VT时,PDSN向归属AAA/PPS发起在线配额更新请求消息,消息中携带用户当前已使用的流量配额信息;Step 32: PDSN counts information such as the traffic VQ of the data service used by the user; when the traffic used by the user reaches the traffic threshold VT, the PDSN initiates an online quota update request message to the home AAA/PPS, and the message carries the traffic quota information currently used by the user ;
步骤33:归属AAA/PPS根据用户的帐户情况,重新为用户分配新的流量配额VQ及流量门限VT,返回在线配额更新应答消息,消息中携带新的VQ和VT;PDSN接收此消息后,进行相应的更新处理;Step 33: The home AAA/PPS re-allocates new traffic quota VQ and traffic threshold VT for the user according to the user's account situation, and returns an online quota update response message, which carries the new VQ and VT; after receiving this message, the PDSN performs corresponding update processing;
步骤34:当用户使用数据业务的时长达到费率切换时间间隔TSI,PDSN发起在线配额更新请求消息,消息中携带用户已使用的配额信息;Step 34: When the duration of the user's use of the data service reaches the tariff switching interval TSI, the PDSN initiates an online quota update request message, which carries the quota information used by the user;
步骤35:归属AAA/PPS判断当前已发生费率切换(按CDMA的实现方式,每次配额更新PPS都需要检查是否到达时长费率切换点),归属AAA/PPS统计用户的累积消费时长;调整费率,根据新的费率为用户分配新的流量配额VQ及流量门限VT;返回在线配额更新应答消息,消息中可包含下次费率切换时间间隔TSI,此TSI为用户累积消费时长到达下一个时长费率切换点的时间间隔;Step 35: The affiliated AAA/PPS judges that a rate switch has occurred currently (according to the implementation method of CDMA, each time the quota is updated, the PPS needs to check whether the time-duration rate switch point has been reached), and the affiliated AAA/PPS counts the cumulative consumption time of the user; adjust Tariff: assign new traffic quota VQ and traffic threshold VT to the user according to the new tariff; return the online quota update response message, which can include the next tariff switching time interval TSI. The time interval of a duration rate switching point;
步骤36:用户下线时,PDSN向归属AAA/PPS发起在线配额更新请求消息,消息中携带已使用的配额信息;Step 36: When the user goes offline, the PDSN initiates an online quota update request message to the home AAA/PPS, and the message carries the used quota information;
步骤37:归属AAA/PPS统计用户的累积消费时长;并判断在线配额更新请求消息为终止用户数据业务消息,处理用户帐户消费情况,返回在线配额更新应答消息。Step 37: The home AAA/PPS counts the accumulated consumption time of the user; and judges that the online quota update request message is a user data service termination message, processes the user account consumption situation, and returns an online quota update response message.
因为用户上线下线时都会通知PPS,所以PPS知道用户当前在线的时长,PSDN向归属AAA/PPS发起在线配额更新请求时,不需要携带本次使用数据业务的时长。Because the PPS will be notified when the user goes online and offline, the PPS knows the current online duration of the user. When the PSDN initiates an online quota update request to the home AAA/PPS, it does not need to carry the duration of the data service used this time.
在步骤31中,如果授权的费率切换信息即PTS信息中包括费率切换更新的时间间隔(Time Interval After Tariff Switch Update,TITSU),在步骤34中,当用户使用的时长总量达到费率切换时间间隔TSI时,PDSN可以不发起费率切换更新消息,等用户使用流量到达门限VT或到达费率切换更新的时间间隔TITSU时,PDSN再发起配额更新操作,并携带费率切换点前后使用的配额信息。In step 31, if the authorized tariff switching information, that is, the PTS information, includes the time interval for tariff switching update (Time Interval After Tariff Switch Update, TITSU), in step 34, when the total amount of time used by the user reaches the tariff rate When switching the time interval TSI, the PDSN may not initiate a rate switching update message. When the user traffic reaches the threshold VT or reaches the time interval TITSU for rate switching update, the PDSN will initiate a quota update operation again, and carry the rate switching point for use before and after. quota information.
在本发明另一实施例中,在CDMA系统中实现基于时长的预付费数据服务时,也可采用同样的方法实现时长费率切换。与以上流程不同之处在于,预付费服务器授权给预付费客户端使用基于时长的预付费数据服务,分配的配额信息为时长配额信息。In another embodiment of the present invention, when implementing duration-based prepaid data services in a CDMA system, the same method may be used to implement duration-rate switching. The difference from the above process is that the prepaid server authorizes the prepaid client to use the duration-based prepaid data service, and the allocated quota information is duration quota information.
综上所述,本发明可以对用户的上网时长进行一定的控制。如可限定用户在包月的费用内,使用的时长为一固定值,当用户本月上网总时长超过这个固定值,超过的部分按一定的费率进行计费。在用户采用预付费数据业务时,为鼓励或限制用户消费,在用户使用的时长(可为一次使用数据业务的时长,也可以是一定期间内多次使用数据业务的时长)达到固定值时,超时固定值的时长可按新的费率进行计费。在提供预付费数据业务服务时,可以确定多个时长费率切换点,以实现用户使用不同的时长,采用不同的费率,灵活地为用户提供各种方式的预付费服务。To sum up, the present invention can control the user's online time to a certain extent. For example, it is possible to limit the user's usage time to a fixed value within the monthly subscription fee. When the user's total online time in this month exceeds this fixed value, the excess part will be billed at a certain rate. When the user adopts the prepaid data service, in order to encourage or limit the user's consumption, when the duration of the user's use (it can be the duration of using the data service once, or the duration of using the data service multiple times within a certain period) reaches a fixed value, The duration of the overtime fixed value can be billed at the new rate. When providing prepaid data services, multiple time-duration rate switching points can be determined, so that users can use different time periods and adopt different rates, and flexibly provide users with various prepaid services.
本发明可以利用现有的时间点费率切换点的方式,时长费率切换点对应相应的时间点费率切换点从而来实现时长费率切换。The present invention can utilize the existing mode of time-point rate switching point, and the time-duration rate switching point corresponds to the corresponding time-point rate switching point to realize the time-duration rate switching point.
当然,本发明还可有其它多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的普通技术人员当可根据本发明做出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Certainly, the present invention also can have other various embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these Corresponding changes and deformations should belong to the scope of protection of the appended claims of the present invention.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200710003646 CN101001161A (en) | 2007-01-23 | 2007-01-23 | Method for implementing switching of prepayment rate |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200710003646 CN101001161A (en) | 2007-01-23 | 2007-01-23 | Method for implementing switching of prepayment rate |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN101001161A true CN101001161A (en) | 2007-07-18 |
Family
ID=38692982
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200710003646 Pending CN101001161A (en) | 2007-01-23 | 2007-01-23 | Method for implementing switching of prepayment rate |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101001161A (en) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101472012A (en) * | 2007-12-29 | 2009-07-01 | 华为技术有限公司 | Method, device and system for implementing value added business |
| WO2009117973A1 (en) * | 2008-03-28 | 2009-10-01 | 华为技术有限公司 | Method, system, media processing equipment and media controlling equipment for reporting the usage amount of data service |
| CN101860634A (en) * | 2010-06-10 | 2010-10-13 | 中兴通讯股份有限公司 | A method and system for realizing packet prepayment |
| CN102017594A (en) * | 2008-05-01 | 2011-04-13 | 阿尔卡特朗讯美国公司 | Rating change for a prepaid session based on movement of a mobile device |
| WO2011050648A1 (en) * | 2009-10-28 | 2011-05-05 | 中兴通讯股份有限公司 | Charging method, switch, charging server and charging system |
| CN102572760A (en) * | 2010-12-17 | 2012-07-11 | 中兴通讯股份有限公司 | Charging system and method |
| CN103517248A (en) * | 2013-08-14 | 2014-01-15 | 华为软件技术有限公司 | Control treatment method and device for network budget |
| CN111130812A (en) * | 2019-12-27 | 2020-05-08 | 中国联合网络通信集团有限公司 | Communication rate determining method and device |
| CN111818473A (en) * | 2020-06-24 | 2020-10-23 | 北京思特奇信息技术股份有限公司 | Method and system for realizing accurate slicing of flow call bill |
-
2007
- 2007-01-23 CN CN 200710003646 patent/CN101001161A/en active Pending
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101472012A (en) * | 2007-12-29 | 2009-07-01 | 华为技术有限公司 | Method, device and system for implementing value added business |
| WO2009117973A1 (en) * | 2008-03-28 | 2009-10-01 | 华为技术有限公司 | Method, system, media processing equipment and media controlling equipment for reporting the usage amount of data service |
| CN102017594B (en) * | 2008-05-01 | 2015-05-27 | 阿尔卡特朗讯美国公司 | Rating change for a prepaid session based on movement of a mobile device |
| CN102017594A (en) * | 2008-05-01 | 2011-04-13 | 阿尔卡特朗讯美国公司 | Rating change for a prepaid session based on movement of a mobile device |
| WO2011050648A1 (en) * | 2009-10-28 | 2011-05-05 | 中兴通讯股份有限公司 | Charging method, switch, charging server and charging system |
| WO2011153871A1 (en) * | 2010-06-10 | 2011-12-15 | 中兴通讯股份有限公司 | Method and system for implementing packet prepayment |
| CN101860634A (en) * | 2010-06-10 | 2010-10-13 | 中兴通讯股份有限公司 | A method and system for realizing packet prepayment |
| CN102572760A (en) * | 2010-12-17 | 2012-07-11 | 中兴通讯股份有限公司 | Charging system and method |
| CN102572760B (en) * | 2010-12-17 | 2014-12-10 | 中兴通讯股份有限公司 | Charging system and method |
| CN103517248A (en) * | 2013-08-14 | 2014-01-15 | 华为软件技术有限公司 | Control treatment method and device for network budget |
| CN111130812A (en) * | 2019-12-27 | 2020-05-08 | 中国联合网络通信集团有限公司 | Communication rate determining method and device |
| CN111130812B (en) * | 2019-12-27 | 2022-02-15 | 中国联合网络通信集团有限公司 | Communication rate determination method and device |
| CN111818473A (en) * | 2020-06-24 | 2020-10-23 | 北京思特奇信息技术股份有限公司 | Method and system for realizing accurate slicing of flow call bill |
| CN111818473B (en) * | 2020-06-24 | 2021-08-20 | 北京思特奇信息技术股份有限公司 | Method and system for realizing accurate slicing of flow call bill |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101001161A (en) | Method for implementing switching of prepayment rate | |
| EP2553949B1 (en) | Local roaming charging in lte/epc networks | |
| KR101411329B1 (en) | Front-end charging system that generates charging data per entity having a revenue share | |
| CN103765814B (en) | Billing control method, billing trigger device, and online billing system | |
| US9826103B2 (en) | Offload of service charging from an online charging system | |
| US20060286963A1 (en) | Controlling provision of services in a communications network | |
| CN101227302B (en) | Charging method, control apparatus, charging device and charging system | |
| CN102144372A (en) | Online charging correlation in IMS networks | |
| CN107078915A (en) | Nonlinear data charging | |
| CN102695155B (en) | Billing control method and device | |
| US20120123919A1 (en) | Method And System For Billing In A Communication Network | |
| CN107547762A (en) | A kind of charging method and charge system | |
| CN101312473A (en) | A method for realizing the type switching of prepaid billing mode | |
| CN101106464B (en) | A method for prepaying code division multi-address packet data service | |
| CN101895857A (en) | Telecommunication service application amount-based real-time charging method and system thereof | |
| CN101170621A (en) | A Method for Realizing Prepaid Rate Switching | |
| CN101123513B (en) | Online billing system and method | |
| CN101330391A (en) | A method for switching prepaid rates based on traffic points | |
| CN100365983C (en) | A method for realizing packet data prepaid service | |
| CN100502293C (en) | Method of implementing charged duration based user fee rate switch | |
| CN103702307B (en) | A kind of method and system of group prepayment business diameter credit control | |
| Li et al. | Dynamic policy and charging control framework | |
| CN100502292C (en) | Method for prepayment service switching in code division multiple address network | |
| CN101212781A (en) | A Method for Realizing Prepaid Data Service Charging in Mobile Terminal Roaming State | |
| CN102480363B (en) | Charging method, device and system based on flow or conversation flow |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |
Open date: 20070718 |