CN1852116A - Charging method of remote verifying dialing user-service client end - Google Patents
Charging method of remote verifying dialing user-service client end Download PDFInfo
- Publication number
- CN1852116A CN1852116A CNA2005100853359A CN200510085335A CN1852116A CN 1852116 A CN1852116 A CN 1852116A CN A2005100853359 A CNA2005100853359 A CN A2005100853359A CN 200510085335 A CN200510085335 A CN 200510085335A CN 1852116 A CN1852116 A CN 1852116A
- Authority
- CN
- China
- Prior art keywords
- user
- session
- radius
- prepaid
- attribute
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0892—Network architectures or network communication protocols for network security for authentication of entities by using authentication-authorization-accounting [AAA] servers or protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/82—Criteria or parameters used for performing billing operations
- H04M15/8228—Session based
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2215/00—Metering arrangements; Time controlling arrangements; Time indicating arrangements
- H04M2215/78—Metric aspects
- H04M2215/7833—Session based
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Accounting & Taxation (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Computer And Data Communications (AREA)
Abstract
本发明公开了一种RADIUS客户端的计费方法,在RADIUS协议中增加会话费用统计属性,在对某个用户的认证成功后包括:RADIUS客户端对该用户进行计费,并在会话结束后,将该用户在本次会话过程中消费的金额通过会话费用统计属性发送给RADIUS服务器;RADIUS服务器根据接收的该用户在本次会话过程中消费的金额更新该用户的信息。本发明所述方法,既可以降低业务提供商的复杂度,又可以保证各个网络运营商计费策略的保密性。
The invention discloses a billing method of a RADIUS client, which adds a statistical attribute of a session fee in the RADIUS protocol, and after a certain user is authenticated successfully, it includes: the RADIUS client bills the user, and after the session ends, The amount consumed by the user during this session is sent to the RADIUS server through the session fee statistics attribute; the RADIUS server updates the user's information according to the received amount consumed by the user during this session. The method of the invention can not only reduce the complexity of the service provider, but also ensure the confidentiality of the charging policies of each network operator.
Description
技术领域technical field
本发明涉及到在远程认证拨号用户服务(RADIUS,Remote AuthorizationDial In User Service)环境中对用户的管理方法,特别涉及到一种RADIUS客户端(Client)的计费方法。The invention relates to a management method for users in a remote authentication dial-in user service (RADIUS, Remote Authorization Dial In User Service) environment, in particular to a charging method for a RADIUS client (Client).
背景技术Background technique
RADIUS为在网络访问服务器(NAS,Network Access Server)和集中存放认证信息的RADIUS服务器之间传输认证、鉴权和配置信息的协议。RADIUS以客户端(Client)/服务器(Server)方式工作,实现了对远程电话拨号用户的身份认证、鉴权和计费。其中,RADIUS Server用于集中存放用户的认证信息,例如用户接入因特网时使用的用户名和密码等等,根据自身存放的认证信息对用户进行认证,并在认证成功后,返回用户的配置信息;RADIUS Client端多为通过拨号方式实现的NAS,主要用来将用户信息传递给服务器。RADIUS is a protocol for transmitting authentication, authorization and configuration information between a network access server (NAS, Network Access Server) and a RADIUS server that centrally stores authentication information. RADIUS works in the mode of client (Client)/server (Server), and realizes identity authentication, authentication and billing of remote telephone dial-up users. Among them, the RADIUS Server is used to centrally store the user's authentication information, such as the user name and password used by the user to access the Internet, etc., authenticate the user according to the authentication information stored by itself, and return the user's configuration information after the authentication is successful; The RADIUS client is mostly a NAS implemented by dial-up, and is mainly used to transmit user information to the server.
在现阶段典型的网络中,RADIUS Server和RADIUS Client属于相同的服务提供商(SP)/网络运营商,并且连接到相同RADIUS Server的各个RADIUS Client具有相同的计费策略,因此,为了计费方便,将计费所需的信息统一放置在RADIUS Server,由RADIUS Server完成对各个接入用户的计费。In a typical network at this stage, RADIUS Server and RADIUS Client belong to the same service provider (SP)/network operator, and each RADIUS Client connected to the same RADIUS Server has the same billing policy. Therefore, for the convenience of billing , place the information required for billing in the RADIUS Server, and the RADIUS Server completes the billing for each access user.
随着网络的不断发展,网络的拓扑也在不断的发生变化。目前,服务提供商和网络运营商已经从同一个实体中分离出来,变成相互独立的两个实体。图1显示了这样的网络拓扑结构,其中,RADIUS Server例如服务提供商不再具有对交换和传输的控制功能,而用于存放用户信息,实现用户的鉴权、认证和计费;而RADIUS Client例如网络运营商用于实现所述交换和传输功能,并通过RADIUS协议与所述业务提供商进行交互,实现对用户的鉴权、认证和计费。在这里,所述的网络运营商可以是固定网络的运营商也可以是无线网络的运营商等等,它们可以为用户提供接入因特网的服务,但是每个网络运营商具有各自不同的计费策略。以基本的因特网接入为例,用户接入网络的费用可以包括两个方面:在用户连接到因特网时一次性收取的连接费,以及根据用户接入因特网时间收取的运行费。不同的网络运营商可以具有不同的连接费和运行费计费策略。例如,对于网络运营商1,其连接费为5元/次,运行费为0.05元/分钟;对于网络运营商2,其连接费为0元/次,运行费为0.01元/分钟。各个网络运营商还可以根据竞争的需要不断改变自身的计费策略。With the continuous development of the network, the topology of the network is also constantly changing. Currently, service providers and network operators have been separated from the same entity and become two separate entities. Figure 1 shows such a network topology, in which, RADIUS Server, such as a service provider, no longer has the control function of switching and transmission, but is used to store user information, and realize user authentication, authentication and billing; and RADIUS Client For example, the network operator is used to implement the switching and transmission functions, and interacts with the service provider through the RADIUS protocol to implement user authentication, authentication and billing. Here, the network operator may be a fixed network operator or a wireless network operator, etc. They can provide users with Internet access services, but each network operator has its own different billing Strategy. Taking basic Internet access as an example, the fee for user access to the network may include two aspects: a one-time connection fee charged when the user connects to the Internet, and an operation fee charged based on the user's Internet access time. Different network operators may have different charging policies for connection fees and operation fees. For example, for network operator 1, the connection fee is 5 yuan/time, and the operation fee is 0.05 yuan/minute; for network operator 2, the connection fee is 0 yuan/time, and the operation fee is 0.01 yuan/minute. Each network operator can also constantly change its own billing strategy according to the needs of competition.
由于不同的网络运营商具有不同的计费策略,并且,计费功能是由作为RADIUS Server的业务提供商来实现的,因此,各个网络运营商就需要向业务提供商公布自身计费策略的细节,这样做非常不利于各个网络运营商计费策略的保密。另外,由于业务提供商要对通过不同的网络运营商接入的用户采用不同的计费策略进行计费,这将直接导致业务提供商计费功能复杂度的增加。此外,由于竞争的需要,各个网络运营商可能会不断调整自身的计费策略,因此还需要在调整计费策略的同时更新业务提供商上保存的各个网络运营商的计费策略,这一方面会增加计费的复杂程度,另一方面还可能造成计费策略应用的时延。上述问题在具有多个网络运营商和多个业务提供商的RADIUS环境下显得尤为明显。Since different network operators have different charging strategies, and the charging function is implemented by the service provider as the RADIUS Server, each network operator needs to announce the details of its own charging strategy to the service provider , doing so is very detrimental to the confidentiality of the charging policies of each network operator. In addition, since the service provider needs to adopt different charging strategies for charging users who access through different network operators, this will directly lead to an increase in the complexity of the service provider's charging function. In addition, due to the needs of competition, each network operator may constantly adjust its own billing strategy, so it is also necessary to update the billing strategy of each network operator saved on the service provider while adjusting the billing strategy. It will increase the complexity of charging, and on the other hand, it may also cause a delay in the application of charging policies. The above problems are particularly obvious in a RADIUS environment with multiple network operators and multiple service providers.
发明内容Contents of the invention
为了解决上述技术问题,本发明提供了一种RADIUS Client的计费方法,既可以降低RADIUS Server的复杂度,又可以保证各个网络运营商计费策略的保密性。In order to solve the above-mentioned technical problems, the present invention provides a charging method of RADIUS Client, which can reduce the complexity of RADIUS Server and ensure the confidentiality of charging strategies of each network operator.
本发明所述RADIUS Client对用户进行计费的方法,在RADIUS协议中增加会话费用统计属性,所述方法在对请求会话的用户认证成功后包括:The method that RADIUS Client of the present invention carries out billing to the user, increases session cost statistics attribute in RADIUS protocol, described method comprises after the user authentication success to request session:
a、在会话过程中,RADIUS Client在进行所述会话的报文转发过程中根据自己的计费策略对该用户进行计费;a. During the session, the RADIUS Client charges the user according to its own charging policy during the message forwarding process of the session;
b、在会话结束后,RADIUS Client将该用户在本次会话过程中消费的金额承载于所述会话费用统计属性中,发送给RADIUS服务器;b. After the session ends, the RADIUS Client carries the amount consumed by the user during this session in the session cost statistics attribute and sends it to the RADIUS server;
c、RADIUS服务器根据接收的该用户在本次会话过程中消费的金额更新该用户的信息。c. The RADIUS server updates the user's information according to the received amount consumed by the user during the current session.
本发明所述用户为预付费用户。The user mentioned in the present invention is a prepaid user.
在RADIUS协议中增加会话余额属性;Add session balance attribute in RADIUS protocol;
所述方法在执行步骤a之前进一步包括:在会话开始前,RADIUS服务器将该预付费用户所使用预付费卡的余额承载于所述会话余额属性中,发送到相应的RADIUS Client;The method further includes before performing step a: before the session starts, the RADIUS server carries the balance of the prepaid card used by the prepaid user in the session balance attribute, and sends it to the corresponding RADIUS Client;
步骤a所述计费过程包括:The billing process described in step a includes:
a1、RADIUS Client根据自身的计费策略实时计算该预付费用户在本次会话过程中当前已消费的金额;a1. The RADIUS Client calculates the amount currently consumed by the prepaid user during this session in real time according to its own billing policy;
a2、RADIUS Client将步骤a1计算得到的消费金额与从RADIUS服务器接收的预付费卡的余额进行比较,当该预付费用户已消费的金额达到所述余额时,断开该预付费用户与因特网的连接,结束本次会话;否则,返回步骤a1,直至该预付费用户结束本次会话。a2. RADIUS Client compares the consumption amount calculated in step a1 with the balance of the prepaid card received from the RADIUS server, and when the amount consumed by the prepaid user reaches the balance, disconnect the prepaid user from the Internet Connect, end the session; otherwise, return to step a1 until the prepaid user ends the session.
本发明所述的会话余额属性由RADIUS服务器发送给RADIUS Client的接入接受消息或接入挑战消息承载。The session balance attribute described in the present invention is carried by the access acceptance message or the access challenge message sent by the RADIUS server to the RADIUS Client.
步骤c所述更新为:RADIUS服务器使用自身记录的预付费卡的余额与接收的该预付费用户在本次会话过程中消费的金额相减,将得到差值作为新的余额替代原来保存的余额。Step c is updated as follows: the RADIUS server uses the balance of the prepaid card recorded by the RADIUS server to subtract the amount received by the prepaid user during this session, and the difference is used as the new balance to replace the original saved balance .
本发明所述会话计费统计属性由RADIUS Client发送给RADIUS服务器的计费请求消息承载。The session charging statistics attribute of the present invention is carried by the charging request message sent to the RADIUS server by the RADIUS Client.
由此可以看出,本发明所述的方法通过在RADIUS协议中增加用于承载预付费用户所使用预付费卡的余额信息的会话余额属性,使RADIUSServer可以将该预付费用户所使用预付费卡的余额发送给相应的RADIUSClient,由RADIUS Client完成对该预付费用户的计费;并且通过在RADIUS协议中增加会话费用统计属性,使RADIUS Client可以将用户在一次会话中消费的金额发送给RADIUS Server来更新该用户的余额,实现对预付费用户或后付费用户余额的更新。这样,本发明所述的方法一方面可以降低RADIUS Server计费功能的复杂度,另一方面还可以保证各个网络运营商计费策略的保密性。It can be seen from this that the method of the present invention increases the session balance attribute used to carry the balance information of the prepaid card used by the prepaid user in the RADIUS protocol, so that the RADIUSServer can use the prepaid card used by the prepaid user The balance of the account is sent to the corresponding RADIUS Client, and the RADIUS Client completes the billing of the prepaid user; and by adding the session fee statistics attribute in the RADIUS protocol, the RADIUS Client can send the amount consumed by the user in one session to the RADIUS Server To update the balance of the user, to realize the update of the balance of the prepaid user or the postpaid user. Like this, the method described in the present invention can reduce the complexity of RADIUS Server accounting function on the one hand, can also guarantee the secrecy of each network operator's accounting strategy on the other hand.
附图说明Description of drawings
图1显示了网络运营商和业务提供商分离为两个实体后的网络拓扑结构示意图;Figure 1 shows a schematic diagram of the network topology after the network operator and the service provider are separated into two entities;
图2为本发明所述的RADIUS Client对用户进行计费的流程图;Fig. 2 is the flowchart that RADIUS Client of the present invention carries out billing to user;
图3为本发明所述的RADIUS Clint对预付费用户进行计费的流程图。Fig. 3 is the flow chart that RADIUS Clint of the present invention charges the prepaid user.
具体实施方式Detailed ways
为了解决现有技术存在的问题,实现各个网络运营商,例如RADIUSClient的计费,本发明的核心思想是:扩展现有RADIUS协议,用于承载用户在一次会话过程中所消费费用的会话费用统计(Acct-Session-Cost)属性。这样,在会话结束后,RADIUS Client就可以计算该用户在本次会话过程中消费的金额,并将用户本次消费的金额通过Acct-Session-Cost属性发送到RADIUS Server以更新自身存储的用户记录。In order to solve the problems existing in the prior art and realize the billing of each network operator, such as RADIUSClient, the core idea of the present invention is to expand the existing RADIUS protocol to carry the session fee statistics of the user's consumption fee during a session (Acct-Session-Cost) attribute. In this way, after the session ends, the RADIUS Client can calculate the amount consumed by the user during this session, and send the amount consumed by the user to the RADIUS Server through the Acct-Session-Cost attribute to update the user record stored in itself .
对于预付费用户来讲,还需要在RADIUS协议规定的属性中增加用于承载预付费用户所使用预付费卡余额的会话余额(Session-Balance)属性,通过上述Session-Balance属性,RADIUS Server例如业务提供商可以将预付费用户所使用预付费卡的余额发送到RADIUS Client,由RADIUS Client实现对用户基于费用的计费。For prepaid users, it is also necessary to add the session balance (Session-Balance) attribute used to carry the balance of the prepaid card used by the prepaid user in the attributes specified in the RADIUS protocol. Through the above-mentioned Session-Balance attribute, RADIUS Server such as business The provider can send the balance of the prepaid card used by the prepaid user to the RADIUS Client, and the RADIUS Client can implement fee-based billing for the user.
与RADIUS协议规定的其他属性相同,所述的Session-Balance属性和Acct-Session-Cost属性均包含三部分:类型(Type)、长度(Length)及属性值(Value)。Session-Balance属性和Acct-Session-Cost属性的具体定义如表1所示,其中,Type部分用1个字节表示,用于标识该属性为一个Session-Balance属性或Acct-Session-Cost属性,本发明对该值没有具体的限制,可以定义为RADIUS协议规定的任意保留值;Length部分也用1个字节表示,用于指示接收端Session-Balance属性或属性的总长度;Value部分用于承载各个属性的内容。对于Session-Balance属性来讲,Value部分为该预付费用户所使用预付费卡的余额,用4个字节,即32比特的无符号整数表示;对Acct-Session-Cost来讲,Value部分为用户在一次会话中消费的金额,用4个字节表示。由此可以看出,所述Session-Balance属性和Acct-Session-Cost属性的总长度均为6个字节。Session-Balance属性可以由接入接受(Access Accept)消息或接入挑战(Access Challenge)消息承载,Acct-Session-Cost属性可以由计费请求(Accounting request)消息承载。所述Session-Balance属性和Acct-Session-Cost属性可以在上述消息中出现0~1次,也就是说,这两个属性是所述消息的可选属性。
表1 Table 1
注:TBD*表示该属性的Type值可以是RADIUS协议规定的任意保留值,需要在实际应用中确定。Note: TBD * indicates that the Type value of this attribute can be any reserved value stipulated by the RADIUS protocol, which needs to be determined in actual applications.
由此可以看出,通过上述Session-Balance属性,RADIUS Server就可以将预付费用户所使用预付费卡的余额信息发送给相应的RADIUS Client;通过上述Acct-Session-Cost属性,RADIUS Client可以将用户在一次会话中消费的金额发送给RADIUS Server。It can be seen that through the above-mentioned Session-Balance attribute, RADIUS Server can send the balance information of the prepaid card used by the prepaid user to the corresponding RADIUS Client; through the above-mentioned Acct-Session-Cost attribute, RADIUS Client can send the user The amount consumed in one session is sent to RADIUS Server.
图2为本发明所述RADIUS Client的计费方法流程图。如图2所示,在对某个用户认证成功后主要包括:Fig. 2 is the flow chart of the charging method of RADIUS Client described in the present invention. As shown in Figure 2, after a user is successfully authenticated, it mainly includes:
A、在会话过程中,RADIUS Client对该用户进行计费;A. During the session, RADIUS Client charges the user;
本步骤所述计费为:RADIUS Client根据自身的计费策略计算该用户在本次会话过程中消费的金额;The billing described in this step is: RADIUS Client calculates the amount consumed by the user during this session according to its own billing strategy;
在本发明的优选实施例中,RADIUS Client可以按照预付费用户接入网络的时间来进行实时计费,例如,若某个网络运营商的计费策略为连接费0元/次,运行费0.01元/分钟,且该用户接入网络的累计时间为100分钟,则该用户本次会话消费金额为0+0.01×100=1(元);In a preferred embodiment of the present invention, the RADIUS Client can perform real-time billing according to the time when the prepaid user accesses the network. Yuan/minute, and the accumulative time for the user to access the network is 100 minutes, then the user’s consumption amount for this session is 0+0.01×100=1 (yuan);
B、在会话结束后,RADIUS Client将该用户在本次会话过程中消费的金额承载于Acct-Session-Cost属性中,发送给RADIUS Server;B. After the session ends, the RADIUS Client carries the amount consumed by the user during this session in the Acct-Session-Cost attribute and sends it to the RADIUS Server;
在该步骤中,所述的Acct-Session-Cost属性可以由RADIUS Client发送给RADIUS Server的Accounting-Request消息来承载;In this step, the Acct-Session-Cost attribute can be carried by the Accounting-Request message sent to the RADIUS Server by the RADIUS Client;
由于Acct-Session-Cost属性是在预付费用户与因特网之间的会话结束后发送的,因此,承载该Acct-Session-Cost属性的Accounting-Request消息中携带的会话状态(Acct-Session-Type)属性值应当为结束(Stop);Since the Acct-Session-Cost attribute is sent after the session between the prepaid user and the Internet ends, the session state (Acct-Session-Type) carried in the Accounting-Request message carrying the Acct-Session-Cost attribute The attribute value should be the end (Stop);
C、RADIUS Server根据接收的该用户在本次会话过程中消费的金额更新该用户的信息。C. The RADIUS Server updates the user's information according to the received amount consumed by the user during this session.
图3显示了本发明所述RADIUS Client对预付费用户进行计费的方法流程,如图3所示,该方法在对某个预付费用户认证成功后主要包括:Fig. 3 has shown the method flow that RADIUS Client of the present invention carries out billing to prepaid user, as shown in Fig. 3, this method mainly comprises after a certain prepaid user authentication is successful:
a、在会话开始前,RADIUS Server将该预付费用户所使用预付费卡的余额通过Session-Balance属性发送到相应的RADIUS Client;a. Before the session starts, the RADIUS Server sends the balance of the prepaid card used by the prepaid user to the corresponding RADIUS Client through the Session-Balance attribute;
在该步骤中,所述的Session-Balance属性可以由RADIUS Server发送给RADIUS Client的Access-Accept消息或Access-Challenge消息来承载;In this step, the Session-Balance attribute can be carried by an Access-Accept message or an Access-Challenge message sent by the RADIUS Server to the RADIUS Client;
b、在会话过程中,RADIUS Client根据所述余额对该预付费用户进行实时计费;b. During the session, the RADIUS Client charges the prepaid user in real time according to the balance;
具体来讲,在RADIUS Client对该预付费用户进行实时计费的过程中,RADIUS Client根据该RADIUS Client自身的计费策略计算该预付费用户在本次会话过程中已消费的金额。在本发明的优选实施例中,RADIUS Client可以按照预付费用户接入网络的时间来进行实时计费,例如,若某个网络运营商的计费策略为连接费0元/次,运行费0.01元/分钟,则该预付费用户接入网络的时间每增加1分钟,该网络运营商将该预付费用户在本次会话中消费的金额增加0.01元,然后再将增加后的消费金额与从RADIUS Server接收的余额信息进行比较,当该预付费用户已消费的金额达到所述余额时,RADIUS Client将断开该预付费用户与因特网的连接,结束本次会话,并提示用户余额不足;否则,继续按照自身的计费策略进行计费,直至该预付费用户离开因特网,结束本次会话;Specifically, when the RADIUS Client charges the prepaid user in real time, the RADIUS Client calculates the amount consumed by the prepaid user during this session according to the RADIUS Client's own charging policy. In a preferred embodiment of the present invention, the RADIUS Client can perform real-time billing according to the time when the prepaid user accesses the network. Yuan/minute, the network operator will increase the consumption amount of the prepaid user in this session by 0.01 yuan for each additional minute of the prepaid user’s access to the network, and then compare the increased consumption amount with the RADIUS Server compares the balance information received by the RADIUS Server, and when the amount consumed by the prepaid user reaches the balance, the RADIUS Client will disconnect the prepaid user from the Internet, end this session, and prompt the user that the balance is insufficient; otherwise , continue to charge according to its own charging strategy until the prepaid user leaves the Internet and ends the session;
c、在本次会话结束后,RADIUS Client将该预付费用户在本次会话过程中消费的金额通过Acct-Session-Cost属性发送给RADIUS Server;c. After the current session ends, the RADIUS Client sends the amount consumed by the prepaid user during this session to the RADIUS Server through the Acct-Session-Cost attribute;
在该步骤中,所述的Acct-Session-Cost属性可以由RADIUS Client发送给RADIUS Server的Accounting-Request消息来承载,并且该消息中的Acct-Session-Type属性值应当为Stop;In this step, the Acct-Session-Cost attribute can be carried by the Accounting-Request message sent to the RADIUS Server by the RADIUS Client, and the Acct-Session-Type attribute value in the message should be Stop;
d、RADIUS Server根据接收的该预付费用户在本次会话过程中消费的金额更新该预付费卡记录中的余额信息。d. The RADIUS Server updates the balance information in the prepaid card record according to the received amount consumed by the prepaid user during this session.
在该步骤中,所述更新为:RADIUS Server使用自身记录的预付费卡的余额与接收的该预付费用户在本次会话过程中消费的金额相减,并将得到的差值作为新的余额替代原来保存的余额。In this step, the update is: the RADIUS Server uses the balance of the prepaid card recorded by itself to subtract the amount received by the prepaid user during this session, and uses the difference as the new balance Replace the original saved balance.
下面通过具体实例详细说明本发明所述的方法。The method described in the present invention will be described in detail below through specific examples.
在对一个预付费用户的认证成功后,作为RADIUS Server的业务提供商将自身用户记录中记录的该预付费用户所使用预付费卡的余额,例如10(元),通过Access-Accept或Access-Challenge消息中携带的Session-Balance属性发送到相应的作为RADIUS Client的网络运营商。After successfully authenticating a prepaid user, the service provider as RADIUS Server will record the balance of the prepaid card used by the prepaid user in its own user records, such as 10 (yuan), through Access-Accept or Access- The Session-Balance attribute carried in the Challenge message is sent to the corresponding network operator as the RADIUS Client.
所述网络运营商在会话过程中,根据自身的计费策略实时计算该预付费用户在本次会话中的消费的金额。例如,若该网络运营商的计费策略为连接费0元/次,运行费0.01元/分钟,则该网络运营商将根据计费策略每分钟计算一次该预付费用户消费的金额,当该预付费用户接入因特网100分钟时,计算的消费金额为0+0.01×100=1(元),当该预付费用户接入因特网1000分钟时,计算的消费金额为0+0.01×1000=10(元)。During the session, the network operator calculates the consumption amount of the prepaid user in this session in real time according to its own charging policy. For example, if the network operator's billing policy is 0 yuan/time for connection and 0.01 yuan/minute for operation, then the network operator will calculate the amount consumed by the prepaid user once per minute according to the billing policy. When a prepaid user accesses the Internet for 100 minutes, the calculated consumption amount is 0+0.01×100=1 (yuan), when the prepaid user accesses the Internet for 1000 minutes, the calculated consumption amount is 0+0.01×1000=10 (Yuan).
当所述网络运营商检测到该预付费用户在本次会话过程中消费的金额达到该预付费用户所使用预付费卡的余额10(元)时,网络运营商将主动断开该预付费用户与因特网的连接,结束本次会话,并提示用户所使用预付费卡的余额不足,然后,将该预付费用户本次会话消费的金额10(元)通过Accounting-Request消息中携带的Acct-Session-Cost属性发送到相应的业务提供商。When the network operator detects that the amount consumed by the prepaid user during this session reaches the balance of 10 (yuan) of the prepaid card used by the prepaid user, the network operator will actively disconnect the prepaid user Connect with the Internet, end this session, and prompt the user that the balance of the prepaid card used is insufficient, and then pass the amount of 10 (yuan) consumed by the prepaid user in this session through the Acct-Session carried in the Accounting-Request message -Cost attribute is sent to the corresponding service provider.
若预付费用户在离开因特网,结束本次会话时,消费的金额小于所使用预付费卡的余额,例如仅消费了1元时,网络运营商将该预付费用户本次会话消费的金额1(元)通过Accounting-Request消息中的Acct-Session-Cost属性发送到相应的业务提供商。If the prepaid user spends less than the balance of the prepaid card when leaving the Internet and ending the current session, for example, when only 1 yuan is consumed, the network operator will use the prepaid user's current session consumption amount of 1 ( element) to the corresponding service provider through the Acct-Session-Cost attribute in the Accounting-Request message.
所述的业务提供商在接收到该预付费用户在本次会话过程中消费的金额后,例如10元或1元,根据该预付费用户消费的金额将自身记录的该预付费用户所使用的预付费卡余额更新为10-10=0(元)或10-1=9(元)。After the service provider receives the amount consumed by the prepaid user during this session, such as 10 yuan or 1 yuan, the service provider records the amount used by the prepaid user according to the amount consumed by the prepaid user. The balance of the prepaid card is updated to 10-10=0 (yuan) or 10-1=9 (yuan).
从上述方法可以看出,由作为RADIUS Client的网络运营商完成对各个预付费用户的计费一方面可以降低作为RADIUS Server的业务提供商的复杂度,另一方面还可以保证各个网络运营商计费策略的保密性。It can be seen from the above method that the network operator as RADIUS Client completes the billing of each prepaid user, on the one hand, it can reduce the complexity of the service provider as RADIUS Server, on the other hand, it can also ensure that each network operator Confidentiality of Fee Policy.
Claims (6)
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2005100853359A CN1852116A (en) | 2005-07-22 | 2005-07-22 | Charging method of remote verifying dialing user-service client end |
| PCT/CN2006/001818 WO2007009401A1 (en) | 2005-07-22 | 2006-07-24 | Charging method on the remote authorization dial in user service (radius) client |
| US12/010,151 US20080167895A1 (en) | 2005-07-22 | 2008-01-22 | Accounting method of the remote authentication dial in user service client |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2005100853359A CN1852116A (en) | 2005-07-22 | 2005-07-22 | Charging method of remote verifying dialing user-service client end |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1852116A true CN1852116A (en) | 2006-10-25 |
Family
ID=37133587
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNA2005100853359A Pending CN1852116A (en) | 2005-07-22 | 2005-07-22 | Charging method of remote verifying dialing user-service client end |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20080167895A1 (en) |
| CN (1) | CN1852116A (en) |
| WO (1) | WO2007009401A1 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101296169B (en) * | 2007-04-26 | 2010-12-08 | 华为技术有限公司 | Method, system and equipment for establishing user session bearer service |
| CN101207498B (en) * | 2006-12-19 | 2011-08-24 | 中兴通讯股份有限公司 | Accounting method of multimedia broadcast service |
| CN101207497B (en) * | 2006-12-19 | 2011-08-24 | 中兴通讯股份有限公司 | Accounting system of multimedia broadcast service |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8463231B1 (en) * | 1999-11-02 | 2013-06-11 | Nvidia Corporation | Use of radius in UMTS to perform accounting functions |
| CN1218542C (en) * | 2001-07-10 | 2005-09-07 | 华为技术有限公司 | Method for using Radius pre-payment in radio data service |
| CN1423461A (en) * | 2001-11-23 | 2003-06-11 | 中望商业机器有限公司 | Broad access network gate |
| CN1225861C (en) * | 2002-06-28 | 2005-11-02 | 华为技术有限公司 | Charging method based on remote user dialing authentication protocol client |
-
2005
- 2005-07-22 CN CNA2005100853359A patent/CN1852116A/en active Pending
-
2006
- 2006-07-24 WO PCT/CN2006/001818 patent/WO2007009401A1/en not_active Ceased
-
2008
- 2008-01-22 US US12/010,151 patent/US20080167895A1/en not_active Abandoned
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101207498B (en) * | 2006-12-19 | 2011-08-24 | 中兴通讯股份有限公司 | Accounting method of multimedia broadcast service |
| CN101207497B (en) * | 2006-12-19 | 2011-08-24 | 中兴通讯股份有限公司 | Accounting system of multimedia broadcast service |
| CN101296169B (en) * | 2007-04-26 | 2010-12-08 | 华为技术有限公司 | Method, system and equipment for establishing user session bearer service |
Also Published As
| Publication number | Publication date |
|---|---|
| US20080167895A1 (en) | 2008-07-10 |
| WO2007009401A1 (en) | 2007-01-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9059871B2 (en) | Policy-based communication system and method | |
| US9209982B2 (en) | Charging for network services based on delivered quality of service | |
| CN1695367A (en) | Method, system and telecommunications node supporting alternative prepaid services | |
| US20040132427A1 (en) | Handling charging information in interworking structure of mobile communication and wireless local area networks | |
| CN1402934A (en) | Improving charging efficiency | |
| KR101158980B1 (en) | Implementing rating timer control in a pre-biller to support online and offline charging | |
| US8621582B2 (en) | Authentication system | |
| CN1461554A (en) | Method and system capable of realizing prepaid service in all IP network | |
| CN101150853A (en) | A network system, policy management control server and policy management control method | |
| CN101499912A (en) | Fee charging method and system | |
| CN1602603A (en) | Method for billing a communication service | |
| CN1199392C (en) | Billing method based on data traffic | |
| CN100420191C (en) | Billing device and method | |
| CN1852116A (en) | Charging method of remote verifying dialing user-service client end | |
| CN1613252A (en) | Credit management method and apparatus for accessing telecommunication network | |
| CN1859135A (en) | WAP service charging method | |
| CN1571341A (en) | A control and charging method used for network value added service | |
| CN1643889A (en) | Method for billing a communications link between communications terminals | |
| CN1852155A (en) | Method for realizing charge of advertisement business | |
| CN100372303C (en) | A Method for Realizing Dynamic Change of Internet Access Policy of Prepaid Users | |
| WO2005033841A2 (en) | Real time charging of pre-paid accounts | |
| CN101365100A (en) | Method for Switching Between Internet TV Service and Internet Service | |
| CN101447878B (en) | Charging method for prepayment service and system thereof | |
| CN1612529A (en) | Method for predistributing available resources of users | |
| CN1983956A (en) | Method for realizing Internet access and content server access |
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: 20061025 |