Wide band post-paid service implementation method and system
Technical field
The present invention relates to data communication field, more specifically, relate to a kind of wide band post-paid service implementation method and system.
Background technology
In present data communication field, user's authentication, Radius agreement and the Extended Protocol thereof that charging all is the employing standard are realized that networking mode as shown in Figure 1.Fig. 1 is a networking mode schematic diagram concrete when the user utilizes broadband access network in the prior art.
As shown in Figure 1, the implementation of chargeing in the prior art is as follows: access server and aaa server link together by Ethernet, preserve user's the information of opening an account and authorization message on the aaa server.Access server and aaa server are supported the Radius agreement of standard or expansion jointly, can adopt the Radius agreement to carry out communication between the two.The user is when dialling up on the telephone, and aaa server processes user's authentication and charging request process, the authorization message control user Internet access (Internet) that access server returns according to aaa server.
According to the Radius agreement regulation of standard, existing technology has realized prepaid user's control.Aaa server is according to prepaid user's remaining sum; calculate the online duration that the user can use accurately; and in authorization packets, prepaid user's control strategy and available online duration are handed down to access server; so that access server interrupts being connected of user and Internet timely under the situation of user balance deficiency; make user's expense be unlikely to overdraw, protected benefits of operators.The shortcoming of this technology is: after user's remaining sum is used to complete, even the user is when carrying out important work, do not having under the relevant prompting message situation, also the network of disconnect user connects immediately, causes loss in the work to the user.
In existing technology,, realized postpaid service user's charging by the Original CDR that the Radius server is produced.Fig. 2 is in the prior art, the realization flow of postpaid service user's control, and as shown in Figure 2, concrete realization flow comprises following step:
Step S202: the postpaid service user dials up on the telephone, and subscription client sends to access server with authentication request message;
Step S204: access server sends to aaa server with authentication request, and aaa server authenticates user's identity, and sends authorization messages to access server;
Step S206: access server is according to authorization messages, and the Internet network of connecting subscribers participating connects, and sends the request of charging to aaa server simultaneously;
Step S208: user offline, send the interrupt network connection request, access server disconnect user network connects, and sends the charging end to aaa server; And
Step S210:AAA server generates user's charging bill according to charging message and gathers for the charging center.
Yet, this method has following shortcoming: at first, because the user uses afterwards earlier to pay, aaa server can accurately not calculate the online duration that the postpaid service user can use according to remaining sum in the time of authentification of user, access server can accurately not controlled the amount that the postpaid service user uses Internet resources, cause subscriber arrearage, the infringement benefits of operators; Secondly, limit the diversity of broadband services, can not satisfy different industries user's requirement, be unfavorable for carrying out of broadband services.
Thereby, be badly in need of a kind of scheme and solve the broadband network post payment service.
Summary of the invention
In order to solve shortcoming of the prior art and problem, the invention provides a kind of wide band post-paid service implementation method and system, be used to safeguard benefits of operators.
One aspect of the present invention provides a kind of wide band post-paid service implementation method, and it can may further comprise the steps: step 1 when the postpaid service user opens an account, is provided with spendable maximum dollar amount of user and credit grade; Step 2, when the user surfed the Net, certificate server authenticated the user, calculated user's available online duration simultaneously according to maximum dollar amount, and sent online duration and authorization messages to access server; Step 3, access server are according to authorization messages, and the connecting subscribers participating networking connects, and user's available online duration is set, and send the request of charging to aaa server simultaneously; And step 4, aaa server sends the User Status updating message to monitoring server, and monitoring server is provided with state of user, and user's available online duration is monitored.
Wide band post-paid service implementation method according to one aspect of the invention is further comprising the steps of: when available online duration is near, monitoring server calculates according to credit grade and continues available online duration, and will authorize updating message to send to access server by aaa server, the access server online in real time is upgraded available online duration.
Wherein, arrearage when in dialing the time then comprises the URL address that arrearage is notified in the aaa server authentication response message, and access server is paid the fees the page of page reorientation to inquiry arrearage notice with prompting.
In addition, when in dialing the time enough remaining sums are arranged, then comprise the URL address of query State in the aaa server authentication response message, access server is with the page of page reorientation to status poll, to show available online duration.
Comprise following processing in the above-mentioned steps four: account system sends arrearage information to monitoring server in real time; After monitoring server is received arrearage information, send the interruption connection message to aaa server; After aaa server was received and interrupted connection message, the judgement state sent DM message to the Connection Service device, interrupted subscriber network and connected; Aaa server arrearage state is set to " arrearage "; And access server sends the charging end to aaa server, aaa server generation user ticket, the collection of confession charging center.
Further, also comprise following processing in the step 4: after the user pays the fees once more, account system sends the information of paying the fees to monitoring server, and monitoring server will authorize updating message to send to access server under situation about not breaking, and upgrade available online duration; And after aaa server received the message of paying the fees of monitoring server, the arrearage state was set to " normally ".
Utilize standard Radius agreement to communicate between aaa server and the access server.
The present invention also provides a kind of wide band post-paid service to realize system, and it comprises: setting device, be used for when the postpaid service user opens an account, and spendable maximum dollar amount of user and credit grade are set; Certificate server is used for when the user surfs the Net the user being authenticated, and calculates user's available online duration simultaneously according to maximum dollar amount, and sends online duration and authorization messages to access server; Access server, according to authorization messages, the connecting subscribers participating networking connects, and user's available online duration is set, and sends the request of charging to aaa server simultaneously; And monitoring server, be used for after the User Status updating message that receives from aaa server, state of user being set, and user's available online duration is monitored.
Utilize standard Radius agreement to communicate between aaa server and the access server.
Thereby, adopt the present invention, by monitor postpaid service user's online duration in real time by monitoring server, utilize the setting of credit grade, control postpaid service user's amount owed flexibly.Under the situation of postpaid service user's arrearage, continue available online duration by monitoring server according to user's credit grade inverse user, reasonably control the online duration of paying in the back, prevent bad user's malicious owing fee, for the user of loyalty provides more reasonable, quality services, reached the purpose of safeguarding operator's interests.
In addition, the present invention can utilize the Radius agreement of standard to communicate between aaa server and access server, helps being used between the aaa server of different manufacturers and the access server.Also have, the invention provides and account system between the interface of various modes, can be used with the account system of different manufacturers.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the concrete networking mode the when user utilizes broadband access network in the prior art;
Fig. 2 is the flow chart of postpaid service user's control method in the prior art;
Fig. 3 is the flow chart according to wide band post-paid service implementation method of the present invention;
Fig. 4 is the schematic diagram of the concrete networking mode of postpaid service user of the present invention when surfing the Net;
Fig. 5 is the flow chart according to postpaid service user's control method of the embodiment of the invention; And
Fig. 6 is a block diagram of realizing system according to wide band post-paid service of the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
The amount owed of utilizing the monitoring server supervisory user of the present invention, when the duration that the user sets will use up, monitoring server was according to credit grade inverse user's available duration via.Adopt the setting of credit grade, control postpaid service user ground amount owed flexibly, in real time, for the user provides more high-quality ground service.
Fig. 3 is the flow chart according to wide band post-paid service implementation method of the present invention.As shown in Figure 3, this method may further comprise the steps:
Step S302 when the postpaid service user opens an account, is provided with spendable maximum dollar amount of user and credit grade;
Step S304, when the user surfed the Net, certificate server authenticated the user, calculated user's available online duration simultaneously according to maximum dollar amount, and sent online duration and authorization messages to access server;
Step S306, access server are according to authorization messages, and the connecting subscribers participating networking connects, and user's available online duration is set, and send the request of charging to aaa server simultaneously; And
Step S308, aaa server sends the User Status updating message to monitoring server, and monitoring server is provided with state of user, and user's available online duration is monitored.
Wide band post-paid service implementation method according to one aspect of the invention is further comprising the steps of: when available online duration is near, monitoring server calculates according to credit grade and continues available online duration, and will authorize updating message to send to access server by aaa server, the access server online in real time is upgraded available online duration.
Wherein, arrearage when in dialing the time then comprises the URL address that arrearage is notified in the aaa server authentication response message, and access server is paid the fees the page of page reorientation to inquiry arrearage notice with prompting.
In addition, when in dialing the time enough remaining sums are arranged, then comprise the URL address of query State in the aaa server authentication response message, access server is with the page of page reorientation to status poll, to show available online duration.
Comprise following processing among the above-mentioned steps S308: account system sends arrearage information to monitoring server in real time; After monitoring server is received arrearage information, send the interruption connection message to aaa server; After aaa server was received and interrupted connection message, the judgement state sent DM message to the Connection Service device, interrupted subscriber network and connected; Aaa server arrearage state is set to " arrearage "; And access server sends the charging end to aaa server, aaa server generation user ticket, the collection of confession charging center.
Further, also comprise following processing among the step S308: after the user pays the fees once more, account system sends the information of paying the fees to monitoring server, and monitoring server will authorize updating message to send to access server under situation about not breaking, and upgrade available online duration; And after aaa server received the message of paying the fees of monitoring server, the arrearage state was set to " normally ".
Wherein, utilize standard Radius agreement to communicate between aaa server and the access server.
Fig. 4 is the schematic diagram of the concrete networking mode of postpaid service user of the present invention when surfing the Net, and Fig. 5 is the flow chart according to postpaid service user's control method of the embodiment of the invention.Describe in detail according to postpaid service user's control method of the present invention below with reference to Fig. 4 and Fig. 5.
As shown in Figure 5, the flow chart of the concrete technical scheme of control postpaid service user online duration of the present invention may further comprise the steps:
Step S502, the postpaid service user opens an account, and the maximum dollar amount that the user can use is set, and credit grade is set;
Step S504, the postpaid service user dials up on the telephone, and the user sends the authentication request message access server;
Step S506, access server sends to aaa server with authentication request, and aaa server authenticates user's identity, the duration that can use according to configuration remaining sum inverse postpaid service user, and send authorization messages to access server;
Step S508, access server are according to authorization messages, and the Internet network of connecting subscribers participating connects, and the online duration that the user can use is set, and send the request of charging to aaa server simultaneously;
Step S510, aaa server sends the User Status updating message to monitoring server, and monitoring server is provided with state of user, and user's online duration is monitored in real time;
It is near that step S512, monitoring server monitor user's available duration via, sends out according to user's credit grade and calculate the operable again online duration of user;
Step S514, monitoring server send to access server by aaa server and authorize updating message, upgrade the user and continue operable online duration;
Step S516, monitoring server obtains defaulting subscriber's information, sends DM message by aaa server to access server, and the network that stops the user connects, and state of user is set in database is " arrearage "; And
Step S518, access server sends the charging end to aaa server, and aaa server produces Original CDR and gathers for the charging center.
Fig. 6 is a block diagram of realizing system 600 according to wide band post-paid service of the present invention.As shown in Figure 6, this system comprises: setting device 602, be used for when the postpaid service user opens an account, and spendable maximum dollar amount of user and credit grade are set; Certificate server 604 is used for when the user surfs the Net the user being authenticated, and calculates user's available online duration simultaneously according to maximum dollar amount, and sends online duration and authorization messages to access server; Access server 606, according to authorization messages, the connecting subscribers participating networking connects, and user's available online duration is set, and sends the request of charging to aaa server simultaneously; And monitoring server 608, be used for after the User Status updating message that receives from aaa server, state of user being set, and user's available online duration is monitored.
Wherein, utilize standard Radius agreement to communicate between aaa server and the access server.
In sum, adopt the solution of the present invention,, utilize the setting of credit grade, control postpaid service user's amount owed flexibly by monitor postpaid service user's online duration in real time by monitoring server.Under the situation of postpaid service user's arrearage, continue available online duration by monitoring server according to user's credit grade inverse user, reasonably control the online duration of paying in the back, prevent bad user's malicious owing fee, for the user of loyalty provides more reasonable, quality services, reached the purpose of safeguarding operator's interests.
In addition, the present invention can utilize the Radius agreement of standard to communicate between aaa server and access server, helps being used between the aaa server of different manufacturers and the access server.Also have, the invention provides and account system between the interface of various modes, can be used with the account system of different manufacturers.
Be the preferred embodiments of the present invention only below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.