Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
Referring to Fig. 1, the present embodiment provides a kind of online charging method, comprising:
101: the type that receives the CTF transmission is the CCR message based on event or session, the assigned number that the type that this CCR message has comprised CCR message is corresponding and the number of subscriber equipment;
102: the intelligent call that the PPS signing to the number of subscriber equipment initiates simulation according to the CCR message received, and the called number in the intelligent call of this simulation is set to the assigned number corresponding with the type of CCR message, make PPS be processed the intelligent call of this simulation, and according to this assigned number, the business of subscriber equipment is carried out to corresponding online charging.
In the embodiment of the present invention, subscriber equipment refers to the terminal of user's side, includes but not limited to: computer, notebook computer, mobile phone etc.The business that subscriber equipment produces refers to the business beyond non-calling, is generally IN service, for example, surfs the web, receives and dispatches note, down-load music etc.The equipment that the executive agent of said method is network side, be generally one and independently access agent equipment, can certainly be together with the integration of equipments with other function, and the embodiment of the present invention is not specifically limited 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 have been specified in this strategy, and charging regulation corresponding to this assigned number etc., the first access code as the corresponding appointment of the type based on event, the corresponding pay-per-use of this first access code, the second access code of the corresponding appointment of conversation-based type, this second access code correspondence on time or charge on traffic etc.
In the embodiment of the present invention, after PPS receives the intelligent call of simulation, without the current calling of identification, it is conventional intelligent call, or the intelligent call of simulation, only need be processed according to the standard handling process of intelligent call, wherein, after extracting called number, according to pre-configured strategy execution, corresponding charging is processed, and concrete intelligent call handling process is existing handling process, does not do too much explanation in the embodiment of the present invention.
The said method that the present embodiment provides, initiate the intelligent call of simulation according to the type of CCR message, and corresponding called number is set, make PPS carry out corresponding online charging to the business of subscriber equipment, wherein, with CTF, based on the DCC agreement, communicate, with PPS, based on intelligent network protocol, communicate, without the definition proprietary protocol, also need not be transformed existing PPS, use existing PPS 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, that a PPS manufacturer provides PPS equipment or a plurality of PPS manufacturer to provide PPS equipment all applicable, even provide in different PPS manufacturer under the application scenarios of dissimilar PPS equipment, also, without change DCC billing interface, greatly reduced the complexity of communication.
Embodiment 2
Referring to Fig. 2, the 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, according to service request, corresponding type of service is based on event, and CTF sends to the access agent equipment by this CCR message, and the business that application produces subscriber equipment is carried out charging.
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 is lasting during charging, just according to the number of times that business is provided, carries out charging.This business includes but not limited to: download file, transmission note etc.Described access agent equipment is generally the equipment of content supplier, as some websites etc.
Wherein, it is CC-Request-Type that a field is arranged in CCR message, for identifying the type of CCR message, value comprises following four kinds: INITIAL_REQUEST, UPDATE_REQUEST, TERMINATION_REQUEST and EVENT_REQUEST, be respectively used to: start a session, for 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 that current charging is for the charging based on event.
In addition, also include the number of subscriber equipment in CCR message, i.e. calling number, for example, if subscriber equipment is mobile phone, CCR message comprises the number of this mobile phone, particularly, can be field Subscription-Id-Data=861382345xxxx etc.
202: after the access agent equipment is received the 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 corresponding to the CCR message based on event is the first access code, this first access code is set to IDP (InitialDetection Point, the startup Detection Point) called number in message, the PPS signing to subscriber equipment sends IDP message, initiates the intelligent call of simulation.
Wherein, the access agent equipment can be according to the information of subscriber equipment, as calling number etc., inquires the signing PPS of subscriber equipment.Particularly, multiple inquiry mode is arranged, the embodiment of the present invention is not specifically limited this.For example, at local search, the access agent equipment is preserved a number segment table usually, comprises a plurality of PPS, and each PPS is responsible for the subscriber equipment scope of administration, can inquire the signing PPS of subscriber equipment of above-mentioned generation service request by this number segment table.For another example, the access agent equipment can inquire the signing PPS of this subscriber equipment from the equipment such as HLR (Home Location Register, attaching position register) of preserving CAMEL-Subscription-Information, etc.Above-mentioned query script is prior art, does not do too much explanation herein.
Above-mentioned strategy is for being pre-configured in the access agent equipment, and also be provided with identical strategy in advance in the signing PPS of subscriber equipment, to guarantee the intelligent call of access agent equipment according to this strategy initiation simulation, and PPS is according to the corresponding online charging of this strategy execution.
In the present embodiment, the form of above-mentioned the first access code is not specifically limited, usually can be configured to a special number, as 17951 or 17911 etc.
In the present embodiment, the intelligent call that the access agent equipment is initiated simulation, be equivalent to the access agent equipment is modeled as to SSP (Service Switching Point, Service Switching Point), the IDP message of its transmission is that request PPS sets up IN service control relation for the intelligent call when front simulation, generally include service key, calling number, called number and number attribute etc. in this IDP message, as CallingpartyNumber=calling number in IDP message, CalledPartyNumber=the first access code (called number of simulation).
After 203:PPS receives the IDP message sent of access agent equipment, issue RRBE (Request Report Basic Call State Model Event, request report Basic Call State Model BCSM event) to the access agent equipment according to normal pre-payment flow process.
204:PPS is according to the 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 the first access code is pay-per-use, carry out the budget of pay-per-use, include but not limited to: event rate, account balance, favor information etc.
205:PPS sends AC (Apply Charging, Apply Charging) message to the access agent equipment, asks the intelligent call charging into simulation, and this message generally includes: the parameters such as charging category, charged party.
206:PPS sends and connects Connect or continue Continue message to the access agent equipment, and indication access agent equipment continues to process the calling just now suspended.
207: access is after agent equipment receives, returns to CCA message based on event to CTF, the business 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 starting provides above-mentioned business to subscriber equipment.
Particularly, the field Result-Code=success in CCA message can be set, with notice CTF charging success.
In the present embodiment, the access agent equipment waits 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 abnormal calling by the intelligent call of above-mentioned simulation, thereby guarantee that PPS is processed the intelligent call of this simulation, wherein, the time of wait can configure as required, usually N >=0.
208: access agent equipment simulation SSP reports ACR (Apply Charging Report, Apply Charging Report) message to PPS, to generally include in this message: the duration of call, call state etc.
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 information and pre-configured charging regulation wherein after receiving the ACR message sent of access agent equipment.For example, subscriber equipment is downloaded a song, and PPS deducts fees 2 yuan etc. from the account balance of subscriber equipment.
210: the access agent equipment reports ERB (Event Report Basic Call State Model, BCSM event report) to PPS.
After 211:PPS receives the ERB message of access agent equipment, issue RC (Release Call, call release) message to the access agent equipment, flow process finishes.
The said method that the present embodiment provides, initiate the intelligent call of simulation according to the CCR message based on event, and called number is set is the first access code, make PPS carry out online charging in due order according to this first access code to the business of subscriber equipment, be applicable to provide for the user scene of event class business.Wherein, access agent equipment and CTF communicate based on the DCC agreement, with PPS, based on intelligent network protocol, communicate, without the definition proprietary protocol, also need not be transformed existing PPS, use existing PPS and CTF to realize, can directly be utilized existing intelligent network pre-payment service platform, greatly reduce complexity and the cost realized, can reach the effect of rapid deployment.And, the access agent equipment can provide unified DCC billing interface, that a PPS manufacturer provides PPS equipment or a plurality of PPS manufacturer to provide PPS equipment all applicable, even provide in different PPS manufacturer under the application scenarios of dissimilar PPS equipment, also without change DCC billing interface, greatly reduce the complexity of communication, can also have the office point of many PPS scenes to promote this access agent equipment at existing network, brought economic benefit.In addition, in the present embodiment, the access agent equipment returned to CCA message to CTF before PPS carries out charging, can provide business to subscriber equipment in time so that CTF is very fast to the online charging response, had greatly shortened the time that the user waits for, had promoted user's experience.
Embodiment 3
Referring to Fig. 3, the 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 access the asynchronism(-nization) that agent equipment returns to CCA message, and the method specifically comprises:
301-306: identical with 201-206, repeat no more herein.
307: the access agent equipment waits for that N is after second, and simulation SSP reports ACR message to PPS.
After 308:PPS receives this ACR message, according to information and pre-configured charging regulation wherein, carry out online charging in due order.
309: the access agent equipment reports ERB message to PPS.
After 310:PPS receives this ERB message, issue RC message to the access agent equipment, and discharge relevant resource.
311: access is after agent equipment receives this RC message, returns to CCA message based on event to CTF, the business online charging success of notice CTF subscriber equipment current request, and flow process finishes.
The said method that the present embodiment provides, initiate the intelligent call of simulation according to the CCR message based on event, and called number is set is the first access code, make PPS carry out online charging in due order according to this first access code to the business of subscriber equipment, be applicable to provide for the user scene of event class business.Wherein, access agent equipment and CTF communicate based on the DCC agreement, with PPS, based on intelligent network protocol, communicate, without the definition proprietary protocol, also need not be transformed existing PPS, use existing PPS and CTF to realize, can directly be utilized existing intelligent network pre-payment service platform, greatly reduce complexity and the cost realized, can reach the effect of rapid deployment.And, the access agent equipment can provide unified DCC billing interface, that a PPS manufacturer provides PPS equipment or a plurality of PPS manufacturer to provide PPS equipment all applicable, even provide in different PPS manufacturer under the application scenarios of dissimilar PPS equipment, also without change DCC billing interface, greatly reduce the complexity of communication, can also have the office point of many PPS scenes to promote this access agent equipment at existing network, brought economic benefit.In addition, in the present embodiment, the access agent equipment returns to CCA message to CTF after receiving the RC message that PPS sends, and can provide business by CTF to subscriber equipment again so that operator completes after deducting fees, and has protected the interests of operator.
Embodiment 4
Referring to Fig. 4, the 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, according to service request, corresponding type of service is dialogue-based, and CTF sends to the access agent equipment by CCR message, and the business that application produces subscriber equipment is carried out charging.
In the present embodiment, the conversation-based business that subscriber equipment produces typically refers to the business relevant with time or flow, and time and flow that need to be lasting according to this business during charging carry out charging.This business includes but not limited to: web page browsing business etc.Described access agent equipment is generally the GGSN (Gateway GPRS SupportNode, Gateway GPRS Support Node) of network side/equipment such as IMS.
Wherein, the field CC-Request-Type value in CCR message is INITIAL_REQUEST, for starting a session.In addition, also include the number of subscriber equipment in CCR message, i.e. calling number.
402: after the access agent equipment is received the 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 corresponding to conversation-based CCR message is the second access code, and this second access code is set to the called number PPS signing to subscriber equipment and sends IDP message, initiates the intelligent call of simulation.
In the present embodiment, the form of above-mentioned the second access code is not specifically limited, usually can be configured to the number of an appointment, and there is the form of plain old telephone number, as 12345678 etc.All be provided with identical strategy in advance in accessing the signing PPS of agent equipment and subscriber equipment, the charging regulation that wherein the second access code of appointment is corresponding is SCUR (Session Chargingwith Unit Reservation, has the reserved session charging in unit).
After 403:PPS receives the IDP message sent of access agent equipment, according to normal pre-payment flow process, issue RRBE to the access agent equipment.
404:PPS, according to the called number in the IDP message of receiving, searches pre-configured strategy, and finding the charging regulation corresponding with the second access code is conversation-based charging, carries out the budget of conversation-based online charging.
405:PPS sends AC (Apply Charging, Apply Charging) message to the access agent equipment, asks the intelligent call charging into simulation.
406:PPS sends Connect or Continue message to the access agent equipment, and indication access agent equipment continues to process the calling just now suspended.
407: after the access agent equipment is received Connect or Continue message, send conversation-based CCA message to CTF, the business online charging success of notice CTF subscriber equipment current request, correspondingly, CTF starts to provide business to subscriber equipment after knowing the online charging success.
408:CTF sends session updates CCR message to the access 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 to AC message to the access agent equipment.
411: after the access agent equipment is received this AC message, return to session updates CCA message to CTF, announcement session is updated successfully.
Above-mentioned steps 408 to 411 is optional step, when meeting trigger condition, and the flow process that CTF meeting initiation session is upgraded, this flow process can repeatedly, describe once to be updated to example in figure.When not meeting trigger condition, CTF can initiation session new technological process more, now, 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 the access agent equipment, and request stops above-mentioned session.
413: after the access agent equipment is received this termination session CCR message, simulation SSP reports ACR message to PPS.
414:PPS carries out conversation-based online charging according to information and pre-configured charging regulation wherein after receiving the ACR message sent of access agent equipment.For example, subscriber equipment browsing page 20 minutes, PPS deducts fees 6 yuan etc. according to the rate of 0.3 yuan/minute from the account balance of subscriber equipment.
415: the access agent equipment reports ERB message to PPS.
After 416:PPS receives this ERB message, issue RC message to 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 the present embodiment provides, initiate the intelligent call of simulation according to conversation-based CCR message, and called number is set is the second access code, make PPS carry out the session online charging according to this second access code to the business of subscriber equipment, be applicable to provide for the user scene of non-event class business, as business relevant with duration and flow etc.Wherein, access agent equipment and CTF communicate based on the DCC agreement, with PPS, based on intelligent network protocol, communicate, without the definition proprietary protocol, also need not be transformed existing PPS, use existing PPS and CTF to realize, can directly be utilized existing intelligent network pre-payment service platform, greatly reduce complexity and the cost realized, can reach the effect of rapid deployment.And, the access agent equipment can provide unified DCC billing interface, that a PPS manufacturer provides PPS equipment or a plurality of PPS manufacturer to provide PPS equipment all applicable, even provide in different PPS manufacturer under the application scenarios of dissimilar PPS equipment, also without change DCC billing interface, greatly reduce the complexity of communication, can also have the office point of many PPS scenes to promote this access agent equipment at existing network, brought economic benefit.
Embodiment 5
Referring to Fig. 5, the present embodiment provides a kind of access agent equipment, comprising:
Receiver module 501 is the CCR message based on event or session, the assigned number that the type that this CCR message has comprised CCR message is corresponding and the number of subscriber equipment for the type that receives the CTF transmission;
Processing module 502, initiate the intelligent call of simulation for the PPS signing to the number of subscriber equipment according to CCR message, 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 be processed the intelligent call of simulation, and according to assigned number, the business of subscriber equipment is carried out to corresponding online charging.
In the present embodiment, under the first implementation, the CCR message that receiver module 501 is received is the CCR message based on event, and correspondingly, processing module 502 comprises:
The first processing unit, for the CCR message of receiving according to receiver module 501, the intelligent call that signing PPS initiates simulation to the number of subscriber equipment, and the called number in this intelligent call is set to the first access code of appointment, make PPS be processed the intelligent call of simulation, and according to this first access code, the business of subscriber equipment is carried out to online charging in due order.
In the present embodiment, on the basis of above-mentioned the first implementation, processing module 502 can further include:
The second processing unit, after at the first processing unit, initiating the intelligent call of simulation, receive Apply Charging AC message and connection message that PPS returns, or reception PPS returns to AC message and continuation message; Send the CCA message based on event to CTF.
In the present embodiment, on the basis of above-mentioned the first implementation, processing module 502 can further include:
The 3rd processing unit, after at the first processing unit, initiating the intelligent call of simulation, receive the RC message that PPS returns, and to CTF, sends the credit control response CCA message based on event.
In the present embodiment, under the second implementation, the CCR message that receiver module 501 receives is conversation-based CCR message, and correspondingly, processing module 502 comprises:
Fourth processing unit, for the CCR message of receiving according to receiver module 501, the intelligent call that signing PPS initiates simulation to the subscriber equipment number, and the called number in this intelligent call is set to the second access code of appointment, make PPS be processed the intelligent call of simulation, and according to this second access code, the business of subscriber equipment is carried out to conversation-based online charging.
The above-mentioned access agent equipment that the present embodiment provides, belong to same design with embodiment of the method, on this equipment, can implement the method in aforementioned either method embodiment, and implementation procedure refers to embodiment of the method, repeats no more here.
The above-mentioned access agent equipment that the present embodiment provides, initiate the intelligent call of simulation according to the CCR message based on event, and called number is set is the first access code, make PPS carry out online charging in due order according to this first access code to the business of subscriber equipment, be applicable to provide for the user scene of event class business.Perhaps, initiate the intelligent call of simulation according to conversation-based CCR message, and called number is set is the second access code, make PPS carry out the session online charging according to this second access code to the business of subscriber equipment, be applicable to provide for the user scene of non-event class business, as business relevant with duration and flow etc.
Wherein, above-mentioned access agent equipment and CTF communicate based on the DCC agreement, with PPS, based on intelligent network protocol, communicate, without the definition proprietary protocol, also need not be transformed existing PPS, use existing PPS and CTF to realize, can directly be utilized existing intelligent network pre-payment service platform, greatly reduce complexity and the cost realized, can reach the effect of rapid deployment.And, above-mentioned access agent equipment can provide unified DCC billing interface, that a PPS manufacturer provides PPS equipment or a plurality of PPS manufacturer to provide PPS equipment all applicable, even provide in different PPS manufacturer under the application scenarios of dissimilar PPS equipment, also without change DCC billing interface, greatly reduce the complexity of communication, can also have the office point of many PPS scenes to promote this access agent equipment at existing network, brought economic benefit.
In addition, above-mentioned access agent equipment can return to CCA message to CTF before PPS carries out charging, made CTF very fast to the online charging response, provided business to subscriber equipment in time, 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 to CCA message to CTF, provide business by CTF to subscriber equipment again after making operator complete to deduct fees, thereby protected the interests of operator.
Embodiment 6
Referring to Fig. 6, the present embodiment provides a kind of Online Charging System, comprising:
Access agent equipment 601 is the CCR message based on event or session, the assigned number that the type that this CCR message has comprised CCR message is corresponding and the number of subscriber equipment for the type that receives the CTF transmission; The intelligent call that the PPS signing to the number of subscriber equipment initiates simulation according to CCR message, 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 signing, the intelligent call of for receiving access agent equipment 601, initiating simulation, processed the intelligent call of this simulation, and according to this assigned number, the business of subscriber equipment carried out to corresponding online charging.
Wherein, access agent equipment 601, while specifically for the CCR message when receiving, being the CCR message based on event, called number in the intelligent call of initiation is set to the first access code of appointment, when the CCR message of receiving is conversation-based CCR message, the called number in the intelligent call of initiation is set to the second access code of appointment;
Correspondingly, above-mentioned PPS 602, called number in the intelligent call of initiating specifically for judgement access agent equipment 601 is the first access code or the second access code, if the first access code, the business of subscriber equipment is carried out to online charging in due order, if the second access code is carried out conversation-based online charging to the business of subscriber equipment.
The said system that the present embodiment provides, initiate the intelligent call of simulation according to the CCR message based on event or session, and called number is set is assigned number, make PPS carry out online charging according to this assigned number to the business of subscriber equipment, go for providing for the user scene of event class business or non-event class business.Wherein, above-mentioned access agent equipment and CTF communicate based on the DCC agreement, with PPS, based on intelligent network protocol, communicate, without the definition proprietary protocol, also need not be transformed existing PPS, use existing PPS and CTF to realize, can directly be utilized existing intelligent network pre-payment service platform, greatly reduce complexity and the cost realized, can reach the effect of rapid deployment.And, above-mentioned access agent equipment can provide unified DCC billing interface, that a PPS manufacturer provides PPS equipment or a plurality of PPS manufacturer to provide PPS equipment all applicable, even provide in different PPS manufacturer under the application scenarios of dissimilar PPS equipment, also without change DCC billing interface, greatly reduce the complexity of communication, can also have the office point of many PPS scenes to promote this access agent equipment at existing network, brought economic benefit.
In addition, above-mentioned access agent equipment can return to CCA message to CTF before PPS carries out charging, made CTF very fast to the online charging response, provided business to subscriber equipment in time, 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 to CCA message to CTF, provide business by CTF to subscriber equipment again after making operator complete to deduct fees, thereby protected the interests of operator.
Finally it should be noted that, one of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise the flow process as the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (ROM) or random store-memory body (RAM) etc.
Each functional unit in the embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a 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 usings that the form of software function module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium.The above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.Above-mentioned each device or system, can carry out the method in correlation method embodiment.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.