CN100337426C - Method of metering for periodic user - Google Patents

Method of metering for periodic user Download PDF

Info

Publication number
CN100337426C
CN100337426C CNB2003101168872A CN200310116887A CN100337426C CN 100337426 C CN100337426 C CN 100337426C CN B2003101168872 A CNB2003101168872 A CN B2003101168872A CN 200310116887 A CN200310116887 A CN 200310116887A CN 100337426 C CN100337426 C CN 100337426C
Authority
CN
China
Prior art keywords
user
time
access device
carrying capacity
switching 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.)
Expired - Fee Related
Application number
CNB2003101168872A
Other languages
Chinese (zh)
Other versions
CN1625115A (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 CNB2003101168872A priority Critical patent/CN100337426C/en
Publication of CN1625115A publication Critical patent/CN1625115A/en
Application granted granted Critical
Publication of CN100337426C publication Critical patent/CN100337426C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention discloses a method for charging a periodic user, which comprises the following steps: (1) A user's workable portfolio and switching time points are sent to access equipment by an AAA server; (2) The user's periodic event is processed by the AAA server at the switching time points. When the method for charging a periodic user of the present invention is used, real-time charging processing can be carried out, and the user does not need to drop at the end of a period. The present invention has the advantages of little operating amount and high calculating accuracy. The phenomena that the user overdraws, the user can not enjoy service, etc. can not occur.

Description

A kind of method that the periodicity user is chargeed
Technical field
The present invention relates to a kind of method that the periodicity user is chargeed, relate in particular to a kind of charging method that needn't require the periodicity user to roll off the production line in the end of term in week.
Background technology
AAA (authorize, authenticate and charge) server is as authentication, the accounting server of access device (NAS, LAN Switch etc.), and the effect in Internet (the Internet) networking plan is more and more important.Aaa server normally operational relation to the user whether can normally insert, whether charge information can normal recordings etc. and user, the closely-related problem of service provider's interests.Simultaneously, the quality of the service that the user can use and speed will be related to the user when using business later on to service provider's selection, and therefore, the quality of the service that provides is vital.
In order to protect service provider's interests, present aaa server generally all has metering period to the use amount billing operation of customer service in the configuration of charging policy.The type of selectable metering period is " moon is the cycle ", " bimonthly is the cycle ", " season is the cycle ", " be the cycle half a year ", " year is the cycle " and " no periodic " etc.Metering period is opened the closed interval, back before being, is being in the metering period of unit with the moon, if every month 0: 0: 0 on the 10th to next month 0: 0: 0 on the 10th is an one-period, so next month 0: 0: 0 on the 10th is the metering period end.Periodically the user is meant that the use charging policy is configured to the user of the charging policy of non-" no periodic ", mainly takes the processing mode of a metering period, a metering period to the periodicity user.In each metering period end, force users rolls off the production line.Promptly in authentification of user, inverse goes out the maximum traffic use amount that the user can use traffic carrying capacity or user to use to the maximum in all end of term in this cycle, the maximum traffic use amount that the user can use traffic carrying capacity and user to use to the maximum in all end of term in cycle is distinguishing, for instance, user A has 100 yuans, the charging policy that uses is for per hour spending 1 yuan, also has 10 hours to concluding time in this cycle.It is 10 hours that the user can use traffic carrying capacity to the maximum in all end of term in this cycle, and the maximum traffic use amount that the user can use is 100 hours.Use in the professional process the user, during to the end of term in week, the access device force users rolls off the production line, the user can't use business at short notice this moment, bring some inconvenience to the user, and in some cases, as the user carrying out online conversation or uploading, when downloading, may bring certain loss to the user, also influence the satisfaction of user simultaneously the service provider.Therefore, for the user, if monthly payment is wished can use service continuously in the time range of monthly payment.For example: user A monthly payment, and the monthly payment number is 3, user A then wishes and can normally use business every month so, rather than at a metering period end line next time, wait for a period of time again and just can reach the standard grade.The increase that the process of reaching the standard grade again of rolling off the production line has simultaneously also been brought system handles intensity, if roll off the production line, user A may not stop in one time sends the request of reaching the standard grade, and what aaa server need not stop handles and respond these requests, has increased the request number that system need handle.And aaa server has been proposed very high requirement, must be in the short time after rolling off the production line the recurrent event of process user, recurrent event is meant in the user uses whole lifetime of a service by the some cycles event.As: month period expense incident, season period expense incident, annual period expense incident etc.The effect of recurrent event is when designated period finishes, if award that the user obtained or free resource do not use, and needs cleaning in order to avoid take next cycle continuation use to, just handles by recurrent event.And if the user can be online continuously, just can not produce the request message of reaching the standard grade, therefore consume system resources not yet.
Specifically introduce the charging method to the periodicity user of prior art below in conjunction with accompanying drawing.As Fig. 1, Fig. 2, shown in Figure 3, a kind of method in the charging method of prior art may further comprise the steps:
1. as shown in Figure 1, aaa server receives the user authentication request message that access device sends, detect the term of validity deadline (i.e. the end of term in week) in this cycle of user and user's resource information, this cycle of calculating term of validity maximum traffic use amount that the user can use during deadline, return to access device, access device being reached the standard grade and rolling off the production line by the information Control user's that receives;
2. access device real-time statistics user's professional use amount, the professional use amount that can use of this user of returning of aaa server relatively simultaneously, when the professional use amount of statistics during more than or equal to the return value of aaa server, the access device force users rolls off the production line, and the message that rolls off the production line that will connect sends on the aaa server, as shown in Figure 2, aaa server carries out user's the expense calculating and the renewal of resource.
3. as shown in Figure 3, aaa server Timing Processing recurrent event detects whether online connection of this user, as rolling off the production line, and the time started in cycle and the end cycle time of carrying out this user's recurrent event and upgrading the user.
The shortcoming of this method of prior art is: end of term user must be rolled off the production line in week, can't enjoy continuous service.
The another kind of charging method of prior art may further comprise the steps:
1, aaa server receives the user's of access device transmission authentication request packet, resource information according to the user, calculate the maximum traffic use amount that this user can use, return to access device, the online of access device by the information Control user that receives and off line;
2, when reaching maximum professional use amount, the access device force users rolls off the production line, and send this connection roll off the production line message to aaa server, the expense that aaa server carries out the user is calculated and the renewal of resource.
3, aaa server regularly execution cycle sexual behavior part handle, when detecting this user and not having online connection, the time started in cycle and the end cycle time of carrying out this user's recurrent event and upgrading the user;
The shortcoming of this method of prior art is accurately to control user's online use amount, may damage service supplier's interests, for example the charging policy that uses of user A is 20 yuan of monthly payments 20 hours, promptly receiving monthly rent is 20 yuan, per hour spend 1 yuan, concluding time to monthly payment also has 10 hours, and cash in hand is 100 yuan.When this moment, the user connected online, the result of inverse is 100 hours, spent all time in the end of term of monthly payment so, the user still can use this business, still can enjoy service, because the strategy that charges is relevant with the cycle, when the user need use business, the use amount that access device obtains from aaa server is to be correlated with the charging policy in the current place of user cycle, and promptly the every 1M flow of this metering period usage charges are 1 yuan, and the professional usage charges of next cycle may be 1M2 unit, the flow that do not use aaa server to return this moment in this cycle, will in next cycle, continue so to use, cause overdraw, damage service supplier's interests.
In addition, in these schemes of prior art, the mode that aaa server adopts regularly execution cycle sexual behavior part to handle, when detecting this user and not having online connection, the time started in cycle and the end cycle time of carrying out this user's recurrent event and upgrading the user.Because all possible generating period sexual behavior part of different time, for example, the user who has be 10 of this months 1 to 10 of next months 1 as one-period, and the user who has be 11 of this months 10 to 11 of next months 10 as one-period, therefore smaller interval need be set, for example check once that will check hundreds of thousands so in one month, operand is big every 10 minutes.
Summary of the invention
An object of the present invention is to provide a kind of method, solve the problem that the user must be rolled off the production line in the end of term in week, guarantee to guarantee when the user obtains quality services service provider's interests.
For achieving the above object, the invention provides a kind of method that the periodicity user is chargeed, may further comprise the steps:
(1) mandate, authentication and accounting server to access device send the user can use traffic carrying capacity and switching time point;
(2) described access device sends billing update packet arriving when putting described switching time;
(3) after described mandate, authentication and accounting server receive described billing update packet, upgrade described user's metering period, recomputate described user's the traffic carrying capacity used and put and send to described access device switching time.
In step (1), for duration based accounting, described mandate, authentication and accounting server inverse go out the spendable traffic carrying capacity of user, and the described user who sends to access device can use result or the difference of week end of term time together existing time of traffic carrying capacity as inverse, is smaller value in them; Put described switching time is the time in the end of term in week and the difference of existing time.
In step (1), charging for flow, described mandate, authentication and accounting server inverse go out the spendable traffic carrying capacity of user, and the described user who sends to access device can use the result of traffic carrying capacity as inverse, put described switching time to be the time in the end of term in week and the difference of existing time.
Preferably, method of the present invention is used when using the Radius agreement to control user multi-service is multi-link.
The present invention not only can carry out real-time charging processing and user needn't roll off the production line in the end of term in week, and operand is little, the accuracy height of control, and overdraw, user that the user can not taken place can't enjoy phenomenons such as service.
Description of drawings
Fig. 1 is the flow processing schematic diagram of the charging method of prior art;
Fig. 2 is an aaa server charging handling process schematic diagram in the charging method of prior art;
Fig. 3 is the schematic flow sheet that aaa server is handled recurrent event in the charging method of prior art;
Fig. 4 is the flow processing schematic diagram of charging method of the present invention;
Fig. 5 is the aaa server charging handling process schematic diagram of charging method of the present invention.
Embodiment
Below in conjunction with accompanying drawing, method of the present invention is described in detail.
A kind of charging method of using when charging method of the present invention is to use Radius (remote subscriber is dialled in authentication service) agreement control user to connect.As shown in Figure 4, aaa server when receiving user's authentication request packet, according to deadline in existing resources and this cycle point carry out the inverse of user's use amount, and to access device send the user can use traffic carrying capacity and switching time point.For duration based accounting, the use amount that is sent is the result of inverse and the minimum value of the together existing time difference of time in the end of term in week; Point switching time to connecting that is sent is the difference of the time in the end of term in week with the existing time.As user A monthly payment, and the monthly payment number is 3, the monthly payment hourage was 20 in every month, and be 10 hours the deadline in this monthly payment of present range cycle, and the also remaining monthly payment hourage of user is 5 hours, be that user A used 15 hours, the result who returns so is: can use traffic carrying capacity is 5 hours, and switching time, point was the time point after 10 hours, and this result is sent to access device, for the charging of flow, the use amount that is sent is the result of inverse; Point switching time to connecting that is sent is the difference of the time in the end of term in week with the existing time.As user A 100 yuans are arranged, the charging policy that uses is metering period with the moon, this cycle, every 1M flow spent 2 yuans, be 10 hours the deadline in this cycle of present range, the flow of inverse is 100 yuan/2 yuan * 1M=50M so, switching time, point was 10 hours, and the data of returning access device are traffic carrying capacity 50M, and switching time, point was the time point after 10 hours.
Access device record is from the result of aaa server, and carries out the user and use professional quantitative statistics, and whether contrast reaches the user that aaa server returns can be used traffic carrying capacity, and whether contrast has simultaneously reached some switching time of this connection.
Repeat above-mentioned access device to aaa server send billing update packet and aaa server to access device return use amount and switching time point step, when reaching user that aaa server returns and can use traffic carrying capacity, the use amount of promptly returning not 0 o'clock, the access device force users rolls off the production line, in order to avoid overdraw, and send the message that rolls off the production line.
When putting the switching time that reaches this connection, access device sends billing update packet to aaa server, and the notice aaa server has reached some switching time that connects, and needs aaa server to carry out the processing of this connection.
As shown in Figure 5, after aaa server receives the billing update packet of access device transmission, trigger user's recurrent event and handle, carry out user resources and distribute, user's cycle is updated to new metering period, and calculates the new use amount of user, new some switching time.For example user A application monthly payment, the monthly payment strategy can use the 100M flow for 20 yuan for cost, the monthly payment time be every month 0: 0: 0 on the 10th to 9 days of next month 24 be one-period, this cycle is opened the closed interval, back before being, user A residual flow is 20M now, remaining sum is 100 yuan, the current date is a point 9 days 21 October in 2003, the cycle at user A place this moment is (2003-9-10 00:00:00,2003-10-10 00:00:00] user A online so at this moment, the traffic carrying capacity of returning is 20M, be 2003-10-10 00:00:00 switching time, and when the time arrived 2003-10-10 00:00:00, access device sent and upgrades message, this user's cycle this moment is updated to (2003-10-10 00:00:00,2003-11-10 00:00:00], user's residual flow is 100M, remaining sum is 80 yuan, the new use amount of Returning equipment this moment is 100M, and new some switching time is 2003-11-1000:00:00.
The present invention not only can carry out real-time charging processing and user needn't roll off the production line in the end of term in week, and because the present invention does not need to carry out inquiry regularly, is trigger-type fully, only needs to carry out once getting final product, so operand is little.User overdraw can not take place, the user can't enjoy phenomenons such as service in the accuracy height of control.
More than the present invention is described in detail, but those of ordinary skill in the art is to be appreciated that, under situation about not departing from the scope of the present invention with spirit, various improvement, interpolation and replacement all are possible, and all in claim of the present invention institute restricted portion.

Claims (4)

1. method that the periodicity user is chargeed may further comprise the steps:
(1) mandate, authentication and accounting server to access device send the user can use traffic carrying capacity and switching time point;
(2) described access device sends billing update packet arriving when putting described switching time;
(3) after described mandate, authentication and accounting server receive described billing update packet, upgrade described user's metering period, recomputate described user's the traffic carrying capacity used and put and send to described access device switching time.
2. method according to claim 1, it is characterized in that, for the duration based accounting mode, in described step (1), described mandate, authentication and accounting server inverse go out the spendable traffic carrying capacity of user, and the described user who sends to access device can use traffic carrying capacity to be the result of inverse and the smaller value in the difference of the together existing time of time in the end of term in week; Put described switching time is the time in the end of term in week and the difference of existing time.
3. method according to claim 1, it is characterized in that, for the charge on traffic mode, in described step (1), described mandate, authentication and accounting server inverse go out the spendable traffic carrying capacity of user, the described user who sends to access device can use the result of traffic carrying capacity as inverse, puts described switching time to be the time in the end of term in week and the difference of existing time.
4. according to the described method of each claim of claim 1 to 3, it is characterized in that described method is used when using the Radius agreement to control user multi-service is multi-link.
CNB2003101168872A 2003-12-02 2003-12-02 Method of metering for periodic user Expired - Fee Related CN100337426C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101168872A CN100337426C (en) 2003-12-02 2003-12-02 Method of metering for periodic user

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101168872A CN100337426C (en) 2003-12-02 2003-12-02 Method of metering for periodic user

Publications (2)

Publication Number Publication Date
CN1625115A CN1625115A (en) 2005-06-08
CN100337426C true CN100337426C (en) 2007-09-12

Family

ID=34760809

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101168872A Expired - Fee Related CN100337426C (en) 2003-12-02 2003-12-02 Method of metering for periodic user

Country Status (1)

Country Link
CN (1) CN100337426C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102201923B (en) * 2011-06-09 2014-03-26 杭州华三通信技术有限公司 Method and system for settling cross-period expenses of online user in AAA (authentication, authorization and accounting) system in real time
CN104955014A (en) * 2014-03-27 2015-09-30 阿尔卡特朗讯 Method and device for resetting user information
CN104135384B (en) * 2014-07-30 2018-06-12 上海斐讯数据通信技术有限公司 Access authority manages system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5793852A (en) * 1994-12-20 1998-08-11 Electronics And Telecommunications Research Institute Method of processing information charge discount rates for service subscribers in premium-rate service
WO2000008865A2 (en) * 1998-08-01 2000-02-17 Samsung Electronics Co., Ltd. Billing method in electronic switch in a cellular network
CN1437352A (en) * 2002-02-04 2003-08-20 华为技术有限公司 Data flow quantity statistical method
CN1437351A (en) * 2002-02-05 2003-08-20 华为技术有限公司 Charge method based on data flow quantity

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5793852A (en) * 1994-12-20 1998-08-11 Electronics And Telecommunications Research Institute Method of processing information charge discount rates for service subscribers in premium-rate service
WO2000008865A2 (en) * 1998-08-01 2000-02-17 Samsung Electronics Co., Ltd. Billing method in electronic switch in a cellular network
CN1437352A (en) * 2002-02-04 2003-08-20 华为技术有限公司 Data flow quantity statistical method
CN1437351A (en) * 2002-02-05 2003-08-20 华为技术有限公司 Charge method based on data flow quantity

Also Published As

Publication number Publication date
CN1625115A (en) 2005-06-08

Similar Documents

Publication Publication Date Title
JP4100870B2 (en) Service control of telecommunication network
US8588737B2 (en) Methods, systems, and computer-readable-mediums for managing rollover usage units of communication services
CN1685333A (en) Method and system for managing local control of WLAN access
US20010034704A1 (en) Method and system to facilitate financial settlement of service access transactions between multiple parties
US20010034677A1 (en) Method and system to normalize transaction data pertaining to accesses to a service provided via a plurality of service providers
CN107360006A (en) A kind of resource billing method and device
US20100005017A1 (en) Billing method and system, and bill cycle cut off module
CN107078915A (en) Nonlinear data charging
CN100337426C (en) Method of metering for periodic user
CN1430377A (en) Method of realizing Internet contents paying
US20010026143A1 (en) Charging system and charging method for use of battery power
KR20010102800A (en) Variable internet advertisement ordering apparatus and method thereof based on competition
Gupta et al. Managing the Internet as an economic system
JP2002099733A (en) Project investment intermediating system
CN101202637A (en) Device and method for realizing charging according to resource types based on medium service apparatus
CN101069413B (en) A method and system for rewarding users of services in a communications system
KR20070067021A (en) System for operating policy of providing advertisements
KR101303485B1 (en) Apparatus for billing in wire/wireless integrated service network and method thereof
WO2004086364A2 (en) Method and apparatus for managing storage unit rental information
KR20010068961A (en) Method for managing cyber money of internet web sites
CN101247240A (en) Communication charge calculation method, system and device
CN101202635A (en) Method for realizing charging according to resource types based on medium service apparatus
KR20070066753A (en) System and method for operating policy of providing advertisements, server and recording medium
KR20070067022A (en) Sever for operating policy of providing advertisements
JP2004310182A (en) Charging data tabulation method

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: 20070912

CF01 Termination of patent right due to non-payment of annual fee