CN102238515A - Method, device and system for complementarily deducting fee, and online charging system - Google Patents

Method, device and system for complementarily deducting fee, and online charging system Download PDF

Info

Publication number
CN102238515A
CN102238515A CN2010101541995A CN201010154199A CN102238515A CN 102238515 A CN102238515 A CN 102238515A CN 2010101541995 A CN2010101541995 A CN 2010101541995A CN 201010154199 A CN201010154199 A CN 201010154199A CN 102238515 A CN102238515 A CN 102238515A
Authority
CN
China
Prior art keywords
parameter
difference
billing parameter
session
billing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010101541995A
Other languages
Chinese (zh)
Other versions
CN102238515B (en
Inventor
荣传湘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2010101541995A priority Critical patent/CN102238515B/en
Publication of CN102238515A publication Critical patent/CN102238515A/en
Application granted granted Critical
Publication of CN102238515B publication Critical patent/CN102238515B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a method, a device and a system for complementarily deducting fee, and an online charging system, relating to the technical field of communications and intended to avoid repeated fee deduction. The method for complementarily deducting fee comprises the following steps of: according to a session ID of a call, obtaining session information corresponding to the session ID from the online charging system, wherein the session information contains a charged parameter; obtaining an offline call bill corresponding to the session ID from an access device, wherein the offline call bill contains a total call parameter, a non-charging parameter and a charging time slice parameter; determining the magnitude relationship of the charged parameter with a first difference value, wherein the first difference value is a difference value between the total call parameter and the non-charging parameter; and then sending the determination result to the online charging system so that the online charging system performs price approval and fee deduction according to the magnitude relationship of the charged parameter with the first difference value. The method, the device and the system disclosed by the invention can be used for complementarily deducting fee.

Description

The method that benefit is deducted fees, device, system and Online Charging System
Technical field
The present invention relates to communication technical field, relate in particular to method, device, system and Online Charging System that a kind of benefit is deducted fees.
Background technology
At Online Charging System (Online Charging System, OCS) in, terminal equipments such as mobile phone can pass through access device SCP (Service control Point, service control point), OCG (Online Charging Gateway, the online charging gateway) or GGSN (GatewayGPRS Support Node, Gateway GPRS Support Node) etc. be connected with OCS, and realize chargeing by the information interaction between access device and the OCS.
Be that example illustrates charging process with access device SCP below.As shown in Figure 1, when beginning to carry out service call and needing to charge, SCP at first sends CCR (initial) message (credit control request first) to OCS; OCS receives after CCR (initial) message terminal equipment of initiating service call is carried out authentication, promptly checks the authentication information relevant with this terminal equipment, the calling charge information etc. that prestores, and reserves the expense that the enough chargeable time sheets in back use of calling out of setting up; OCS sends CCA (initial) message (Credit Control Answer first) to SCP afterwards.After this in first chargeable time sheet, SCP sends CCR (update) message to OCS; OCS receives and this chargeable time sheet is carried out wholesale price after CCR (update) message and deduct fees, and reserves the expense that enough next chargeable time sheet uses; OCS sends CCA (update) message to SCP afterwards, shows in this chargeable time sheet and deducts fees successfully, can carry out the wholesale price of next chargeable time sheet and deduct fees.
But taking place under the unusual situation, for example OCS power down, session are unusual, the disconnected or network interruption of network flash etc. between process hang-up, SCP and the OCS, this moment as shown in Figure 1, SCP can't receive CCA (update) message that OCS sends, cause to proceed information interaction between the two, and can't finish real-time monitoring and charging.But this moment is for interrupt call not, and SCP need transfer logical and keeps call business in the situation that discord OCS deducts fees alternately.After call business finished, SCP write down offline bill, and sent this offline bill to OCS and carry out batched valuation.Contain in the wherein said ticket duration that do not charge (comprise never successfully receive CCA (update) message to the duration of end of calling and the duration that does not successfully receive that chargeable time sheet of CCA (update) message).
State in realization and mend in the process of deducting fees, the inventor finds that there are the following problems at least in the prior art:
For that chargeable time sheet that SCP does not successfully receive CCA (update) message, can't determine whether OCS is successful to deducting fees of this chargeable time sheet.The success of deducting fees all is recorded as the duration that do not charge to this chargeable time sheet to prior art no matter whether OCS is to this chargeable time sheet, therefore may cause repeating chargeing.The user is incurred loss, and may cause losing credit, and then income is affected as operator.
Summary of the invention
Method, device, system and Online Charging System that embodiments of the invention provide a kind of benefit to deduct fees repeat to deduct fees avoiding.For achieving the above object, embodiments of the invention adopt following technical scheme:
The embodiment of the invention provides a kind of fee compensation and deduction method, comprising:
Session id according to calling out from Online Charging System, obtains the corresponding session information of described session id, and described session information has comprised billing parameter;
From access device, obtain the corresponding offline bill of described session id, described offline bill has comprised total calling parameter, not billing parameter and chargeable time sheet parameter;
Determine the magnitude relationship of the described billing parameter and first difference, described first difference is described total calling parameter and the difference between the billing parameter not;
Described definite result is sent to described Online Charging System, deduct fees so that described Online Charging System carries out wholesale price according to the magnitude relationship of described billing parameter of determining and described first difference.
The embodiment of the invention also provides a kind of fee compensation and deduction method, comprising:
According to the session id of calling out, send session information to the benefit device of deducting fees, described session information has comprised billing parameter;
Receive the described benefit definite result that device sends that deducts fees, described definite result has comprised the magnitude relationship of described billing parameter and first difference, and described first difference is in the total calling parameter preserved on the access device and the difference between the billing parameter not;
Carry out batched valuation according to described definite result.
The embodiment of the invention provides a kind of benefit device of deducting fees, and comprising:
First acquiring unit is used for from Online Charging System, obtaining the corresponding session information of session id of certain calling according to the session id of calling out, and described session information has comprised billing parameter;
Second acquisition unit is used for from access device, obtains the corresponding offline bill of described session id, and described offline bill has comprised total calling parameter, not billing parameter and chargeable time sheet parameter;
Determining unit is used for determining that the magnitude relationship of the described billing parameter and first difference, described first difference are described total calling parameter and the difference between the billing parameter not;
Transmitting element is used for described definite result is sent to described Online Charging System, deducts fees so that described Online Charging System carries out wholesale price according to the magnitude relationship of described billing parameter of determining and described first difference.
The embodiment of the invention provides a kind of Online Charging System, comprising:
The session information transmitting element is used for according to the session id of calling out, and sends session information to the benefit device of deducting fees, and described session information has comprised billing parameter;
Determine receiving element as a result, be used to receive the described benefit definite result that device sends that deducts fees, described definite result has comprised the magnitude relationship of the described billing parameter and first difference, and described first difference is in the total calling parameter preserved on the access device and the difference between the billing parameter not;
The wholesale price unit is used for carrying out batched valuation according to described definite result.
The embodiment of the invention also provides a kind of benefit system that deducts fees, and comprising:
The benefit device of deducting fees is used for from Online Charging System, obtaining the corresponding session information of session id of certain calling according to the session id of calling out, and described session information has comprised billing parameter; From access device, obtain the corresponding offline bill of described session id, described offline bill has comprised total calling parameter, not billing parameter and chargeable time sheet parameter; Determine the magnitude relationship of the described billing parameter and first difference, described first difference is described total calling parameter and the difference between the billing parameter not; Described definite result is sent to described Online Charging System, deduct fees so that described Online Charging System carries out wholesale price according to the magnitude relationship of described billing parameter of determining and described first difference;
Online Charging System is used for according to the session id of calling out, and sends session information to the benefit device of deducting fees, and described session information has comprised billing parameter; Receive the described benefit definite result that device sends that deducts fees, described definite result has comprised the magnitude relationship of described billing parameter and first difference, and described first difference is in the total calling parameter preserved on the access device and the difference between the billing parameter not; Carry out batched valuation according to described definite result.
The fee compensation and deduction method that the embodiment of the invention provides, device, system and Online Charging System, because the magnitude relationship of described billing parameter and first difference can reflect the success of whether chargeing of chargeable time sheet that access device does not successfully receive CCA (update) message, therefore can carry out wholesale price in described Online Charging System according to the magnitude relationship of the described billing parameter and first difference deducts fees, can avoid to take place unusual described chargeable time sheet repeat deduct fees, and then can avoid user and operator to incur loss.
Description of drawings
The flow chart that Fig. 1 deducts fees for Online Charging System in the prior art;
Fig. 2 is the flow chart of one embodiment of the invention fee compensation and deduction method;
Fig. 3 is the flow chart of another embodiment of the present invention fee compensation and deduction method;
Fig. 4 is a specific embodiment of fee compensation and deduction method of the present invention;
Fig. 5 does not concern schematic diagram for not producing the duration that repeats under the situation of deducting fees;
Fig. 6 concerns schematic diagram for producing the duration that repeats under the situation of deducting fees;
Fig. 7 mends the schematic representation of apparatus of deducting fees for the embodiment of the invention;
Fig. 8 is the schematic diagram of embodiment of the invention Online Charging System;
Fig. 9 is the detailed maps of Online Charging System shown in Figure 8;
Figure 10 mends the schematic diagram of the system that deducts fees for one embodiment of the invention;
Figure 11 mends the schematic diagram of the system that deducts fees for another embodiment of the present invention;
Figure 12 mends the schematic diagram of the system that deducts fees for another embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing embodiment of the invention fee compensation and deduction method, Apparatus and system are described in detail.Should be clear and definite, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtained under the creative work prerequisite.
As shown in Figure 2, the fee compensation and deduction method in the one embodiment of the invention comprises:
S201, the session id according to calling out from Online Charging System, obtains the corresponding session information of described session id, and described session information has comprised billing parameter;
S202 from access device, obtains the corresponding offline bill of described session id, and described offline bill has comprised total calling parameter, not billing parameter and chargeable time sheet parameter;
S203 determines that the magnitude relationship of the described billing parameter and first difference, described first difference are described total calling parameter and the difference between the billing parameter not;
S204 sends to described Online Charging System with described definite result, deducts fees so that described Online Charging System carries out wholesale price according to the magnitude relationship of described billing parameter of determining and described first difference.
In the application of reality, may there be two kinds of relations in the magnitude relationship of the billing parameter and first difference, 1, billing parameter equals described first difference, just there is not the situation that repeats to deduct fees, at this moment mend the result that the device of deducting fees will determine and send to described Online Charging System, OCS will carry out wholesale price according to billing parameter not and deduct fees.2, just in the process of deducting fees, there is the situation that repeats to deduct fees in billing parameter greater than described first difference, at this moment mend the result that the device of deducting fees will determine and send to described Online Charging System, OCS will carry out wholesale price according to second difference of billing parameter and chargeable time sheet parameter not and deduct fees.Wherein: billing parameter can be the duration or the flow that chargeed of chargeing, total calling parameter can be total call duration or total calling flow, billing parameter can not be the duration or the flow that do not charge of not chargeing, and chargeable time sheet parameter can chargeable time sheet duration or chargeable time sheet flow.
The fee compensation and deduction method that the embodiment of the invention provides, because the magnitude relationship of billing parameter and first difference can reflect the success of whether chargeing of chargeable time sheet that access device does not successfully receive CCA (update) message, therefore can carry out wholesale price in described Online Charging System according to the magnitude relationship of the billing parameter and first difference deducts fees, can avoid to take place unusual described chargeable time sheet repeat deduct fees, and then can avoid user and operator to incur loss.
As shown in Figure 3, the fee compensation and deduction method in the another embodiment of the present invention comprises:
S301 according to the session id of calling out, sends session information to the benefit device of deducting fees, and described session information has comprised billing parameter;
S302 receives the described benefit definite result that device sends that deducts fees, and described definite result has comprised the magnitude relationship of described billing parameter and first difference, and described first difference is in the total calling parameter preserved on the access device and the difference between the billing parameter not;
S303 carries out batched valuation according to described definite result.
Above-mentioned mend the process of deducting fees before, also comprise: carry out in the charging process in calling, the billing parameter of calling out is recorded in the session information, and preservation session information, described session information comprises calls out corresponding session id, and OCS will keep this session information a period of time, such as: 24 hours.
Equal first difference if mend definite result that the device of deducting fees sends for billing parameter, OCS carries out wholesale price according to billing parameter not and deducts fees; If mend definite result that the device of deducting fees sends for billing parameter greater than first difference, carry out wholesale price according to second difference of billing parameter and chargeable time sheet parameter not and deduct fees.
The fee compensation and deduction method that the embodiment of the invention provides, because the magnitude relationship of described billing parameter and first difference can reflect the success of whether chargeing of chargeable time sheet that access device does not successfully receive CCA (update) message, therefore can carry out wholesale price in described Online Charging System according to the magnitude relationship of the described billing parameter and first difference deducts fees, can avoid to take place unusual described chargeable time sheet repeat deduct fees, and then can avoid user and operator to incur loss.
Below by a specific embodiment method that embodiment of the invention benefit is deducted fees is described.As shown in Figure 4, the fee compensation and deduction method described in the present embodiment comprises:
S401, in caller and incoming call process, when Online Charging System OCS carried out charging process, the billing parameter that will call out simultaneously recorded in the session information, and preserved this session information, and this session information comprises the corresponding session id of this calling,
OCS can be kept at described session information in the memory device.For example described session information can be kept in the internal memory, perhaps can be kept in the file or database on the hard disk.It should be noted that in addition billing parameter need be written in the session information, so as to utilize this billing parameter carry out subsequent operation.Because present call business can service time and two kinds of charging ways of flow, therefore billing parameter described here can be the duration that charges for the call business that charges service time, the billing parameter here can be the flow that charges for the call business that use traffic is chargeed, there are other charging ways in it would, of course, also be possible to, as time and flow combination, then this billing parameter be exactly the combination of corresponding chargeable time and charging flow.
Under abnormal conditions, disconnected or the network interruption of network flash etc. between, process hang-up unusual, access device and the OCS as OCS power down, session, may cause session timeout in call, OCS can delete described session information immediately in the prior art at this moment, if can't obtain the billing parameter that writes down in the described session information like this in subsequent operation.And OCS will make described session information preserve one section Preset Time in the present embodiment.This Preset Time can dispose, and for example is configured to 24 hours or 48 hours etc.
S402, when call session generation abnormal conditions, access device with the corresponding offline bill of the session id of this calling in write total calling parameter, not billing parameter and chargeable time sheet parameter, and preserve described offline bill.
After abnormal conditions took place, for interrupt call not, access device need be transferred logical and keeps call business in the situation that discord OCS deducts fees alternately, and finishes back record offline bill at call business.The offline bill of finishing behind the record is kept in the access device.Need to write total calling parameter, not billing parameter and chargeable time sheet parameter in the offline bill.Similarly, because present call business can service time and two kinds of charging ways of flow, therefore for the call business that charges service time each parameter described here refer to total call duration, do not charge duration and chargeable time sheet duration, each parameter described here refers to total calling flow for the call business that use traffic is chargeed, flow and chargeable time sheet flow do not charge.Here pointed access device can be SCP, OCG or GGSN etc.
Here it should be explained that the corresponding uniquely calling of session id.Therefore can on OCS, preserve and a session information that session id is corresponding, and preserve the offline bill corresponding on the access device with this session id.In follow-up operating process, can come related described session information and described offline bill, thereby make the calling parameter total of billing parameter of a calling, billing parameter and chargeable time sheet parameter are not mapped with it by session id.
S403 mends that preserve and the session information corresponding calling of certain session id among the device inquiry OCS that deducts fees.
Particularly, mending the device of deducting fees described in the present embodiment is just to start when call business begins, and periodically inquires about the session information of preserving among the OCS (for example every 5 minutes).
S404, OCS provides the session information of preserving above-mentioned session id correspondence to the benefit device of deducting fees.
OCS inquires the session information of this session id correspondence according to the benefit session id that device provides of deducting fees, and this session information sent to mends the device of deducting fees.
S405, mend the device of deducting fees and receive above-mentioned session information, and, mend the device of deducting fees and also inquire about the offline bill of preserving on the access device according to above-mentioned session id.
Particularly, mending the device of deducting fees described in the present embodiment is just to start when call business begins, and periodically inquires about the offline bill of preserving on the access device (for example every 5 minutes).By step S402 as can be known, described offline bill finishes the back by the access device record and be kept in the access device at call business, so access device may just be inquired about in the next cycle after keeping described offline bill and obtains described offline bill.
The benefit device of deducting fees can not be periodically to inquire about the offline bill of preserving on the access device, can remove to inquire about the offline bill of preserving on the access device according to the session id the session information that gets access to from OCS yet.
S406, access device provides the offline bill that is kept at wherein to the benefit device of deducting fees.
Access device inquires the offline bill of this session id correspondence according to the benefit session id that device provides of deducting fees, and this offline bill sent to mends the device of deducting fees.
S407, benefit is deducted fees device according to the session information and the offline bill that receive same session id correspondence, get access to the billing parameter of this session id correspondence and total calling parameter, not after billing parameter and the chargeable time sheet parameter, determine the magnitude relationship of billing parameter and first difference, wherein first difference is total calling parameter and the difference between the billing parameter not.Particularly, determine that billing parameter equals first difference or greater than first difference.
The call business that charges with service time is an example, by as can be known shown in Figure 5:
Having chargeed, duration=total call duration-duration does not charge
This equation shows that timeslice that unusual back OCS successfully do not receive CCA (update) message to access device takes place does not successfully carry out wholesale price and deduct fees, so OCS can directly carry out wholesale price according to the described duration that do not charge when deducting fees and deducts fees mending.This moment execution in step S409.
Be example also with the call business that charges service time, by as can be known shown in Figure 6:
Having chargeed, duration>total call duration-duration does not charge
This inequality shows that having comprised OCS in the duration that do not charge had successfully carried out that chargeable time sheet that wholesale price is deducted fees, promptly, that timeslice that unusual back OCS successfully do not receive CCA (update) message to access device takes place successfully carried out wholesale price and deduct fees, so OCS carry out wholesale price according to second difference of do not charge duration and chargeable time sheet duration when deducting fees and deducts fees mending.This moment execution in step S410.
Need to prove that the call business that Fig. 5 and Fig. 6 chargeed with service time is that example has illustrated magnitude relationship how to come to determine the described billing parameter and first difference.Similarly, charge, similar conclusion is arranged when billing parameter with other, as: when with the call business that uses charge on traffic during as example, if:
Having chargeed, flow=total calling flow-flow does not charge
Show that then that timeslice that unusual back OCS successfully do not receive CCA (update) message to access device takes place does not successfully carry out wholesale price and deduct fees.If:
Having chargeed, flow>total calling flow-flow does not charge
Show that then that timeslice that unusual back OCS successfully do not receive CCA (update) message to access device takes place has successfully carried out wholesale price and deduct fees.
S408 mends the device of deducting fees and gives OCS with the result transmission of the magnitude relationship of its billing parameter determined and first difference.
S409, the billing parameter and the first difference equal and opposite in direction, OCS directly carry out wholesale price according to billing parameter not and deduct fees.
S410, greater than the first difference size, OCS carries out wholesale price according to second difference of billing parameter and chargeable time sheet parameter not and deducts fees according to billing parameter.
From top description as can be known, carrying out wholesale price according to the magnitude relationship of the described billing parameter and first difference in OCS deducts fees, can avoid repeating to deduct fees, and then can avoid user and operator to incur loss, improved user's experience, and improve the accuracy of chargeing, bring well-deserved reputation to operator.
Need to prove, though the described benefit device of deducting fees has at first been inquired about the session information of preserving among the OCS in embodiment illustrated in fig. 4, and obtained described billing parameter (seeing step S403 and S404), inquire about the offline bill of preserving in the described access device according to described session id then, and obtained described total calling parameter, not billing parameter and chargeable time sheet parameter (seeing step S405 and S406).But be not limited thereto, in other examples of the present invention, also at first execution in step S405 and S406, execution in step S403 and S404 then.
The present invention also provides the another one specific embodiment of fee compensation and deduction method.Fee compensation and deduction method described in the present embodiment and embodiment illustrated in fig. 4 in fee compensation and deduction method basic identical, the two difference is only described below.Its difference is:
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 (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
As shown in Figure 7, the present invention also provides the embodiment that a kind of benefit is deducted fees device.The described benefit device of deducting fees comprises:
First acquiring unit 701 is used for from Online Charging System, obtaining the corresponding session information of session id of certain calling according to the session id of calling out, and described session information has comprised billing parameter;
Second acquisition unit 702 is used for from access device, obtains the corresponding offline bill of described session id, and described offline bill has comprised total calling parameter, not billing parameter and chargeable time sheet parameter;
Determining unit 703 is used for determining that the magnitude relationship of the described billing parameter and first difference, described first difference are described total calling parameter and the difference between the billing parameter not;
Transmitting element 704 is used for described definite result is sent to described Online Charging System, deducts fees so that described Online Charging System carries out wholesale price according to the magnitude relationship of described billing parameter of determining and described first difference.
Though provided two acquiring units 701,702 in the present embodiment, also can use an acquiring unit to obtain described billing parameter and described total calling parameter, not billing parameter and chargeable time sheet parameter in actual use; And the offline bill of preserving on session information that can use an enquiry module to inquire about to preserve among the described line charge system OCS and the described access device.
Need to prove, more than mend in the execution mode of the device of deducting fees, the division of each functional module only illustrates, can be as required in the practical application, facility such as the realization of the configuration requirement of corresponding hardware or software is considered, finish by different functional modules and above-mentioned functions distributed, to be about to the deduct fees internal structure of device of described benefit and to be divided into different functional modules, to finish all or part of function described above.And in the practical application, corresponding functional modules in the present embodiment can be to be realized by relevant hardware, also can carry out corresponding software by relevant hardware finishes, for example, aforesaid first acquiring unit 701, can be for having the hardware of carrying out aforementioned functional, and other the general deriving means that can carry out aforementioned functional, thereby also can be to carry out the general deriving means that the corresponding computer program is finished aforementioned functional.
Benefit described in the present embodiment device of deducting fees can be determined the magnitude relationship of described billing parameter and described first difference, so that OCS has avoided repeating to deduct fees according to determining that the result carries out wholesale price and deducts fees.
As shown in Figure 8, the present invention also provides a kind of embodiment of Online Charging System, comprising:
Session information transmitting element 801 is used for according to the session id of calling out, and sends session information to the benefit device of deducting fees, and described session information has comprised billing parameter;
Determine receiving element 802 as a result, be used to receive the described benefit definite result that device sends that deducts fees, described definite result has comprised the magnitude relationship of the described billing parameter and first difference, and described first difference is in the total calling parameter preserved on the access device and the difference between the billing parameter not;
Wholesale price unit 803 is used for carrying out batched valuation according to described definite result.
Optionally: wholesale price unit 803, specifically can be used for deducting fees device when determining that billing parameter has equaled first difference in benefit, carry out wholesale price according to billing parameter not and deduct fees; Perhaps deduct fees device when determining that billing parameter is greater than first difference, carry out wholesale price according to second difference of billing parameter and chargeable time sheet parameter not and deduct fees in benefit.
In addition as shown in Figure 9, described Online Charging System also comprises memory cell 804.This memory cell 804 is used for carrying out charging process in calling, the billing parameter of described calling is recorded in the session information, and preserve described session information, and described session information comprises the described corresponding session id of calling out.Memory cell 804 is preserved one section Preset Time with described session information in this example.This Preset Time can dispose, and for example is configured to 24 hours or 48 hours etc.
Online Charging System described in the present embodiment can carry out wholesale price and deducts fees according to the deduct fees magnitude relationship of the described billing parameter that device determines and first difference of described benefit, has avoided repeating to deduct fees.
Need to prove, in the execution mode of above Online Charging System, the division of each functional module only illustrates, can be as required in the practical application, facility such as the realization of the configuration requirement of corresponding hardware or software is considered, and the above-mentioned functions distribution is finished by different functional modules, the internal structure that is about to described Online Charging System is divided into different functional modules, to finish all or part of function described above.And in the practical application, corresponding functional modules in the present embodiment can be to be realized by relevant hardware, also can carry out corresponding software by relevant hardware finishes, for example, aforesaid wholesale price unit 803 can be for having the hardware of carrying out aforementioned functional, and other the general deriving means that can carry out aforementioned functional, as the wholesale price device, thereby also can be to carry out the general wholesale price device that the corresponding computer program is finished aforementioned functional.
In sum, the benefit that the embodiment of the invention provides deduct fees device and Online Charging System, because the magnitude relationship of described billing parameter and first difference can reflect the success of whether chargeing of chargeable time sheet that access device does not successfully receive CCA (update) message, therefore in described Online Charging System, carry out wholesale price when deducting fees according to the magnitude relationship of the described billing parameter and first difference, can avoid to take place unusual described chargeable time sheet repeat deduct fees, and then can avoid user and operator to incur loss.
As shown in figure 10, the embodiment of the invention also provides a kind of benefit system that deducts fees, and described system comprises:
The benefit device 1001 of deducting fees is used for from Online Charging System, obtaining the corresponding session information of session id of certain calling according to the session id of calling out, and described session information has comprised billing parameter; From access device, obtain the corresponding offline bill of described session id, described offline bill has comprised total calling parameter, not billing parameter and chargeable time sheet parameter; Determine the magnitude relationship of the described billing parameter and first difference, described first difference is described total calling parameter and the difference between the billing parameter not; Described definite result is sent to described Online Charging System, deduct fees so that described Online Charging System carries out wholesale price according to the magnitude relationship of described billing parameter of determining and described first difference;
Online Charging System (OCS) 1002 is used for according to the session id of calling out, and sends session information to the benefit device of deducting fees, and described session information has comprised billing parameter; Receive the described benefit definite result that device sends that deducts fees, described definite result has comprised the magnitude relationship of described billing parameter and first difference, and described first difference is in the total calling parameter preserved on the access device and the difference between the billing parameter not; Carry out batched valuation according to described definite result.
Particularly as shown in figure 11, the described system of the embodiment of the invention also comprises:
Access device 1003, link to each other with the benefit device 1001 of deducting fees, be used for preserving and the corresponding offline bill of call session ID, comprise total calling parameter, not billing parameter and chargeable time sheet parameter in the described offline bill, and sending described off-line menu to the described benefit device of deducting fees, device is determined the magnitude relationship of the described billing parameter and first difference so that described benefit is deducted fees.
As can be seen, mending the device 1001 of deducting fees is an independent equipment that is independent of access device and OCS from Figure 10 and embodiment shown in Figure 11.But be not limited thereto, as shown in figure 12, the described benefit device 1001 of deducting fees can also be a functional module that is integrated in OCS inside.
In sum, the benefit that the embodiment of the invention the provides system that deducts fees, because the magnitude relationship of described billing parameter and first difference can reflect the success of whether chargeing of chargeable time sheet that access device does not successfully receive CCA (update) message, therefore carrying out wholesale price according to the magnitude relationship of the described billing parameter and first difference in described Online Charging System deducts fees, can avoid to take place unusual described chargeable time sheet repeat deduct fees, and then can avoid user and operator to incur loss.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection range with claim.

Claims (12)

1. a fee compensation and deduction method is characterized in that, comprising:
Session id according to calling out from Online Charging System, obtains the corresponding session information of described session id, and described session information has comprised billing parameter;
From access device, obtain the corresponding offline bill of described session id, described offline bill has comprised total calling parameter, not billing parameter and chargeable time sheet parameter;
Determine the magnitude relationship of the described billing parameter and first difference, described first difference is described total calling parameter and the difference between the billing parameter not;
Described definite result is sent to described Online Charging System, deduct fees so that described Online Charging System carries out wholesale price according to the magnitude relationship of described billing parameter of determining and described first difference.
2. fee compensation and deduction method according to claim 1, it is characterized in that, the described magnitude relationship of determining the described billing parameter and first difference, and described definite result sent to described Online Charging System, deduct fees so that described Online Charging System carries out wholesale price according to the magnitude relationship of described billing parameter of determining and described first difference, specifically comprise:
Determine that described billing parameter equals described first difference, and the result that described definite billing parameter is equaled described first difference sends to described Online Charging System, deduct fees so that described Online Charging System carries out wholesale price according to described not billing parameter; Perhaps
Determine that described billing parameter is greater than described first difference, and described definite billing parameter sent to described Online Charging System greater than the result of described first difference, so that carrying out wholesale price according to second difference of described not billing parameter and described chargeable time sheet parameter, described Online Charging System deducts fees.
3. according to each described fee compensation and deduction method of claim 1 to 2, it is characterized in that,
Described billing parameter comprises charge the duration or the flow that chargeed,
Described total calling parameter comprises total call duration or total calling flow,
Described not billing parameter comprises the do not charge duration or the flow that do not charge,
Described chargeable time sheet parameter comprises chargeable time sheet duration or chargeable time sheet flow.
4. a fee compensation and deduction method is characterized in that, comprising:
According to the session id of calling out, send session information to the benefit device of deducting fees, described session information has comprised billing parameter;
Receive the described benefit definite result that device sends that deducts fees, described definite result has comprised the magnitude relationship of described billing parameter and first difference, and described first difference is in the total calling parameter preserved on the access device and the difference between the billing parameter not;
Carry out batched valuation according to described definite result.
5. fee compensation and deduction method according to claim 4, it is characterized in that, also comprise: carry out in the charging process in calling, the billing parameter of described calling is recorded in the session information, and preserve described session information, described session information comprises the described corresponding session id of calling out.
6. fee compensation and deduction method according to claim 4 is characterized in that, describedly carries out batched valuation according to described definite result, specifically comprises:
Described definite result equals first difference for described billing parameter, carries out wholesale price according to described not billing parameter and deducts fees; Perhaps
Described definite result be described billing parameter greater than described first difference, carry out wholesale price according to second difference of described not billing parameter and described chargeable time sheet parameter and deduct fees.
7. benefit device of deducting fees is characterized in that, comprising:
First acquiring unit is used for from Online Charging System, obtaining the corresponding session information of session id of certain calling according to the session id of calling out, and described session information has comprised billing parameter;
Second acquisition unit is used for from access device, obtains the corresponding offline bill of described session id, and described offline bill has comprised total calling parameter, not billing parameter and chargeable time sheet parameter;
Determining unit is used for determining that the magnitude relationship of the described billing parameter and first difference, described first difference are described total calling parameter and the difference between the billing parameter not;
Transmitting element is used for described definite result is sent to described Online Charging System, deducts fees so that described Online Charging System carries out wholesale price according to the magnitude relationship of described billing parameter of determining and described first difference.
8. an Online Charging System is characterized in that, comprising:
The session information transmitting element is used for according to the session id of calling out, and sends session information to the benefit device of deducting fees, and described session information has comprised billing parameter;
Determine receiving element as a result, be used to receive the described benefit definite result that device sends that deducts fees, described definite result has comprised the magnitude relationship of the described billing parameter and first difference, and described first difference is in the total calling parameter preserved on the access device and the difference between the billing parameter not;
The wholesale price unit is used for carrying out batched valuation according to described definite result.
9. Online Charging System according to claim 8, it is characterized in that, also comprise: memory cell, be used for carrying out charging process in calling, the billing parameter of described calling is recorded in the session information, and preserve described session information, described session information comprises the described corresponding session id of calling out.
10. Online Charging System according to claim 8 is characterized in that, described wholesale price unit possesses and comprises:
Be used for described definite result and equal first difference, carry out wholesale price according to described not billing parameter and deduct fees for described billing parameter; Perhaps
Be used for described definite result for described billing parameter greater than described first difference, carry out wholesale price according to second difference of described not billing parameter and described chargeable time sheet parameter and deduct fees.
A system 11. benefit is deducted fees is characterized in that, comprising:
The benefit device of deducting fees is used for from Online Charging System, obtaining the corresponding session information of session id of certain calling according to the session id of calling out, and described session information has comprised billing parameter; From access device, obtain the corresponding offline bill of described session id, described offline bill has comprised total calling parameter, not billing parameter and chargeable time sheet parameter; Determine the magnitude relationship of the described billing parameter and first difference, described first difference is described total calling parameter and the difference between the billing parameter not; Described definite result is sent to described Online Charging System, deduct fees so that described Online Charging System carries out wholesale price according to the magnitude relationship of described billing parameter of determining and described first difference;
Online Charging System is used for according to the session id of calling out, and sends session information to the benefit device of deducting fees, and described session information has comprised billing parameter; Receive the described benefit definite result that device sends that deducts fees, described definite result has comprised the magnitude relationship of described billing parameter and first difference, and described first difference is in the total calling parameter preserved on the access device and the difference between the billing parameter not; Carry out batched valuation according to described definite result.
The system 12. benefit according to claim 11 is deducted fees is characterized in that, described system also comprises:
Access device, be used for preserving and the corresponding offline bill of call session ID, comprise total calling parameter, not billing parameter and chargeable time sheet parameter in the described offline bill, and sending described off-line menu to the described benefit device of deducting fees, device is determined the magnitude relationship of the described billing parameter and first difference so that described benefit is deducted fees.
CN2010101541995A 2010-04-23 2010-04-23 Method, device and system for complementarily deducting fee, and online charging system Expired - Fee Related CN102238515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101541995A CN102238515B (en) 2010-04-23 2010-04-23 Method, device and system for complementarily deducting fee, and online charging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101541995A CN102238515B (en) 2010-04-23 2010-04-23 Method, device and system for complementarily deducting fee, and online charging system

Publications (2)

Publication Number Publication Date
CN102238515A true CN102238515A (en) 2011-11-09
CN102238515B CN102238515B (en) 2013-11-06

Family

ID=44888624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101541995A Expired - Fee Related CN102238515B (en) 2010-04-23 2010-04-23 Method, device and system for complementarily deducting fee, and online charging system

Country Status (1)

Country Link
CN (1) CN102238515B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067903A (en) * 2012-12-31 2013-04-24 华为技术有限公司 Charging method and device and system
CN105722048A (en) * 2014-08-06 2016-06-29 阿尔卡特朗讯 Charging method and equipment for online charging system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040069149A (en) * 2003-01-28 2004-08-04 주식회사 케이티프리텔 A Multiple CDR, Accounting System For Providing Flexibility of Accounting Data Of Data Network And Method of Generating Multiple CDR
CN101183953A (en) * 2007-12-13 2008-05-21 中国移动通信集团广东有限公司 Added charging method for online charging system
CN101217393A (en) * 2007-12-30 2008-07-09 中国移动通信集团四川有限公司 A charging income guarantee method realized by auditing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040069149A (en) * 2003-01-28 2004-08-04 주식회사 케이티프리텔 A Multiple CDR, Accounting System For Providing Flexibility of Accounting Data Of Data Network And Method of Generating Multiple CDR
CN101183953A (en) * 2007-12-13 2008-05-21 中国移动通信集团广东有限公司 Added charging method for online charging system
CN101217393A (en) * 2007-12-30 2008-07-09 中国移动通信集团四川有限公司 A charging income guarantee method realized by auditing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘逢源,吴纯青: "3GPP在线计费系统的几种典型架构研究与分析", 《电脑知识与技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067903A (en) * 2012-12-31 2013-04-24 华为技术有限公司 Charging method and device and system
CN105722048A (en) * 2014-08-06 2016-06-29 阿尔卡特朗讯 Charging method and equipment for online charging system

Also Published As

Publication number Publication date
CN102238515B (en) 2013-11-06

Similar Documents

Publication Publication Date Title
CN101267480B (en) Billing processing method, system and online billing system
JP2004505341A (en) Multiple virtual wallets in wireless device
CN108422882A (en) charging method and device
CN107719143A (en) A kind of battery altering movement station changes the method and device of battery to electric car
CN101345634A (en) Charging method, device and system
CN100466526C (en) Credit control client terminal, credit control server, charging system and charging method
CN110015107A (en) Change the remote authorization charge control system and method for electric-type electric car
CN102137205A (en) Account recharging method and device and charging method, device and system
CN101938362A (en) Charging regrant method, device and system
CN102238515B (en) Method, device and system for complementarily deducting fee, and online charging system
CN113352927B (en) Offline charging method, device, system and storage medium
CN111835929B (en) Telephone charge transaction method and system based on block chain
CN103067903A (en) Charging method and device and system
CN102137376A (en) Method, system and device for processing service request
CN101827348A (en) Control method and equipment for user credit in prepayment service and service support system
CN101860445B (en) Value-added service charging method and system
CN101183957B (en) Online charging method, system and equipment
CN102694660A (en) Method and device for re-charging for pre-payment user
CN101350727B (en) Method and apparatus for snapshot of account data, method for balancing account and real time billing system
CN107294735B (en) Order supplementing method and online charging system
CN115099801A (en) Payment information processing method and device based on public cloud
CN101771987B (en) Billing method, system and device in packet switched domain
CN107708082B (en) Supplementary charging method and device
CN112309049A (en) Energy supplementing control method, device, medium and system of energy supplementing facility
CN101790005A (en) Value-added business processing method and system and integrated business platform equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131106