[go: up one dir, main page]

CN102232302A - Cost rebilling method and corresponding device - Google Patents

Cost rebilling method and corresponding device Download PDF

Info

Publication number
CN102232302A
CN102232302A CN2011800006962A CN201180000696A CN102232302A CN 102232302 A CN102232302 A CN 102232302A CN 2011800006962 A CN2011800006962 A CN 2011800006962A CN 201180000696 A CN201180000696 A CN 201180000696A CN 102232302 A CN102232302 A CN 102232302A
Authority
CN
China
Prior art keywords
expense
account
ticket
charges
heavily
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011800006962A
Other languages
Chinese (zh)
Other versions
CN102232302B (en
Inventor
朱良军
陆敬石
彭云峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102232302A publication Critical patent/CN102232302A/en
Application granted granted Critical
Publication of CN102232302B publication Critical patent/CN102232302B/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
    • H04L12/1428Invoice generation, e.g. customization, lay-out, database processing, algorithms for calculating the bill or formatting invoices as WWW pages
    • 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/44Augmented, consolidated or itemized billing statement or bill presentation
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Meter Arrangements (AREA)

Abstract

Disclosed are a cost rebilling method and a corresponding device. The method comprises the steps of: obtaining a cost rebilling request; obtaining a ticket which needs to be rebilled according to the cost rebilling request, wherein the ticket comprises: a first account cost used for marking cost of a paying account corresponding to the ticket, a second account cost used for marking costs of various paying accounts other than the paying account corresponding the first account cost, a session ID used for uniquely marking the tickets belonging to the same one billing, and a business volume; performing the just only one cost rollback for the one billing corresponding to the session ID according to the first account cost and the second account cost; and performing the cost rebilling for the paying accounts which have experienced the cost rollback according to the business volume.

Description

A kind of expense is heavily criticized method and relevant apparatus
Technical field
The present invention relates to the charging field of communication network, relate in particular to a kind of expense and heavily criticize method and relevant apparatus.
Background technology
In the charging process of communication network; usually can be because some be special former thereby the ticket expense that original wholesale price is finished heavily criticized, promptly find billing error after, revision mistake earlier; the ticket of the back output of chargeing, bring back the process that accounting module charges again then.
For example, what the user wished to order is the A set meal, rate rate $1/MIN; And operator error has been ordered the B set meal with the user, rate rate $1.5/MIN; The user finds after 3 days and complains that the operator need revise user's set meal, and this ticket of 3 days of user is heavily criticized wrong; Suppose common words 100MIN in the user 3 days, actual Kou Fei $150; Heavily criticize the post-equalization mistake, should deduct fees is $100, and many button De $50 return the user.
In the prior art, when starting again the task of wholesale price, heavily criticize administration module, from the call bill data storehouse, extract the ticket of the user's correspondence that need heavily criticize, generate and heavily criticize CDR file; Heavily criticize CDR file and deliver to and heavily criticize module, carry out wholesale price again.When heavily criticizing, the result's rollback successively that earlier ticket charging last time kept accounts, promptly each account charges reverse operating on the ticket goes on each account.And then order wholesale price again, keep accounts again.
In the application scenarios of reality, the situation that a user uses a plurality of paying accounts to pay can appear; For example, user a guy account is acquiescence paying account.Also have the account of a company in addition, can pay for the individual, limit every month, rest parts is paid by personal account.When corporation account's limit also remained any, user's primary charging incident may be deducted fees not enough from corporation account, continued to deduct fees from personal account, and then this incident is a plurality of account paying incidents.
According to prior art, a plurality of account paying incidents can produce a plurality of tickets in the process of primary charging, because the segmentation of rate and the remaining sum of each account do not have corresponding relation, so in ticket, can not distinguish to traffic carrying capacity, promptly the traffic carrying capacity of this a plurality of ticket institute mark all is the current total traffic that charges, if in this case, then heavily criticizes device after getting access to these a plurality of tickets, heavily criticize according to the total traffic in the ticket respectively in the capital, has caused repeating to deduct fees; Therefore, for fear of this situation, operator can not carry out expense and heavily criticize to the user that a plurality of paying accounts are arranged, and so, under the situation that charging makes mistakes, just can't correct this kind user, influences service quality.
Summary of the invention
The embodiment of the invention provides a kind of expense heavily to criticize method and relevant apparatus, is used for that the user who uses a plurality of paying accounts to pay is carried out expense and heavily criticizes.
Expense provided by the invention is heavily criticized method, comprising: the expense of obtaining is heavily criticized request; Heavily criticize the ticket that the acquisition request needs are heavily criticized according to described expense, described ticket comprises: first account charges, second account charges, session identification and traffic carrying capacity, described session identification is used for unique mark and belongs to the ticket that charges with once, described first account charges is used for the expense of the paying account of the described ticket correspondence of mark, described second account charges is used for mark except that the paying account of the described first account charges correspondence, the expense of all the other each paying accounts; Have and one-shot expense rollback according to described first account charges and second account charges primary charging described session identification correspondence; Carrying out expense according to the paying account of described traffic carrying capacity after to the expense rollback heavily criticizes.
Optionally, describedly carry out comprising: the session identification that stores described ticket after expense heavily criticizes according to the paying account of traffic carrying capacity after to the expense rollback; Described method also comprises: obtain the ticket that need heavily criticize once more; Judge the local pairing session identification of the ticket that gets access to once more of whether preserving; If preserve, stop that then the described ticket that gets access to is once more carried out expense and heavily criticize; If do not preserve, then have and one-shot expense rollback according to described first account charges and second account charges primary charging to the session identification correspondence of the described ticket that gets access to once more; Carry out expense according to the paying account of described traffic carrying capacity after and heavily criticize, and store the session identification of the described ticket correspondence that gets access to once more the expense rollback.
Optionally, describedly heavily criticize the ticket that the acquisition request needs are heavily criticized according to expense, comprising: heavily criticize N the ticket that the acquisition request needs are heavily criticized according to described expense, described N is the positive integer greater than 1; Described have and one-shot expense rollback according to first account charges and second account charges primary charging to described session identification correspondence, comprise: if M ticket in the described N ticket has identical session identification, then only choose a ticket in the described M ticket, and carrying out the expense rollback according to first account charges and second account charges of a described ticket, described M is the positive integer that is less than or equal to N.
Optionally, described first account charges and second account charges according to a ticket carries out the expense rollback, comprising: the account charges that payment type in described first account charges and second account charges is paid for the back rolls back in the corresponding paying account.
Wholesale price method provided by the invention comprises: receive the request of charging, and deduct fees on same user's M paying account according to described charging request; Generate and described M the M that the paying account is a corresponding ticket according to described situation of deducting fees, and a described M ticket has identical session identification, described session identification is used for unique mark and belongs to the same once ticket of charging, and described M is the integer greater than 1; Described ticket comprises first account charges, second account charges and traffic carrying capacity, described first account charges is used for the expense of the paying account of the described ticket correspondence of mark, described second account charges is used for mark except that the paying account of the described first account charges correspondence, the expense of all the other M-1 paying accounts, have and one-shot expense rollback according to described first account charges and second account charges primary charging so that expense is heavily criticized device, and carry out expense according to the paying account of described traffic carrying capacity after and heavily criticize the expense rollback to described session identification correspondence.
Expense provided by the invention is heavily criticized device, comprising: the acquisition request unit is used to obtain expense and heavily criticizes request; The ticket acquiring unit, be used for heavily criticizing the ticket that the acquisition request needs are heavily criticized according to described expense, described ticket comprises: first account charges, second account charges, session identification and traffic carrying capacity, described session identification is used for unique mark and belongs to the ticket that charges with once, described first account charges is used for the expense of the paying account of the described ticket correspondence of mark, described second account charges is used for mark except that the paying account of the described first account charges correspondence, the expense of all the other each paying accounts; Expense rollback unit is used for having and one-shot expense rollback according to described first account charges and second account charges primary charging to described session identification correspondence; The heavy endorsement of expense unit is used for carrying out expense according to the paying account of described traffic carrying capacity after to the expense rollback and heavily criticizes.
Optionally, described device also comprises: memory cell, be used for carrying out according to the paying account of traffic carrying capacity after after expense heavily criticizes to the expense rollback, and store the session identification of described ticket; Judging unit is used to judge the local pairing session identification of the ticket that gets access to once more that whether has; If have, stop that then the described ticket that gets access to is once more carried out expense and heavily criticize; If do not have, then carry out described expense rollback unit, the heavy endorsement unit of expense and memory cell successively.
Optionally, described ticket acquiring unit also is used for: obtain N ticket need heavily criticizing; Described expense rollback unit also is used for: if M ticket of a described N ticket has identical session identification, then only choose a ticket in the described M ticket, and carrying out the expense rollback according to first account charges and second account charges of a described ticket, described M is the positive integer that is less than or equal to N.
Wholesale price device provided by the invention comprises: receiving element is used for receiving the request of charging; The unit of deducting fees is used for deducting fees on same user's M paying account according to described charging request; The ticket generation unit, be used for generating and described M the M that the paying account is a corresponding ticket according to described situation of deducting fees, and a described M ticket has identical session identification, and described session identification is used for unique mark and belongs to the ticket that charges with once, and described M is the integer greater than 1; Described ticket comprises first account charges, second account charges and traffic carrying capacity, described first account charges is used for the expense of the paying account of the described ticket correspondence of mark, described second account charges is used for mark except that the paying account of the described first account charges correspondence, the expense of all the other M-1 paying accounts, have and one-shot expense rollback according to described first account charges and second account charges primary charging so that expense is heavily criticized device, and carry out expense according to the paying account of described traffic carrying capacity after and heavily criticize the expense rollback to described session identification correspondence.
Expense provided by the invention is heavily criticized system, comprising: wholesale price device and expense are heavily criticized device; Described wholesale price device is used for receiving the request of charging, and deducts fees on same user's M paying account according to described charging request; Generate and described M the M that the paying account is a corresponding ticket according to described situation of deducting fees, and a described M ticket has identical session identification, described session identification is used for unique mark and belongs to the ticket that charges with once, described M is the integer greater than 1, a described M ticket is sent to the call bill data storehouse store; Described expense is heavily criticized device, is used to obtain expense and heavily criticizes request; Heavily criticize the ticket that needs that the described wholesale price device of acquisition request generates are heavily criticized according to described expense, described ticket comprises: first account charges, second account charges, session identification and traffic carrying capacity, described session identification is used for unique mark and belongs to the ticket that charges with once, described first account charges is used for the expense of the paying account of the described ticket correspondence of mark, described second account charges is used for mark except that the paying account of the described first account charges correspondence, the expense of all the other each paying accounts; Have and one-shot expense rollback according to described first account charges and second account charges primary charging described session identification correspondence; Carrying out expense according to the paying account of described traffic carrying capacity after to the expense rollback heavily criticizes.
As can be seen from the above technical solutions, the embodiment of the invention has the following advantages: the present invention has increased a session identification when generating ticket, this session identification is used for unique mark and belongs to the ticket that charges with once; Carrying out expense when heavily criticizing, expense is heavily criticized device and can be belonged to all by this session identification and carry out an expense with the ticket that once charges and heavily criticize, and has guaranteed the accuracy that expense is heavily criticized.
Description of drawings
Fig. 1 heavily criticizes method one flow process schematic diagram for expense of the present invention;
Fig. 2 heavily criticizes another schematic flow sheet of method for expense of the present invention;
Fig. 3 heavily criticizes another schematic flow sheet of method for expense of the present invention;
Fig. 4 is wholesale price method one a flow process schematic diagram of the present invention;
Fig. 5 heavily criticizes a structural representation of device for expense of the present invention;
Fig. 6 is a structural representation of wholesale price device of the present invention;
Fig. 7 heavily criticizes a structural representation of system for expense of the present invention.
Embodiment
The embodiment of the invention provides a kind of expense heavily to criticize method and relevant apparatus, is used for that the user who uses a plurality of paying accounts to pay is carried out expense and heavily criticizes.
See also Fig. 1, the embodiment that expense is heavily criticized method in the embodiment of the invention comprises:
101, expense is heavily criticized device and is obtained expense and heavily criticize request;
Expense is heavily criticized device and is obtained expense and heavily criticize request, and this expense is heavily criticized request and is used for the indication expense and heavily criticizes device and specifically those tickets are carried out expense and heavily criticize.
102, expense is heavily criticized device and is heavily criticized the ticket that the acquisition request needs are heavily criticized according to expense;
Expense is heavily criticized device and is heavily criticized the indication of request according to above-mentioned expense, obtains the ticket that need heavily criticize from the call bill data storehouse.
Include in this ticket: first account charges, second account charges, session identification and traffic carrying capacity; This session identification is used for unique mark and belongs to the ticket that charges with once, this first account charges is used for the expense of the paying account of the above-mentioned ticket correspondence of mark, this second account charges is used for mark except that the paying account of the above-mentioned first account charges correspondence, the expense of all the other each paying accounts.
Above-mentioned same once the charging refers to the communication charge that same user is carried out in the primary charging request.On carrying out once in the process of wholesale price, the wholesale price device can generate ticket according to the concrete condition of wholesale price, this ticket writing whole traffic carrying capacitys of calculating of current wholesale price, and the expense of each paying account, in the process that generates ticket, also can add the field of a session identification for this ticket, belonging to the ticket that once charges uses identical session identification to carry out mark, make that in the process that expense is heavily criticized expense is heavily criticized device and can be discerned concrete which ticket and belong to pay with once a plurality of accounts and produced.
103, expense is heavily criticized device has and one-shot expense rollback according to first account charges and second account charges primary charging to the session identification correspondence;
After getting access to corresponding ticket, expense is heavily criticized device and is extracted session identification, first account charges and the second account expense in this ticket respectively; Expense is heavily criticized device and is judged whether that according to this session identification needs carry out the expense rollback to this ticket again, if need, then respectively first account charges and the corresponding paying account of second account expense is carried out the expense rollback.
104, expense is heavily criticized device and is carried out expense according to the paying account of traffic carrying capacity after to the expense rollback and heavily criticize.
After carrying out the expense rollback, expense is heavily criticized device and is carried out expense according to the paying account of traffic carrying capacity after to the expense rollback and heavily criticize.
In general wholesale price process, the traffic carrying capacity of the ticket institute mark that generates generally is all traffic carrying capacitys of this time charging, because in a plurality of account paying incidents, the wholesale price device is to deduct fees according to the remaining sum of a plurality of accounts, promptly according to priority each account is deducted fees successively of deducting fees of acquiescence, when previous paying account when Sorry, your ticket has not enough value, just next one paying account is deducted fees, the remaining sum of traffic carrying capacity and account without any relation, corresponding with rate is the employed communication products of user, as: the set meal that the user customized, therefore, in the process of once communication the segmentation of rate also with the remaining sum of account without any corresponding relation, traffic carrying capacity can not carried out singulated minute account, promptly can not distinguish with the traffic carrying capacity of each ticket that once charges, then in a plurality of account paying incidents, as long as get access to all traffic carrying capacitys that any one ticket can be known this time charging, also just can carry out expense and heavily criticize this time charging.
The present invention has increased a session identification when generating ticket, this session identification is used for unique mark and belongs to the ticket that charges with once; Carrying out expense when heavily criticizing, expense is heavily criticized device and can be belonged to all by this session identification and carry out an expense with the ticket that once charges and heavily criticize, and has guaranteed the accuracy that expense is heavily criticized.
In carrying out the process that expense heavily criticizes, can handle each ticket one by one, specifically see also Fig. 2, another embodiment that expense is heavily criticized method in the embodiment of the invention comprises:
201, expense is heavily criticized device and is obtained expense and heavily criticize request;
Expense is heavily criticized device and is obtained expense and heavily criticize request, and this expense is heavily criticized request and is used for the indication expense and heavily criticizes device and specifically which ticket is carried out expense and heavily criticize.
202, expense is heavily criticized device and is obtained a ticket need heavily criticizing;
Expense is heavily criticized device and is heavily criticized the indication of request according to above-mentioned expense, obtains one of them ticket that need heavily criticize from the call bill data storehouse.
Can comprise first account charges, second account charges, session identification and traffic carrying capacity in this ticket; This session identification is used for unique mark and belongs to the ticket that charges with once, that is, the session identification of the ticket that once charges is identical together.This first account charges is used for the expense of the paying account of the above-mentioned ticket correspondence of mark, and this second account charges is used for mark except that the paying account of the above-mentioned first account charges correspondence, the expense of all the other each paying accounts.For example, having 5 paying accounts in a plurality of account paying incidents pays, then the field of first account charges is used for the expense of the paying account of a current ticket correspondence of mark, the paying account of deserving previous ticket correspondence is designated as account 1, other four paying accounts are designated as account 2 respectively, account 3, account 4 and account 5; The field of second account charges is used for the expense of all the other 4 paying accounts of mark, that is, second account charges has then comprised other 4 account chargeses, has just comprised the expense of account 2, the expense of account 3, the expense of the expense of account 4 and account 5; If in the situation that single account is paid, the effect of the field of first account charges is constant, and the field mark of second account charges is " sky " or " zero ".
203, expense is heavily criticized device and is judged whether that according to session identification needs carry out the expense rollback to this ticket;
Expense is heavily criticized device after getting access to a ticket need heavily criticizing, extracts the session identification of above-mentioned ticket correspondence, judges the local identical session identification that whether has, if having, does not then carry out the expense rollback, and the expense of this ticket is heavily criticized process and finished; If do not have, then execution in step 204.
In embodiments of the present invention, finish at every turn the expense of a ticket heavily criticized after, expense of the present invention is heavily criticized the session identification that device all can be stored this ticket correspondence, the ticket of guaranteeing to have the same session sign only carries out an expense heavily to be criticized.
204, expense is heavily criticized device and is carried out the expense rollback according to first account charges and second account expense;
Expense is heavily criticized device after getting access to a ticket need heavily criticizing, extract first account charges and the second account expense in the above-mentioned ticket, discern the payment type of this first account charges and second account expense, and the paying account that payment type is paid for the back is carried out the expense rollback.
205, expense is heavily criticized device and is carried out expense according to the paying account of traffic carrying capacity after to the expense rollback and heavily criticize.
After the expense rollback of finishing each back paying account, expense is heavily criticized device and is carried out expense according to the traffic carrying capacity of the above-mentioned ticket institute mark paying account after to the expense rollback and heavily criticize.
The process that expense is heavily criticized can comprise: charge again according to the traffic carrying capacity of this ticket institute mark and the metering data that upgraded, the metering data that upgraded can be the rate after upgrading; Deduct free traffic carrying capacity during charging earlier, successively each paying account is deducted fees according to the paying priority of acquiescence.
206, expense is heavily criticized the session identification that device is stored above-mentioned ticket.
After the expense of finishing above-mentioned ticket is heavily criticized, expense is heavily criticized the session identification that device is stored above-mentioned ticket, the expense that makes is heavily criticized device and is heavily criticized in the process in the expense of carrying out follow-up ticket, avoid that the ticket that contains same session sign is carried out expense and heavily criticize, guaranteed to belong to and only carried out an expense with the ticket that once charges and heavily criticize.
In embodiments of the present invention, described under the situation that ticket is handled one by one, realize belonging to by storage and the mechanism of judging session identification and only carry out an expense with the ticket that once charges and heavily criticize, guaranteed when ticket is handled one by one the accuracy that expense is heavily criticized.
In actual applications, the process that expense is heavily criticized may be carried out in batches, and the present invention also provides corresponding scheme, specifically sees also Fig. 3, and another embodiment that expense is heavily criticized method in the embodiment of the invention comprises:
301, expense is heavily criticized device and is obtained expense and heavily criticize request;
Expense is heavily criticized device and is obtained expense and heavily criticize request, and this expense is heavily criticized request and is used for the indication expense and heavily criticizes device and specifically those tickets are carried out expense and heavily criticize.
This expense is heavily criticized the information extraction that can be marked with the batch extracting ticket in the request, this information extraction can be certain time period, as: operator April 15 1:00 AM changed the rate of A set meal, but because the time-delay in the wholesale price device end implementation, April 15 6:00 AM just carry out new rate and charge, and April 15 1:00 AM to April 15 6:00 AM in this time period the ticket of wholesale price do not use new rate to charge, then operator need to April 15 1:00 AM to April 15 6:00 AM in this time period the ticket of wholesale price carry out expense and heavily criticize, then expense is heavily criticized device and is heavily criticized the information extraction that gets access to the request from expense and be " April 15,1:00 AM was to the ticket of 6:00 AM on April 15 wholesale price in this time period ".
302, expense is heavily criticized device and is heavily criticized request batch extracting ticket according to expense;
Expense is heavily criticized device and is heavily criticized request according to expense extract N the ticket that needs are heavily criticized in the call bill data storehouse, and N is the positive integer greater than 1; Specifically can be: expense be heavily criticized the information extraction that device heavily criticizes request according to expense and is extracted a qualified N ticket, all includes in each ticket: first account charges, second account charges, session identification and traffic carrying capacity.
This session identification is used for unique mark and belongs to the ticket that charges with once, this first account charges is used for the expense of the paying account of the above-mentioned ticket correspondence of mark, this second account charges is used for mark except that the paying account of the above-mentioned first account charges correspondence, the expense of all the other each paying accounts.Above-mentioned same once the charging refers to the communication charge that same user is carried out in the primary charging request.On carrying out once in the process of wholesale price, the wholesale price device can generate ticket according to the concrete condition of wholesale price, this ticket writing whole traffic carrying capacitys of calculating of current wholesale price, and the expense of each paying account, in the process that generates ticket, also can add the field of a session identification for this ticket, belonging to the ticket that once charges uses identical session identification to carry out mark, make that in the process that expense is heavily criticized expense is heavily criticized device and can be discerned concrete which ticket and belong to pay with once a plurality of accounts and produced.For example, having 5 paying accounts in a plurality of account paying incidents pays, then the field of first account charges is used for the expense of the paying account of a current ticket correspondence of mark, and the field of second account charges is used for the expense of all the other 4 paying accounts of mark; If in the situation that single account is paid, the effect of the field of first account charges is constant, and the field mark of second account charges is " sky " or " zero ".
303, expense is heavily criticized device and is filtered out the different ticket of session identification and carry out the expense rollback;
Expense is heavily criticized device and is discerned session identification corresponding in the above-mentioned N ticket, if M ticket in this N ticket has identical session identification, then only choose one in this M ticket and carry out the expense rollback, so analogize, in this N ticket, carry out the expense rollback for each different session identification filters out a ticket.
Concrete, after filtering out the ticket that need heavily criticize, extract first account charges and the second account expense in the above-mentioned ticket, discern the payment type of this first account charges and second account expense, and the paying account that payment type is paid for the back is carried out the expense rollback.
In the process of heavily criticizing, if it is to select in batches ticket to concentrate generation heavily to criticize CDR file to carry out expense and heavily criticize that expense is heavily criticized device, then expense is heavily criticized device and can be screened this N ticket earlier, if wherein have ticket to have identical session identification, the situation that has a plurality of accounts to pay in this heavy batch of task then is described, expense is heavily criticized device and then can only be selected one of them and carry out the expense rollback in the ticket that has the same session sign; For example, there are 3 tickets to have identical session identification in this N ticket, one of them that then only choose in these 3 carried out the expense rollback, and which specifically selects in these 3 tickets, can adopt mode at random, also can select, specifically use which kind of system of selection to decide, not limit herein according to actual conditions according to user's termination number, the generation time and the employed type of service of expense.
304, expense is heavily criticized device computational costs total value;
Expense is heavily criticized the metering data computational costs total value after device uses renewal.
Expense is heavily criticized device when the computational costs total value, the total cost that the free traffic carrying capacity of deduction, and then calculating earlier need be deducted fees.In the communication charge of reality, may be because the mistake of statistics of traffic carrying capacity, and/or the change of rate, and trigger again the task of wholesale price, this traffic carrying capacity can comprise: online flow and air time, carrying out expense when heavily criticizing, need upgrade metering data, and use metering data after upgrading to calculate user's total cost.
305, expense is heavily criticized the payment type that device is differentiated the paying account;
Expense is heavily criticized device and is judged whether the payment type of first account charges is to pay in the back, and judge in the paying account of the second account charges correspondence, whether back paying account is arranged, if being the back, first account charges pays, then execution in step 306, pay if first account charges is not the back, and second account charges has back paying account, then execution in step 307.
When deducting fees, should deduct the expense of prepaid account earlier.But, general when selecting the ticket that heavily to criticize, the paying account that can not select correspondence is the ticket of pre-payment, but the payment type of the second account charges correspondence is a pre-payment on might this ticket, so judging the payment type of first account charges whether be that the back pays is an optional step, but need to confirm whether corresponding back paying account of second account charges.
306, expense is heavily criticized device and is used the remaining sum of current paying account to deduct fees;
Expense is heavily criticized the total cost that device uses the remaining sum deduction user of current paying account, if this total cost is greater than the remaining sum of current account, and the second account charges correspondence is back paying account, and then execution in step 307 is proceeded to deduct fees.
307, expense is heavily criticized device and is used the remaining sum of back paying account to deduct fees;
Expense is heavily criticized device and is used the remaining sum of the back paying account of the second account charges correspondence to deduct the fee.
In the back paying account of the second account charges correspondence, can set paying priority, the order of deducting fees of promptly concrete each account, paying priority can be specified by the user, can be set by the rule of acquiescence by operator, concrete paying priority does not limit herein yet.
If include prepaid account in the paying account of the second account charges correspondence, then in the process that expense is heavily criticized, do not need prepaid account is deducted fees, the remaining sum that only need deduct prepaid account in total cost gets final product.
308, the ticket after expense is heavily criticized device expense is heavily criticized again keeps accounts.
Expense is heavily criticized device and is kept accounts according to the above-mentioned situation of wholesale price again, and this again the result of wholesale price be updated in call bill data storehouse and the management of balance device.
In embodiments of the present invention, described and ticket has been carried out under the situation about heavily criticizing in batches, expense is heavily criticized device and is filtered out the different ticket of session identification, thereby has guaranteed when batch process the accuracy that expense is heavily criticized.
Be from the angle that expense is heavily criticized device the expense the embodiment of the invention heavily to be criticized method to be described above, carry out the wholesale price method the embodiment of the invention is described from the angle of wholesale price device below, see also Fig. 4, the wholesale price method embodiment comprises in the embodiment of the invention:
401, the wholesale price device receives the request of charging;
The wholesale price device receives the charging request that is sent by client, is a user's primary charging request according to this charging request.
After starting the wholesale price task, the wholesale price device is according to current metering data calculating user's total cost, and this metering data can comprise: traffic carrying capacity and rate.
402, the wholesale price device is deducted fees to user's paying account;
The wholesale price device uses above-mentioned total cost that user's paying account is deducted fees, wherein, if what this user used is that M paying account paid, then the paying priority of asking and presetting according to this charging is deducted fees to each paying account, and M is the integer greater than 1.
Paying priority can be specified by the user, also can be set by the rule of acquiescence by operator, and concrete paying priority does not limit herein.
403, the wholesale price device generates ticket according to the situation of deducting fees;
Finish after the deducting fees of user, the wholesale price device generates ticket according to the above-mentioned situation of deducting fees, and this ticket comprises: session identification, traffic carrying capacity, first account charges and second account charges.
Wherein, if the above-mentioned process of deducting fees is that M paying account paid jointly, then be M ticket of the corresponding generation of each paying account, this M ticket has identical session identification, and the expense of the paying account of this ticket correspondence of mark on the field of first account charges in ticket, the expense of M-1 paying account of difference mark on the field of second account charges in ticket; M is the integer greater than 1.
If the above-mentioned process of deducting fees is that single paying account is paid, then in ticket on the field of first account charges this ticket of mark the expense of due account is labeled as on the field of second account charges in ticket in " sky " or " zero ".
404, keep accounts according to the wholesale price result.
The wholesale price device keeps accounts according to the ticket of above-mentioned generation, and above-mentioned ticket is updated in call bill data storehouse and the management of balance device.
In a plurality of account paying incidents, because rate segmentation and remaining sum do not have corresponding relation, thus traffic carrying capacity is not distinguished in the ticket, so the bill services amount of each account all is the same.Heavily criticize words if carry out expense in this case, for the pairing ticket of one of them account, because the traffic carrying capacity of this ticket institute mark is whole, and expense is part (paying because also have other account), then can cause final restatement expense result inaccurate; In embodiments of the present invention, when generating ticket, the field and the session identification of second account charges have been added, in this field mark the cost information of other each account except that current account, make that when expense is heavily criticized any one ticket in can be according to session identification identical a plurality of tickets carries out the expense rollback.
For the ease of understanding, with a concrete application scenarios wholesale price method described in the above embodiments and expense are heavily criticized method below and be described again, be specially:
The personal account A that supposes user itself is back paying account, in addition, also has the C of corporation account that pays behind a prepaid account B and.The paying priority of acquiescence is for to be paid earlier by account C, account B then, account A at last.
Call has taken place in this user, and call duration is 10 minutes, and rate is 1 yuan of a per minute.
At this moment, the remaining sum of paying account C is 2 yuan after this user's the company, and prepaid account B has 2 minutes coin free service amount, and remaining sum is 5 yuan, and back paying account A has 100 yuan of remaining sums.
The wholesale price device carries out wholesale price to this user's current calling: calculate the information of deducting fees: 2 minutes coin free service amounts, 8 yuan expense.
The wholesale price device is deducted fees to each paying account successively according to the paying priority of each paying account: back paying account C deducts fees 2 yuan, and prepaid account is deducted 2 minutes coin free service streams and deducted fees 5 yuan, and back paying account A deducts fees 1 yuan.
The wholesale price device is respectively account A, B according to the above-mentioned situation of deducting fees and C generates 3 tickets; Ticket A comprises: first account charges (1 yuan), second account charges (account B:5 unit, account C:2 unit), session identification I; Ticket B comprises: first account charges (5 yuan), second account charges (account A:1 unit, account C:2 unit), session identification I; Ticket C comprises: first account charges (2 yuan), second account charges (account A:1 unit, account B:5 unit), session identification I.
The wholesale price device deposits above-mentioned ticket A, B and C in the call bill data storehouse, and upgrades the remaining sum of management of balance device account A, B and C.Because the rate change is adjusted into 1.5 yuan of per minutes by 1 yuan of original per minute, need carry out wholesale price again to this user, then payment for initiation is heavily criticized task:
Expense is heavily criticized device and obtain 3 tickets need heavily criticizing from the call bill data storehouse, expense is heavily criticized device and is found that these 3 tickets have identical session identification I, then expense is heavily criticized device and is only selected one of them heavily to criticize at these 3 tickets, supposes and selects ticket A heavily to criticize.
Expense is heavily criticized device and is generated according to ticket A and heavily criticize CDR file, in this heavy batch of CDR file mark the metering data after upgrading: 1.5 yuan of call duration 10 minutes and rate per minutes; Expense is heavily criticized device by the identification to the payment type of first account charges of ticket A and second account charges, know that account A and account C are back paying account, then expense is heavily criticized device and only the remaining sum that account A and C carry out expense rollback: account A is reverted to 100 yuan, and the remaining sum of account C reverts to 2 yuan; During wholesale price, deduct 2 minutes coin free service amount earlier in this traffic carrying capacity of 10 minutes, obtaining total cost then is 12 yuan; Because account B is a prepaid account, then earlier from account B, deduct 5 yuan that have paid, from account C and account A, deduct 2 yuan and 5 yuan respectively again.
Expense is heavily criticized device and is kept accounts according to the above-mentioned situation of wholesale price again, and this again the result of wholesale price be updated in call bill data storehouse and the management of balance device.
Only the application scenarios in the embodiment of the invention is illustrated above, is understandable that, in actual applications, the more applications scene can also be arranged, specifically do not limit herein with some examples.
Heavily criticize the expense of the present invention of method and heavily criticize the embodiment of device and describe being used to carry out above-mentioned expense below, its logical construction please refer to Fig. 5, and the embodiment that expense is heavily criticized device in the embodiment of the invention comprises:
Acquisition request unit 501 is used to obtain expense and heavily criticizes request;
Ticket acquiring unit 502, be used for heavily criticizing the ticket that the acquisition request needs are heavily criticized according to above-mentioned expense, this ticket comprises: first account charges, second account charges, session identification and traffic carrying capacity, this session identification is used for unique mark and belongs to the ticket that charges with once, this first account charges is used for the expense of the paying account of this ticket correspondence of mark, this second account charges is used for mark except that the paying account of this first account charges correspondence, the expense of all the other each paying accounts;
Expense rollback unit 503 is used for having and one-shot expense rollback according to this first account charges and second account charges primary charging to this session identification correspondence;
The heavy endorsement of expense unit 504 is used for carrying out expense according to the paying account of above-mentioned traffic carrying capacity after to the expense rollback and heavily criticizes.
Optionally, the expense in the embodiment of the invention is heavily criticized device and be can further include:
Memory cell 505 is used for carrying out according to the paying account of traffic carrying capacity after to the expense rollback after expense heavily criticizes, and stores the session identification of above-mentioned ticket;
Judging unit 506 is used to judge the local pairing session identification of the ticket that gets access to once more that whether has; If have, stop that then this ticket that gets access to is once more carried out expense and heavily criticize; If do not have, then carry out above-mentioned expense rollback unit, the heavy endorsement unit of expense and memory cell successively.
Optionally, the ticket acquiring unit 502 in the embodiment of the invention also is used for: obtain N ticket need heavily criticizing; And expense rollback unit 503 also is used for: if M ticket of an above-mentioned N ticket has identical session identification, then only choose a ticket in this M ticket, and carrying out the expense rollback according to first account charges and second account charges of this ticket, M is the positive integer that is less than or equal to N.
It is as follows that embodiment of the invention expense is heavily criticized the concrete reciprocal process in each unit in the device:
After payment for initiation was heavily criticized task, acquisition request unit 501 obtained expense and heavily criticizes request, and this expense is heavily criticized request and is used for the indication expense and heavily criticizes device and specifically those tickets are carried out expense and heavily criticize.Ticket acquiring unit 502 is heavily criticized the indication of request according to above-mentioned expense, obtains the ticket that need heavily criticize from the call bill data storehouse.
Include in this ticket: first account charges, second account charges, session identification and traffic carrying capacity; This session identification is used for unique mark and belongs to the ticket that charges with once, this first account charges is used for the expense of the paying account of the above-mentioned ticket correspondence of mark, this second account charges is used for mark except that the paying account of the above-mentioned first account charges correspondence, the expense of all the other each paying accounts.Above-mentioned same once the charging refers to the communication charge that same user is carried out in the primary charging request.On carrying out once in the process of wholesale price, the wholesale price device can generate ticket according to the concrete condition of wholesale price, this ticket writing whole traffic carrying capacitys of calculating of current wholesale price, and the expense of each paying account, in the process that generates ticket, also can add the field of a session identification for this ticket, belonging to the ticket that once charges uses identical session identification to carry out mark, make that in the process that expense is heavily criticized expense is heavily criticized device and can be discerned concrete which ticket and belong to pay with once a plurality of accounts and produced.
Optionally, before expense rollback unit 503 carries out the expense rollback, can judge whether this locality has the pairing session identification of above-mentioned ticket earlier by judging unit 506; If have, stop that then this this ticket is carried out expense and heavily criticize; If do not have, then carry out above-mentioned expense rollback unit 503, expense heavy endorsement unit 504 and memory cell 505 successively.
If there is not the pairing session identification of above-mentioned ticket this locality, then expense rollback unit 503 expenses are heavily criticized device after getting access to a ticket need heavily criticizing, extract first account charges and the second account expense in the above-mentioned ticket, discern the payment type of this first account charges and second account expense, and the paying account that payment type is paid for the back is carried out the expense rollback.After the expense rollback of finishing each account, the heavy endorsement of expense unit 504 carries out expense according to the traffic carrying capacity of the above-mentioned ticket institute mark paying account after to the expense rollback and heavily criticizes.The process that expense is heavily criticized can comprise: charge again according to the traffic carrying capacity of this ticket institute mark and the metering data that upgraded, the metering data that upgraded can be the rate after upgrading; Deduct free traffic carrying capacity during charging earlier, successively each paying account is deducted fees according to the paying priority of acquiescence.After the expense of finishing above-mentioned ticket is heavily criticized, the session identification of the above-mentioned ticket of memory cell 505 storages, the expense that makes is heavily criticized device and is heavily criticized in the process in the expense of carrying out follow-up ticket, avoid that the ticket that contains same session sign is carried out expense and heavily criticize, guaranteed to belong to and only carried out an expense with the ticket that once charges and heavily criticize.
Optionally, if the process of the process that this expense is heavily criticized for heavily criticizing in batches, then ticket acquiring unit 502 expenses are heavily criticized request and extract N ticket need heavily criticizing in the call bill data storehouses, and N is the positive integer greater than 1; Specifically can be: expense be heavily criticized the information extraction that device heavily criticizes request according to expense and is extracted a qualified N ticket, all includes in each ticket: first account charges, second account charges, session identification and traffic carrying capacity.After getting access to N ticket, corresponding session identification in the above-mentioned N of the expense rollback unit 503 identifications ticket, if M ticket in this N ticket has identical session identification, then only choose one in this M ticket and carry out the expense rollback, so analogize, in this N ticket, carry out the expense rollback for each different session identification filters out a ticket.Concrete, after filtering out the ticket that need heavily criticize, extract first account charges and the second account expense in the above-mentioned ticket, discern the payment type of this first account charges and second account expense, and the paying account that payment type is paid for the back is carried out the expense rollback.After the expense rollback of finishing each account, the heavy endorsement of expense unit 504 carries out expense according to the traffic carrying capacity of the above-mentioned ticket institute mark paying account after to the expense rollback and heavily criticizes.
The heavy endorsement of expense unit 504 carries out the process that expense heavily criticizes and specifically can comprise: expense is heavily criticized device and is used metering data computational costs total value after upgrading.Expense is heavily criticized device when the computational costs total value, the total cost that the free traffic carrying capacity of deduction, and then calculating earlier need be deducted fees.In the communication charge of reality, may be because the mistake of statistics of traffic carrying capacity, and/or the change of rate, and trigger again the task of wholesale price, this traffic carrying capacity can comprise: online flow and air time, carrying out expense when heavily criticizing, need upgrade metering data, and use metering data after upgrading to calculate user's total cost.The heavy endorsement of expense unit 504 judges whether the payment type of first account charges is to pay in the back, and judge in the paying account of the second account charges correspondence, whether back paying account is arranged, if being the back, first account charges pays, then carry out the remaining sum deduction user's who uses current paying account total cost, if this total cost is greater than the remaining sum of current account, and the second account charges correspondence is back paying account, then continues to use the remaining sum of the back paying account of the second account charges correspondence to deduct the fee.Pay if first account charges is not the back, and second account charges there is back paying account, then directly uses the remaining sum of the back paying account of the second account charges correspondence to deduct the fee.When deducting fees, should deduct the expense of prepaid account earlier.But, general when selecting the ticket that heavily to criticize, the paying account that can not select correspondence is the ticket of pre-payment, but the payment type of the second account charges correspondence is a pre-payment on might this ticket, so judging the payment type of first account charges whether be that the back pays is an optional step, but need to confirm whether corresponding back paying account of second account charges.
After finishing the deducting fees of each paying account, the heavy endorsement of expense unit 504 heavily criticizes situation according to above-mentioned expense and keeps accounts, and the result that expense is heavily criticized is updated in call bill data storehouse and the management of balance device.
Embodiment to the wholesale price device of the present invention that is used to carry out above-mentioned wholesale price method describes below, and its logical construction please refer to Fig. 6, and the wholesale price device embodiment comprises in the embodiment of the invention:
Receiving element 601 is used for receiving the request of charging;
The unit 602 of deducting fees is used for deducting fees on same user's M paying account according to this charging request;
Ticket generation unit 603, the situation that is used for deducting fees according to M paying account is to should M paying account generating M ticket, and this M ticket has identical session identification, and session identification is used for unique mark and belongs to the ticket that charges with once, and M is the integer greater than 1; This ticket comprises first account charges, second account charges and traffic carrying capacity, this first account charges is used for the expense of the paying account of this ticket correspondence of mark, this second account charges is used for mark except that the paying account of this first account charges correspondence, the expense of all the other M-1 paying accounts, have and one-shot expense rollback according to this first account charges and second account charges primary charging so that expense is heavily criticized device, and carry out expense according to the paying account of described traffic carrying capacity after and heavily criticize the expense rollback to this session identification correspondence.
In addition, the ticket generation unit 603 in the embodiment of the invention can comprise:
Session identification adds module 6031, is used to M ticket to add identical session identification;
Account charges adds module 6032, be used to each ticket to generate first account charges and second account charges, this first account charges is used for the expense of the paying account of the current ticket correspondence of mark, and this second account charges is used for the expense of remaining M-1 of mark paying account.
The concrete reciprocal process in each unit is as follows in the embodiment of the invention wholesale price device:
The receiving element 601 of wholesale price device receives the charging request that is sent by client, is a user's primary charging request according to this charging request.After starting the wholesale price task, the wholesale price device calculates user's total cost according to current metering data (comprising: traffic carrying capacity and rate).
After charging is finished, the above-mentioned total cost of unit 602 uses of deducting fees is deducted fees to user's paying account, wherein, if what this user used is that M paying account paid, then the paying priority of asking and presetting according to this charging is deducted fees to each paying account, and M is the integer greater than 1.Paying priority can be specified by the user, also can be set by the rule of acquiescence by operator, and concrete paying priority does not limit herein.
Finishing, if the above-mentioned process of deducting fees is that M paying account paid jointly, then generate M ticket, and the session identification of ticket generation unit 603 interpolation module 6031 is above-mentioned M the identical session identification of ticket interpolation to after the deducting fees of user; And account charges adds on the field of first account charges in module 6032 tickets this ticket of mark to the expense of due account, the expense of M-1 paying account of mark respectively on the field of second account charges in ticket; M is the integer greater than 1.If the above-mentioned process of deducting fees is that single paying account is paid, then in ticket on the field of first account charges this ticket of mark the expense of due account is labeled as on the field of second account charges in ticket in " sky " or " zero ".
Carry out above-mentioned expense and heavily criticize the expense of the present invention of method and heavily criticize the embodiment of system and describe, its logical construction please refer to Fig. 7, and the embodiment that expense is heavily criticized system in the embodiment of the invention comprises:
Wholesale price device 701 and expense are heavily criticized device 702;
Wholesale price device 701 is used for receiving the request of charging, and deducts fees on same user's M paying account according to this charging request; Generate and this M the M that the paying account is a corresponding ticket according to above-mentioned situation of deducting fees, and this M ticket has identical session identification, this session identification is used for unique mark and belongs to the ticket that charges with once, M is the integer greater than 1, this M ticket is sent to described call bill data storehouse store;
Expense is heavily criticized device 702, is used to obtain expense and heavily criticizes request; Heavily criticize request according to above-mentioned expense and obtain the ticket that needs are heavily criticized from the call bill data storehouse, this ticket comprises: first account charges, second account charges, session identification and traffic carrying capacity, this session identification is used for unique mark and belongs to the ticket that charges with once, this first account charges is used for the expense of the paying account of this ticket correspondence of mark, this second account charges is used for mark except that the paying account of this first account charges correspondence, the expense of all the other each paying accounts; Have and one-shot expense rollback according to this first account charges and second account charges primary charging this session identification correspondence; Carrying out expense according to the paying account of above-mentioned traffic carrying capacity after to the expense rollback heavily criticizes.
The those skilled in the art can be well understood to, and is the convenience described and succinct, the system of foregoing description, and the concrete course of work of device and unit can not repeat them here with reference to the corresponding process among the preceding method embodiment.
In several embodiment that the application provided, should be understood that disclosed device, method and system can be realized by other mode.For example, device embodiment described above only is schematic, for example, the division of described unit, only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, the shown or coupling each other discussed or directly to be coupled or to communicate to connect can be by some interfaces, the indirect coupling of device or unit or communicate to connect can be electrically, machinery or other form.
Described unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, promptly can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select wherein some or all of unit to realize the purpose of present embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics in each unit exists, and also can be integrated in the unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding, part or all or part of of this technical scheme that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection range with claim.

Claims (10)

1. an expense is heavily criticized method, it is characterized in that, comprising:
The expense of obtaining is heavily criticized request;
Heavily criticize the ticket that the acquisition request needs are heavily criticized according to described expense, described ticket comprises: first account charges, second account charges, session identification and traffic carrying capacity, described session identification is used for unique mark and belongs to the ticket that charges with once, described first account charges is used for the expense of the paying account of the described ticket correspondence of mark, described second account charges is used for mark except that the paying account of the described first account charges correspondence, the expense of all the other each paying accounts;
Have and one-shot expense rollback according to described first account charges and second account charges primary charging described session identification correspondence;
Carrying out expense according to the paying account of described traffic carrying capacity after to the expense rollback heavily criticizes.
2. method according to claim 1 is characterized in that,
Describedly carry out comprising after expense heavily criticizes according to the paying account of traffic carrying capacity after to the expense rollback:
Store the session identification of described ticket;
Described method also comprises:
Obtain the ticket that heavily to criticize once more;
Judge the local pairing session identification of the ticket that gets access to once more of whether preserving;
If preserve, stop that then the described ticket that gets access to is once more carried out expense and heavily criticize;
If do not preserve, then have and one-shot expense rollback according to described first account charges and second account charges primary charging to the session identification correspondence of the described ticket that gets access to once more; Carry out expense according to the paying account of described traffic carrying capacity after and heavily criticize, and store the session identification of the described ticket correspondence that gets access to once more the expense rollback.
3. method according to claim 1 is characterized in that,
Describedly heavily criticize the ticket that the acquisition request needs are heavily criticized, comprising according to expense:
Heavily criticize N the ticket that the acquisition request needs are heavily criticized according to described expense, described N is the positive integer greater than 1;
Described have and one-shot expense rollback according to first account charges and second account charges primary charging to described session identification correspondence, comprising:
If M ticket in the described N ticket has identical session identification, then only choose a ticket in the described M ticket, and carrying out the expense rollback according to first account charges and second account charges of a described ticket, described M is the positive integer that is less than or equal to N.
4. method according to claim 3 is characterized in that, described first account charges and second account charges according to a ticket carries out the expense rollback, comprising:
The account charges that payment type in described first account charges and second account charges is paid for the back rolls back in the corresponding paying account.
5. a wholesale price method is characterized in that, comprising:
Receive the request of charging, and on same user's M paying account, deduct fees according to described charging request;
Generate and described M the M that the paying account is a corresponding ticket according to described situation of deducting fees, and a described M ticket has identical session identification, described session identification is used for unique mark and belongs to the same once ticket of charging, and described M is the integer greater than 1; Described ticket comprises first account charges, second account charges and traffic carrying capacity, described first account charges is used for the expense of the paying account of the described ticket correspondence of mark, described second account charges is used for mark except that the paying account of the described first account charges correspondence, the expense of all the other M-1 paying accounts, have and one-shot expense rollback according to described first account charges and second account charges primary charging so that expense is heavily criticized device, and carry out expense according to the paying account of described traffic carrying capacity after and heavily criticize the expense rollback to described session identification correspondence.
6. an expense is heavily criticized device, it is characterized in that, comprising:
The acquisition request unit is used to obtain expense and heavily criticizes request;
The ticket acquiring unit, be used for heavily criticizing the ticket that the acquisition request needs are heavily criticized according to described expense, described ticket comprises: first account charges, second account charges, session identification and traffic carrying capacity, described session identification is used for unique mark and belongs to the ticket that charges with once, described first account charges is used for the expense of the paying account of the described ticket correspondence of mark, described second account charges is used for mark except that the paying account of the described first account charges correspondence, the expense of all the other each paying accounts;
Expense rollback unit is used for having and one-shot expense rollback according to described first account charges and second account charges primary charging to described session identification correspondence;
The heavy endorsement of expense unit is used for carrying out expense according to the paying account of described traffic carrying capacity after to the expense rollback and heavily criticizes.
7. device according to claim 6 is characterized in that, described device also comprises:
Memory cell is used for carrying out according to the paying account of traffic carrying capacity after to the expense rollback after expense heavily criticizes, and stores the session identification of described ticket;
Judging unit is used to judge the local pairing session identification of the ticket that gets access to once more that whether has; If have, stop that then the described ticket that gets access to is once more carried out expense and heavily criticize; If do not have, then carry out described expense rollback unit, the heavy endorsement unit of expense and memory cell successively.
8. device according to claim 7 is characterized in that,
Described ticket acquiring unit also is used for: obtain N ticket need heavily criticizing;
Described expense rollback unit also is used for: if M ticket of a described N ticket has identical session identification, then only choose a ticket in the described M ticket, and carrying out the expense rollback according to first account charges and second account charges of a described ticket, described M is the positive integer that is less than or equal to N.
9. a wholesale price device is characterized in that, comprising:
Receiving element is used for receiving the request of charging;
The unit of deducting fees is used for deducting fees on same user's M paying account according to described charging request;
The ticket generation unit, be used for generating and described M the M that the paying account is a corresponding ticket according to described situation of deducting fees, and a described M ticket has identical session identification, and described session identification is used for unique mark and belongs to the ticket that charges with once, and described M is the integer greater than 1; Described ticket comprises first account charges, second account charges and traffic carrying capacity, described first account charges is used for the expense of the paying account of the described ticket correspondence of mark, described second account charges is used for mark except that the paying account of the described first account charges correspondence, the expense of all the other M-1 paying accounts, have and one-shot expense rollback according to described first account charges and second account charges primary charging so that expense is heavily criticized device, and carry out the expense anharmonic ratio according to the paying account of described traffic carrying capacity after to the expense rollback to described session identification correspondence.
10. an expense is heavily criticized system, it is characterized in that, comprising: wholesale price device and expense are heavily criticized device;
Described wholesale price device is used for receiving the request of charging, and deducts fees on same user's M paying account according to described charging request; Generate and described M the M that the paying account is a corresponding ticket according to described situation of deducting fees, and a described M ticket has identical session identification, described session identification is used for unique mark and belongs to the ticket that charges with once, described M is the integer greater than 1, a described M ticket is sent to the call bill data storehouse store;
Described expense is heavily criticized device, is used to obtain expense and heavily criticizes request; Heavily criticize the ticket that needs that the described wholesale price device of acquisition request generates are heavily criticized according to described expense, described ticket comprises: first account charges, second account charges, session identification and traffic carrying capacity, described session identification is used for unique mark and belongs to the ticket that charges with once, described first account charges is used for the expense of the paying account of the described ticket correspondence of mark, described second account charges is used for mark except that the paying account of the described first account charges correspondence, the expense of all the other each paying accounts; Have and one-shot expense rollback according to described first account charges and second account charges primary charging described session identification correspondence; Carrying out expense according to the paying account of described traffic carrying capacity after to the expense rollback heavily criticizes.
CN2011800006962A 2011-05-26 2011-05-26 Cost rebilling method and corresponding device Expired - Fee Related CN102232302B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/074685 WO2011144089A2 (en) 2011-05-26 2011-05-26 Charge regranted method and device thereof

Publications (2)

Publication Number Publication Date
CN102232302A true CN102232302A (en) 2011-11-02
CN102232302B CN102232302B (en) 2013-12-04

Family

ID=44844481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011800006962A Expired - Fee Related CN102232302B (en) 2011-05-26 2011-05-26 Cost rebilling method and corresponding device

Country Status (2)

Country Link
CN (1) CN102232302B (en)
WO (1) WO2011144089A2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017000643A1 (en) * 2015-06-30 2017-01-05 华为技术有限公司 Method of implementing updated charging plan and device utilizing same
CN110366122A (en) * 2018-03-26 2019-10-22 华为技术有限公司 A kind of wholesale price method and apparatus
CN112838932A (en) * 2019-11-25 2021-05-25 中国移动通信集团浙江有限公司 Method, Apparatus and Computing Device for Re-rating Based on Cumulative Pricing by Volume

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108024222B (en) * 2016-11-01 2020-12-08 中国电信股份有限公司 Traffic ticket generating method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047902A (en) * 2007-04-30 2007-10-03 华为技术有限公司 Service process method, device of charging system and charging system
CN101267480A (en) * 2008-04-23 2008-09-17 华为技术有限公司 Billing processing method, system and online billing system
CN101286859A (en) * 2007-04-13 2008-10-15 朗迅科技公司 Family billing plan for sharing the balance in on-line charging system of wireless communication system
CN101345634A (en) * 2008-08-15 2009-01-14 华为技术有限公司 Charging method, device and system
CN101562529A (en) * 2008-04-14 2009-10-21 华为技术有限公司 Method and device for charging treatment
US20100005012A1 (en) * 2008-07-04 2010-01-07 Telefonaktiebolaget L M Ericsson (Publ) Synchronizing real-time and off-line accounts for communications
WO2010063176A1 (en) * 2008-12-06 2010-06-10 中兴通讯股份有限公司 Calling charging method based on online charging system and communication system
CN101771546A (en) * 2008-12-29 2010-07-07 中国移动通信集团公司 Data service charging method and device
CN101800880A (en) * 2009-02-10 2010-08-11 中兴通讯股份有限公司 Method and system for realizing IPTV one-user-multi-machine
CN101938362A (en) * 2009-06-29 2011-01-05 华为技术有限公司 Charging regrant method, device and system
CN102075641A (en) * 2009-11-25 2011-05-25 中国移动通信集团甘肃有限公司 Method and device for processing service ticket

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286859A (en) * 2007-04-13 2008-10-15 朗迅科技公司 Family billing plan for sharing the balance in on-line charging system of wireless communication system
CN101047902A (en) * 2007-04-30 2007-10-03 华为技术有限公司 Service process method, device of charging system and charging system
EP2157729A1 (en) * 2007-04-30 2010-02-24 Huawei Technologies Co., Ltd. Service processing method, apparatus of charging system and charging system
CN101562529A (en) * 2008-04-14 2009-10-21 华为技术有限公司 Method and device for charging treatment
CN101267480A (en) * 2008-04-23 2008-09-17 华为技术有限公司 Billing processing method, system and online billing system
US20100005012A1 (en) * 2008-07-04 2010-01-07 Telefonaktiebolaget L M Ericsson (Publ) Synchronizing real-time and off-line accounts for communications
CN101345634A (en) * 2008-08-15 2009-01-14 华为技术有限公司 Charging method, device and system
WO2010063176A1 (en) * 2008-12-06 2010-06-10 中兴通讯股份有限公司 Calling charging method based on online charging system and communication system
CN101771546A (en) * 2008-12-29 2010-07-07 中国移动通信集团公司 Data service charging method and device
CN101800880A (en) * 2009-02-10 2010-08-11 中兴通讯股份有限公司 Method and system for realizing IPTV one-user-multi-machine
CN101938362A (en) * 2009-06-29 2011-01-05 华为技术有限公司 Charging regrant method, device and system
CN102075641A (en) * 2009-11-25 2011-05-25 中国移动通信集团甘肃有限公司 Method and device for processing service ticket

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017000643A1 (en) * 2015-06-30 2017-01-05 华为技术有限公司 Method of implementing updated charging plan and device utilizing same
CN106330509A (en) * 2015-06-30 2017-01-11 华为技术有限公司 Charging repricing method and device
CN106330509B (en) * 2015-06-30 2019-11-26 华为技术有限公司 A kind of method and apparatus of charging regranting
CN110366122A (en) * 2018-03-26 2019-10-22 华为技术有限公司 A kind of wholesale price method and apparatus
CN110366122B (en) * 2018-03-26 2020-12-15 华为技术有限公司 Pricing method and device
CN112838932A (en) * 2019-11-25 2021-05-25 中国移动通信集团浙江有限公司 Method, Apparatus and Computing Device for Re-rating Based on Cumulative Pricing by Volume

Also Published As

Publication number Publication date
CN102232302B (en) 2013-12-04
WO2011144089A2 (en) 2011-11-24
WO2011144089A3 (en) 2012-04-26

Similar Documents

Publication Publication Date Title
CN102232302B (en) Cost rebilling method and corresponding device
CN111080276A (en) Payment method, device, equipment and storage medium for withholding order
CN101901208A (en) Method and device for processing data
CN105550857A (en) Gas meter payment method and gas information management system
CN101877098A (en) Bank credit and debit service report system and entry generating method thereof
CN114004687B (en) A method and device for automatic reconciliation and clearing
CN112037049A (en) Bank card charging method and device
CN112001723A (en) ETC toll payment method and system
CN102149063B (en) Method, device and system for charging prepayment
CN110599170A (en) Transaction information processing method and system based on block chain and storage medium
CN113037510A (en) Charging method, charging device and computer readable storage medium
CN102348186A (en) Account and asset loader tool
CN102821379A (en) Charging repricing method and charging repricing device
CN109272399B (en) Credit card management method and device
CN101742022B (en) Prepayment system and method
CN107945004B (en) Method and device for collecting accumulated fees
CN112967047A (en) Settlement method, apparatus, device, storage medium and program product
CN105141432B (en) Cloud service order processing method and apparatus
CN103024207B (en) Method and system for query processing of post-paid package expense and service decomposition server
CN108270579B (en) A method and device for determining expected value of balance
CN106878169B (en) Service routing method and device
CN108389127A (en) A kind of automatic recovery method and device of expense
CN109685494A (en) Payable by installment method, apparatus, computer equipment and storage medium
US20190026797A1 (en) Method and Billing Platform for Building Real Time Charge Aggregations
CN115034880A (en) Bank card arrearage chasing method and device

Legal Events

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

Granted publication date: 20131204