Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
Referring to Fig. 1, present embodiment provides a kind of online charging method, comprising:
101: receive type that CTF sends and be the CCR message based on incident or session, this CCR message has comprised the assigned number of type correspondence of CCR message and the number of subscriber equipment;
102: according to the intelligent call of the CCR message that receives to the signatory PPS initiation simulation of the number of subscriber equipment, and the called number in the intelligent call that should simulate is set to the assigned number corresponding with the type of CCR message, make PPS handle, and according to this assigned number the business of subscriber equipment is carried out corresponding online and charge the intelligent call of this simulation.
In the embodiment of the invention, subscriber equipment is meant the terminal of user side, includes but not limited to: computer, notebook computer, mobile phone or the like.The business that subscriber equipment produces is meant the business beyond the non-calling, is generally IN service, for example, surfs the web, receives and dispatches note, down-load music or the like.The executive agent of said method is the equipment of network side, is generally one and independently inserts agent equipment, can certainly integrate with the equipment with other function, and the embodiment of the invention is not done concrete qualification to this.The pre-configured strategy of meeting in this access device and PPS, the type of CCR message and the corresponding relation of assigned number in this strategy, have been specified, and the charging regulation of this assigned number correspondence or the like, as first access code based on the corresponding appointment of the type of incident, the corresponding pay-per-use of this first access code, second access code of the corresponding appointment of conversation-based type, this second access code correspondence are on time or charge on traffic or the like.
In the embodiment of the invention, after PPS receives the intelligent call of simulation, need not to discern current calling is conventional intelligent call, still the intelligent call of simulation only needs to handle according to the standard handling process of intelligent call, wherein, after extracting called number, according to the processing of chargeing accordingly of pre-configured strategy execution, concrete intelligent call handling process is existing handling process, does not do too much explanation in the embodiment of the invention.
The said method that present embodiment provides, initiate the intelligent call of simulation according to the type of CCR message, and corresponding called number is set, making PPS carry out corresponding online to the business of subscriber equipment charges, wherein, communicate based on the DCC agreement with CTF, communicate based on intelligent network protocol with PPS, need not to define proprietary protocol, also need not transform existing P PS, use existing P PS and CTF to realize, can directly utilize existing intelligent network pre-payment service platform, greatly reduced complexity and the cost realized.And, unified DCC billing interface can be provided, be that a PPS manufacturer provides PPS equipment or a plurality of PPS manufacturer to provide PPS equipment all to be suitable for, even provide in different PPS manufacturer under the application scenarios of dissimilar PPS equipment, also need not to change the DCC billing interface, greatly reduced the complexity of communication.
Embodiment 2
Referring to Fig. 2, present embodiment provides a kind of online charging method, is applied to the scene of event-based charging, specifically comprises:
201: when subscriber equipment produces service request, be based on incident according to service request corresponding service type, CTF sends to the access agent equipment with this CCR message, and application is chargeed to the business that subscriber equipment produces.
In the present embodiment, the business that subscriber equipment produces typically refers to the business based on event class, need not consider time and flow that this business continues during charging, just according to providing professional number of times to charge.This business includes but not limited to: file in download, transmission note or the like.Described access agent equipment is generally the equipment of content supplier, as certain website or the like.
Wherein, it is CC-Request-Type that a field is arranged in the CCR message, be used to identify the type of CCR message, value comprises following four kinds: INITIAL_REQUEST, UPDATE_REQUEST, TERMINATION_REQUEST and EVENT_REQUEST, be respectively applied for: start a session, be the already-existing session lastest imformation, stop a session, and use during the Maintenance free session.In the present embodiment, the value of this field is EVENT_REQUEST, represents current charging to be the charging based on incident.
In addition, also include the number of subscriber equipment in the CCR message, promptly calling number for example, if subscriber equipment is a mobile phone, then comprises the number of this mobile phone in the CCR message, particularly, can be field Subscription-Id-Data=861382345xxxx or the like.
202: after inserting agent equipment and receiving CCR message from CTF, parse the type of this CCR message and the information of subscriber equipment, search pre-configured strategy, determine the assigned number corresponding with this CCR type of message, in the present embodiment, assigned number based on the CCR message correspondence of incident is first access code, this first access code is set to IDP (InitialDetection Point, the startup Detection Point) called number in the message, the PPS signatory to subscriber equipment sends IDP message, initiates the intelligent call of simulation.
Wherein, inserting agent equipment can be according to the information of subscriber equipment, as calling number etc., inquires the signatory PPS of subscriber equipment.Particularly, multiple inquiry mode is arranged, the embodiment of the invention is not done concrete qualification to this.For example,, insert agent equipment and preserve a number segment table usually, comprise a plurality of PPS, and each PPS subscriber equipment scope of being responsible for administering, can inquire the signatory PPS of subscriber equipment of above-mentioned generation service request by this number segment table at local search.For another example, insert agent equipment and can from the HLR equipment such as (Home Location Register, attaching position registers) of preserving CAMEL-Subscription-Information, inquire the signatory PPS of this subscriber equipment, or the like.Above-mentioned query script is prior art, does not do too much explanation herein.
Above-mentioned strategy inserts in the agent equipment for being pre-configured in, and also be provided with identical strategy in advance among the PPS that subscriber equipment is contracted, with the intelligent call that guarantees that the access agent equipment is initiated simulation according to this strategy, and PPS charges according to this strategy execution corresponding online.
In the present embodiment, the form of above-mentioned first access code is not done concrete qualification, can be configured to a special number usually, as 17951 or 17911 or the like.
In the present embodiment, insert agent equipment and initiate the intelligent call of simulation, be equivalent to the access agent equipment is modeled as SSP (Service Switching Point, Service Switching Point), the IDP message of its transmission is that request PPS is that the intelligent call of current simulation is set up the IN service control relation, generally include service key, calling number, called number and number attribute or the like in this IDP message, as CallingpartyNumber=calling number in the IDP message, CalledPartyNumber=first access code (called number of simulation).
203:PPS issues RRBE (Request Report Basic Call State Model Event, request report Basic Call State Model BCSM incident) according to normal pre-payment flow process and gives and insert agent equipment after receiving and inserting the IDP message that agent equipment sends.
204:PPS is according to called number in the IDP message of receiving and pre-configured strategy, determine the charging regulation corresponding with this called number, in the present embodiment, PPS searches pre-configured strategy, finding the charging regulation corresponding with first access code is pay-per-use, then carry out the budget of pay-per-use, include but not limited to: incident rate, account balance, favor information or the like.
205:PPS sends AC (Apply Charging, Apply Charging) message to inserting agent equipment, asks to charge into the intelligent call of simulation, and this message generally includes: parameters such as charging category, charged party.
206:PPS sends connection Connect or continues Continue message to inserting agent equipment, and indication inserts agent equipment and continues the calling that processing was suspended just now.
207: after the access agent equipment is received, return based on the CCA message of incident and give CTF, the professional online charging success of notice CTF subscriber equipment current request, and wait for N second, correspondingly, CTF is after knowing the online charging success, and beginning provides above-mentioned business to subscriber equipment.
Particularly, the field Result-Code=success in the CCA message can be set, CTF charges successfully with notice.
In the present embodiment, insert agent equipment and wait for that N is equivalent to time delay second, it is the time delay in the normal intelligent call of simulation, to prevent that PPS is identified as unusual calling with the intelligent call of above-mentioned simulation, thereby guarantee that PPS handles the intelligent call of this simulation, wherein, the time of wait can dispose as required, usually N 〉=0.
208: insert agent equipment simulation SSP and report ACR (Apply Charging Report, Apply Charging Report) message to give PPS, generally include in this message: the duration of call, call state or the like.
For example, the duration of call TimeInformation=20s of configuration simulation in ACR message, call state CallActive=Flase.
209:PPS carries out online charging in due order according to wherein information and pre-configured charging regulation after receiving and inserting the ACR message that agent equipment sends.For example, subscriber equipment is downloaded a first song, and PPS deducts fees 2 yuan or the like from the account balance of subscriber equipment.
210: insert agent equipment and report ERB (Event Report Basic Call State Model, BCSM event report) to give PPS.
After 211:PPS receives the ERB message that inserts agent equipment, issue RC (Release Call, call release) message and give the access agent equipment, flow process finishes.
The said method that present embodiment provides, according to the intelligent call of initiating simulation based on the CCR message of incident, and called number is set is first access code, make PPS carry out online charging in due order to the business of subscriber equipment, be applicable to the scene that the event class business is provided for the user according to this first access code.Wherein, inserting agent equipment and CTF communicates based on the DCC agreement, communicate based on intelligent network protocol with PPS, need not to define proprietary protocol, also need not transform, use existing P PS and CTF to realize, can directly utilize existing intelligent network pre-payment service platform existing P PS, greatly reduce complexity and the cost realized, can reach the effect of quick deployment.And, insert agent equipment unified DCC billing interface can be provided, be that a PPS manufacturer provides PPS equipment or a plurality of PPS manufacturer to provide PPS equipment all to be suitable for, even provide in different PPS manufacturer under the application scenarios of dissimilar PPS equipment, also need not to change the DCC billing interface, greatly reduced the complexity of communication, can also have the office point of how tame PPS scene to promote this access agent equipment, brought economic benefit at existing network.In addition, insert agent equipment in the present embodiment and before PPS carries out charging, return CCA message, can in time provide professional, greatly shortened the time that the user waits for, promoted user's experience so that CTF is very fast to the online charging response to subscriber equipment to CTF.
Embodiment 3
Referring to Fig. 3, present embodiment provides a kind of online charging method, is applied to the scene of event-based charging, and its flow process is similar to Example 2, and difference only is to insert the asynchronism(-nization) that agent equipment returns CCA message, and this method specifically comprises:
301-306: identical with 201-206, repeat no more herein.
307: insert agent equipment and wait for N after second, simulation SSP reports ACR message to give PPS.
After 308:PPS receives this ACR message, carry out online charging in due order according to wherein information and pre-configured charging regulation.
309: insert agent equipment and report ERB message to give PPS.
After 310:PPS receives this ERB message, issue RC message and give the access agent equipment, and discharge relevant resource.
311: after the access agent equipment is received this RC message, return based on the CCA message of incident and give CTF, the professional online charging success of notice CTF subscriber equipment current request, flow process finishes.
The said method that present embodiment provides, according to the intelligent call of initiating simulation based on the CCR message of incident, and called number is set is first access code, make PPS carry out online charging in due order to the business of subscriber equipment, be applicable to the scene that the event class business is provided for the user according to this first access code.Wherein, inserting agent equipment and CTF communicates based on the DCC agreement, communicate based on intelligent network protocol with PPS, need not to define proprietary protocol, also need not transform, use existing P PS and CTF to realize, can directly utilize existing intelligent network pre-payment service platform existing P PS, greatly reduce complexity and the cost realized, can reach the effect of quick deployment.And, insert agent equipment unified DCC billing interface can be provided, be that a PPS manufacturer provides PPS equipment or a plurality of PPS manufacturer to provide PPS equipment all to be suitable for, even provide in different PPS manufacturer under the application scenarios of dissimilar PPS equipment, also need not to change the DCC billing interface, greatly reduced the complexity of communication, can also have the office point of how tame PPS scene to promote this access agent equipment, brought economic benefit at existing network.In addition, insert agent equipment in the present embodiment and after receiving the RC message that PPS sends, return CCA message and give CTF, can provide professional by CTF to subscriber equipment again after deducting fees, protected benefits of operators so that operator finishes.
Embodiment 4
Referring to Fig. 4, present embodiment provides a kind of online charging method, is applied to the scene of session-based charging, specifically comprises:
401: when subscriber equipment produces service request, be dialogue-based according to service request corresponding service type, CTF sends to the access agent equipment with CCR message, and application is chargeed to the business that subscriber equipment produces.
In the present embodiment, the conversation-based business that subscriber equipment produces typically refers to the business relevant with time or flow, need charge according to time and the flow that this business continues during charging.This business includes but not limited to: web page browsing business etc.Described access agent equipment is generally GGSN (Gateway GPRS SupportNode, the Gateway GPRS Support Node)/equipment such as IMS of network side.
Wherein, the field CC-Request-Type value in the CCR message is INITIAL_REQUEST, is used to start a session.In addition, also include the number of subscriber equipment in the CCR message, i.e. calling number.
402: after inserting agent equipment and receiving CCR message from CTF, parse the type of this CCR message and the information of subscriber equipment, search pre-configured strategy, determine the assigned number corresponding with this CCR type of message, in the present embodiment, the assigned number of conversation-based CCR message correspondence is second access code, and this second access code is set to called number and sends IDP message to the signatory PPS of subscriber equipment, initiates the intelligent call of simulation.
In the present embodiment, the form of above-mentioned second access code is not done concrete qualification, can be configured to the number of an appointment usually, and have the form of plain old telephone number, as 12345678 etc.In inserting the signatory PPS of agent equipment and subscriber equipment, all be provided with identical strategy in advance, wherein the charging regulation of the second access code correspondence of appointment is SCUR (Session Chargingwith Unit Reservation has the session charging that the unit is reserved).
After 403:PPS receives and inserts the IDP message that agent equipment sends, issue RRBE according to normal pre-payment flow process and give and insert agent equipment.
404:PPS searches pre-configured strategy according to the called number in the IDP message of receiving, finding the charging regulation corresponding with second access code is conversation-based charging, then carries out the budget of conversation-based online charging.
405:PPS sends AC (Apply Charging, Apply Charging) message to inserting agent equipment, asks to charge into the intelligent call of simulation.
406:PPS sends Connect or Continue message to inserting agent equipment, and indication inserts agent equipment and continues to handle the calling that was suspended just now.
407: after the access agent equipment is received Connect or Continue message, send conversation-based CCA message to CTF, the professional online charging success of notice CTF subscriber equipment current request, correspondingly, after CTF is known the online charging success, begin to provide professional to subscriber equipment.
408:CTF sends session updates CCR message to inserting agent equipment, and wherein the value of field CC-Request-Type is UPDATE_REQUEST, is used to existing session updates information.
409: after the access agent equipment is received this session updates CCR message, send ACR message to PPS.
After 410:PPS receives this ACR message, return AC message and give the access agent equipment.
411: after the access agent equipment is received this AC message, return session updates CCA message and give CTF, announcement session is upgraded successfully.
Above-mentioned steps 408 to 411 is an optional step, when meeting trigger condition, and the flow process that CTF meeting initiation session is upgraded, this flow process can repeat repeatedly, describes once to be updated to example among the figure.When not meeting trigger condition, then CTF can initiation session new technological process more, at this moment, 408 to 411 can omit.Wherein, the concrete steps of session updates are prior art, do not do too much explanation herein.
412: when the service ending of subscriber equipment, CTF sends and stops session CCR message to inserting agent equipment, and request stops above-mentioned session.
413: after the access agent equipment was received this termination session CCR message, simulation SSP reported ACR message to give PPS.
414:PPS carries out conversation-based online charging according to wherein information and pre-configured charging regulation after receiving and inserting the ACR message that agent equipment sends.For example, subscriber equipment browsing page 20 minutes, PPS deducts fees 6 yuan or the like according to 0.3 yuan/minute rate from the account balance of subscriber equipment.
415: insert agent equipment and report ERB message to give PPS.
After 416:PPS receives this ERB message, issue RC message and give the access agent equipment.
417: after the access agent equipment is received this RC message, send and stop session CCA message to CTF, flow process finishes.
The said method that present embodiment provides, initiate the intelligent call of simulation according to conversation-based CCR message, and called number is set is second access code, make PPS carry out the session online charging to the business of subscriber equipment according to this second access code, be applicable to the scene that non-event class business is provided for the user, as business relevant or the like with duration and flow.Wherein, inserting agent equipment and CTF communicates based on the DCC agreement, communicate based on intelligent network protocol with PPS, need not to define proprietary protocol, also need not transform, use existing P PS and CTF to realize, can directly utilize existing intelligent network pre-payment service platform existing P PS, greatly reduce complexity and the cost realized, can reach the effect of quick deployment.And, insert agent equipment unified DCC billing interface can be provided, be that a PPS manufacturer provides PPS equipment or a plurality of PPS manufacturer to provide PPS equipment all to be suitable for, even provide in different PPS manufacturer under the application scenarios of dissimilar PPS equipment, also need not to change the DCC billing interface, greatly reduced the complexity of communication, can also have the office point of how tame PPS scene to promote this access agent equipment, brought economic benefit at existing network.
Embodiment 5
Referring to Fig. 5, present embodiment provides a kind of access agent equipment, comprising:
Receiver module 501 is used to receive the type that CTF sends and is the CCR message based on incident or session, and this CCR message has comprised the assigned number of type correspondence of CCR message and the number of subscriber equipment;
Processing module 502, be used for according to the intelligent call of CCR message to the signatory PPS initiation simulation of the number of subscriber equipment, and the called number in the intelligent call of simulation is set to the assigned number corresponding with the type of CCR message, make PPS handle, and according to assigned number the business of subscriber equipment is carried out corresponding online and charge the intelligent call of simulation.
In the present embodiment, under first kind of implementation, the CCR message that receiver module 501 is received is the CCR message based on incident, and correspondingly, processing module 502 comprises:
First processing unit, be used for the CCR message received according to receiver module 501, intelligent call to the signatory PPS initiation simulation of the number of subscriber equipment, and the called number in this intelligent call is set to first access code of appointment, make PPS handle, and the business of subscriber equipment is carried out online charging in due order according to this first access code to the intelligent call of simulation.
In the present embodiment, on the basis of above-mentioned first kind of implementation, processing module 502 can further include:
Second processing unit is used for receiving Apply Charging AC message and connection message that PPS returns after first processing unit is initiated the intelligent call of simulation, perhaps receives PPS and returns AC message and continuation message; To the CCA message of CTF transmission based on incident.
In the present embodiment, on the basis of above-mentioned first kind of implementation, processing module 502 can further include:
The 3rd processing unit is used for receiving the RC message that PPS returns after first processing unit is initiated the intelligent call of simulation, to the credit control response CCA message of CTF transmission based on incident.
In the present embodiment, under second kind of implementation, the CCR message that receiver module 501 receives is conversation-based CCR message, and correspondingly, processing module 502 comprises:
Manages the unit everywhere, be used for the CCR message received according to receiver module 501, intelligent call to the signatory PPS initiation simulation of subscriber equipment number, and the called number in this intelligent call is set to second access code of appointment, make PPS handle, and the business of subscriber equipment is carried out conversation-based online charging according to this second access code to the intelligent call of simulation.
The above-mentioned access agent equipment that present embodiment provides belongs to same design with method embodiment, can implement the method among aforementioned arbitrary method embodiment on this equipment, and implementation procedure sees method embodiment for details, repeats no more here.
The above-mentioned access agent equipment that present embodiment provides, according to the intelligent call of initiating simulation based on the CCR message of incident, and called number is set is first access code, make PPS carry out online charging in due order to the business of subscriber equipment, be applicable to the scene that the event class business is provided for the user according to this first access code.Perhaps, initiate the intelligent call of simulation according to conversation-based CCR message, and called number is set is second access code, make PPS carry out the session online charging to the business of subscriber equipment according to this second access code, be applicable to the scene that non-event class business is provided for the user, as business relevant or the like with duration and flow.
Wherein, above-mentioned access agent equipment and CTF communicate based on the DCC agreement, communicate based on intelligent network protocol with PPS, need not to define proprietary protocol, also need not transform, use existing P PS and CTF to realize, can directly utilize existing intelligent network pre-payment service platform existing P PS, greatly reduce complexity and the cost realized, can reach the effect of quick deployment.And, above-mentioned access agent equipment can provide unified DCC billing interface, be that a PPS manufacturer provides PPS equipment or a plurality of PPS manufacturer to provide PPS equipment all to be suitable for, even provide in different PPS manufacturer under the application scenarios of dissimilar PPS equipment, also need not to change the DCC billing interface, greatly reduced the complexity of communication, can also have the office point of how tame PPS scene to promote this access agent equipment, brought economic benefit at existing network.
In addition, above-mentioned access agent equipment can return CCA message and give CTF before PPS carries out charging, made CTF very fast to the online charging response, in time provided professional to subscriber equipment, had greatly shortened the time that the user waits for, had promoted user's experience.Also can after receiving the RC message that PPS sends, return CCA message and give CTF, provide professional by CTF to subscriber equipment again after making operator finish to deduct fees, thereby protected benefits of operators.
Embodiment 6
Referring to Fig. 6, present embodiment provides a kind of Online Charging System, comprising:
Insert agent equipment 601, be used to receive the type that CTF sends and be the CCR message based on incident or session, this CCR message has comprised the assigned number of type correspondence of CCR message and the number of subscriber equipment; According to the intelligent call of CCR message to the signatory PPS initiation simulation of the number of subscriber equipment, and the called number in the intelligent call of simulation is set to the assigned number corresponding with the type of CCR message;
The PPS 602 that subscriber equipment is signatory is used to receive and inserts the intelligent call that agent equipment 601 is initiated simulation, the intelligent call of this simulation is handled, and according to this assigned number the business of subscriber equipment is carried out corresponding online and charge.
Wherein, insert agent equipment 601, specifically be used for when the CCR message of receiving for based on the CCR message of incident the time, called number in the intelligent call of initiating is set to first access code of appointment, when the CCR message of receiving was conversation-based CCR message, the called number in the intelligent call of initiating was set to second access code of appointment;
Correspondingly, above-mentioned PPS 602, the called number that specifically is used for judging the intelligent call that inserts agent equipment 601 initiations is first access code or second access code, if first access code, then the business of subscriber equipment is carried out online charging in due order, if second access code is carried out conversation-based online charging to the business of subscriber equipment.
The said system that present embodiment provides, according to the intelligent call of initiating simulation based on the CCR message of incident or session, and called number is set is assigned number, make PPS carry out online charging to the business of subscriber equipment, go for providing the scene of event class business or non-event class business for the user according to this assigned number.Wherein, above-mentioned access agent equipment and CTF communicate based on the DCC agreement, communicate based on intelligent network protocol with PPS, need not to define proprietary protocol, also need not transform, use existing P PS and CTF to realize, can directly utilize existing intelligent network pre-payment service platform existing P PS, greatly reduce complexity and the cost realized, can reach the effect of quick deployment.And, above-mentioned access agent equipment can provide unified DCC billing interface, be that a PPS manufacturer provides PPS equipment or a plurality of PPS manufacturer to provide PPS equipment all to be suitable for, even provide in different PPS manufacturer under the application scenarios of dissimilar PPS equipment, also need not to change the DCC billing interface, greatly reduced the complexity of communication, can also have the office point of how tame PPS scene to promote this access agent equipment, brought economic benefit at existing network.
In addition, above-mentioned access agent equipment can return CCA message and give CTF before PPS carries out charging, made CTF very fast to the online charging response, in time provided professional to subscriber equipment, had greatly shortened the time that the user waits for, had promoted user's experience.Also can after receiving the RC message that PPS sends, return CCA message and give CTF, provide professional by CTF to subscriber equipment again after making operator finish to deduct fees, thereby protected benefits of operators.
Need to prove at last, one of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (ROM) or stores memory body (RAM) etc. at random.
Each functional unit in the embodiment of the invention can be integrated in the processing module, also can be that the independent physics in each unit exists, and also can be integrated in the module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If described integrated module realizes with the form of software function module and during as independently production marketing or use, also can be stored in the computer read/write memory medium.The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.Above-mentioned each device or system can carry out the method among the correlation method embodiment.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.