CN1464682A - Method for implementing broad band pre-payment based on authentication, authorization and charging protocol - Google Patents

Method for implementing broad band pre-payment based on authentication, authorization and charging protocol Download PDF

Info

Publication number
CN1464682A
CN1464682A CN 02123765 CN02123765A CN1464682A CN 1464682 A CN1464682 A CN 1464682A CN 02123765 CN02123765 CN 02123765 CN 02123765 A CN02123765 A CN 02123765A CN 1464682 A CN1464682 A CN 1464682A
Authority
CN
China
Prior art keywords
user
access device
mandate
checking
remaining time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 02123765
Other languages
Chinese (zh)
Other versions
CN1223140C (en
Inventor
陈国强
万斌
胡跃明
宋强
周宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 02123765 priority Critical patent/CN1223140C/en
Publication of CN1464682A publication Critical patent/CN1464682A/en
Application granted granted Critical
Publication of CN1223140C publication Critical patent/CN1223140C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for realizing broad band pre-payment based on checking, authorization and charging protocol. According to the method, the user first sends access request message to the RADIUS server through the network access device, including username, keywords and the physical location of access, the RADIUS server checks the user, if the checking result is OK, the server returns the access accepting message including the user's remaining time and remaining flow to the access device, when the user completes the modification of the service data during the process of internet access, the RADIUS server re-determines the remaining time and remaining flow of the user based on the modified service data, and transmits the control message containing the new remaining time and remaining flow to the access device, the access device performs the user access control according to the new remaining time and remaining flow.

Description

Implementation method based on the broad band pre-payment of checking, mandate, charging protocol
Technical field
The present invention relates to the charging method in the network system, relate in particular to charging method based on checking, mandate, (AAA) agreement of chargeing (radius protocol).
Background technology
Radius protocol according to standard, when the user surfs the Net, by the PPP(Point-to-Point Protocol) dial mode information such as username and password are sent on the access device, access device generates one according to these information and inserts request message, message comprises user name, password, the attributes such as physical location information that insert, access device sends to radius server with this message, by radius server the user is authenticated, if authentication is passed through, then return the attribute information that comprises mandate, as user's IP address to access device, the online time limit, message is accepted in the access of bandwidth etc.Access device is accepted message according to described access, limited ground open network authority, send the charging request message to radius server simultaneously, radius server is according to the charging request message, will be in the current time data-in storehouse, time started point as chargeing returns the charging response message simultaneously.Access device sends the real time billing request message every certain time interval later on, after radius server is received this message, charge information is recorded in the database, returns the real time billing response message simultaneously.The purpose of carrying out the real time billing message interaction is that whole charge informations appear losing unusually in access device, RADIUS service or network in the process that the user reaches the standard grade in order to avoid.
In the middle of the process of chargeing, the user may be off line at any time, after access device is received user's off line notice, send a charging request message that comprises the end attribute that charges to radius server, radius server will record in the database according to this message the current time, as the concluding time point that charges, return the charging response message that comprising charges finishes attribute simultaneously and finish to charge.When chargeing end, radius server can calculate user's on-line time according to the time point that charges beginning and finish, also can from the real time billing message or the message that rolls off the production line, extract flow (can be byte number or number-of-packet), combine the expense of calculating this time of user online with rate (by time or flowmeter), from the remaining sum of this user account, deduct this time expenses of surfing Internet then, if the remaining sum in the user account number is 0, then stop the later network insertion of this user.
From the above, present be to handle in 0 o'clock to exist a lot of not enoughly under based on the prepaid servic emechanism of radius protocol to user balance, at first can not when the user is online, carry out residual flow control to the user; Secondly, existing charging way is only notified access device in the Certificate Authority stage, and does not comprise attribute remaining time in charging response message thereafter, therefore also can't carry out control remaining time to the user; Simultaneously, because the restriction of the client/server configuration of standard radius protocol, if cause in the process of user's online, supplementing with money, the residue that extended line duration (or flow), the radius server access device of also having no idea to notify.
Summary of the invention
The object of the present invention is to provide a kind of implementation method of the broad band pre-payment based on checking, mandate, charging protocol, use this method dynamically to control the Internet user according to remaining time or flow.
For achieving the above object, the implementation method of the broad band pre-payment based on checking, mandate, charging protocol provided by the invention comprises:
A. the user sends the access request message of the physical location that comprises user name, password, access to checking, mandate, accounting server (radius server) by network access equipment;
B. verify, mandate, accounting server authenticate the user, if authentication is passed through, then return remaining time of comprising the user and message is accepted in the access of residual flow to access device, change step c then, otherwise message to the login of access device feedback refusing user's, with the refusing user's logging in network, finish then;
C. access device sends the charging request message to checking, mandate, accounting server, and checking, mandate, accounting server be to access device feedback charging response message, user's success of surfing the Net;
D. access device regularly sends the real time billing request to checking, mandate, accounting server, checking, mandate, accounting server are to access device feedback real time billing response, while access device periodic refreshing user's remaining time and residual flow, when remaining time and residual flow have one to be 0, remove user's connection.
Described method also comprises: in the checking of standard, mandate, charging protocol (radius protocol) residual flow attribute (Remanent_Volume) is set, is used for feeding back to the authentication response of access device and the online of charging response message identifying user at checking, mandate, accounting server and allows the residual flow that uses.
When the user goes up the modification of finishing business datum in the network process, checking, mandate, accounting server redefine user's remaining time and residual flow according to amended business datum, and at access device after checking, mandate, accounting server send the real time billing request, comprise the real time billing response of new remaining time and residual flow to access device feedback, by access device according to new remaining time and residual flow user's online being controlled.
Above-mentioned steps also can realize like this: when the user goes up the modification of finishing business datum in the network process, checking, mandate, accounting server redefine user's remaining time and residual flow according to amended business datum, and send the control message comprise new remaining time and residual flow to access device, by access device according to new remaining time and residual flow user's online being controlled.
Because the present invention is when authentification of user passes through, return remaining time of comprising the user and message is accepted in the access of residual flow to access device, simultaneously, when the user goes up the modification of finishing business datum in the network process, radius server can redefine user's remaining time and residual flow according to amended business datum, to the access device feedback, make access device dynamically to control user's connection according to remaining time and residual flow.Just come into force owing to needn't roll off the production line after this method in the prepayment service based on time, flow, can allow the user supplement with money, thereby make the prepayment service in broadband reach practical stage at once.
Description of drawings
Fig. 1 is the embodiment flow chart of the method for the invention.
Embodiment
In broad band pre-payment business, need when the user prepayment remaining sum is used up, cut off the user and connect based on radius protocol.Because access device is only handled the information with join dependency, and do not know user's rate and remaining sum equivalence, therefore to realize dynamic control to user's online, need radius server to calculate remaining maximum up duration and the flow of the current online of user, and notify access device in some way according to rate and user balance; And access device can be implemented dynamically control with flow to being connected of user according to the time.If the user is in the process of online, remaining time or flow are decremented to 0, and access device will stop user's connection.In addition, in the middle of the process of control user's remaining time and flow, the activity that the user supplements with money may take place, cause remaining time and flow dynamics to change, this also is one of the emphasis that must consider of prepayment service.
The present invention is described in further detail below in conjunction with accompanying drawing.
Fig. 1 is the embodiment flow chart of the method for the invention.Implement the present invention according to Fig. 1, at first need the attribute of the radius protocol of standard is expanded, specifically, the one, in the radius protocol of standard, increase flow restriction attribute (Remanent-Volume), be used for realizing to the residual stream quantitative limitation.Simultaneously in authentication response and charging response message, allow accounting server to issue attribute remaining time (Session-Timeout) of standard radius protocol again, issue residual flow attribute (Remanent-Volume) simultaneously, realizing correction, and support the Comprehensive Control of the two to remaining time and residual flow.
According to foregoing, when realization is professional based on the broad band pre-payment of radius protocol, step 1 user the information such as physical location of user name, password, access are sent to network access equipment, network access equipment generates an access request message that comprises the physical location of user name, password, access according to above-mentioned information and sends to radius server; Radius server authenticates step 2 couple user, then judges in step 3 whether authentication is passed through, if authentication is not passed through, the message to the login of access device feedback refusing user's with the refusing user's logging in network, finishes then; If authentication is passed through, then comprise that to access device feedback user's the remaining time and the access of residual flow accept message at step 4RADIUS server, also have the authorization message of radius server in the message, as be user's IP address allocated, the network bandwidth etc. the user; The authorization message that access device issues according to radius server, limited open network authority is accepted user's logging in network; Then access device sends the charging of charging request message notice radius server in step 5 to radius server, after checking, mandate, accounting server are received this message, will be in the current time data-in storehouse, as the time started point that charges, simultaneously to access device feedback charging response message, user's success of surfing the Net.Whole charge informations appear losing unusually in access device, RADIUS service or network in the process that the user reaches the standard grade in order to avoid, access device regularly sends the real time billing request to radius server in step 6, radius server is to access device feedback real time billing response, while access device periodic refreshing user's remaining time and residual flow, when remaining time and residual flow have one to be 0, send the user offline request message to radius server, remove user's connection.
In above-mentioned steps 6, in last network process, finish the modification of business datum as the user, for example having carried out account number supplements with money, other service attributes have perhaps been changed, its bandwidth, service priority etc., its maximum on-line time and total flow can change, therefore radius server redefines user's remaining time and residual flow according to amended business datum, and at access device after it sends real time billing request, comprise the real time billing response of new remaining time and residual flow to the access device feedback, reset this two values by access device, and according to new remaining time and residual flow user's online being controlled.
Adopt method shown in Figure 1 that the user is carried out the influence that On-line Control is subjected to the timing accuracy of regularly mutual real time billing request message of access device and radius server and response message, therefore, the present invention has increased a control message in the standard radius protocol, be specifically designed to radius server notice access device and revise service attribute.In network process on the user, finish the modification of business datum like this in step 6, radius server redefines user's remaining time and residual flow according to amended business datum, and send the control message comprise new remaining time and residual flow to access device, user's online is controlled according to new remaining time and residual flow by access device then, simultaneously, access device is behind the control message that receives the radius server transmission, and sending the charging state that comprises message to radius server is the real time billing request of revising the affirmation state.

Claims (6)

1, a kind of implementation method of the broad band pre-payment based on checking, mandate, charging protocol comprises:
A. the user sends the access request message of the physical location that comprises user name, password, access to checking, mandate, accounting server (radius server) by network access equipment;
B. verify, mandate, accounting server authenticate the user, if authentication is passed through, then return remaining time of comprising the user and message is accepted in the access of residual flow to access device, change step c then, otherwise message to the login of access device feedback refusing user's, with the refusing user's logging in network, finish then;
C. access device sends the charging request message to checking, mandate, accounting server, and checking, mandate, accounting server be to access device feedback charging response message, user's success of surfing the Net;
D. access device regularly sends the real time billing request to checking, mandate, accounting server, checking, mandate, accounting server are to access device feedback real time billing response, while access device periodic refreshing user's remaining time and residual flow, when remaining time and residual flow have one to be 0, remove user's connection.
2, the implementation method of broad band pre-payment according to claim 1, it is characterized in that described method also comprises: in the checking of standard, mandate, charging protocol (radius protocol), residual flow attribute (Remanent_Volume) is set, is used for feeding back to the authentication response of access device and the online of charging response message identifying user and allows the residual flow that uses at checking, mandate, accounting server.
3, the implementation method of broad band pre-payment according to claim 2, it is characterized in that described method also comprises: when the user goes up the modification of finishing business datum in the network process, checking, mandate, accounting server redefine user's remaining time and residual flow according to amended business datum, and at access device after checking, mandate, accounting server send the real time billing request, comprise the real time billing response of new remaining time and residual flow to access device feedback, by access device according to new remaining time and residual flow user's online being controlled.
4, the implementation method of broad band pre-payment according to claim 2 is characterized in that described method also comprises: the control message that is specifically designed to checking, mandate, accounting server notice access device modification service attribute is set.
5, the implementation method of broad band pre-payment according to claim 4, it is characterized in that described method also comprises: when the user goes up the modification of finishing business datum in the network process, checking, mandate, accounting server redefine user's remaining time and residual flow according to amended business datum, and send the control message comprise new remaining time and residual flow to access device, by access device according to new remaining time and residual flow user's online being controlled.
6, the implementation method of broad band pre-payment according to claim 5, it is characterized in that described method also comprises: access device is behind the control message that receives checking, mandate, accounting server transmission, and sending the charging state that comprises message to checking, mandate, accounting server is the real time billing request of revising the affirmation state.
CN 02123765 2002-06-24 2002-06-24 Method for implementing broad band pre-payment based on authentication, authorization and charging protocol Expired - Fee Related CN1223140C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02123765 CN1223140C (en) 2002-06-24 2002-06-24 Method for implementing broad band pre-payment based on authentication, authorization and charging protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02123765 CN1223140C (en) 2002-06-24 2002-06-24 Method for implementing broad band pre-payment based on authentication, authorization and charging protocol

Publications (2)

Publication Number Publication Date
CN1464682A true CN1464682A (en) 2003-12-31
CN1223140C CN1223140C (en) 2005-10-12

Family

ID=29743670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02123765 Expired - Fee Related CN1223140C (en) 2002-06-24 2002-06-24 Method for implementing broad band pre-payment based on authentication, authorization and charging protocol

Country Status (1)

Country Link
CN (1) CN1223140C (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006047965A1 (en) * 2004-11-08 2006-05-11 Huawei Technologies Co., Ltd. A method for processing the online charging
CN1317878C (en) * 2004-04-29 2007-05-23 华为技术有限公司 A method for implementing charging
CN100372303C (en) * 2004-12-13 2008-02-27 华为技术有限公司 Method for realizing pre-payment user internet policy dynamic change
CN100438404C (en) * 2004-10-25 2008-11-26 英业达股份有限公司 Web page browse timing system and its timing method
CN100464550C (en) * 2006-02-27 2009-02-25 东南大学 Network architecture of backward compatible authentication, authorization and accounting system and implementation method
CN100466524C (en) * 2006-07-06 2009-03-04 华为技术有限公司 Method and system for controlling access net state
CN1697386B (en) * 2004-05-14 2010-04-07 华为技术有限公司 Method of charging base on infrastructure architecture of authentication and security in WLAN
CN101237402B (en) * 2008-02-02 2010-12-08 中兴通讯股份有限公司 AAA service session access control system and method
CN101094082B (en) * 2007-08-20 2011-03-02 中兴通讯股份有限公司 Access method for prepaid users
CN1681243B (en) * 2004-04-05 2011-06-08 华为技术有限公司 Method for realizing user authentication of wide-band network special bus
CN102238508A (en) * 2010-05-06 2011-11-09 华为技术有限公司 Online charging method, device and system
CN101312473B (en) * 2007-05-25 2011-12-07 中兴通讯股份有限公司 Method realizing pre-payment charging sheme type switching
CN1972304B (en) * 2005-11-21 2012-06-27 埃森哲环球服务有限公司 Unified directory and presence system for universal access to telecommunications services
WO2013013367A1 (en) * 2011-07-22 2013-01-31 宇龙计算机通信科技(深圳)有限公司 Method and device for authenticating identity of mobile terminal
CN104378215A (en) * 2014-11-28 2015-02-25 杭州华三通信技术有限公司 Network billing control method and network billing control device
CN105610597A (en) * 2014-11-21 2016-05-25 中兴通讯股份有限公司 Authentication method, authentication device and information sending method
CN109728917A (en) * 2017-10-30 2019-05-07 中国电信股份有限公司 Dynamic statistics method, system and the charge system of fixed network Wide Flow
CN113628392A (en) * 2021-08-19 2021-11-09 上海擎朗智能科技有限公司 Time management method, device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056179B (en) * 2007-06-13 2010-06-09 中兴通讯股份有限公司 Method and system for controlling the user to visit the network at the specific area

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1681243B (en) * 2004-04-05 2011-06-08 华为技术有限公司 Method for realizing user authentication of wide-band network special bus
CN1317878C (en) * 2004-04-29 2007-05-23 华为技术有限公司 A method for implementing charging
CN1697386B (en) * 2004-05-14 2010-04-07 华为技术有限公司 Method of charging base on infrastructure architecture of authentication and security in WLAN
CN100438404C (en) * 2004-10-25 2008-11-26 英业达股份有限公司 Web page browse timing system and its timing method
WO2006047965A1 (en) * 2004-11-08 2006-05-11 Huawei Technologies Co., Ltd. A method for processing the online charging
CN100372303C (en) * 2004-12-13 2008-02-27 华为技术有限公司 Method for realizing pre-payment user internet policy dynamic change
CN1972304B (en) * 2005-11-21 2012-06-27 埃森哲环球服务有限公司 Unified directory and presence system for universal access to telecommunications services
CN100464550C (en) * 2006-02-27 2009-02-25 东南大学 Network architecture of backward compatible authentication, authorization and accounting system and implementation method
CN100466524C (en) * 2006-07-06 2009-03-04 华为技术有限公司 Method and system for controlling access net state
CN101312473B (en) * 2007-05-25 2011-12-07 中兴通讯股份有限公司 Method realizing pre-payment charging sheme type switching
CN101094082B (en) * 2007-08-20 2011-03-02 中兴通讯股份有限公司 Access method for prepaid users
CN101237402B (en) * 2008-02-02 2010-12-08 中兴通讯股份有限公司 AAA service session access control system and method
CN102238508A (en) * 2010-05-06 2011-11-09 华为技术有限公司 Online charging method, device and system
CN102238508B (en) * 2010-05-06 2014-09-03 华为技术有限公司 Online charging method, device and system
WO2013013367A1 (en) * 2011-07-22 2013-01-31 宇龙计算机通信科技(深圳)有限公司 Method and device for authenticating identity of mobile terminal
CN105610597A (en) * 2014-11-21 2016-05-25 中兴通讯股份有限公司 Authentication method, authentication device and information sending method
CN104378215A (en) * 2014-11-28 2015-02-25 杭州华三通信技术有限公司 Network billing control method and network billing control device
CN109728917A (en) * 2017-10-30 2019-05-07 中国电信股份有限公司 Dynamic statistics method, system and the charge system of fixed network Wide Flow
CN109728917B (en) * 2017-10-30 2022-02-22 中国电信股份有限公司 Dynamic statistical method, system and charging system for fixed network broadband flow
CN113628392A (en) * 2021-08-19 2021-11-09 上海擎朗智能科技有限公司 Time management method, device and storage medium
CN113628392B (en) * 2021-08-19 2023-08-25 上海擎朗智能科技有限公司 Time management method, device and storage medium

Also Published As

Publication number Publication date
CN1223140C (en) 2005-10-12

Similar Documents

Publication Publication Date Title
CN1223140C (en) Method for implementing broad band pre-payment based on authentication, authorization and charging protocol
US7319855B1 (en) Method for charging internet services via a mobile telephone
US20030220994A1 (en) Wireless network access system and method
US20130174276A1 (en) Content distribution system, content distribution method, and client terminal
JPH08214281A (en) Charging method and system
US20060242038A1 (en) Method for charging costs of enjoying contents transmitted over a telecommunications network, preferably by the internet network, and related system
CN100561928C (en) A kind of charging method of mobile digital broadcast network
CN100456712C (en) Method of realizing Internet contents paying
CN101247239A (en) Authenticated authorization accounting system and implementing method thereof
CN106934608B (en) Multi-state two-dimensional code synthesis and user signless and signless trading method
CN101202637A (en) Device and method for realizing charging according to resource types based on medium service apparatus
US20100094756A1 (en) System and method for rapid financial transactions through an open financial exchange or wire transfer
US20100005026A1 (en) Method of communication implemented by a dating network
US20060026265A1 (en) Digital media downloading system
CN114943539A (en) Method and device for processing automatic renewal transaction
CN101800964A (en) Charging method, device and system as well as content/service server
CN101365100B (en) Method for switching between network television service and internet service
US20060031168A1 (en) Method for access to multimedia content and a platform for implementation of the method
CN106332040A (en) Account resource sharing method and device
JP2002325136A (en) Contents distribution/accounting settlement surrogate system, network management center, and information distribution center
JP3802454B2 (en) Packet communication service system, apparatus, method, program, and medium storing program
KR101732692B1 (en) Method for Delivering Gifting Contents
JP2002352149A (en) Charging system and charging method in service over the internet
KR100693377B1 (en) System for light-weight certification and user authentication service using ASP and method for the same
KR20210075044A (en) Method for Providing Contents

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

Granted publication date: 20051012

Termination date: 20150624

EXPY Termination of patent right or utility model