CN102238515B - 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
CN102238515B
CN102238515B CN2010101541995A CN201010154199A CN102238515B CN 102238515 B CN102238515 B CN 102238515B CN 2010101541995 A CN2010101541995 A CN 2010101541995A CN 201010154199 A CN201010154199 A CN 201010154199A CN 102238515 B CN102238515 B CN 102238515B
Authority
CN
China
Prior art keywords
parameter
difference
billing parameter
billing
charging system
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.)
Expired - Fee Related
Application number
CN2010101541995A
Other languages
Chinese (zh)
Other versions
CN102238515A (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 buckle up is taken, device, system and Online Charging System
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method, device, system and Online Charging System of buckle up expense.
Background technology
At Online Charging System (Online Charging System, OCS) in, the 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 charging by the information interaction between access device and OCS.
The below illustrates charging process as an example of access device SCP example.As shown in Figure 1, when beginning to carry out service call and needing charging, at first SCP sends CCR (initial) message (credit is controlled request first) to OCS; OCS carries out authentication to the terminal equipment of initiating service call after receiving CCR (initial) message, namely check the authentication information relevant with this terminal equipment, the calling charge information etc. that prestores, and reserve the expense that rear enough chargeable time sheets 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 sheets 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 in the situation that abnormal, network flash or network interruption etc. between, process hang-up abnormal such as OCS power down, session, SCP and 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 complete Real Time Monitoring and charging.But SCP need to transfer logical and keep call business in the situation that discord OCS deducts fees alternately for interrupt call not this moment.After call business finished, SCP recorded offline bill, and sent this offline bill to OCS and carry out batched valuation.Contain not charging duration (comprise and 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) in wherein said ticket.
State in realization in the process of buckle up expense, the inventor finds that in prior art, there are the following problems at least:
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.Therefore prior art may cause the repetition charging no matter whether OCS deducts fees to this chargeable time sheet and successfully all this chargeable time sheet is recorded as not charging duration.The user is incurred loss, and may cause losing credit as operator, and then income is affected.
Summary of the invention
Embodiments of the invention provide method, device, system and the Online Charging System of a kind of buckle up expense, repeat to deduct fees avoiding.For achieving the above object, embodiments of the invention adopt following technical scheme:
The embodiment of the present 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 described billing parameter and the first difference, described the first difference is described total calling parameter and the difference between 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 the described billing parameter of determining and described the first difference.
The embodiment of the present invention also provides a kind of fee compensation and deduction method, comprising:
According to the session id of calling out, take device to buckle up and send session information, described session information has comprised billing parameter;
Receive definite result that described buckle up expense device sends, described definite result has comprised the magnitude relationship of described billing parameter and the first difference, and described the first difference is in total calling parameter of preserving on access device and the difference between billing parameter not;
Carry out batched valuation according to described definite result.
The embodiment of the present invention provides a kind of buckle up expense device, comprising:
The 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 obtaining the corresponding offline bill of described session id from access device, and described offline bill has comprised total calling parameter, not billing parameter and chargeable time sheet parameter;
Determining unit be used for to determine that the magnitude relationship of described billing parameter and the first difference, described the first difference are described total calling parameter and the difference between 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 the described billing parameter of determining and described the first difference.
The embodiment of the present 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 takes device to buckle up and sends session information, and described session information has comprised billing parameter;
Determine receiving element as a result, be used for receiving definite result that described buckle up expense device sends, described definite result has comprised the magnitude relationship of described billing parameter and the first difference, and described the first difference is in total calling parameter of preserving on access device and the difference between billing parameter not;
The wholesale price unit is used for carrying out batched valuation according to described definite result.
The embodiment of the present invention also provides a kind of buckle up charge system, comprising:
Buckle up is taken device, 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 described billing parameter and the first difference, described the first difference is described total calling parameter and the difference between 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 the described billing parameter of determining and described the first difference;
Online Charging System is used for according to the session id of calling out, and takes device to buckle up and sends session information, and described session information has comprised billing parameter; Receive definite result that described buckle up expense device sends, described definite result has comprised the magnitude relationship of described billing parameter and the first difference, and described the first difference is in total calling parameter of preserving on access device and the difference between billing parameter not; Carry out batched valuation according to described definite result.
The fee compensation and deduction method that the embodiment of the present invention provides, device, system and Online Charging System, because can reflecting access device, the magnitude relationship of described billing parameter and the first difference successfully do not receive the whether charging success of chargeable time sheet of CCA (update) message, therefore can carry out wholesale price in described Online Charging System according to the magnitude relationship of described billing parameter and the first difference deducts fees, can avoid to the described chargeable time sheet of abnormal repeat deduct fees, and then can avoid user and operator to incur loss.
Description of drawings
Fig. 1 is the flow chart that in prior art, Online Charging System is deducted fees;
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 in the situation of deducting fees;
Fig. 6 concerns schematic diagram for producing the duration that repeats in the situation of deducting fees;
Fig. 7 is the schematic diagram of embodiment of the present invention buckle up expense device;
Fig. 8 is the schematic diagram of embodiment of the present invention Online Charging System;
Fig. 9 is the detailed maps of Online Charging System shown in Figure 8;
Figure 10 is the schematic diagram of one embodiment of the invention buckle up charge system;
Figure 11 is the schematic diagram of another embodiment of the present invention buckle up charge system;
Figure 12 is the schematic diagram of another embodiment buckle up charge system of the present invention.
Embodiment
Below in conjunction with accompanying drawing, embodiment of the present invention fee compensation and deduction method, Apparatus and system are described in detail.Should be clear and definite, described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtain under the creative work prerequisite.
As shown in Figure 2, the fee compensation and deduction method in 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 described billing parameter and the first difference, described the first difference are described total calling parameter and the difference between 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 the described billing parameter of determining and described the first difference.
In the application of reality, may there be two kinds of relations in the magnitude relationship of billing parameter and the first difference, 1, billing parameter equals described the first difference, namely there is not the situation that repeats to deduct fees, at this moment the result that will determine of buckle up expense device sends to described Online Charging System, and OCS will carry out wholesale price according to billing parameter not and deduct fees.2, greater than described the first difference, namely in the process of deducting fees, there is the situation that repeats to deduct fees in billing parameter, at this moment the result that will determine of buckle up expense device sends to described Online Charging System, and OCS will carry out wholesale price according to the second difference of billing parameter and chargeable time sheet parameter not and deduct fees.Wherein: billing parameter can be charging duration or charging flow, total calling parameter can be total call duration or total calling flow, billing parameter can not be not charging duration or not charging flow, 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 present invention provides, because can reflecting access device, the magnitude relationship of billing parameter and the first difference successfully do not receive the whether charging success of chargeable time sheet of CCA (update) message, therefore can carry out wholesale price in described Online Charging System according to the magnitude relationship of billing parameter and the first difference deducts fees, can avoid to the described chargeable time sheet of abnormal 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 another embodiment of the present invention comprises:
S301 according to the session id of calling out, takes device to buckle up and sends session information, and described session information has comprised billing parameter;
S302 receives described buckle up and takes definite result that device sends, and described definite result has comprised the magnitude relationship of described billing parameter and the first difference, and described the first difference is in total calling parameter of preserving on access device and the difference between billing parameter not;
S303 carries out batched valuation according to described definite result.
Above-mentioned carry out buckle up expense process before, also comprise: carry out in charging process in calling, the billing parameter of calling out is recorded in 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.
If definite result that buckle up expense device sends equals the first difference for billing parameter, OCS carries out wholesale price according to billing parameter not and deducts fees; If buckle up take definite result that device sends for billing parameter greater than the first difference, carry out wholesale price according to the 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 present invention provides, because can reflecting access device, the magnitude relationship of described billing parameter and the first difference successfully do not receive the whether charging success of chargeable time sheet of CCA (update) message, therefore can carry out wholesale price in described Online Charging System according to the magnitude relationship of described billing parameter and the first difference deducts fees, can avoid to the described chargeable time sheet of abnormal repeat deduct fees, and then can avoid user and operator to incur loss.
The method of embodiment of the present invention buckle up expense is described below by a specific embodiment.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 was recorded in session information, and preserved this session information, and this session information comprises session id corresponding to this calling,
OCS can be kept at described session information in memory device.For example described session information can be kept in internal memory, perhaps can be kept in the file or database on hard disk.It should be noted that in addition billing parameter need to be written in 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 charging duration for the call business of charging service time, the billing parameter here can be charging flow for the call business of use traffic charging, certainly also might there be other charging ways, as time and flow combination, this billing parameter be exactly the combination of corresponding chargeable time and charging flow.
Under abnormal conditions, network flash or network interruption etc. between as abnormal in OCS power down, session, process hang-up, access device and OCS, may cause session timeout in call, in prior art, OCS can delete described session information immediately at this moment, if can't obtain like this billing parameter that records in described session information in subsequent operation.And OCS will make described session information preserve one section Preset Time in the present embodiment.This Preset Time can configure, such as being configured to 24 hours or 48 hours etc.
S402, when call session abnormal situation, access device writes total calling parameter, not billing parameter and chargeable time sheet parameter in the offline bill corresponding with the session id of this calling, and preserves described offline bill.
After the abnormal situation, for interrupt call not, access device need to be transferred logical and keep call business in the situation that discord OCS deducts fees alternately, and records offline bill after call business finishes.The offline bill of completing after record is kept in access device.Need to write total calling parameter, not billing parameter and chargeable time sheet parameter in offline bill.Similarly, because present call business can service time and two kinds of charging ways of flow, therefore parameters described here refers to total call duration, not charging duration and chargeable time sheet duration for the call business of charging service time, and parameters described here refers to total calling flow, not charging flow and chargeable time sheet flow for the call business of use traffic charging.Here pointed access device can be SCP, OCG or GGSN etc.
Here it should be explained that a session id corresponding calling uniquely.Therefore can preserve on OCS and a session information that session id is corresponding, and preserve the offline bill corresponding with this session id on access device.Can come related described session information and described offline bill by session id in follow-up operating process, thereby make the calling parameter total with it of billing parameter of a calling, billing parameter and chargeable time sheet parameter are not mapped.
S403, the session information of the calling corresponding with certain session id of preserving in buckle up expense device inquiry OCS.
Particularly, the expense of buckle up described in the present embodiment device is just to start when call business begins, and periodically inquires about the session information of preserving in OCS (for example every 5 minutes).
S404, OCS provide to buckle up expense device and preserve session information corresponding to above-mentioned session id.
OCS inquires session information corresponding to this session id according to the session id that buckle up expense device provides, and this session information is sent to buckle up expense device.
S405, buckle up expense device receive above-mentioned session information, and according to above-mentioned session id, buckle up expense device is also inquired about the offline bill of preserving on access device.
Particularly, the expense of buckle up described in the present embodiment device is just to start when call business begins, and periodically inquires about the offline bill of preserving on access device (for example every 5 minutes).By step S402 as can be known, during described offline bill record by access device after call business finishes and is kept at access device, so access device is just inquired about in may the next cycle after keeping described offline bill and is obtained described offline bill.
Buckle up expense device can not be periodically to inquire about the offline bill of preserving on access device, can according to the session id the session information that gets from OCS, remove to inquire about the offline bill of preserving on access device yet.
S406, access device provides to buckle up expense device the offline bill that is kept at wherein.
Access device inquires offline bill corresponding to this session id according to the session id that buckle up expense device provides, and this offline bill is sent to buckle up expense device.
S407, buckle up is taken device according to receiving corresponding session information and the offline bill of same session id, get billing parameter corresponding to this session id and total calling parameter, not after billing parameter and chargeable time sheet parameter, determine the magnitude relationship of billing parameter and the first difference, wherein the first difference is total calling parameter and the difference between billing parameter not.Particularly, determine that billing parameter equals the first difference or greater than the first difference.
Take the call business of charging service time as example, by as can be known shown in Figure 5:
The charging duration of charging duration=total call duration-not
This equation shows that timeslice that OCS after abnormal does not successfully receive CCA (update) message to access device successfully do not carry out wholesale price and deduct fees, thus OCS buckle up is time-consuming can directly carry out wholesale price according to described not charging duration and deduct fees carrying out.This moment execution in step S409.
Also take the call business of charging service time as example, by as can be known shown in Figure 6:
The charging duration of charging duration>total call duration-not
This inequality shows that having comprised OCS in charging duration had not successfully carried out that chargeable time sheet that wholesale price is deducted fees, namely, that timeslice that after abnormal, OCS does not successfully receive CCA (update) message to access device has successfully been carried out wholesale price and has been deducted fees, thus OCS buckle up is time-consuming should carry out wholesale price according to the second difference of charging duration and chargeable time sheet duration not and deduct fees carrying out.This moment execution in step S410.
Need to prove, how Fig. 5 and Fig. 6 come to determine the magnitude relationship of described billing parameter and the first difference take the call business of charging service time as example has illustrated.Similarly, carry out charging when the billing parameter with other, similar conclusion is arranged, as: when with the call business that uses charge on traffic during as example, if:
The charging flow of charging flow=total calling flow-not
Show that that timeslice that OCS after abnormal does not successfully receive CCA (update) message to access device successfully do not carry out wholesale price and deduct fees.If:
The charging flow of charging flow>total calling flow-not
Show that that timeslice that OCS after abnormal does not successfully receive CCA (update) message to access device successfully carried out wholesale price and deducted fees.
S408, buckle up expense device is transferred to OCS with the result of the magnitude relationship of its billing parameter of determining and the first difference.
S409, 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 the 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 described billing parameter and the 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 the accuracy that improves charging, bring well-deserved reputation to operator.
Need to prove, although in embodiment illustrated in fig. 4, at first described buckle up expense device has inquired about the session information of preserving in OCS, and obtained described billing parameter (seeing step S403 and S404), then according to the offline bill of preserving in the described access device of described session id inquiry, and described total calling parameter, not billing parameter and chargeable time sheet parameter (seeing step S405 and S406) have been obtained.But be not limited to this, in other examples of the present invention, also at first execution in step S405 and S406, then execution in step S403 and S404.
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 below only describes difference both.Its difference is:
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to complete by computer program, described program can be stored in a 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 store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
As shown in Figure 7, the present invention also provides a kind of embodiment of buckle up expense device.Described buckle up expense device comprises:
The 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 obtaining the corresponding offline bill of described session id from access device, and described offline bill has comprised total calling parameter, not billing parameter and chargeable time sheet parameter;
Determining unit 703 be used for to determine that the magnitude relationship of described billing parameter and the first difference, described the first difference are described total calling parameter and the difference between 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 the described billing parameter of determining and described the first difference.
Although provided two acquiring units 701,702 in the present embodiment, also can obtain described billing parameter and described total calling parameter, not billing parameter and chargeable time sheet parameter with an acquiring unit in actual use; And can inquire about the offline bill of preserving on the session information preserved in described line charge system OCS and described access device with an enquiry module.
Need to prove, in the execution mode of the device that above buckle up is taken, the division of each functional module only illustrates, can be as required in practical application, such as the facility of the configuration requirement of corresponding hardware or software implemented is considered, completed by different functional modules and above-mentioned functions is distributed, the internal structure that is about to described buckle up expense device is divided into different functional modules, to complete all or part of function described above.And in practical application, corresponding functional module in the present embodiment can be to be realized by corresponding hardware, also can be completed by the corresponding software of corresponding hardware implement, for example, aforesaid the 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 can be also to carry out the general deriving means that the corresponding computer program is completed aforementioned functional.
Buckle up expense device described in the present embodiment can be determined the magnitude relationship of described billing parameter and described the first difference, deducts fees so that OCS carries out wholesale price according to definite result, has avoided repeating to deduct 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 takes device to buckle up and sends session information, and described session information has comprised billing parameter;
Determine receiving element 802 as a result, be used for receiving definite result that described buckle up expense device sends, described definite result has comprised the magnitude relationship of described billing parameter and the first difference, and described the first difference is in total calling parameter of preserving on access device and the difference between 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 when buckle up expense device determines that billing parameter has equaled the first difference, carry out wholesale price according to billing parameter not and deduct fees; Perhaps when buckle up is taken device and determined that billing parameter is greater than the first difference, carry out wholesale price according to the second difference of billing parameter and chargeable time sheet parameter not and deduct fees.
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 session information, and preserves described session information, and described session information comprises the described corresponding session id of calling out.In this example, memory cell 804 is preserved one section Preset Time with described session information.This Preset Time can configure, such as being configured to 24 hours or 48 hours etc.
The described billing parameter that Online Charging System described in the present embodiment can be determined according to described buckle up expense device and the magnitude relationship of the first difference are carried out wholesale price and are deducted fees, and have 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 practical application, such as the facility of the configuration requirement of corresponding hardware or software implemented is considered, completed by different functional modules and above-mentioned functions is distributed, the internal structure that is about to described Online Charging System is divided into different functional modules, to complete all or part of function described above.And in practical application, corresponding functional module in the present embodiment can be to be realized by corresponding hardware, also can be completed by the corresponding software of corresponding hardware implement, 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 can be also to carry out the general wholesale price device that the corresponding computer program is completed aforementioned functional.
In sum, buckle up expense device and Online Charging System that the embodiment of the present invention provides, because can reflecting access device, the magnitude relationship of described billing parameter and the first difference successfully do not receive the whether charging success of chargeable time sheet of CCA (update) message, therefore carry out wholesale price when deducting fees in described Online Charging System according to the magnitude relationship of described billing parameter and the first difference, can avoid to the described chargeable time sheet of abnormal repeat deduct fees, and then can avoid user and operator to incur loss.
As shown in figure 10, the embodiment of the present invention also provides a kind of buckle up charge system, and described system comprises:
Buckle up is taken device 1001, 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 described billing parameter and the first difference, described the first difference is described total calling parameter and the difference between 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 the described billing parameter of determining and described the first difference;
Online Charging System (OCS) 1002 is used for according to the session id of calling out, and takes device to buckle up and sends session information, and described session information has comprised billing parameter; Receive definite result that described buckle up expense device sends, described definite result has comprised the magnitude relationship of described billing parameter and the first difference, and described the first difference is in total calling parameter of preserving on access device and the difference between billing parameter not; Carry out batched valuation according to described definite result.
Particularly as shown in figure 11, the embodiment of the present invention described system also comprises:
Access device 1003, be connected with buckle up expense device 1001, be used for preserving the offline bill corresponding with call session ID, described offline bill comprises total calling parameter, not billing parameter and chargeable time sheet parameter, and take the described off-line menu of device transmission to described buckle up, so that described buckle up expense device is determined the magnitude relationship of described billing parameter and the first difference.
Can find out from Figure 10 and embodiment shown in Figure 11, buckle up expense device 1001 is an independent equipment that is independent of access device and OCS.But be not limited to this, as shown in figure 12, described buckle up expense device 1001 can also be a functional module that is integrated in OCS inside.
In sum, the buckle up charge system that the embodiment of the present invention provides, because can reflecting access device, the magnitude relationship of described billing parameter and the first difference successfully do not receive the whether charging success of chargeable time sheet of CCA (update) message, therefore carrying out wholesale price according to the magnitude relationship of described billing parameter and the first difference in described Online Charging System deducts fees, can avoid to the described chargeable time sheet of abnormal repeat deduct fees, and then can avoid user and operator to incur loss.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in 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 described billing parameter and the first difference, described the first difference is described total calling parameter and the difference between 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 the described billing parameter of determining and described the first difference; Described Online Charging System carries out wholesale price according to the magnitude relationship of the described billing parameter of determining and described the first difference and deducts fees and comprise: if billing parameter equals described the first difference, described Online Charging System carries out wholesale price according to billing parameter not and deducts fees; If billing parameter is greater than described the first difference, described Online Charging System carries out wholesale price according to the second difference of billing parameter and chargeable time sheet parameter not and deducts fees.
2. fee compensation and deduction method according to claim 1, it is characterized in that, the described magnitude relationship of determining described billing parameter and the first difference, and 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 the described billing parameter of determining and described the first difference, specifically comprise:
Determine that described billing parameter equals described the first difference, and the result that described definite billing parameter is equaled described the 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 the first difference, and described definite billing parameter is sent to described Online Charging System greater than the result of described the first difference, so that carrying out wholesale price according to the second difference of described not billing parameter and described chargeable time sheet parameter, described Online Charging System deducts fees.
3. the described fee compensation and deduction method of according to claim 1 to 2 any one, is characterized in that,
Described billing parameter comprises charging duration or charging flow,
Described total calling parameter comprises total call duration or total calling flow,
Described not billing parameter comprises not charging duration or not charging flow,
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, take device to buckle up and send session information, described session information has comprised billing parameter;
Receive definite result that described buckle up expense device sends, described definite result has comprised the magnitude relationship of described billing parameter and the first difference, and described the first difference is in total calling parameter of preserving on access device and the difference between billing parameter not;
Carry out batched valuation according to described definite result;
Describedly carry out batched valuation according to described definite result and comprise:
If billing parameter equals described the first difference, Online Charging System carries out wholesale price according to billing parameter not and deducts fees; If billing parameter is greater than described the first difference, described Online Charging System carries out wholesale price according to the second difference of billing parameter and chargeable time sheet parameter not and deducts fees.
5. fee compensation and deduction method according to claim 4, it is characterized in that, also comprise: carry out in charging process in calling, the billing parameter of described calling is recorded in 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 is that described billing parameter equals the first difference, carries out wholesale price according to described not billing parameter and deducts fees; Perhaps
Described definite result be described billing parameter greater than described the first difference, carry out wholesale price according to the second difference of described not billing parameter and described chargeable time sheet parameter and deduct fees.
7. a buckle up is taken device, it is characterized in that, comprising:
The 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 obtaining the corresponding offline bill of described session id from access device, and described offline bill has comprised total calling parameter, not billing parameter and chargeable time sheet parameter;
Determining unit be used for to determine that the magnitude relationship of described billing parameter and the first difference, described the first difference are described total calling parameter and the difference between 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 the described billing parameter of determining and described the first difference; Described Online Charging System carries out wholesale price according to the magnitude relationship of the described billing parameter of determining and described the first difference and deducts fees and comprise: if billing parameter equals described the first difference, described Online Charging System carries out wholesale price according to billing parameter not and deducts fees; If billing parameter is greater than described the first difference, described Online Charging System carries out wholesale price according to the second difference of billing parameter and chargeable time sheet parameter not and deducts fees.
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 takes device to buckle up and sends session information, and described session information has comprised billing parameter;
Determine receiving element as a result, be used for receiving definite result that described buckle up expense device sends, described definite result has comprised the magnitude relationship of described billing parameter and the first difference, and described the first difference is in total calling parameter of preserving on access device and the difference between billing parameter not;
The wholesale price unit is used for carrying out batched valuation according to described definite result;
Billing parameter equals described the first difference if described wholesale price unit specifically is used for, and described Online Charging System carries out wholesale price according to billing parameter not and deducts fees; If billing parameter is greater than described the first difference, described Online Charging System carries out wholesale price according to the second difference of billing parameter and chargeable time sheet parameter not and deducts fees.
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 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:
Being used for described definite result is that described billing parameter equals the first difference, carries out wholesale price according to described not billing parameter and deducts fees; Perhaps
Be used for described definite result and be described billing parameter greater than described the first difference, carry out wholesale price according to the second difference of described not billing parameter and described chargeable time sheet parameter and deduct fees.
11. a buckle up charge system is characterized in that, comprising:
Buckle up is taken device, 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 described billing parameter and the first difference, described the first difference is described total calling parameter and the difference between 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 the described billing parameter of determining and described the first difference;
Online Charging System is used for according to the session id of calling out, and takes device to buckle up and sends session information, and described session information has comprised billing parameter; Receive definite result that described buckle up expense device sends, described definite result has comprised the magnitude relationship of described billing parameter and the first difference, and described the first difference is in total calling parameter of preserving on access device and the difference between billing parameter not; Carry out batched valuation according to described definite result; Describedly carry out batched valuation according to described definite result and comprise: if billing parameter equals described the first difference, described Online Charging System carries out wholesale price according to billing parameter not and deducts fees; If billing parameter is greater than described the first difference, described Online Charging System carries out wholesale price according to the second difference of billing parameter and chargeable time sheet parameter not and deducts fees.
12. buckle up charge system according to claim 11 is characterized in that, described system also comprises:
Access device, be used for preserving the offline bill corresponding with call session ID, described offline bill comprises total calling parameter, not billing parameter and chargeable time sheet parameter, and take the described off-line menu of device transmission to described buckle up, so that described buckle up expense device is determined the magnitude relationship of described billing parameter and the first difference.
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 CN102238515A (en) 2011-11-09
CN102238515B true 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)

Families Citing this family (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在线计费系统的几种典型架构研究与分析.《电脑知识与技术》.2007,全文. *

Also Published As

Publication number Publication date
CN102238515A (en) 2011-11-09

Similar Documents

Publication Publication Date Title
CN102884757B (en) The selection of the server data stream charging method based on requested data, services
US7310415B1 (en) Tracking and notification of telephone plan minute status
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
CN110015107A (en) Change the remote authorization charge control system and method for electric-type electric car
CN102238515B (en) Method, device and system for complementarily deducting fee, and online charging system
CN102142966B (en) Service nested charging-based service correlation method, device and system
CN113352927B (en) Offline charging method, device, system and storage medium
CN111835929B (en) Telephone charge transaction method and system based on block chain
CN106910062A (en) Refuel automatic method of payment and system
CN103067903A (en) Charging method and device and system
CN102137376A (en) Method, system and device for processing service request
CN101860445B (en) Value-added service charging method and system
CN104717627A (en) Billing ticket establishing method, data service billing method and related device
CN101656936A (en) Communication method and device thereof
CN101183957B (en) Online charging method, system and equipment
CN101350727B (en) Method and apparatus for snapshot of account data, method for balancing account and real time billing system
CN107708082B (en) Supplementary charging method and device
CN115099801A (en) Payment information processing method and device based on public cloud
CN101771987B (en) Billing method, system and device in packet switched domain
CN112309049A (en) Energy supplementing control method, device, medium and system of energy supplementing facility
CN105228259A (en) The method of communication service resource sharing and device

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

Granted publication date: 20131106

CF01 Termination of patent right due to non-payment of annual fee