Embodiment
Further specify technical scheme of the present invention below in conjunction with the drawings and specific embodiments.
(Diameter Credit Control Application is used in the control of diameter credit, hereinafter to be referred as DCCA) agreement belongs to the application protocol of diameter (diameter) agreement, be on diameter basic agreement (diameter base) basis, to have increased credit control request (Credit Control Request newly, C R) and credit control response message (Credit Control Answer, C A).The DCCA agreement is carried out with ad-hoc mode, be different from remote authentication dial-in user service (the Remote Authentication Dial In User Service of present authentication, mandate, charging field widespread usage, hereinafter to be referred as RADIUS) Client that adopts of agreement, because each node (client, server end) all can initiatively be initiated message to the other side, therefore improve network performance, had stronger extensibility.The DCCA agreement has big attribute data space, and data object is encapsulated in property value in (Attribute Value Pair is hereinafter to be referred as AVP), by the authentication and authorization information of AVP transmission user, mutual parameters such as resource use information in order to charge.DCCA agreement support control in real time, support session charging and event charging have safety, characteristics of high efficiency and very strong autgmentability.
Fig. 1 is intelligent network online charging interactive system embodiment one schematic diagram of the present invention.As shown in Figure 1, this intelligent network online charging interactive system comprises: charging triggering network element 1, business platform 2 and intelligent network 3; Charging triggering network element 1 sends the response of the request of charging and reception business platform according to the employed business of user to business platform; Business platform 2 carries out real-time wholesale price according to the charging request that receives to the employed business of user, and carries out credit control alternately with intelligent network; Intelligent network 3 communicates to connect by DCCA protocol interface and described business platform, to handling, comprise the withholding of credit line, the deduction of credit line, the direct deduction of credit line, the return of credit line with the corresponding credit line of the employed business of user.
Present embodiment is compared with being introduced separately into OCS by the mutual realization online charging of business platform and intelligent network, can reduce cost and complexity; And adopt the DCCA agreement to carry out having very strong extensibility alternately between business platform in the present embodiment and the intelligent network.
Fig. 2 is intelligent network online charging interactive system embodiment two schematic diagrames of the present invention.As shown in Figure 2, compare with embodiment one, the business platform of this intelligent network online charging interactive system specifically comprises: charge information module 21, online charging module 22, subscriber information module 23 and credit monitoring module 24; Charge information module 21 is used for charging regulation, the charging way of storage service; Online charging module 22 is used for according to described charging regulation the employed business of user being carried out real-time wholesale price; Subscriber information module 23 is used for determining whether the user is the prepaid user; The prepaid user that credit monitoring module 24 is used for subscriber information module 23 is determined carries out credit control alternately according to described charging way and wholesale price with described intelligent network.Wherein, the resource account stored resource is that the user is given in free of cost when the user supplements or consume accumulation with money, such as being M bar Short Message Service (the Short MessagingService that the user freely receives when supplementing with money, hereinafter to be referred as SMS) or/and N bar multimedia short message service (MultimediaMessaging Service, hereinafter to be referred as MMS) or/and L million GPRSs (GeneralPacket Radio Service is hereinafter to be referred as GPRS) flow or/and the duration that data are used.Because have resource account and capital account in the intelligent network, therefore, the mutual credit line of business platform and intelligent network comprises resource and fund.
Establish resource account and capital account in the intelligent network of present embodiment, can realize many accounts chargings, resource account can be used for storing the free resource that operator offers the user, therefore can implement multiple preferential strategy to the user, the loyalty that helps enlarging market and improve the user.
Fig. 3 is intelligent network online charging exchange method embodiment one flow chart of the present invention.As shown in Figure 3, this intelligent network online charging exchange method comprises:
Step 301: business platform sends credit line message according to the credit line account balance to the charging triggering network element, and described credit line message is used to characterize the user and whether can uses business or characterize the operable traffic carrying capacity of user;
Step 302: send the credit control request to intelligent network according to professional operating position, described credit control request is carried out corresponding credit line by DCCA interface indication intelligent network and is handled.
Present embodiment is realized online charging alternately by the DCCA of business platform and intelligent network, and business platform is as the client of DCCA, and intelligent network is compared with being introduced separately into OCS as the server end of DCCA, can reduce cost and complexity; And adopt the DCCA agreement to carry out having very strong extensibility alternately between business platform in the present embodiment and the intelligent network.
Fig. 4 is intelligent network online charging exchange method embodiment two flow charts of the present invention.Present embodiment is at event charging, wherein business platform can be Service Provisioning Administration Core Environment (Data ServiceManagement Plane, hereinafter to be referred as DSMP), also can be Integrated Service Management Platform (Integrated Service Management Plane, hereinafter to be referred as ISMP) or similar general charging subsystem, the intelligent network function is mainly finished by service control point (Service Control Point is hereinafter to be referred as SCP), therefore followingly represents intelligent network with SCP.As shown in Figure 4, the interaction flow at event charging comprises:
Step 401: the charging triggering network element sends the request of charging to business platform.
Step 402: business platform carries out real-time wholesale price processing according to request of chargeing and user profile to the business that the prepaid user uses.
Step 403: after the wholesale price, business platform sends the request of credit line deduction to SCP, comprises class of service, use amount and the corresponding wholesale price amount of money of the business that the user uses in this credit line deduction request, is used to make SCP directly to deduct fees.
Step 404:SCP judges whether to exist the professional corresponding resource account who uses with the user (as the SMS of user's use according to class of service, judge and whether have operable SMS in the resource account), if there is corresponding resource account, then execution in step 405, otherwise execution in step 406.
Step 405:SCP judges according to stock number whether resource account's remaining sum is sufficient, and whether the remaining sum of promptly judging the resource account is more than or equal to use amount in the request of credit line deduction, if abundance, execution in step 406; If inadequate, execution in step 407.
Step 406:SCP deduction and the corresponding stock number of use amount, execution in step 409
Step 407:SCP judges whether the remaining sum of capital account is sufficient, and whether the remaining sum of promptly judging capital account is more than or equal to the wholesale price amount of money in the request of credit line deduction, if abundance, execution in step 408; If inadequate, execution in step 414.
Step 408:SCP deduction and the corresponding fund of the wholesale price amount of money, execution in step 409.
Step 409:SCP sends the deduction success message to business platform, execution in step 410.
Step 410: business platform sends the request success message that charges to the charging triggering network element, and indication charging triggering network element allows the user to use business, if the user successfully uses business, then finishes.
Step 411: the user does not successfully use professional, and the charging triggering network element sends the professional failed message that uses to business platform.
Step 412: business platform sends the request of return to SCP, execution in step 413.
Step 413:SCP returns the credit line of deduction.
Step 414:SCP sends the deduction failed message to business platform, execution in step 415.
Step 415: business platform sends the charging request failure message to the charging triggering network element, and indication charging triggering network element does not allow the user to use business, finishes.
Be to be applied to the event charging situation in the present embodiment, realize that this credit line of directly deducting fees between business platform and the SCP is directly deducted reciprocal process.
Fig. 5 is intelligent network online charging exchange method embodiment three flow charts of the present invention.Present embodiment is to be the situation that classes of messages triggers gateway at session charging and charging triggering gateway.As shown in Figure 5, present embodiment comprises:
Step 501: the charging triggering network element sends the request of charging to business platform.
Step 502: business platform carries out real-time wholesale price processing according to request of chargeing and user profile to the business that the prepaid user uses.
Step 503: after the wholesale price, business platform sends the credit line request of withholding to SCP, comprises class of service, applications and the corresponding wholesale price amount of money of the business that the user uses in the request of withholding of this credit line, is used to make SCP to carry out credit line and withholds.
Step 504:SCP judges whether to exist and the corresponding resource account of described type of service according to described type of service, if exist, then execution in step 505; Otherwise step 508.
Whether step 505:SCP judges described resource account's remaining sum more than or equal to described applications, if, execution in step 506; Otherwise, execution in step 508.
Step 506:SCP withholds and the corresponding resource of described applications, execution in step 511.
Step 507:SCP judges whether the remaining sum of capital account is zero, if the remaining sum of capital account is non-vanishing, and execution in step 508, if the remaining sum of capital account is zero, execution in step 521.
Whether step 508:SCP judges the remaining sum of described capital account more than or equal to the described wholesale price amount of money, if the remaining sum of described capital account is more than or equal to the described wholesale price amount of money, execution in step 509; Otherwise execution in step 510.
Step 509:SCP withholds and the corresponding fund of the described wholesale price amount of money, execution in step 511.
Withhold whole remaining sums of capital account of step 510:SCP, execution in step 511.
Step 511:SCP sends and withholds success message to business platform, execution in step 512.
Step 512: whether the credit line that business platform judges is withheld more than or equal to the applications or the wholesale price amount of money, if, promptly as long as the resource abundance or the abundance of capital, execution in step 513, otherwise, execution in step 516 and step 522.
Step 513: business platform sends the request success message that charges to the charging triggering network element, and indication charging triggering network element allows the user to use business, execution in step 514.
Step 514: the professional operating position of charging triggering network element monitoring, it is professional to judge whether the user successfully uses, if, execution in step 518; Otherwise, execution in step 515.
Step 515: the charging triggering network element sends the professional failed message that uses to business platform, execution in step 516.
Step 516: business platform sends the cancellation request to SCP, execution in step 517.
The credit line that step 517:SCP cancellation is withheld finishes.
Step 518: the charging triggering network element sends to charge confirms request to business platform, execution in step 519.
Step 519: business platform sends the request of deducting fees to SCP, execution in step 520.
The credit line that the actual deduction of step 520:SCP is withheld finishes.
Step 521:SCP sends and withholds failed message to business platform, execution in step 522.
Step 522: business platform sends the charging request failure message to the charging triggering network element, and indication charging triggering network element does not allow the user to use business, finishes.
Fig. 6 is intelligent network online charging exchange method embodiment four flow charts of the present invention.Present embodiment is to be the situation that the grouped data class triggers gateway at session charging and charging triggering gateway.As shown in Figure 6, present embodiment comprises:
Step 601: the charging triggering network element sends the charging of pre-use amount request and asks to business platform, execution in step 602.
Step 602: the business that business platform uses the user according to the request of chargeing is carried out real-time wholesale price and is handled execution in step 603.
Step 603: business platform sends the credit line request of withholding to SCP, comprises class of service, applications and the corresponding wholesale price amount of money of the business that the user uses in the request of withholding of this credit line, is used to make SCP to carry out credit line and withholds.
Step 604:SCP judges whether to exist and the corresponding resource account of described type of service according to described type of service, if exist, then execution in step 605; Otherwise step 607.
Whether step 605:SCP judges described resource account's remaining sum more than or equal to described applications, if, execution in step 606; Otherwise, execution in step 607.
Step 606:SCP withholds and the corresponding resource of described applications, execution in step 611.
Step 607:SCP judges whether the remaining sum of capital account is zero, if the remaining sum of capital account is non-vanishing, and execution in step 608, if the remaining sum of capital account is zero, execution in step 620.
Whether step 608:SCP judges the remaining sum of described capital account more than or equal to the described wholesale price amount of money, if the remaining sum of described capital account is more than or equal to the described wholesale price amount of money, execution in step 609; Otherwise execution in step 610.
Step 609:SCP withholds and the corresponding fund of the described wholesale price amount of money, execution in step 611.
Withhold whole remaining sums of capital account of step 609:SCP, execution in step 611.
Step 611:SCP sends and withholds success message to business platform, execution in step 612.
Step 612: business platform is determined the spendable traffic carrying capacity of user according to the credit line of withholding, and described traffic carrying capacity is sent to the charging triggering network element, execution in step 613.
Step 613: the operating position of charging triggering network element monitoring business, judge whether the user stops using professional, at interval pre-configured time interval or before described traffic carrying capacity exhausts or when reaching a certain threshold value (time point that QoS changes or rate is switched) professional operating position is reported to business platform, when the user does not stop using professional, the charging triggering network element reports in the professional operating position of business platform and carries the traffic carrying capacity of having used, execution in step 614, and re-execute step 601, be used to ask the next record credit line; After the user stopped the use business, the report of charging triggering network element sent professional operating position to business platform, execution in step 617.
Step 614: the charging triggering network element send carry the traffic carrying capacity that the user used professional operating position to business platform, execution in step 615.
Step 615: business platform sends the request of deducting fees to SCP according to the traffic carrying capacity of having used, execution in step 616.
The traffic carrying capacity that the user that step 616:SCP deduction is withheld has used finishes.
Step 617: the charging triggering network element send carry the traffic carrying capacity that the user used professional operating position to business platform, execution in step 615.And for untapped traffic carrying capacity, business platform sends the cancellation request, indication SCP cancellation withhold with the corresponding credit line of untapped traffic carrying capacity.
Step 620:SCP sends and withholds failed message to business platform.
Step 621: business platform sends termination messages to the charging triggering network element, and indication charging triggering network element does not allow the user to use business, finishes.
In the present embodiment, when the professional use of user's active termination, the charging triggering network element sends the professional business platform that stops reporting to, and carries the untapped traffic carrying capacity of user in the professional termination report, business platform sends the cancellation request, the untapped traffic carrying capacity of user that indication SCP cancellation is withheld.
Credit line among above-mentioned Fig. 3, Fig. 4, Fig. 5, the embodiment shown in Figure 6 comprises resource and fund, and the interface between business platform and the SCP is the CCR and the CCA interface of standard.When multi-service is chargeed, defined multi-service credit control (Multiple-Services-Credit-Control in RFC4006 diameter credit control (diameter CC) standard, hereinafter to be referred as MSCC) this AVP, when being used for multi-service and deducting fees each business is done independently credit control, so MSCC provides each professional credit control messages, this MSCC AVP is group AVP (promptly being made up of a plurality of AVP), and form is as follows:
MSCC::=<AVP?Header:TBD>
[Granted-Service-Unit] traffic assignments amount
[Requested-Service-Unit] professional applications
* [Used-Service-Unit] professional use amount
[Tariff-Change-Usage] price changes usage
[Service-Identifier] professional indications
[Rating-Group] charging group
*[G-S-U-Pool-Reference]
[Validity-Time] effective time
[Result-Code] result code
[Final-Unit-Indication]
*[AVP]
Under multi-service charging scene, there are what business to charge simultaneously, what MSCC AVP (multi-service credit controlled attribute to) are just arranged in CCR/CCA (credit control request/credit control answer) message.
Wherein, Rating-Group represents the charging group, is used to distinguish different business, and the business of carrying out is as required formulated value.As:
On business platform, reserve 0-50 as keeping Rating-Group:
1: multimedia message
2:WAP
…
SCP needs and only needs to discern the corresponding implication of Rating-Group of reservation, and the rating-group in the non-reserved-range can not dealt with.
Result-code ecbatic sign indicating number only occurs in the MSCC of CCA message, and a Result-Code all must be arranged in each MSCC, represents whether this time deduction is successful with corresponding resource of professional use amount or fund.
Requested-Service-Unit represents professional applications, only exists in CCR, is used for the applications of business transferring, and concrete syntax is as follows:
Requested-Service-Unit::=<AVP?Header:437>
[CC-Time] professional application duration is for the duration based accounting business
[CC-Money] professional application amount of money
[CC-Total-Octets] professional application flow is for the charge on traffic business
[CC-Input-Octets] professional influx
[CC-Output-Octets] Business Stream output
[CC-Service-Specific-Units] service request times is for the event charging business
Wherein, CC-Time, CC-Total-Octets, CC-Service-Specific-Units represent the amount of the professional application of this time, can only occur one when a service billing; CC-Money represents the amount of money corresponding after the professional applications wholesale price of this time, and the amount and the amount of money after the wholesale price thereof of professional application must be reported and submitted to SCP simultaneously.
Intelligent network online charging exchange method flow chart shown in Figure 4 is to be the situation at session charging at event charging and Fig. 5, intelligent network online charging exchange method flow chart shown in Figure 6, because being single, event charging charges, DCCA client and DCCA server end need not keep session status, therefore only need a CCR/CCA; Session charging need be kept the session status between DCCA client and the DCCA server end, therefore there are a plurality of CCR/CCA, wherein initial CCR/CCA is used for wholesale price and withholds, and middle CCR/CCA is used for deduction, wholesale price, withholds, and final CCR/CCA is used for wholesale price, deduction.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.