CN101848452B - Partial charging returning method and device - Google Patents

Partial charging returning method and device Download PDF

Info

Publication number
CN101848452B
CN101848452B CN200910127964.1A CN200910127964A CN101848452B CN 101848452 B CN101848452 B CN 101848452B CN 200910127964 A CN200910127964 A CN 200910127964A CN 101848452 B CN101848452 B CN 101848452B
Authority
CN
China
Prior art keywords
return
request
wholesale price
charging
context
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
CN200910127964.1A
Other languages
Chinese (zh)
Other versions
CN101848452A (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.)
Global Innovation Polymerization LLC
Gw Partnership 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 CN200910127964.1A priority Critical patent/CN101848452B/en
Priority to PCT/CN2010/071374 priority patent/WO2010108459A1/en
Publication of CN101848452A publication Critical patent/CN101848452A/en
Application granted granted Critical
Publication of CN101848452B publication Critical patent/CN101848452B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • H04L12/1467Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network involving prepayment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/735Re-crediting user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2215/00Metering arrangements; Time controlling arrangements; Time indicating arrangements
    • H04M2215/14Billing aspects relating to the actual charge

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses partial charging returning method and device, wherein the method comprises the following steps of: receiving the partial returning request of a charging triggering entity, wherein the partial returning request comprises business response information; calculating the returned amounts of business expenses according to the business response information and a determined approved price deduction context; returning the returned amounts to a user account and returning a partial returning request response to the charging triggering entity. The invention can calculate the current returned amounts in real time, returns partial expenses of businesses and ensures the reasonability and accuracy of the returned amounts.

Description

Partial charging returning method and device
Technical field
The present invention relates to communication charge systems technology field, relate in particular to a kind of partial charging returning method and device.
Background technology
In communication system, when user is using when business, in order to prevent user's malicious owing fee, the strategy that the common employing of operator is deducted fees in advance was just deducted fees to business before user's use business, after deducting fees successfully, normally be used just business is understood.For example, user sends a note (SMS), when note arrives mobile switching centre (MSC) or sms center (SMS-C), MSC or SMS-C and charge system are mutual, on the account who sends user, deducting note mail sending charge per message uses, after deducting fees successfully, MSC or SMS-C by this short message to recipient user.
Due to Internet Transmission or the reason such as recipient user is unreachable, not success of business sometimes, for example, SMS does not successfully arrive recipient user's equipment.Now, in order to ensure user's interests and to ensure the reasonability of charging, what operator taked is the mechanism of afterwards returning, and is about to the business usage charges that previously button had gone and returns (Refund) in user account.
In order to realize above-mentioned return mechanism afterwards, ensure to return the accurate of the amount of money, in prior art, at charging triggering entity and Online Charging System (Online Charging System, OCS) carry out alternately business while deducting fees, OCS comprises return information (Refund Information) in the on-line charging request response that returns to charging triggering entity, and charging triggering entity is preserved return information.Subsequent charging triggering entity is according to service response situation, determine need to return expense time, just report return to request in comprise above-mentioned return information, OCS directly returns whole functional expenses according to return information.
The inventor finds in research process, the problem that above-mentioned prior art at least exists the expense that can not process group service to return.
Summary of the invention
The invention provides a kind of partial charging returning method and device, return, go for group service to realize part expense.
For this reason, the embodiment of the present invention adopts following technical scheme:
A kind of partial charging returning method, comprising:
The part that receives charging triggering entity is returned request, and the request of returning of described part comprises service response information;
According to described service response information and the definite wholesale price context of deducting fees, calculate functional expenses and return number, returns number is restored in user account, and responds to the request of returning of charging triggering entity returning part.
A kind of partial charging returning method, comprising:
The part that receives charging triggering entity is returned request;
According to return pattern and the definite wholesale price context of deducting fees, calculate functional expenses and return number, returns number is restored in user account, and responds to the request of returning of charging triggering entity returning part.
A kind of partial charging returning method, comprising:
The part that receives charging triggering entity is returned request, and the request of returning of described part comprises quota number and the chargeable time stamp of the unsuccessful use of business;
According to the rate of the time period of described chargeable time stamp instruction, the quota number of the unsuccessful use of described business is carried out to wholesale price, according to the result of wholesale price, determine functional expenses and return number, return number is restored in user account, and return request response to charging triggering entity returning part.
A kind of part charging returning device, comprising:
Part is returned request reception unit, and for returning request from charging triggering entity receiving unit, the request of returning of described part comprises service response information;
The wholesale price context determining unit of deducting fees, for returning request reception unit in described part when receiving part and returning request, determines the wholesale price context of deducting fees;
Return number computing unit, for return service response information that request reception unit obtains and the described wholesale price definite wholesale price of the context determining unit context of deducting fees of deducting fees according to described part, calculate functional expenses and return number;
Return performance element, be restored to user account for the return number that described return number computing unit is calculated;
Part is returned request-response unit, at described return performance element, return number being restored to after user account, returns request response to charging triggering entity transmitting portion.
A kind of part charging returning device, comprising:
Part is returned request reception unit, for returning request from charging triggering entity receiving unit;
The wholesale price context determining unit of deducting fees, for returning request reception unit in described part when receiving part and returning request, determines the wholesale price context of deducting fees;
Return pattern determining unit, while returning request for receiving part in described part return request reception unit, determine return pattern;
Return number computing unit, for the definite wholesale price of context determining unit of deducting fees according to the definite return pattern of described return pattern determining unit and the described wholesale price context of deducting fees, calculate functional expenses and return number;
Return performance element, be restored to user account for the return number that described return number computing unit is calculated;
Part is returned request-response unit, at described return performance element, return number being restored to after user account, returns request response to charging triggering entity transmitting portion.
A kind of part charging returning device, comprising:
Part is returned request reception unit, and for returning request from charging triggering entity receiving unit, the request of returning of described part comprises quota number and the chargeable time stamp of the unsuccessful use of business;
Return number computing unit, for return quota number and the chargeable time stamp of the unsuccessful use of business that request reception unit obtains according to described part, calculate functional expenses and return number;
Return performance element, be restored to user account for the return number that described return number computing unit is calculated;
Part is returned request-response unit, at described return performance element, return number being restored to after user account, returns request response to charging triggering entity transmitting portion.
Visible, in the embodiment of the present invention, in conjunction with service response information and the wholesale price information of deducting fees, or in conjunction with return pattern and the wholesale price information of deducting fees, or set business is not used quota number and chargeable time stamp, calculate in real time the amount of this return, realize service part expense and return, ensure to return reasonability and the accuracy of amount.
And, for example, by charging triggering entity is arranged to trigger mechanism,, when the return triggering timing device arranging arrives, triggering charging triggering entity is initiated part and is returned request, can support well the triggering to the return of group service charging part, ensures reasonability and correctness that functional expenses are returned.
Brief description of the drawings
Fig. 1 is embodiment of the present invention partial charging returning method flow chart 1;
Fig. 2 is partial charging returning method implementation one flow chart of the present invention;
Fig. 3 is the embodiment flow chart of partial charging returning method implementation one of the present invention;
Fig. 4 is partial charging returning method implementation two flow charts of the present invention;
Fig. 5 is embodiment 1 flow chart of partial charging returning method implementation two of the present invention;
Fig. 6 is embodiment 2 flow charts of partial charging returning method implementation two of the present invention;
Fig. 7 is embodiment of the present invention partial charging returning method flow chart 2;
Fig. 8 is partial charging returning method implementation three flow charts of the present invention;
Fig. 9 is embodiment 1 flow chart of partial charging returning method implementation three of the present invention;
Figure 10 is embodiment 2 flow charts of partial charging returning method implementation three of the present invention;
Figure 11 is embodiment 3 flow charts of partial charging returning method implementation three of the present invention;
Figure 12 is embodiment 4 flow charts of partial charging returning method implementation three of the present invention;
Figure 13 is embodiment of the present invention partial charging returning method flow chart 3;
Figure 14 is the flow chart of partial charging returning method implementation four of the present invention;
Figure 15 is the embodiment flow chart of partial charging returning method implementation four of the present invention;
Figure 16 is part charging returning device embodiment of the present invention mono-internal structure schematic diagram;
Figure 17 is part charging returning device embodiment of the present invention bis-internal structure schematic diagrames;
Figure 18 is part charging returning device embodiment of the present invention tri-internal structure schematic diagrames;
Figure 19 is that embodiment of the present invention part charging returning triggers control method flow chart 1;
Figure 20 is that embodiment of the present invention part charging returning triggers control method flow chart 2;
Figure 21 is embodiment of the present invention part charging returning trigger control device schematic diagram 1;
Figure 22 is embodiment of the present invention part charging returning trigger control device schematic diagram 2.
Embodiment
In group message service, support disposable wholesale price to deduct fees, but in the time that service request response is returned, there is partial service success, the unsuccessful situation of partial service, so in the time returning, the embodiment of the present invention is closely in conjunction with service response information, the accurate amount of returning of calculating, accuracy and the reasonability of amount returned in guarantee.
In group's property messaging service, owing to relating to multiple recipients, it is different that different recipients returns to time of response, the embodiment of the present invention can be at CTF and OCS (Online Charging System, the trigger mechanism of corresponding return is set, with the reasonability and the correctness that ensure that the mechanism of returning realizes OCS).
Below in conjunction with accompanying drawing, various implementations and embodiment are described in detail.
Referring to Fig. 1, be the partial charging returning method flow chart 1 that the embodiment of the present invention provides, comprising:
S101: the part that receives charging triggering entity (Charging Trigger Function, CTF) is returned request, the request of returning of described part comprises service response information;
S102: according to described service response information and the definite wholesale price context of deducting fees, calculate functional expenses and return number, described return number is restored in user account, and returns request response to CTF returning part.
In the scheme of introducing at flow chart 1, by service response information and the definite wholesale price context of deducting fees, calculate functional expenses and return number, thereby can realize the return of part expense, ensure reasonability and correctness that functional expenses are returned.
In specific implementation, the wholesale price context of deducting fees can be kept in OCS or be kept on CTF, be kept at the implementation on OCS for the wholesale price context of deducting fees, at OCS to the interface of CTF, only need to transmit Context identifier (Context Id), the parameter of transmitting is fewer, is conducive to save signaling mutual between charging triggering entity and OCS; Be kept at the implementation on CTF for the wholesale price context of deducting fees, need to be on interface the wholesale price context of deducting fees be passed to OCS, thereby make OCS according to wholesale price deduct fees information and service response information, also can calculate equally in real time the amount of this return.Below these two kinds of implementations are described in detail.
Paper partial charging returning method implementation one.
Referring to Fig. 2, be charging returning method implementation one flow chart, comprising:
S201:CTF receives service request;
S202:CTF sends CCR on-line charging request (Credit Control Request, CCR) to Online Charging System (Online Charging System, OCS);
S203:OCS carries out wholesale price and deducts fees business, and according to the service identification in CCR (Service Id), subscriber identifies (Subscription ID), or business information, for example ask instant message to send notifying parameters (Instant Message Delivery Notification Requested, IMDN Requested) etc. information (IMDN response can Indication message whether successfully arrive subscriber equipment), judge and follow-uply may have Refund, the wholesale price that OCS preserves this business contextual information of deducting fees, and for this wholesale price deduct fees context distribute Context identifier (Context Id),
S204:OCS returns to accounting request response (Credit Control Answer, CCA) to CTF, and this CCA comprises return information (Refund-Information);
Wherein, Refund-Information comprises return time (Refund-Time) and Context-Id, wherein, Refund-Time instruction OCS preserves the wholesale price contextual duration of deducting fees, Context-Id is for returning when Refund, the wholesale price that OCS obtains the business of preservation according to this Context-Id contextual information of deducting fees;
Wherein, Refund-Time is option, only has some special application scenarioss need to use Refund-Time, and for example, CTF arranges the scene of returning triggering timing device according to Refund-Time.
S205:CTF forwards business;
S206:CTF arranges and returns triggering timing device (Timer);
For example: if OCS returns to Refund-Time in CCA, the duration that CTF can arrange Timer is less than Refund-Time.CTF also can arrange Timer according to configuration in advance, the duration of Timer that different business for example can be set is not identical, or, the Timer that all business are set is mutually equal, the effect of Timer is to limit the effective time that related service triggering expense is returned, and only within this effective time, could trigger the expense of related service and return.
S207:CTF receives service response;
S208: when service response all arrives, or Timer is then, CTF returns request to OCS transmitting portion, and CTF is Insert service response message (Service-Response-Info) and Context ID in Refund-Information;
So-called " part is returned request " is a kind of special case of existing return request (Refund Request, RR), shows to ask returning part expense.
Wherein, " service response all arrives " refers to, within the Timer time, if all response messages that business sends all arrive, and the response message that wherein has instruction failed message to send.
S209:OCS searches the wholesale price context of deducting fees of preserving in advance obtaining in conjunction with Service-Response-Info with according to Context-Id, and the return strategy of operator's configuration calculates the amount of money of return in real time, and business is returned;
Wherein, the return strategy of operator's configuration is option.The return strategy of described operator is that operator is each group (Group), or the strategy of business configuration, for example: for Group1, return strategy and can return for the ratio that sends successful number in message.
S210:OCS returns request response to CTF returning part.
So-called " part is returned request response ", i.e. a kind of special case of existing return request response (Refund Request Answer, RRA), is the response of request that part is returned.
With a specific embodiment, implementation one is introduced below.
The application scenarios of this embodiment is: merging instant message (Converged IP Messaging, CPM) in business, CPM customer end A (CPM Client A) sends CPM message to Group123, comprises and need recipient to return to IMDN(Instant Message Delivery Notification in this message) instruction.Group123 comprises three CPM users, that is: CPM Client B, CPM Client C, CPM Client D.
Referring to Fig. 3, be this embodiment flow chart, comprising:
S301:CPM Client A, to sending CPM Message, comprises in this message and needs recipient to return to IMDN(Instant Message Delivery Notification) instruction;
S302:SIP Message is routed to CPM and controls functional entity (CPM Controlling Function, CPM CF), and CPM CF and OCS are mutual, and the transmission of message is deducted fees;
S302 specifically comprises:
A, CPM CF send CCR(Credit Control Request, on-line charging request to OCS), wherein comprise CPM business information, CPM business information comprises: Group Id=123, IMDN Requested;
B, according to the price of group 123, message is sent and carries out wholesale price and deduct fees, that is: the price of transmission message is 1.5 yuan/bar × 3=4.5 unit, determine and follow-uply may have Refund according to IMDN Requested information, OCS preserves the context that the wholesale price of this business is deducted fees, and distributes Context Id=12223dd.The described wholesale price context of deducting fees comprises: Tariff(rate)=1.5, Total(total value)=4.5, user account=account1;
C, OCS return to CCA(Credit Control Answer to CPM CF, on-line charging request response), wherein comprise Refund-Information,
Refund-Information comprises: Refund-Time=30min, Context-Id=12223dd.
S303:CPM CF is transmitted to CPM Message three members of Group123: CPM Client B, CPM Client C, CPM Client D;
S304:CPM CF arranges timer according to Refund-Time;
S305:CPM Client B, CPM Client C, CPM Client D returns to respectively IMDN response, and the response Indication message wherein returning from CPM Client B sends unsuccessfully;
S306: then, or (the response instruction that wherein Client B returns sends message failure) all returned in all IMDN response to timer;
S307:CPM CF and OCS send and return message alternately;
S307 specifically comprises:
A, CPM CF return request to OCS transmitting portion, in this request, comprise Refund-Information, Refund-Information comprises Context-Id=12223dd, and service response information: Number-Of-IMDN-Failed=1, Number-Of-IMDN-Success=2;
B, OCS find the wholesale price context of deducting fees according to Context-Id, and in conjunction with the quantity of failed message response, determine that returning the amount of money is 1 × 1.5=1.5 unit, and OCS is restored in user account account1 1.5 yuan;
C, OCS return request response to CPM CF returning part.
Visible, implementation one is carrying out expense while returning, and OCS, in conjunction with service response information and the wholesale price information of deducting fees, calculates the amount of this return in real time, realizes service part expense and returns, and ensures to return reasonability and the accuracy of amount.
And, by charging triggering entity is arranged to trigger mechanism, specifically, in the time that the timer of receiving all service response (wherein comprising failure response message) or arrange arrives, trigger charging triggering entity and initiate part return request to OCS, the triggering that group service charging part is returned be can support well, reasonability and correctness that functional expenses are returned ensured.
In implementation one, the wholesale price context of deducting fees is kept in OCS, and this scheme, only needs to transmit Context Id at OCS to the interface of charging triggering entity, and the parameter of transmission is fewer, is conducive to save signaling mutual between charging triggering entity and OCS.
Introductory section charging returning method implementation two below.
In implementation two, the wholesale price context of deducting fees is kept in charging triggering entity (CTF), therefore again the wholesale price context of deducting fees is passed to OCS in interfaces need, thereby make OCS according to wholesale price deduct fees information and service response information, calculate in real time the amount of this return.
Referring to Fig. 4, be charging returning method implementation two flow charts, comprising:
S401:CTF receives service request;
S402:CTF sends CCR to OCS;
S403:OCS carries out wholesale price and deducts fees business, and according to Service Id, Subscription ID, or business information, the information such as such as IMDN Requested, judge the follow-up Refund that may have;
S404:OCS returns to CCA to CTF, wherein comprises Refund-Information, and Refund-Information comprises the wholesale price context of deducting fees;
S405:CTF forwards business;
S406:CTF preserves the wholesale price context of deducting fees, and arranges and return triggering timing device Timer;
CTF can arrange Timer according to configuration in advance, and the duration of Timer that different business for example can be set is not identical, or the Timer duration that all business are set is all the same.CTF also can arrange Timer according to self preserving the wholesale price contextual duration of deducting fees, and for example, the duration that Timer is set is less than or equal to preserves the wholesale price contextual duration of deducting fees.
S407:CTF receives service response;
S408: when service response all arrives, or Timer is then, CTF sends Refund request according to service response situation to OCS, and CTF inserts Service-Response-Info and the wholesale price context of deducting fees in Refund-Information;
S409:OCS is in conjunction with Service-Response-Info and the wholesale price context of deducting fees, and the strategy of operator's configuration calculates the amount of money of return in real time, and the return amount of money is restored in user account;
Wherein, the strategy of operator's configuration is option, and its implication is identical with the implication in implementation one.
S410:OCS returns to Refund request response to CTF.
Whether identical with every message price below, with embodiment, implementation two is described respectively: in embodiment 1, the price of every message is the same, and in embodiment 2, the price of every message is different.
Embodiment 1 and embodiment 2 application scenarioss are as follows: in CPM business, CPM Client A sends CPM Message to Group123, comprises and need recipient to return to IMDN(Instant Message Delivery Notification in this message) instruction.Group123 comprises three CPM users, that is: CPM Client B, CPM Client C and CPM Client D.
The embodiment 1 of paper implementation two.
Embodiment 1 flow process is shown in Figure 5, comprising:
S501:CPM Client A sends CPM Message, comprises and need recipient to return to IMDN(Instant Message Delivery Notification in this message) instruction;
S502:CPM Message is routed to CPM Controlling Function(CPM CF), CPM CF and OCS are mutual, and the transmission of message is deducted fees;
S502 specifically comprises:
A, CPM CF send CCR to OCS, wherein comprise CPM business information, and CPM business information comprises: Group Id=123, IMDN Requested;
B, according to the price of group 123, message is sent and carries out wholesale price and deduct fees, that is: the price that sends message is 1.5 yuan/bar × 3=4.5 unit, determines and follow-uply may have Refund according to IMDN Requested information;
C, OCS return to CCA to CPM CF, wherein comprise Refund-Information, and Refund-Information comprises: Group-Id=123, Tariff=1.5, Total=4.5, user account=account1;
S503:CPM CF is transmitted to CPM Message three member: B of Group123, C, D;
S504:CPM CF preserves the wholesale price contextual information of deducting fees, and according to preserving duration, timer is set;
S505:CPM Client B, CPM Client C and CPM Client D return respectively IMDN response, and the response Indication message wherein returning from CPM Client B sends unsuccessfully;
S506: timer then, or all return by all IMDN response;
S507:CPM CF and OCS return business alternately;
S507 specifically comprises:
A, CPM CF return request to OCS transmitting portion, in this request, comprise Refund-Information, and Refund-Information comprises Group-Id=123, Number-Of-IMDN-Failed=1, Tariff=1.5, Total=4.5, user account=account1;
B, OCS are according to Tariff information, and the quantity of failed message response, determines that returning the amount of money is 1 × 1.5=1.5 unit, and OCS is restored in user account 1.5 yuan;
C, OCS return request response to CPM CF returning part.
Introduce the embodiment 2 of implementation two below.
Embodiment 2 flow processs are shown in Figure 6, comprising:
S601:CPM Client A sends CPM Message, comprises and need recipient to return to IMDN(Instant Message Delivery Notification in this message) instruction;
S602:CPM Message is routed to CPM Controlling Function(CPM CF), CPM CF and OCS are mutual, and the transmission of message is deducted fees;
S602 specifically comprises:
A, CPM CF send CCR to OCS, wherein comprise CPM business information, CPM business information comprises: Group Id=123, Message-Id, Recipient-Address-List and IMDN Requested, wherein, Recipient Address1=1203, Recipient Address2=1204, Recipient Address3=1205;
B, according to the price of every message of group 123, message is sent and carries out wholesale price and deduct fees, that is: sending the lattice of message is: message 1 (1 × 1.5 yuan/bar)+message 2 (1 × 2 yuan/bar)+message 3 (1 × 4 yuan/bar)=7.5 yuan, and determine and follow-uply may have Refund according to IMDN Requested information;
C, OCS return to CCA to CPM CF, wherein comprise Refund-Information, and Refund-Information comprises Group Id=123,
The wholesale price context of deducting fees:
Message 1 (Message-Id, Recipient-Address1=1203, Tariff/total=1.5)
Message 2 (Message-Id, Recipient-Address2=1204, Tariff/Total=2)
Message 3 (Message-Id, Recipient-Address3=1205, Tariff/Total=4)
S603:CPM CF is transmitted to CPM Message three member: B of Group123, C, D;
S604:CPM CF preserves the wholesale price contextual information of deducting fees, and preserves duration according to CPM CF and arrange and return triggering timing device;
S605:CPM Client B, CPM Client C, CPM Client D returns respectively IMDN response, and the response Indication message wherein returning from CPM Client B sends unsuccessfully;
S606: timer then, or all return by all IMDN response;
S607:CPM CF and OCS return business alternately;
S607 specifically comprises:
A, CPM CF return request to OCS transmitting portion, in this request, comprise Refund-Information, and Refund-Information comprises (1) Group-Id=123, (2) wholesale price context of deducting fees:
Message 1 (Message-Id, Recipient-Address1=1203, Tariff/total=1.5)
Message 2 (Message-Id, Recipient-Address2=1204, Tariff/Total=2)
Message 3 (Message-Id, Recipient-Address3=1205, Tariff/Total=4)
And (3) service response information Service-Response-Info:
Message 1 (Message-Id, Recipient-Address1=1203, IMDN-Status=Failed)
Message 2 (Message-Id, Recipient-Address2=1204, IMDN-Status=OK)
Message 3 (Message-Id, Recipient-Address3=1205, IMDN-Status=OK)
B, OCS are according to the wholesale price of every message in message under the group information of deducting fees, and service response information determines that returning the amount of money is 1.5 yuan, and OCS is restored in user account 1.5 yuan;
C, OCS return request response to CPM CF returning part.
Referring to Fig. 7, be the partial charging returning method flow chart 2 that the embodiment of the present invention provides, comprising:
S701: the part that receives CTF is returned request;
S702: according to return pattern and the definite wholesale price context of deducting fees, calculate functional expenses and return number, returns number is restored in user account, and responds to the request of returning of CTF returning part.
Visible, in the scheme of introducing at Fig. 7, OCS is according to deduct fees context and return mode computation and go out business and return number of wholesale price, provides the another kind of specific implementation except Fig. 1, reasonability and the correctness of same guaranteed service expense return.Be introduced as an example of implementation three example below.
Introductory section charging returning method implementation three below.
From implementation one, two by service response information and wholesale price deduct fees context calculate business return number different, in implementation three, OCS be according to wholesale price deduct fees context and return mode computation go out business return number.
Referring to Fig. 8, be charging returning method implementation three flow charts, comprising:
S801:CTF receives service request;
S802:CTF sends CCR to OCS;
S803:OCS carries out wholesale price and deducts fees business, and according to Service Id, Subscription ID, or business information, the information such as such as IMDN Requested, judge follow-uply may have Refund, be now divided into two kinds of situations: the first situation: preserve the wholesale price contextual information of deducting fees by OCS; The second situation: preserve the wholesale price contextual information of deducting fees by CTF.
The first situation:
S804:OCS returns to the CCA that comprises return pattern or return trigger condition parameters to CTF; Specifically comprise:
S804a:OCS returns to CCA to CTF, wherein comprises Refund-Information.Refund-Information comprises: Context-Id, Refund-Time, return pattern (Refund-Mode) and/or return trigger condition parameters (Refund-Trigger);
Wherein, Refund-Mode is used to indicate in which way and returns, for example: the unit price according to every message is returned; Price according to whole group message is returned etc.;
Refund-Trigger is used to indicate in which way and triggers and return, for example: the condition that the triggering of setting is returned can be: returning to timer Timer then, trigger and return, is now that whole business is returned; Or, often receive a failure response, trigger and return, partial service is returned.
Refund-Time is option, and only for some special scenes that need to use Refund-Time, for example, CTF arranges the scene of returning triggering timing device according to Refund-Time.
Refund-Mode and Refund-Trigger can be used in conjunction with, and for example: if returned according to the unit price of every message, Refund-Trigger is set to often receive the failure response of a message so, trigger and return.
Refund-Mode also can be used as the return strategy of operator's configuration, if CTF has configured return trigger mechanism, or the Refund-Trigger that CTF can issue from OCS arranges return trigger mechanism.
S805a:CTF forwards business;
S806a:CTF arranges and returns triggering timing device Timer, and determines return trigger condition according to Refund-Mode or Refund-Trigger;
CTF can arrange Timer according to configuration in advance, and the duration that different business Timer for example can be set is not identical, or the Timer duration that all business are set all equally etc.CTF also can arrange Timer according to self preserving the wholesale price contextual duration of deducting fees, and for example, the duration that Timer is set is less than or equal to preserves the wholesale price contextual duration of deducting fees.
S807a:CTF receives service response;
S808a: in the time period arranging at Timer, meet and return trigger condition, CTF sends Refund request to OCS, CTF inserts Service-Response-Info(and exists a kind of situation: Refund-Mode=to return by the price of single message in Refund-Information, now need to inform that OCS has had several message failures, quantity × message unit price of failed message just can calculate and return to the amount of money like this), Context-Id, or Refund-Mode(Refund-Mode also can be used as a strategy and is configured in OCS);
S809a:OCS is according to the Service-Response-Info wholesale price corresponding with the Context-Id context of deducting fees, and return strategy (Refund-Mode also can be used as a strategy and is configured in the OCS) amount of money that calculating is returned in real time of operator's configuration, the return amount of money is restored in user account;
Wherein, the strategy of operator's configuration is option.
S810a:OCS returns to Refund request response to CTF.
The second situation:
Step S801~S803 is identical with the first situation.
S804b:OCS, to the response of CTF on-line charging request, wherein comprises Refund-Information.Refund-Information comprises: wholesale price deduct fees context, Refund-Trigger and/or Refund-Mode;
Wherein, Refund-Mode is used to indicate in which way and returns, for example: the unit price according to every message is returned; Price according to whole group message is returned etc.;
Refund-Trigger is used to indicate in which way and triggers and return, for example: Timer then, triggers and returns, and whole business is returned; Often receive a failure response, trigger and return, partial service is returned.
Refund-Mode and Refund-Trigger can be used in conjunction with, and for example: if returned according to the unit price of every message, Refund-Trigger is set to often receive the failure response of a message so, trigger and return.
Refund-Mode can be used as the return strategy of operator's configuration, if CTF has configured return trigger mechanism, or the Refund-Trigger that CTF can issue from OCS arranges return trigger mechanism.
Refund-Trigger also can be configured on CTF by operator.
S805b:CTF forwards business;
S806b:CTF preserves the wholesale price context of deducting fees, and arranges and returns triggering timing device Timer, and according to Refund-Trigger, return trigger condition is set;
CTF can arrange Timer according to configuration in advance, and the duration of Timer that different business for example can be set is not identical, or the Timer duration that all business are set is all the same.CTF also can arrange Timer according to self preserving the wholesale price contextual duration of deducting fees, and for example, the duration that Timer is set is less than or equal to preserves the wholesale price contextual duration of deducting fees.
S807b:CTF receives service response;
S808b: return trigger condition when meeting, CTF sends Refund request to OCS, CTF inserts Service-Response-Info, wholesale price deduct fees context and/or Refund-Mode in Refund-Information;
S809b:OCS is according to the wholesale price context of deducting fees, Service-Response-Info, and the strategy of operator's configuration calculates the amount of money of return in real time, and the return amount of money is restored in user account;
Wherein, the strategy of operator's configuration is option.
S810b:OCS returns to Refund request response to CTF.
In Fig. 8, only show the flow process of the first situation.
In implementation three, the timer of setting is the triggered time section for limiting Refund mechanism, that is: when timer then after, just no longer trigger Refund mechanism.To constantly, can trigger Refund at timer, also can not trigger Refund, determine according to the configuration of concrete operator.
Refund-Mode in implementation three can directly be configured in OCS the inside, for example being configured in group returns in strategy, now OCS does not return to Refund-Mode to CTF, but need return to Refund-Trigger, instruction CTF triggers Refund under which kind of condition, for example: receive unsuccessfully IMDN and just trigger Refund.In addition, can also directly be configured in CTF above by returning trigger mechanism, now also not need OSC to return to Refund-Trigger, CTF directly triggers Refund according to the return trigger mechanism of configuration.
It is definite situation that the scheme of this implementation three is particularly suitable for the price of every message in group.
Introduce knownly from above, the difference of the position that implementation three is preserved according to wholesale price/context is divided into two kinds: a kind of wholesale price context of deducting fees is kept at OCS upper (the implementation embodiment 1 and 2 that will introduce) below; A kind of wholesale price context of deducting fees is kept at CTF upper (the implementation embodiment 3 and 4 that will introduce) below.Wherein embodiment the 1, the 3rd, triggers charging and returns (CTF can resend Refund-Mode to OCS) according to Refund-Mode, embodiment the 2, the 4th, triggers charging and returns that (CTF need not return to OCS by Refund-Trigger according to Refund-Trigger, just a charging triggering condition, arranges Refund-Mode in OCS inside in embodiment 2,4).
The application scenarios of the embodiment 1,2,3,4 of the implementation three of introducing is below as follows: in CPM business, CPM Client A sends SIP Message to Group123, comprises and need recipient to return to IMDN(Instant Message Delivery Notification in this message) instruction.Group123 comprises three CPM users, that is: CPM Client B, CPM Client C and CPM Client D.
Referring to Fig. 9, be implementation three embodiment 1 flow charts, comprising:
S901:CPM Client A sends SIP Message, comprises and need recipient to return to IMDN(Instant Message Delivery Notification in this message) instruction;
S902:SIP Message is routed to CPM Controlling Function(CPM CF), CPM CF and OCS are mutual, and the transmission of message is deducted fees;
S902 specifically comprises:
A, CPM CF send CCR to OCS, wherein comprise CPM business information, and CPM business information comprises Group Id=123, Number-Of-Message-Sent=3, IMDNRequested;
2, according to the price of group 123, message is sent and carries out wholesale price and deduct fees, that is: the price of transmission message is 1.5 yuan/bar × 3=4.5 unit, determine and follow-uply may have Refund according to IMDN Requested information, preserve the wholesale price contextual information of deducting fees, and distribute Context-Id=1233;
C, OCS return to CCA to CPM CF, wherein comprise Refund-Information, and Refund-Information comprises: Group-Id=123, and Refund-Time=30min, Refund-Mode=returns by the price of single message, Context-Id=1233;
S903:CPM CF is transmitted to CPM Message three member: B of Group123, C, D;
S904:CPM CF according to Refund-Time arrange return triggering timing device (for example: Timer can be set and be less than or equal to Refund-Time), and according to Refund-Mode arrange return trigger condition be: receive Failed IMDN trigger return;
S905:CPM Client C, CPM Client D returns successful IMDN, and CPM Client B returns failed IMDN response;
S906: timer then, an or IMDN response that receives failure; S807:CPM CF and OCS return business alternately;
S907 specifically comprises:
A, CPM CF return request to OCS transmitting portion, in this request, comprise Refund-Information, and Refund-Information comprises: Group-Id=123, and Refund-Mode=returns by the price of single message, Context-Id=1233;
B, OCS find the wholesale price context of deducting fees according to Context-Id, determine and return according to message unit price according to Refund-Mode, and OCS calculates and returns the amount of money is 1.5 yuan, and OCS is restored in user account 1.5 yuan;
C, OCS return request response to CPM CF returning part part.
Referring to Figure 10, be implementation three embodiment 2 flow charts, comprising:
S1001:CPM Client A sends SIP Message, comprises and need recipient to return to IMDN(Instant Message Delivery Notification in this message) instruction;
S1002:SIP Message is routed to CPM Controlling Function(CPM CF), CPM CF and OCS are mutual, and the transmission of message is deducted fees;
S1002 specifically comprises:
A, CPM CF send CCR to OCS, wherein comprise CPM business information, and CPM business information comprises Group Id=123, IMDN Requested;
B, according to the price of group 123, message is sent and carries out wholesale price and deduct fees, that is: the price of transmission message is 1.5 yuan/bar × 3=4.5 unit, determine and follow-uply may have Refund according to IMDN Requested information, preserve the wholesale price contextual information of deducting fees, and distribute Context-Id=1233;
C, OCS return to CCA to CPM CF, wherein comprise Refund-Information, and Refund-Information comprises: Group-Id=123, and Refund-Time=30min, Refund-Trigger=receives unsuccessfully IMDN, triggers and returns;
S1003:CPM CF is transmitted to CPM Message three member: B of Group123, C, D;
S1004:CPM CF according to Refund-Time arrange return triggering timing device (for example, Timer can be set and be less than or equal to Refund-Time), and according to Refund-Trigger arrange return trigger condition be: receive Failed IMDN, trigger return;
S1005:CPM Client C, CPM Client D returns successful IMDN, and CPM Client B returns failed IMDN response;
S1006: timer then, an or IMDN response that receives failure;
S1007:CPM CF and OCS return business alternately;
S1007 specifically comprises:
A, CPM CF return request to OCS transmitting portion, in this request, comprise Refund-Information, and Refund-Information comprises Group-Id=123, Context-Id=1233;
B, OCS find the wholesale price context of deducting fees according to Context-Id, return strategy (for example preset return pattern) according to operator to Group123 configuration, return by the price of every message, calculating and returning the amount of money is 1.5 yuan, and OCS is restored in user account 1.5 yuan;
C, OCS return request response to CPM CF returning part.
Referring to Figure 11, be implementation three embodiment 3 flow charts, comprising:
S1101:CPM Client A sends CPM Message, comprises and need recipient to return to IMDN(Instant Message Delivery Notification in this message) instruction;
S1102:CPM Message is routed to CPM Controlling Function(CPM CF), CPM CF and OCS are mutual, and the transmission of message is deducted fees;
S1102 specifically comprises:
A, CPM CF send CCR to OCS, wherein comprise CPM business information, and CPM business information comprises Group Id=123 and IMDN Requested;
B, according to the price of group 123, message is sent and carries out wholesale price and deduct fees, that is: the price that sends message is 1.5 yuan/bar × 3=4.5 unit, determines and follow-uply may have Refund according to IMDN Requested information;
C, OCS return to CCA to CPM CF, wherein comprise Refund-Information, and Refund-Information comprises: Group-Id=123, Refund-Time=30min, Refund-Mode=returns by the price of every message, Tariff=1.5, Total=4.5;
S1103:CPM CF is transmitted to CPM Message three member: B of Group123, C, D;
S1104:CPM CF according to Refund-Time arrange return triggering timing device (for example, Timer can be set and be less than or equal to Refund-Time), and according to Refund-Mode arrange return trigger condition be: receive Failed IMDN, trigger return;
S1105:CPM Client C, CPM Client D returns successful IMDN, and CPM Client B returns failed IMDN response;
S1106: timer then, an or IMDN response that receives failure;
S1107:CPM CF and OCS return business alternately;
S1107 specifically comprises:
A, CPM CF return request to OCS transmitting portion, in this request, comprise Refund-Information, and Refund-Information comprises Group-Id=123, Tariff=1.5, and Total=4.5, Refund-Mode=returns by the price of every message;
B, OCS be according to the wholesale price context of deducting fees, Refund-Mode, and calculating and returning the amount of money is 1.5 yuan, OCS is restored in user account 1.5 yuan;
C, OCS return request response to CPM CF returning part.
Referring to Figure 12, be implementation three embodiment 4 flow charts, comprising:
S1201:CPM Client A sends CPM Message, comprises and need recipient to return to IMDN(Instant Message Delivery Notification in this message) instruction;
S1202:CPM Message is routed to CPM Controlling Function(CPM CF), CPM CF and OCS are mutual, and the transmission of message is deducted fees;
S1202 specifically comprises:
A, CPM CF send CCR to OCS, wherein comprise CPM business information, and CPM business information comprises Group Id=123, IMDN Requested;
B, according to the price of group 123, message is sent and carries out wholesale price and deduct fees, that is: the price that sends message is 1.5 yuan/bar × 3=4.5 unit, determines and follow-uply may have Refund according to IMDN Requested information;
C, OCS return to CCA to CPM CF, wherein comprise Refund-Information, and Refund-Information comprises: Group-Id=123, Refund-Time=30min, Refund-Trigger receives Failed IMDN, triggers and returns, Tariff=1.5, Total=4.5;
S1203:CPM CF is transmitted to CPM Message three member: B of Group123, C, D;
S1204:CPM CF according to Refund-Time arrange return triggering timing device (for example, Timer can be set and be less than or equal to Refund-Time), and according to Refund-Mode arrange return trigger condition be: receive Failed IMDN, trigger return;
S1205:CPM Client C, CPM Client D returns successful IMDN, and CPM Client B returns failed IMDN response;
S1206: timer then, an or IMDN response that receives failure;
S1207:CPM CF and OCS return business alternately;
S1207 specifically comprises:
A, CPM CF return request to OCS transmitting portion, in this request, comprise Refund-Information, and Refund-Information comprises Group-Id=123, Tariff=1.5, Total=4.5;
B, OCS are according to the wholesale price context of deducting fees, and operator is the return strategy (for example preset return pattern) of Group123 configuration: return by the price of single message, calculating and returning the amount of money is 1.5 yuan, and OCS is restored in user account 1.5 yuan;
C, OCS return request response to CPM CF returning part.
Three kinds of implementations of above-mentioned introduction, need to preserve the wholesale price context of deducting fees at OCS or CTF, and in the implementation four that will introduce below, do not need to preserve the wholesale price context of deducting fees, but after service response, determine the untapped quota number of business by CTF, and at this chargeable time stamp that carries this quota number and obtain in advance in the time that OCS transmitting portion is returned request, the quota number that OCS utilizes the rate of the time period of chargeable time stamp instruction to use business carries out wholesale price, according to the result of wholesale price, and the return strategy of operator's configuration is determined return number, carry out the return of part charging.
Referring to Figure 13, be the partial charging returning method flow chart 3 that the embodiment of the present invention provides, comprising:
S1301: the part that receives CTF is returned request, the request of returning of described part comprises quota number and the chargeable time stamp of the unsuccessful use of business;
S1302: the quota number of the unsuccessful use of described business is carried out to wholesale price according to the rate of the time period of described chargeable time stamp instruction, according to the result of wholesale price, determine functional expenses and return number, return number is restored in user account, and return request response to described CTF returning part.
Visible, in the scheme of introducing at Figure 13, be to calculate business according to the rate of the time period of chargeable time stamp instruction to return number, provide the another kind of specific implementation except Fig. 1,7, reasonability and correctness that same guaranteed service expense is returned.Be introduced as an example of implementation four example below.
, referring to Figure 14, be specifically partial charging returning method implementation four flow charts, comprise:
S1401:CTF receives service request;
S1402:CTF sends CCR to OCS;
S1403:OCS carries out wholesale price and deducts fees business;
S1404:OCS returns to CCA to CTF
S1405:CTF forwards business;
S1406:CTF is according to the instruction in service requesting information, and determining follow-uply may have return event, and CTF preserves the timestamp of this service billing and/or the quota number that this business is used;
Optionally, CTF can arrange and return triggering timing device Timer.CTF can arrange Timer according to configuration in advance, and the Timer duration that different business for example can be set is not identical, or the Timer duration that all business are set is all the same.CTF also can arrange Timer according to the duration of service billing timestamp of preserving, and for example, the duration that Timer is set is less than or equal to preserves the wholesale price contextual duration of deducting fees.
S1407:CTF receives service response;
S1408:CTF, according to service response information, determines the quota number of the unsuccessful use of business;
S1409: in the time meeting the return trigger condition arranging, CTF returns request to OCS transmitting portion, and CTF returns in request and comprises and carry out untapped business quota number in part, and return the chargeable time stamp of business;
Described return trigger condition can be: when service response all arrives, and wherein comprise the service response of failure, or, return triggering timing device then, or often receive a service fail response message.
S1410:OCS carries out wholesale price according to the rate of the time period of chargeable time stamp instruction to the quota number of the unsuccessful use of business, according to the result of wholesale price, and the definite number of returning of the return strategy of operator's configuration, return;
Wherein, the return strategy of operator's configuration is option.The return strategy of described operator is that operator is each group (Group), or the strategy of business configuration, for example: for Group1, return strategy and can return for the ratio that sends successful number in message.
S1411:OCS returns request response to CTF returning part.
Referring to Figure 15, be the flow chart of the embodiment of implementation four, comprising:
S1501:CPM Client A, to sending CPM message, comprises in this message and needs recipient to return to IMDN(Instant Message Delivery Notification) instruction;
S1502:CPM message is routed to CPM and controls functional entity (CPM Controlling Function, CPM CF), and CPM CF and OCS are mutual, and the transmission of message is deducted fees;
S1502 specifically comprises:
A, CPM CF send CCR(Credit Control Request, on-line charging request to OCS), wherein comprise CPM business information, CPM business information comprises: Group Id=123, IMDNRequested;
B, according to the price of group 123, message is sent and carries out wholesale price and deduct fees, that is: the price that sends message is 1.5 yuan/bar × 3=4.5 unit, and OCS deducts 4.5 yuan from user account Account1;
C, OCS return to CCA(Credit Control Answer to CPM CF, on-line charging request response);
S1503:CPM CF is transmitted to CPM Message three members of Group123: CPMClient B, CPM Client C, CPM Client D;
S1504:CPM CF is according to the instruction in service requesting information, determining follow-uply may have return event, and CTF preserves the quota number that this business is used, and the timestamp of this charging, timestamp is: 10: 34: 50 on the 23rd January in 2009, and return triggering timing device is set; ;
S1505:CPM Client B, CPM Client C, CPM Client D returns to respectively IMDN response, and the response Indication message wherein returning from CPM Client B sends unsuccessfully;
S1506: then, or (the response instruction that wherein Client B returns sends message failure) all returned in all IMDN response to timer;
S1507:CPM CF and OCS send and return message alternately;
S1507 specifically comprises:
A, CPM CF return request to OCS transmitting portion, comprise the chargeable time stamp of return business: 10: 34: 50 on the 23rd January in 2009, and unsuccessful business information: Number-Of-IMDN-Failed=1 in this request;
B, OCS stab definite rate period according to the chargeable time of the business of return, and the quantity responding in conjunction with failed message, determine that returning the amount of money is 1 × 1.5=1.5 unit, and OCS is restored in user account account1 1.5 yuan;
C, OCS return request response to CPM CF returning part.
In several implementations of above-mentioned introduction, the return triggering timing device that CTF arranges is that return time of returning according to OCS or the wholesale price contextual duration of deducting fees arranges, it should be noted that, in addition, CTF can also arrange voluntarily, and without considering return time or the wholesale price contextual duration of deducting fees.
Except the method for above-mentioned introduction, the embodiment of the present invention also provides part charging returning device, and particularly, this device can refer to OCS or be positioned at the functional entity of OCS inside, specifically can be realized by software, hardware or software and hardware combining.
Referring to Figure 16, be device embodiment mono-(corresponding method implementation one, two) internal structure schematic diagram, comprising:
Part is returned request reception unit 1601, and for returning request from charging triggering entity receiving unit, the part request of returning comprises service response information;
The wholesale price context determining unit 1602 of deducting fees, for returning request reception unit 1601 in part when receiving part and returning request, determines the wholesale price context of deducting fees;
Return number computing unit 1603, for return service response information that request reception unit 1601 obtains and the wholesale price definite wholesale price of context determining unit 1602 context of deducting fees of deducting fees according to part, calculate functional expenses and return number;
Return performance element 1604, be restored to user account for the return number that return number computing unit 1603 is calculated;
Part is returned request-response unit 1605, for return number being restored to after user account at return performance element 1404, returns request response to charging triggering entity transmitting portion.
Wherein,
Part is returned the part request of returning that request reception unit 1601 receives and is comprised the described wholesale price context of deducting fees; Deduct fees context determining unit 1602 of wholesale price is resolved part and is returned request, determines the described wholesale price context of deducting fees.
Or,
Part is returned the part request of returning that request reception unit 1601 receives and is comprised the described wholesale price Context identifier of deducting fees; The wholesale price context determining unit 1602 of deducting fees utilizes the described wholesale price Context identifier of deducting fees to search in advance the wholesale price of the preserving set of context of deducting fees, and determines the described wholesale price context of deducting fees.
This device may further include:
Return tactful storage unit 1606, return strategy for preserving; Now, return the return strategy that number computing unit 1603 is preserved in conjunction with the tactful storage unit 1606 of return, calculate functional expenses and return number.
Referring to Figure 17, be device embodiment bis-(corresponding method implementation three) internal structure schematic diagram, comprising:
Part is returned request reception unit 1701, for returning request from charging triggering entity receiving unit;
The wholesale price context determining unit 1702 of deducting fees, for returning request reception unit 1701 in part when receiving part and returning request, determines the wholesale price context of deducting fees;
Return pattern determining unit 1703, receive part and return when request for return request reception unit 1701 in part, determine return pattern;
Return number computing unit 1704, for according to returning the definite return pattern of pattern determining unit 1702 and the wholesale price definite wholesale price of context determining unit 1703 context of deducting fees of deducting fees, calculate functional expenses and return number;
Return performance element 1705, be restored to user account for the return number that return number computing unit 1704 is calculated;
Part is returned request-response unit 1706, for return number being restored to after user account at return performance element 1705, returns request response to charging triggering entity transmitting portion.
Wherein,
Part is returned the part request of returning that request reception unit 1701 receives and is comprised the described wholesale price context of deducting fees; The wholesale price context determining unit 1703 of deducting fees is resolved described part and is returned request, determines the described wholesale price context of deducting fees.
Or,
Part is returned the part request of returning that request reception unit 1701 receives and is comprised the described wholesale price Context identifier of deducting fees; The wholesale price context determining unit 1703 of deducting fees utilizes the described wholesale price Context identifier of deducting fees to search in advance the wholesale price of the preserving set of context of deducting fees, and determines the described wholesale price context of deducting fees.
Wherein,
Part is returned the part request of returning that request reception unit 1701 receives and is comprised described return pattern; Return pattern determining unit 1702 and resolve described part return request, determine described return pattern.
Or,
Return pattern determining unit 1702 and search the return set of modes of preserving in advance, determine described return pattern.
Device embodiment bis-can further include:
Return tactful storage unit 1707, return strategy for preserving; Now, return number computing unit 1704, the return strategy of preserving in conjunction with the tactful storage unit 1707 of return, calculates functional expenses and returns number.
Further,
Return pattern determining unit 1702 definite return pattern and be one that returns in the return strategy that tactful storage unit 1707 preserves.
Referring to Figure 18, be device embodiment tri-(corresponding method implementation four) internal structure schematic diagram, comprising:
Part is returned request reception unit 1801, and for returning request from charging triggering entity receiving unit, the request of returning of described part comprises quota number and the chargeable time stamp of the unsuccessful use of business;
Return number computing unit 1802, for return quota number and the chargeable time stamp of the unsuccessful use of business that request reception unit 1801 obtains according to described part, calculate functional expenses and return number;
Return performance element 1803, be restored to user account for the return number that described return number computing unit 1802 is calculated;
Part is returned request-response unit 1804, at described return performance element 1803, return number being restored to after user account, returns request response to charging triggering entity transmitting portion.
Further, this device also comprises for preserving returns tactful return strategy storage unit 1805, now, returns the return strategy that number computing unit 1802 is preserved in conjunction with the tactful storage unit of described return, calculates functional expenses and returns number.
Visible, in the embodiment of the present invention, OCS is in conjunction with service response information and the wholesale price information of deducting fees, or in conjunction with return pattern and the wholesale price information of deducting fees, calculate in real time the amount of this return, realize service part expense and return, ensure to return reasonability and the accuracy of amount.
Except the partial charging returning method and device of above-mentioned introduction, the embodiment of the present invention also provides part charging returning to trigger control method and device.
Referring to Figure 19, the charging returning providing for the embodiment of the present invention triggers control method flow chart 1, comprising:
S1901: receive the on-line charging request of charging triggering entity, business is carried out to wholesale price and deduct fees, preserve the wholesale price context of deducting fees;
S1902: return to on-line charging request response to described charging triggering entity, in the response of described on-line charging request, comprise return time and the wholesale price Context identifier of deducting fees, preserve the described wholesale price Context identifier of deducting fees to start described charging triggering entity, and return triggering timing device according to described return set of time.
Visible, in the scheme shown in Figure 19, comprise the deduct fees on-line charging request response of Context identifier of return time and wholesale price by returning to charging triggering entity, can realize and control the follow-up flow process of initiating part return request of charging triggering entity, then the return of part expense be can realize, reasonability and correctness that functional expenses are returned ensured.
Referring to Figure 20, the part charging returning providing for the embodiment of the present invention triggers control method flow chart 2, comprising:
S2001: receive the on-line charging request of charging triggering entity, business is carried out to wholesale price and deduct fees;
S2002: return to on-line charging request response to described charging triggering entity, in the response of described on-line charging request, comprise the wholesale price context of deducting fees and preserve the described wholesale price context of deducting fees to start charging triggering entity, and arrange and return triggering timing device according to the described wholesale price contextual duration of deducting fees.
Visible, in the scheme shown in Figure 20, comprise the wholesale price contextual on-line charging request response of deducting fees by returning to charging triggering entity, can realize and control the follow-up flow process of initiating part return request of charging triggering entity, then the return of part expense be can realize, reasonability and correctness that functional expenses are returned ensured.
Referring to Figure 21, be the part charging returning trigger control device schematic diagram 1 that the embodiment of the present invention provides, this device is positioned at OCS side, comprising:
On-line charging request receiving element 2101, for receiving the on-line charging request of charging triggering entity;
The wholesale price unit 2102 of deducting fees, for the on-line charging request receiving according to described on-line charging request receiving element 2101, carries out wholesale price to business and deducts fees, and preserves the wholesale price context of deducting fees;
On-line charging request response unit 2103, for return to on-line charging request response to described charging triggering entity, comprises return time and the wholesale price Context identifier of deducting fees in described on-line charging request response.
Or:
On-line charging request receiving element 2101, for receiving the on-line charging request of charging triggering entity;
The wholesale price unit 2102 of deducting fees, for the on-line charging request receiving according to described on-line charging request receiving element 2301, carries out wholesale price to business and deducts fees;
On-line charging request response unit 2103, for return to on-line charging request response to described charging triggering entity, comprises the wholesale price context of deducting fees in described on-line charging request response.
Referring to Figure 22, be the part charging returning trigger control device schematic diagram 2 that the embodiment of the present invention provides, this device is positioned at CTF side, comprising:
On-line charging request transmitting element 2201, for sending on-line charging request to charge system;
On-line charging request response receiving element 2202, returns to on-line charging request response for receiving from described charge system, comprises return time and the wholesale price Context identifier of deducting fees in described on-line charging request response;
Mark storage unit 2203, for preserving the described wholesale price Context identifier of deducting fees;
Timer setting unit 2204, for returning triggering timing device according to described return set of time.
Or:
On-line charging request transmitting element 2201, for sending on-line charging request to charge system;
On-line charging request response receiving element 2202, returns to on-line charging request response for receiving from described charge system, comprises the wholesale price context of deducting fees in described on-line charging request response;
Mark storage unit 2203, for preserving the described wholesale price context of deducting fees;
Timer setting unit 2204, arranges and returns triggering timing device for the contextual duration of deducting fees according to described wholesale price.
Visible, in the embodiment of the present invention, functional expenses are not made as a whole event and are returned, for example, CPM business, group message supports disposable wholesale price to deduct fees, but in the time that service request response is returned, there is partial service success, the unsuccessful situation of partial service.Now, the OCS/CTF in the embodiment of the present invention can calculate accurately according to the truth of business the amount of this return, can realize the unsuccessful business of the part in business is returned.
In a word, in the embodiment of the present invention, by charging triggering entity is arranged to trigger mechanism, for example, when the timer arranging arrives, triggering charging triggering entity is initiated part to OCS and is returned request, can support well the triggering to the return of group service charging part, ensures reasonability and correctness that functional expenses are returned.
One of ordinary skill in the art will appreciate that, the process that realizes the method for above-described embodiment can complete by the relevant hardware of program command, described program can be stored in read/write memory medium, and this program is carried out the corresponding step in said method in the time carrying out.Described storage medium can be as: ROM/RAM, magnetic disc, CD etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; 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 described be as the criterion with the protection range of claim.

Claims (24)

1. a partial charging returning method, is characterized in that, comprising:
In group message service charging, the part that receives charging triggering entity is returned request, and the request of returning of described part comprises service response information;
According to described service response information and the definite wholesale price context of deducting fees, calculate functional expenses and return number, described return number is restored in user account, and returns request response to charging triggering entity returning part.
2. method according to claim 1, is characterized in that, before the part of described reception charging triggering entity is returned request, also comprises:
Receive the on-line charging request of described charging triggering entity, business is carried out to wholesale price and deduct fees, and according to the service identification in described on-line charging request, subscriber mark and/or business information, determine and preserve the wholesale price context of deducting fees;
Return to on-line charging request response to described charging triggering entity, described on-line charging request respond packet is containing the wholesale price Context identifier of deducting fees;
So that described charging triggering entity is preserved the described wholesale price Context identifier of deducting fees, and arrange and return triggering timing device.
3. method according to claim 2, is characterized in that, described on-line charging request respond packet is containing the return time; Described return triggering timing device is according to described return set of time.
4. method according to claim 1, is characterized in that, before the part of described reception charging triggering entity is returned request, also comprises:
Receive the on-line charging request of described charging triggering entity, business is carried out to wholesale price and deduct fees, and return to on-line charging request response to described charging triggering entity, in described on-line charging request response, comprise the wholesale price context of deducting fees;
So that described charging triggering entity is preserved the described wholesale price context of deducting fees, and arrange and return triggering timing device.
5. according to method described in claim 2 or 4, it is characterized in that, described charging triggering entity sends described part and returns the trigger condition of request and be: described return triggering timing device then, or, receive the response of all business and comprising response failed message.
6. according to method described in claim 1 to 4 any one, it is characterized in that, described in calculate functional expenses and return the process of number and be:
According to described service response information and the definite wholesale price context of deducting fees, and in conjunction with the return strategy setting in advance, calculate functional expenses and return number.
7. a partial charging returning method, is characterized in that, comprising:
In group message service charging, the part that receives charging triggering entity is returned request;
According to return pattern and the definite wholesale price context of deducting fees, calculate functional expenses and return number, returns number is restored in user account, and responds to the request of returning of charging triggering entity returning part.
8. method according to claim 7, is characterized in that, before the part of described reception charging triggering entity is returned request, also comprises:
Receive the on-line charging request of described charging triggering entity, business is carried out to wholesale price and deduct fees, and according to the service identification in described on-line charging request, subscriber mark and/or business information, determine and preserve the wholesale price context of deducting fees;
Return to on-line charging request response to described charging triggering entity, described on-line charging request respond packet is containing wholesale price deduct fees Context identifier, return pattern and/or return trigger condition parameters;
So that described charging triggering entity is preserved the described wholesale price Context identifier of deducting fees, and arrange and return triggering timing device, and according to described return pattern or return trigger condition parameters return trigger condition is set.
9. method according to claim 8, is characterized in that, in described on-line charging request response, comprises the return time; Described return triggering timing device is according to described return set of time.
10. method according to claim 8, is characterized in that, described according to return pattern and the definite wholesale price context of deducting fees, and calculates functional expenses and returns number and comprise:
According to the return pattern of preserving in advance and the wholesale price context of deducting fees, calculate functional expenses and return number;
Or,
Return the return pattern that comprises of request and the wholesale price of preserving the in advance context of deducting fees according to part, calculate functional expenses and return number.
11. methods according to claim 7, is characterized in that, before the part of described reception charging triggering entity is returned request, also comprise:
Receive the on-line charging request of described charging triggering entity, business is carried out to wholesale price deducts fees, and return to on-line charging request response to described charging triggering entity, described on-line charging request respond packet is containing wholesale price deduct fees context, return pattern and/or return trigger condition parameters;
So that described charging triggering entity is preserved the described wholesale price context of deducting fees, and arrange and return triggering timing device, and according to described return pattern or return trigger condition parameters return trigger condition is set.
12. according to method described in claim 11, it is characterized in that, described according to return pattern and the definite wholesale price context of deducting fees, and calculates functional expenses and returns number and comprise:
Return the wholesale price parsing the request context of deducting fees according to the return pattern of preserving and from described part, calculate functional expenses and return number;
Or,
Return in request the return pattern that parses and the wholesale price context of deducting fees according to part, calculate functional expenses and return number.
13. according to method described in claim 7 to 12 any one, it is characterized in that, described in calculate functional expenses and return the process of number and be:
According to return pattern and the definite wholesale price context of deducting fees, and in conjunction with the return strategy setting in advance, calculate functional expenses and return number.
Method described in 14. according to Claim 8 to 12 any one, it is characterized in that, the trigger condition that described charging triggering entity sends described part return request is: the return trigger condition that charging triggering entity arranges according to described return pattern, or the return trigger condition of indicating from described return trigger condition parameters.
15. 1 kinds of partial charging returning methods, is characterized in that, comprising:
The part that receives charging triggering entity is returned request, and the request of returning of described part comprises quota number and the chargeable time stamp of the unsuccessful use of business;
According to the rate of the time period of described chargeable time stamp instruction, the quota number of the unsuccessful use of described business is carried out to wholesale price, according to the result of wholesale price, determine functional expenses and return number, return number is restored in user account, and returns request response to described charging triggering entity returning part.
16. according to method described in claim 15, it is characterized in that, before the part of described reception charging triggering entity is returned request, also comprises:
Receive the on-line charging request of described charging triggering entity, business is carried out to wholesale price and deduct fees, and return to on-line charging request response to described charging triggering entity;
So that described charging triggering entity is preserved chargeable time stamp, and in business forwarding and response process, determine the quota number of the unsuccessful use of business.
17. according to method described in claim 16, it is characterized in that, the trigger condition that described charging triggering entity sends described part return request is:
Receive all response messages of business and comprising failure response message, or, described return triggering timing device then, or, in the time receiving the failure response message of business.
18. according to method described in claim 15 or 16, it is characterized in that, described in determine functional expenses and return the process of number and be:
Do not use quota number to carry out wholesale price according to the rate of the time period of described chargeable time stamp instruction to described business, and in conjunction with the return strategy setting in advance, calculate functional expenses and return number.
19. 1 kinds of part charging returning devices, is characterized in that, are applied in group message service charging, comprising:
Part is returned request reception unit, and for returning request from charging triggering entity receiving unit, the request of returning of described part comprises service response information;
The wholesale price context determining unit of deducting fees, for returning request reception unit in described part when receiving part and returning request, determines the wholesale price context of deducting fees;
Return number computing unit, for return service response information that request reception unit obtains and the described wholesale price definite wholesale price of the context determining unit context of deducting fees of deducting fees according to described part, calculate functional expenses and return number;
Return performance element, be restored to user account for the return number that described return number computing unit is calculated;
Part is returned request-response unit, at described return performance element, return number being restored to after user account, returns request response to charging triggering entity transmitting portion.
20. according to device described in claim 19, it is characterized in that,
Described part is returned the part request of returning that request reception unit receives and is comprised the described wholesale price context of deducting fees; The described wholesale price context determining unit of deducting fees is resolved described part and is returned request, determines the described wholesale price context of deducting fees;
Or,
Described part is returned the part request of returning that request reception unit receives and is comprised the described wholesale price Context identifier of deducting fees; The described wholesale price context determining unit of deducting fees utilizes the described wholesale price Context identifier of deducting fees to search in advance the wholesale price of the preserving set of context of deducting fees, and determines the described wholesale price context of deducting fees.
21. 1 kinds of part charging returning devices, is characterized in that, are applied in group message service charging, comprising:
Part is returned request reception unit, for returning request from charging triggering entity receiving unit;
The wholesale price context determining unit of deducting fees, for returning request reception unit in described part when receiving part and returning request, determines the wholesale price context of deducting fees
Return pattern determining unit, while returning request for receiving part in described part return request reception unit, determine return pattern;
Return number computing unit, for the definite wholesale price of context determining unit of deducting fees according to the definite return pattern of described return pattern determining unit and the described wholesale price context of deducting fees, calculate functional expenses and return number;
Return performance element, be restored to user account for the return number that described return number computing unit is calculated;
Part is returned request-response unit, at described return performance element, return number being restored to after user account, returns request response to charging triggering entity transmitting portion.
22. according to device described in claim 21, it is characterized in that,
Described part is returned the part request of returning that request reception unit receives and is comprised the described wholesale price context of deducting fees; The described wholesale price context determining unit of deducting fees is resolved described part and is returned request, determines the described wholesale price context of deducting fees;
Or,
Described part is returned the part request of returning that request reception unit receives and is comprised the described wholesale price Context identifier of deducting fees; The described wholesale price context determining unit of deducting fees utilizes the described wholesale price Context identifier of deducting fees to search in advance the wholesale price of the preserving set of context of deducting fees, and determines the described wholesale price context of deducting fees.
23. according to device described in claim 21, it is characterized in that,
Described part is returned the part request of returning that request reception unit receives and is comprised that described return pattern, described return pattern determining unit resolve described part and return request, determines described return pattern;
Or,
Described return pattern determining unit is searched the return set of modes of preserving in advance, determines described return pattern.
24. 1 kinds of part charging returning devices, is characterized in that, are applied in group message service charging, comprising:
Part is returned request reception unit, and for returning request from charging triggering entity receiving unit, the request of returning of described part comprises quota number and the chargeable time stamp of the unsuccessful use of business;
Return number computing unit, for according to the quota number of the unsuccessful use of described business and chargeable time stamp, calculate functional expenses and return number;
Return performance element, be restored to user account for the return number that described return number computing unit is calculated;
Part is returned request-response unit, at described return performance element, return number being restored to after user account, returns request response to charging triggering entity transmitting portion.
CN200910127964.1A 2009-03-27 2009-03-27 Partial charging returning method and device Expired - Fee Related CN101848452B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910127964.1A CN101848452B (en) 2009-03-27 2009-03-27 Partial charging returning method and device
PCT/CN2010/071374 WO2010108459A1 (en) 2009-03-27 2010-03-27 Partial charge refund method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910127964.1A CN101848452B (en) 2009-03-27 2009-03-27 Partial charging returning method and device

Publications (2)

Publication Number Publication Date
CN101848452A CN101848452A (en) 2010-09-29
CN101848452B true CN101848452B (en) 2014-06-04

Family

ID=42772881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910127964.1A Expired - Fee Related CN101848452B (en) 2009-03-27 2009-03-27 Partial charging returning method and device

Country Status (2)

Country Link
CN (1) CN101848452B (en)
WO (1) WO2010108459A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143469A (en) * 2010-10-27 2011-08-03 华为软件技术有限公司 Method, device and system for processing balance return
JP6559573B2 (en) * 2013-02-27 2019-08-14 バットボックス・リミテッドVatbox, Ltd. Web-based system and method for processing VAT refund request
CN108765115A (en) * 2018-05-17 2018-11-06 阿里巴巴集团控股有限公司 A kind of refund method, system, device, mobile terminal and service server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852118A (en) * 2005-11-09 2006-10-25 华为技术有限公司 Method and system for realizing drawback in immediate chalk-up credit authorization
CN101018365A (en) * 2007-01-31 2007-08-15 华为技术有限公司 A charging system, method and device for realizing the SMS service
CN101077020A (en) * 2004-07-10 2007-11-21 艾利森电话股份有限公司 Short message transmission charging

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101077020A (en) * 2004-07-10 2007-11-21 艾利森电话股份有限公司 Short message transmission charging
CN1852118A (en) * 2005-11-09 2006-10-25 华为技术有限公司 Method and system for realizing drawback in immediate chalk-up credit authorization
CN101018365A (en) * 2007-01-31 2007-08-15 华为技术有限公司 A charging system, method and device for realizing the SMS service

Also Published As

Publication number Publication date
WO2010108459A1 (en) 2010-09-30
CN101848452A (en) 2010-09-29

Similar Documents

Publication Publication Date Title
US9380168B2 (en) Front-end charging system that generates charging data per entity having a revenue share
KR101160377B1 (en) Converged prepaid and postpaid charging
US7930225B2 (en) Synchronizing real-time and off-line accounts for communications
KR20150048218A (en) Independent roaming charging for a roaming user equipment in a visited network
CN102144372A (en) Online charging correlation in IMS networks
US20150024709A1 (en) Method and server for sharing data traffic
CN110381455B (en) Flow monitoring processing method and related device and system
CN103220158A (en) Method and equipment for carrying out charging control on sponsorship data
EP2180635A1 (en) Method, system and device for opening the charging accounting data capability
CN103997724A (en) Method, device and system used for aggregate charging information
CN101848452B (en) Partial charging returning method and device
US20140349606A1 (en) Differential online charging for text messages based on network type
CN105025457B (en) LTE charge on traffic method, system and packet data gateway
CN101364880A (en) Charging method, system and apparatus and message processing apparatus
CN109474902A (en) Message message accounting, method, terminal and system
CN102694660A (en) Method and device for re-charging for pre-payment user
US8625758B2 (en) Method, a telecommunication system and a network node for sponsoring a communication service
CN109428734A (en) Billing implementation system, charging realizing method and accounting management functional entity
Sou et al. Reducing credit re-authorization cost in UMTS online charging system
CN104519471A (en) Method and system for charging of code division multiple access international roaming short message
CN108270580A (en) Based reminding method, equipment and the system of online charging
CN102238513A (en) Service billing system, device and system
CN102711071B (en) Method and system for announcing called party rate in individual called payment service
CN102238508A (en) Online charging method, device and system
EP2101442B1 (en) Charging processing method, service network element and charging system thereof

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
TR01 Transfer of patent right

Effective date of registration: 20180427

Address after: California, USA

Patentee after: Global innovation polymerization LLC

Address before: London, England

Patentee before: GW partnership Co.,Ltd.

Effective date of registration: 20180427

Address after: London, England

Patentee after: GW partnership Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

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

Granted publication date: 20140604

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