CN104219064A - Charging method and device - Google Patents

Charging method and device Download PDF

Info

Publication number
CN104219064A
CN104219064A CN201310210002.9A CN201310210002A CN104219064A CN 104219064 A CN104219064 A CN 104219064A CN 201310210002 A CN201310210002 A CN 201310210002A CN 104219064 A CN104219064 A CN 104219064A
Authority
CN
China
Prior art keywords
result
expenditure
account phase
item
accounts
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
CN201310210002.9A
Other languages
Chinese (zh)
Other versions
CN104219064B (en
Inventor
宋字林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310210002.9A priority Critical patent/CN104219064B/en
Publication of CN104219064A publication Critical patent/CN104219064A/en
Application granted granted Critical
Publication of CN104219064B publication Critical patent/CN104219064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention provides a charging method and device, relates to the technical field of communication, and solves the problem that the complexity of bill liquidation operation is increased since the step of manually revising a large number of enterprises is tedious. The method specifically comprises the following steps: performing expenditure operation after the payment expires to acquire a first expenditure result; acquiring a second expenditure result, and checking account by comparing the first expenditure result with the second expenditure result; judging whether an account checking result meets a predetermined requirement; if the account checking result does not meet the predetermined requirement, executing fallback operation on the payment day, rehandling charging events in the payment day and performing the expenditure operation again; and checking account by comparing the result after performing the expenditure operation again with the second expenditure result until the account checking result meets the predetermined requirement. The method and device provided by the invention can be applied to the payment day management based on enterprises.

Description

Charging method and device
Technical field
The present invention relates to communication technical field, particularly relate to charging method and device.
Background technology
Wholesale Bi l ling (is also sometimes referred to as settlement system or PRM (Partner Relationship Management, PRM Partner Relationship Management) system) at BSS (Business Supporting System, OSS) concept in field for Retail Billing (traditional Billing accounting system), be help telecom operators managing cooperative partner Partner, and realize client's income and carry out sharing by agreement between operator and Partner.Wherein, Wholesale Billing system is the service relation between operator (i.e. enterprise) and enterprise (i.e. Partner), and Retail Billing system is the service relation of operator (i.e. enterprise) and client (i.e. Customer).
For Wholesale Billing, the account phase refers to cycle of the generation paying bill appointed between operator and Partner.Common, the account phase can be calendar month (such as, initial time is the 00:00:00 of No. l monthly, and the end time is the 23:59:59 of monthly last day), also can be set flexibly.
In Wholesale Billing system, operator carries out account period management to enterprise, and in the account phase to after date, the method for bill clearance operation can comprise:
At the account after date that Entry Firm is specified, the state of this account phase is set to opening state, Wholesale Billing system is from MSC (Mobile Switching Center, mobile switching centre) the middle charging event gathering enterprise, and standardization and wholesale price operation are carried out to the charging event collected; Expire when the account phase, and after the delay fixed time (within the time period of this fixed time, Wholesale Billing system continues the charging event gathered in the phase of account in this prior of enterprise), account phase state is set to closed state, Wholesale Billing system to be entered an item of expenditure in the accounts operation to the charging event collected, obtain first to enter an item of expenditure in the accounts result, and carry out reconciliation operation (i.e. comparison first enter an item of expenditure in the accounts result and second to enter an item of expenditure in the accounts the identical rate of result) with the second result of entering an item of expenditure in the accounts that the BSS system of enterprise is sent, obtain reconciliation result; If reconciliation result satisfies condition, then Wholesale Billing system according to first enter an item of expenditure in the accounts result carry out bill clearance operation, and complete bill payment clearance operation; If reconciliation result does not satisfy condition, then need operation maintenance personnel to carry out manual revision to the first result of entering an item of expenditure in the accounts, until reconciliation result satisfies condition, carry out bill clearance operation etc. afterwards again.
Common, the operation such as account period management and bill clearance can be simplified by batch operation.
Based on the demand of batch operation, the account phase can be re-used, and namely the account phase of multiple enterprise can be identical, so just can to enter an item of expenditure in the accounts operation to multiple enterprise when the same account phase expires simultaneously.But putting before this, if when the reconciliation result that there is Some Enterprises does not meet pre-conditioned, with regard to needing, manual revision being carried out to the bill of this enterprise.And the operation of revising bill is by hand comparatively loaded down with trivial details, not only can affect the efficiency of bill clearance, and accuracy is also not easy to be guaranteed.
Summary of the invention
Embodiments of the invention provide a kind of based on the account period management method and apparatus between enterprise, after adopting such scheme, when the account phase be re-used and the reconciliation result that there is Some Enterprises does not meet pre-conditioned, can not meet pre-conditioned enterprise to these reconciliation results again to enter an item of expenditure in the accounts operation, until the reconciliation result of these enterprises meets pre-conditioned, with carry out compared with revision by the manual mode revised to reconciliation result, step is comparatively simple, reduce complexity, and then add the performance of system.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, provides a kind of charging method, comprising:
In the account phase to after date, carry out operation of entering an item of expenditure in the accounts, obtain first and to enter an item of expenditure in the accounts result;
Obtain second to enter an item of expenditure in the accounts result, reconciliation operation is carried out to the described first result and second result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts;
Judge whether the result that described reconciliation operates meets preset requirement;
If the result of described reconciliation operation does not meet preset requirement, then rollback operation is performed to the described account phase, again the charging event in the described account phase is processed, and re-start operation of entering an item of expenditure in the accounts;
Reconciliation operation is carried out to result and described second result of entering an item of expenditure in the accounts of described operation of again entering an item of expenditure in the accounts, until the result of described reconciliation operation meets described preset requirement.
In the execution mode that the first is possible, for the described account phase arranges at least three account phase states: opening opening, holding reserved state and closed closed condition;
Before the described account phase expires, described account phase state is set to described opening state.
In conjunction with the first possible execution mode of first aspect, in the execution mode that the second is possible, expire in the described account phase, carry out entering an item of expenditure in the accounts after operation, also comprise:
Be holding state by described account phase Status Change, store the delay charging event in the described account phase.
In conjunction with the execution mode that the second of first aspect is possible, in the execution mode that the third is possible, when the described account phase, state was holding state, if the result of described reconciliation operation does not meet described preset requirement, also comprise:
Described account phase state is switched to described opening state from described holding state.
In conjunction with the third possible execution mode of first aspect, in the 4th kind of possible execution mode, describedly again charging process is carried out to the charging event in the described account phase, comprising:
Process the delay charging event in the account phase of described storage.
In conjunction with the 4th kind of possible execution mode of first aspect, in the 5th kind of possible execution mode, describedly again charging process is carried out to the charging event in the described account phase, also comprises:
According to the rate reset, wholesale price is re-started to the appointment charging event in the described account phase.
In conjunction with the first possible implementation of first aspect to any one mode in the 5th kind of possible implementation, in the 6th kind of possible implementation, if the result of described reconciliation operation meets described default result, also comprise:
Described account phase state is switched to described closed state from described holding state.
Second aspect, provides a kind of message accounting, comprising:
First enters an item of expenditure in the accounts unit, in the account phase to after date, carry out operation of entering an item of expenditure in the accounts, obtain first and to enter an item of expenditure in the accounts result;
First reconciliation unit, to enter an item of expenditure in the accounts result for obtaining second, carries out reconciliation operation to the described first result and second result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts;
Judging unit, for judging whether the result that described reconciliation operates meets preset requirement;
Second enters an item of expenditure in the accounts unit, if do not meet preset requirement for the result of described reconciliation operation, then performs rollback operation to the described account phase, again processes the charging event in the described account phase, and re-start operation of entering an item of expenditure in the accounts;
Second reconciliation unit, carries out reconciliation operation, until the result of described reconciliation operation meets described preset requirement for result of entering an item of expenditure in the accounts to described result and described second of again entering an item of expenditure in the accounts operation.
In the execution mode that the first is possible, message accounting also comprises:
Account phase setting unit, for arranging at least three account phase states for the described account phase: opening opening, holding reserved state and closed closed condition; Before the described account phase expires, described account phase state is set to described opening state.
In conjunction with the first possible execution mode of second aspect, in the execution mode that the second is possible, described account phase setting unit, also for expiring in the described account phase, carrying out entering an item of expenditure in the accounts after operation, is holding state by described account phase Status Change;
Described device also comprises:
Memory cell, after the Status Change of account phase being holding state at described account phase setting unit, stores the delay charging event in the described account phase.
In conjunction with the execution mode that the second of second aspect is possible, in the execution mode that the third is possible, described account phase setting unit, also for when the described account phase, state was holding state, if the result of described reconciliation operation does not meet described preset requirement, described account phase state is switched to described opening state from described holding state.
In conjunction with the third possible execution mode of second aspect, in the 4th kind of possible execution mode, described second enters an item of expenditure in the accounts unit, specifically for processing the delay charging event in the account phase of described storage.
In conjunction with the 4th kind of possible execution mode of second aspect, in the 5th kind of possible execution mode, described second enters an item of expenditure in the accounts unit, specifically for re-starting wholesale price to the appointment charging event in the described account phase according to the rate reset.
In conjunction with the first possible implementation of second aspect to any one mode in the 5th kind of possible implementation, in the 6th kind of possible implementation, described account phase setting unit, if the result also for described reconciliation operation meets described default result, described account phase state is switched to described closed state from described holding state.
The charging method that the embodiment of the present invention provides and device, after adopting such scheme, if reconciliation result does not meet preset requirement, then can continue to enter an item of expenditure in the accounts operation, reconciliation operation etc. to charging event, until reconciliation result meets pre-conditioned according to preset requirement.Like this, when the account phase be re-used and the reconciliation result that there is Some Enterprises does not meet pre-conditioned, can not meet pre-conditioned enterprise to these reconciliation results again to enter an item of expenditure in the accounts operation, until the reconciliation result of these enterprises meets pre-conditioned, with carry out compared with revision by the manual mode revised to reconciliation result, step is comparatively simple, reduces complexity, and then adds the performance of system.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the system configuration schematic diagram of the present embodiment application;
The flow chart of a kind of charging method that Fig. 2 provides for the present embodiment;
The flow chart of the another kind of charging method that Fig. 3 provides for the present embodiment;
Fig. 4 is account phase set-up mode schematic diagram;
Fig. 5 is the schematic flow sheet of the charging method shown in Fig. 4;
The structural representation of a kind of message accounting that Fig. 6 provides for the present embodiment;
The structural representation of the another kind of message accounting that Fig. 7 provides for the present embodiment;
The structural representation of the another kind of message accounting that Fig. 8 provides for the present embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In order to can the clearer embodiment to providing below be described, first the system scenarios that the embodiment provided is applied simply is introduced.
As shown in Figure 1, within an account phase, can to multiple enterprise, (1 to enterprise of enterprise n) carries out batch operation simultaneously, as, to enter an item of expenditure in the accounts operation, reconciliation operation etc., account phase state corresponding to each enterprise can be independently, and the account phase state of Ji Ge enterprise can be the same or different, and can operate accordingly according to corresponding account phase state to enterprise.
In order to solve the problem proposed in background technology, the present embodiment provides a kind of charging method, and the executive agent of the method can be, but not limited to as message accounting, as shown in Figure 2, can comprise:
201, in the account phase to after date, carry out operation of entering an item of expenditure in the accounts, obtain first and to enter an item of expenditure in the accounts result.
For enterprise provides billing of services, first can collect and treat the charging event of charging enterprise within the account phase, then carry out according to the charging event that gets operation of entering an item of expenditure in the accounts, obtain first and to enter an item of expenditure in the accounts result.Wherein, the first result of entering an item of expenditure in the accounts can comprise the statement of expense etc. of enterprise.
202, obtain second to enter an item of expenditure in the accounts result, reconciliation operation is carried out to the first result and second result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts.
As an embodiment of the present embodiment, in order to improve the accuracy of charging result, operation of entering an item of expenditure in the accounts also can be carried out according to the charging event in the account phase in enterprise side, obtains second and to enter an item of expenditure in the accounts result; Then, message accounting can obtain second and to enter an item of expenditure in the accounts result from enterprise side; Reconciliation operation is carried out to the first result and second result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts.
First result and second result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts is carried out reconciliation operation and can be comprised: whether comparison first result and second content corresponding in result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts is identical.
203, judge whether reconciliation result meets preset requirement.
If the result of 204 reconciliation operations does not meet preset requirement, then the reconciliation phase performs rollback operation, and the charging event again in the reconciliation phase processes, and re-starts operation of entering an item of expenditure in the accounts.
205, reconciliation operation is carried out to result and second result of entering an item of expenditure in the accounts of operation of again entering an item of expenditure in the accounts, until the result of reconciliation operation meets preset requirement.
As an embodiment of the present embodiment, after getting the charging event in the account phase, first can process charging event, then the charging event after process be entered an item of expenditure in the accounts operation.Owing to occurring because to charging event process mistake before entering an item of expenditure in the accounts, and cause reconciliation result not meet the situation of preset requirement, therefore, if the result of reconciliation operation does not meet preset requirement, then the reconciliation phase can perform rollback operation, again the charging event in the reconciliation phase processes, and re-starts operation of entering an item of expenditure in the accounts.
Adopt after such scheme, if reconciliation result does not meet preset requirement, then can continue to enter an item of expenditure in the accounts operation, reconciliation operation etc. to charging event, until reconciliation result meets pre-conditioned according to preset requirement.Like this, when the account phase be re-used and the reconciliation result that there is Some Enterprises does not meet pre-conditioned, can not meet pre-conditioned enterprise to these reconciliation results again to enter an item of expenditure in the accounts operation, until the reconciliation result of these enterprises meets pre-conditioned, with carry out compared with revision by the manual mode revised to reconciliation result, step is comparatively simple, reduces complexity, and then adds the performance of system.
The present embodiment provides another kind of charging method, and the method is in the method shown in Fig. 2, the careful description of the embodiment of each step, is also the further restriction for part steps, or expands for the implementation step of the method meanwhile.
In addition, can also arrange at least three account phase states for the account phase in the present embodiment: opening state, holding state and closed state, as shown in Figure 3, the present embodiment specifically can comprise:
301, before the account phase expires, message accounting obtains the charging event within the account phase treating charging enterprise from MSC.
Further, before the account phase expires, account phase state can be set to opening state.
For treating that charging enterprise provides billing of services, first can collect and treating the charging event of charging enterprise within the account phase, then carry out according to the charging event that gets operation of entering an item of expenditure in the accounts, obtain first and to enter an item of expenditure in the accounts result.Wherein, the first result of entering an item of expenditure in the accounts can comprise the statement of expense etc. of enterprise.
As an embodiment of the present embodiment, multiple mark treating charging enterprise can be stored in message accounting, obtain corresponding charging event according to this mark.
Such as, if the current account phase is the 23:59:59 of 00:00:00 to January 31 on January 1, message accounting obtains charging event in the current account phase (if collect the charging event in February from MSC, then charging event is incorporated into the account of February to correspondence interimly to process, it is in the charging event in February that this charging event can be incorporated to into the account phase), and the charging event got is the charging event corresponding with the mark of enterprise to be obtained.
The present embodiment is not construed as limiting the method obtaining charging event from MSC, can set according to actual needs, not repeat them here.
What deserves to be explained is, the account phase in the present embodiment is the account phase for the treatment of that charging enterprise specifies, and can arrange flexibly for the account phase according to the demand of enterprise.
As shown in Figure 1, comprise the multiple mode arranging the account phase, the account phase that in figure, upside sign is known is calendar month account phase (monthly rising to this month last day for 1st), and the account phase that sign is below known is exactly the account phase monthly started for 15th.Account phase mark shown in Fig. 1 is all 1 month cycle time as the account phase of use, and the cycle time of actual account phase can set flexibly, such as, and the account phase moon, account phase in year, all account phases etc.
The set-up mode of the present embodiment reconciliation phase is not construed as limiting, and can set according to actual needs, not repeat them here.
Further, after message accounting gets charging event, first can process charging event, can be, but not limited to comprise: event criteria process and the operation of event wholesale price; Then, carry out according to the charging event after process operation of entering an item of expenditure in the accounts.
Concrete, it is applicable form that standardization can comprise the format conversion of charging event, by the uniform format same format of charging event, the step to charging event can be simplified, the method of charging event being carried out to format conversion is technology well known to those skilled in the art, and can set according to actual needs, do not repeat them here.
Wholesale price operation can be, but not limited to comprise: be that charging event carries out calculation of price etc. according to corresponding charging regulation.
Such as, corresponding business and corresponding price correspondence relationship information table is stored in message accounting, if a certain charging event is the business of networking that enterprise performs five hours, then can obtain with business of networking to corresponding price from the correspondence relationship information table stored, as, the price of business of networking is 2 yuan/hour, then the price of the correspondence of this charging event is 10 yuan.
The wholesale price operation that the present embodiment provides is not limited to the above-mentioned example enumerated, and can also be other situations, can set according to actual needs, not repeat them here.
302, in the account phase to after date, carry out operation of entering an item of expenditure in the accounts, obtain first and to enter an item of expenditure in the accounts result.
Further, expire in the account phase and after operation of carrying out entering an item of expenditure in the accounts, can be holding state by the Status Change of account phase, and store the delay charging event in the account phase.
Wherein, Fig. 4 is opening state, handoff relation schematic diagram between holding state and closed state, namely, can mutually switch between opening state and holding state, but between holding state and closed state, closed state can only be switched to from holding state, holding state can not be switched to from closed state.
In order to can clearerly understand the present embodiment, as shown in Figure 5, the data interaction figure of the charging method that the present embodiment provides is provided.
Further, in order to can be more complete the collection account phase in charging event and then make result of entering an item of expenditure in the accounts more accurate, then can postpone a period of time in the account phase to after date to enter an item of expenditure in the accounts again, within the time period that this section postpones, message accounting can continue to obtain treats the charging event of charging enterprise within the account phase, if get the charging event in the non-account phase within the time period of this delay, then the charging event in this non-account phase is incorporated into that next account is interim to be processed.
The length of the present embodiment to the time period postponed is not construed as limiting, and can set according to actual needs, not repeat them here.
In order to ensure not omit the charging event in the process current account phase, under holding state, message accounting can also obtain and be stored in enterprise's other delay charging event except the charging event got within the current account phase, if now get the delay charging event in the non-account phase, then this event is incorporated in the corresponding account phase, such as, next account is planned for interim.
303, message accounting receives second entering an item of expenditure in the accounts result for the treatment of that the BSS of charging enterprise sends.
As an embodiment of the present embodiment, treat that the BSS of charging enterprise also can carry out according to the charging event in the account phase operation of entering an item of expenditure in the accounts, obtain second and to enter an item of expenditure in the accounts result.
The present embodiment BSS for the treatment of charging enterprise does not do concrete restriction according to carry out the entering an item of expenditure in the accounts method of operation of the charging event in the account phase, is technology well known to those skilled in the art, and can sets according to actual needs, do not repeat them here.
304, reconciliation operation is carried out to the first result and second result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts, obtain reconciliation result.
As an embodiment of the present embodiment, the first result and second result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts is carried out to reconciliation and is operated and can be, but not limited to comprise:
Whether contrast first result and second data in result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts are identical, in addition, can also calculate the accuracy of the first reconciliation result and the second reconciliation result.
305, judge whether reconciliation result meets preset requirement, if meet preset requirement, then perform step 308, if do not meet preset requirement, then perform step 306.
As an embodiment of the present embodiment, judge whether reconciliation result meets preset requirement and can be, but not limited to comprise:
Judge whether the first result and second data volume identical between result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts is greater than preset data amount, in addition, can also judge whether the accuracy of data in the first reconciliation result and the second reconciliation result is greater than predetermined probabilities.
If identical data volume is greater than preset data amount, and accuracy is greater than predetermined probabilities, then reconciliation result meets preset requirement, if identical data volume is not more than preset data amount, and/or accuracy is not more than predetermined probabilities, then reconciliation result does not meet preset requirement.
Such as, first result and second of entering an item of expenditure in the accounts is entered an item of expenditure in the accounts all to comprise in result and is needed charging enterprise and perform the amount of money that business 1 to business 9 need pay respectively, message accounting the enter an item of expenditure in the accounts amount of money of business corresponding between result of result and second of can entering an item of expenditure in the accounts first carries out comparison one by one, judge whether the difference of the amount of money of corresponding business in different result of entering an item of expenditure in the accounts meets the demands (namely whether default value or whether identical), then judge in business 1 to business 9, whether probability that is identical or that meet preset requirement is greater than predetermined probabilities.Wherein, preset requirement can comprise default value etc.
In addition, whether message accounting can also be correct according to the preset requirement result that judge whether to enter an item of expenditure in the accounts, and namely can be, but not limited to comprise judge to the wholesale price of charging event it is enough correct etc.Wherein, business and corresponding price correspondence relationship information table etc. can be comprised in preset requirement; Message accounting can also judge whether correctly to carry out format conversion to charging event according to preset requirement, wherein, can comprise format transformation etc. in preset requirement.
The present embodiment is to judging whether reconciliation result meets preset requirement and be not construed as limiting, and can set according to actual needs, not repeat them here.
306, the reconciliation phase performs rollback operation, and delete first and to enter an item of expenditure in the accounts result, the charging event again in the reconciliation phase processes, and re-starts operation of entering an item of expenditure in the accounts.
Further, when the account phase performs rollback operation, account phase state is switched to opening state from holding state.
Below the step that the charging event in varied situations again in the reconciliation phase processes simply is described.
When processing charging event, may occur that some mistakes cause erroneous results of entering an item of expenditure in the accounts, and then reconciliation result may be caused not meet preset requirement, e.g., by the format conversion mistake of charging event, or to charging event wholesale price mistake etc.
Therefore, perform after rollback operation in the reconciliation phase, can process by the appointment charging event again in the reconciliation phase, this appointment charging event can be, but not limited to comprise: at least one item in the charging event of process mistake, delay event.
As an embodiment of the present embodiment, obtain and specify charging event to can be, but not limited to comprise:
Events of these process mistakes are defined as specifying charging event by the event of wholesale price mistake or the event of format conversion mistake in the charging event in the account phase that inquiry gets.
Concrete, if reconciliation result does not meet preset requirement, and having got delay charging event under holding state, then the appointment charging event again in the reconciliation phase carries out process and can comprise following at least one item: the appointment charging event that the appointment charging event again in the reconciliation phase re-starts in wholesale price, again reconciliation phase according to the rate reset re-starts format conversion according to the form reset.
Concrete, under different scene, the step that the appointment charging event again in the reconciliation phase carries out processing specifically can comprise:
If reconciliation result does not meet preset requirement, and delay charging event has been got under holding state, then according to preset requirement, the charging event got and delay charging event are processed, now, the charging event got and delay charging event are for specifying charging event, wherein, the charging event got is the charging event in the account phase; Or,
According to preset requirement, delay charging event being processed, now, postponing event for specifying charging event.
If reconciliation result does not meet preset requirement, and do not get delay charging event under holding state, then again process the charging event got according to preset requirement, now, the charging event got is for specifying charging event.
After charging event within reconciliation phase again processes, can again to enter an item of expenditure in the accounts operation to the charging event having re-started process again.
Simply describe for the step re-starting operation of entering an item of expenditure in the accounts in particular situations below.
If reconciliation result does not meet preset requirement, and got delay charging event under holding state, then re-starting operation of entering an item of expenditure in the accounts can be:
According to preset requirement again to the charging event got, postpone at least one event in charging event and to enter an item of expenditure in the accounts operation.
307, reconciliation operation is carried out to result and second result of entering an item of expenditure in the accounts of operation of again entering an item of expenditure in the accounts, until the result of reconciliation operation meets preset requirement.
What deserves to be explained is, if reconciliation result meets preset requirement, then perform step 308, if reconciliation result does not meet preset requirement, then perform step 306.
As an embodiment of the present embodiment, after getting the charging event in the account phase, first can process charging event, then the charging event after process be entered an item of expenditure in the accounts operation.Owing to occurring because to charging event process mistake before entering an item of expenditure in the accounts, and cause reconciliation result not meet the situation of preset requirement, therefore, if the result of reconciliation operation does not meet preset requirement, then the reconciliation phase can perform rollback operation, delete first to enter an item of expenditure in the accounts result, the charging event again in the reconciliation phase processes, and re-starts operation of entering an item of expenditure in the accounts.
308, message accounting carries out the operation of bill clearance, treats that bill can be checked by the GUI (Graphical User Interface, graphic user interface) in message accounting by charging enterprise.
Further, if the result of reconciliation operation meets preset result, then account phase state can be switched to closed state from holding state.
As an embodiment of the present embodiment, message accounting the enter an item of expenditure in the accounts result correct according to reconciliation result can generate the bill treating charging enterprise, checks for this enterprise.
The method of the present embodiment statement clearance operation is not construed as limiting, and can set according to actual needs, not repeat them here.
After adopting such scheme, when not meeting preset requirement until the reconciliation result of charging enterprise, account phase state can be switched back opening state from holding state, like this, message accounting can be made again to process charging event, after being switched to holding state again, again can carry out operation of entering an item of expenditure in the accounts, like this, when the account phase be re-used and the reconciliation result that there is Some Enterprises does not meet pre-conditioned, can not meet pre-conditioned enterprise to these reconciliation results again to enter an item of expenditure in the accounts operation, until the reconciliation result of these enterprises meets pre-conditioned, with carry out compared with revision by the manual mode revised to result of entering an item of expenditure in the accounts, step is comparatively simple, reduce complexity, more easily realize batch operation, in addition, under holding state, can also continue to obtain and treat the delay charging event of charging enterprise within the account phase, preset requirement is met in reconciliation result, and when again carrying out entering an item of expenditure in the accounts operation, postpone charging event can be incorporated into in the account phase and processes in time, with ensure can be more complete the charging event got in the account phase, and then the charging event owing to missing in the account phase can be avoided and cause entering an item of expenditure in the accounts erroneous results and team leader's result do not meet the problem of preset requirement.
There is provided some device embodiments below, for performing the charging method mentioned in previous embodiment.
The present embodiment provides a kind of message accounting, as shown in Figure 6, can comprise:
First enters an item of expenditure in the accounts unit 61, in the account phase to after date, carry out operation of entering an item of expenditure in the accounts, obtain first and to enter an item of expenditure in the accounts result;
First reconciliation unit 62, to enter an item of expenditure in the accounts result 61 for obtaining second, carries out reconciliation operation to the first result and second result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts;
Judging unit 63, for judging whether the result that reconciliation operates meets preset requirement;
Second enters an item of expenditure in the accounts unit 64, if do not meet preset requirement for the result of reconciliation operation, then the reconciliation phase performs rollback operation, and the charging event again in the reconciliation phase processes, and re-starts operation of entering an item of expenditure in the accounts;
Second reconciliation unit 65, carries out reconciliation operation, until the result of reconciliation operation meets preset requirement for result of entering an item of expenditure in the accounts to the result and second of operation of again entering an item of expenditure in the accounts.
Adopt after such scheme, if reconciliation result does not meet preset requirement, then can continue to enter an item of expenditure in the accounts operation, reconciliation operation etc. to charging event, until reconciliation result meets pre-conditioned according to preset requirement.Like this, when the account phase be re-used and the reconciliation result that there is Some Enterprises does not meet pre-conditioned, can not meet pre-conditioned enterprise to these reconciliation results again to enter an item of expenditure in the accounts operation, until the reconciliation result of these enterprises meets pre-conditioned, with carry out compared with revision by the manual mode revised to reconciliation result, step is comparatively simple, reduces complexity, and then adds the performance of system.
The present embodiment provides another kind of message accounting, and this device is further expanding the device shown in Fig. 6, as shown in Figure 7, can comprise:
First enters an item of expenditure in the accounts unit 71, in the account phase to after date, carry out operation of entering an item of expenditure in the accounts, obtain first and to enter an item of expenditure in the accounts result;
First reconciliation unit 72, to enter an item of expenditure in the accounts result for obtaining second, carries out reconciliation operation to the first result and second result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts;
Judging unit 73, for judging whether the result that reconciliation operates meets preset requirement;
Second enters an item of expenditure in the accounts unit 74, if do not meet preset requirement for the result of reconciliation operation, then the reconciliation phase performs rollback operation, and delete first and to enter an item of expenditure in the accounts result, the charging event again in the reconciliation phase processes, and re-starts operation of entering an item of expenditure in the accounts;
Second reconciliation unit 75, carries out reconciliation operation, until the result of reconciliation operation meets preset requirement for result of entering an item of expenditure in the accounts to the result and second of operation of again entering an item of expenditure in the accounts
Further, the device that the present embodiment provides can also comprise:
Account phase setting unit 76, for arranging at least three account phase states for the account phase: opening opening, holding reserved state and closed closed condition; Before the account phase expires, account phase state is set to opening state.
Further, account phase setting unit 76, also for expiring in the account phase, carrying out entering an item of expenditure in the accounts after operation, is holding state by the Status Change of account phase;
The device that the present embodiment provides can also comprise:
Memory cell 77, after the Status Change of account phase being holding state at account phase setting unit, stores the delay charging event in the account phase.
Further, account phase setting unit 76, also for when the account phase, state was holding state, if the result of reconciliation operation does not meet preset requirement, switches to opening state by account phase state from holding state.
Further, second enters an item of expenditure in the accounts unit 74, specifically for the delay charging event in the account phase that process stores.
Further, second enters an item of expenditure in the accounts unit 74, re-starts wholesale price specifically for the appointment charging event in the reconciliation phase according to the rate reset.
Further, account phase setting unit 76, if also meet default result for the result of reconciliation operation, switches to closed state by account phase state from holding state.
After adopting such scheme, when not meeting preset requirement until the reconciliation result of charging enterprise, account phase state can be switched back opening state from holding state, like this, message accounting can be made again to process charging event, after being switched to holding state again, again can carry out operation of entering an item of expenditure in the accounts, like this, when the account phase be re-used and the reconciliation result that there is Some Enterprises does not meet pre-conditioned, can not meet pre-conditioned enterprise to these reconciliation results again to enter an item of expenditure in the accounts operation, until the reconciliation result of these enterprises meets pre-conditioned, with carry out compared with revision by the manual mode revised to result of entering an item of expenditure in the accounts, step is comparatively simple, reduce complexity, more easily realize batch operation, in addition, under holding state, can also continue to obtain and treat the delay charging event of charging enterprise within the account phase, preset requirement is met in reconciliation result, and when again carrying out entering an item of expenditure in the accounts operation, postpone charging event can be incorporated into in the account phase and processes in time, with ensure can be more complete the charging event got in the account phase, and then the charging event owing to missing in the account phase can be avoided and cause entering an item of expenditure in the accounts erroneous results and team leader's result do not meet the problem of preset requirement.
Some entity apparatus embodiments are provided below, this entity apparatus embodiment respectively to above-mentioned corresponding embodiment of the method and virtual bench embodiment corresponding.
The present embodiment also provides a kind of computer 1, as shown in Figure 8, this computer 1 comprises: at least one processor 15, such as CPU (Central Processing Unit, central processing unit), at least one output interface 16 or other user interfaces 17, memory 18, at least one communication bus 19.Communication bus 19 is for realizing the connection communication between these assemblies.This computer 1 optionally comprises other user interfaces 17, comprises display, keyboard or pointing device (such as, mouse, trace ball (trackball), touch-sensitive plate or touch sensitive display screen).Memory 18 may comprise high-speed RAM (Random Access Memory, random access memory), still may comprise non-labile memory (non-volatile memory), such as at least one magnetic disc store.Memory 18 optionally can comprise at least one and be positioned at storage device away from aforementioned processor 15.
In some embodiments, memory 18 stores following element, executable module or data structure, or their subset, or their superset:
Operating system 180, comprises various system program, for realizing various basic business and processing hardware based task.
Application program 181, comprises various application program, for realizing various applied business.
Can be, but not limited to comprise in application program 181:
First enters an item of expenditure in the accounts unit, in the account phase to after date, carry out operation of entering an item of expenditure in the accounts, obtain first and to enter an item of expenditure in the accounts result;
First reconciliation unit, to enter an item of expenditure in the accounts result for obtaining second, carries out reconciliation operation to the first result and second result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts;
Judging unit, for judging whether the result that reconciliation operates meets preset requirement;
Second enters an item of expenditure in the accounts unit, if do not meet preset requirement for the result of reconciliation operation, then the reconciliation phase performs rollback operation, and the charging event again in the reconciliation phase processes, and re-starts operation of entering an item of expenditure in the accounts;
Second reconciliation unit, carries out reconciliation operation, until the result of reconciliation operation meets preset requirement for result of entering an item of expenditure in the accounts to the result and second of operation of again entering an item of expenditure in the accounts.
Further, computer 1 can also comprise:
Account phase setting unit, for arranging at least three account phase states for the account phase: opening opening, holding reserved state and closed closed condition; Before the account phase expires, account phase state is set to opening state.
Further, account phase setting unit, also for expiring in the account phase, carrying out entering an item of expenditure in the accounts after operation, is holding state by the Status Change of account phase;
Device also comprises:
Memory cell, after the Status Change of account phase being holding state at account phase setting unit, stores the delay charging event in the account phase.
Further, account phase setting unit, also for when the account phase, state was holding state, if the result of reconciliation operation does not meet preset requirement, switches to opening state by account phase state from holding state.
Further, second enters an item of expenditure in the accounts unit, specifically for the delay charging event in the account phase that process stores.
Further, second enters an item of expenditure in the accounts unit, re-starts wholesale price specifically for the appointment charging event in the reconciliation phase according to the rate reset.
Further, account phase setting unit, if also meet default result for the result of reconciliation operation, switches to closed state by account phase state from holding state.
In embodiments of the present invention, by call in memory 18 store program or instruction, processor 15 for:
In the account phase to after date, carry out operation of entering an item of expenditure in the accounts, obtain first and to enter an item of expenditure in the accounts result;
Obtain second to enter an item of expenditure in the accounts result, reconciliation operation is carried out to the first result and second result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts;
Judge whether the result that reconciliation operates meets preset requirement;
If the result of reconciliation operation does not meet preset requirement, then the reconciliation phase performs rollback operation, and delete first and to enter an item of expenditure in the accounts result, the charging event again in the reconciliation phase processes, and re-starts operation of entering an item of expenditure in the accounts;
Reconciliation operation is carried out to result and second result of entering an item of expenditure in the accounts of operation of again entering an item of expenditure in the accounts, until the result of reconciliation operation meets preset requirement.
Further, for the account phase arranges at least three account phase states: opening opening, holding reserved state and closed closed condition;
Processor 15, also for before expiring in the account phase, is set to opening state by account phase state.
Further, processor 15, also for expiring in the account phase, carrying out entering an item of expenditure in the accounts after operation, is holding state by the Status Change of account phase, stores the delay charging event in the account phase.
Further, processor 15, also for when the account phase, state was holding state, if the result of reconciliation operation does not meet preset requirement, switches to opening state by account phase state from holding state.
Further, processor 15, specifically for the delay charging event in the account phase that process stores.
Further, processor 15, re-starts wholesale price specifically for the appointment charging event in the reconciliation phase according to the rate reset.
Further, processor 15, if meet default result specifically for the result of reconciliation operation, switches to closed state by account phase state from holding state.
After adopting such scheme, when not meeting preset requirement until the reconciliation result of charging enterprise, account phase state can be switched back opening state from holding state, like this, message accounting can be made again to process charging event, after being switched to holding state again, again can carry out operation of entering an item of expenditure in the accounts, like this, when the account phase be re-used and the reconciliation result that there is Some Enterprises does not meet pre-conditioned, can not meet pre-conditioned enterprise to these reconciliation results again to enter an item of expenditure in the accounts operation, until the reconciliation result of these enterprises meets pre-conditioned, with carry out compared with revision by the manual mode revised to result of entering an item of expenditure in the accounts, step is comparatively simple, reduce complexity, more easily realize batch operation, in addition, under holding state, can also continue to obtain and treat the delay charging event of charging enterprise within the account phase, preset requirement is met in reconciliation result, and when again carrying out entering an item of expenditure in the accounts operation, postpone charging event can be incorporated into in the account phase and processes in time, with ensure can be more complete the charging event got in the account phase, and then the charging event owing to missing in the account phase can be avoided and cause entering an item of expenditure in the accounts erroneous results and team leader's result do not meet the problem of preset requirement.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required common hardware by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in the storage medium that can read, as the floppy disk of computer, hard disk or CD etc., comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within 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 (14)

1. a charging method, is characterized in that, comprising:
In the account phase to after date, carry out operation of entering an item of expenditure in the accounts, obtain first and to enter an item of expenditure in the accounts result;
Obtain second to enter an item of expenditure in the accounts result, reconciliation operation is carried out to the described first result and second result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts;
Judge whether the result that described reconciliation operates meets preset requirement;
If the result of described reconciliation operation does not meet preset requirement, then rollback operation is performed to the described account phase, again the charging event in the described account phase is processed, and re-start operation of entering an item of expenditure in the accounts;
Reconciliation operation is carried out to result and described second result of entering an item of expenditure in the accounts of described operation of again entering an item of expenditure in the accounts, until the result of described reconciliation operation meets described preset requirement.
2. method according to claim 1, is characterized in that, for the described account phase arranges at least three account phase states: opening opening, holding reserved state and closed closed condition;
Before the described account phase expires, described account phase state is set to described opening state.
3. method according to claim 2, is characterized in that, expires in the described account phase, carries out entering an item of expenditure in the accounts after operation, also comprises:
Be holding state by described account phase Status Change, store the delay charging event in the described account phase.
4. method according to claim 3, is characterized in that, when the described account phase, state was holding state, if the result of described reconciliation operation does not meet described preset requirement, also comprises:
Described account phase state is switched to described opening state from described holding state.
5. method according to claim 4, is characterized in that, describedly again carries out charging process to the charging event in the described account phase, comprising:
Process the delay charging event in the account phase of described storage.
6. method according to claim 5, is characterized in that, describedly again carries out charging process to the charging event in the described account phase, also comprises:
According to the rate reset, wholesale price is re-started to the appointment charging event in the described account phase.
7. the method according to any one of claim 2-6, is characterized in that, if the result of described reconciliation operation meets described default result, also comprises:
Described account phase state is switched to described closed state from described holding state.
8. a message accounting, is characterized in that, comprising:
First enters an item of expenditure in the accounts unit, in the account phase to after date, carry out operation of entering an item of expenditure in the accounts, obtain first and to enter an item of expenditure in the accounts result;
First reconciliation unit, to enter an item of expenditure in the accounts result for obtaining second, carries out reconciliation operation to the described first result and second result of entering an item of expenditure in the accounts of entering an item of expenditure in the accounts;
Judging unit, for judging whether the result that described reconciliation operates meets preset requirement;
Second enters an item of expenditure in the accounts unit, if do not meet preset requirement for the result of described reconciliation operation, then performs rollback operation to the described account phase, again processes the charging event in the described account phase, and re-start operation of entering an item of expenditure in the accounts;
Second reconciliation unit, carries out reconciliation operation, until the result of described reconciliation operation meets described preset requirement for result of entering an item of expenditure in the accounts to described result and described second of again entering an item of expenditure in the accounts operation.
9. device according to claim 8, is characterized in that, also comprises:
Account phase setting unit, for arranging at least three account phase states for the described account phase: opening opening, holding reserved state and closed closed condition; Before the described account phase expires, described account phase state is set to described opening state.
10. device according to claim 9, is characterized in that, described account phase setting unit, and also for expiring in the described account phase, carrying out entering an item of expenditure in the accounts after operation, is holding state by described account phase Status Change;
Described device also comprises:
Memory cell, after the Status Change of account phase being holding state at described account phase setting unit, stores the delay charging event in the described account phase.
11. devices according to claim 10, it is characterized in that, described account phase setting unit, also for when the described account phase, state was holding state, if the result of described reconciliation operation does not meet described preset requirement, described account phase state is switched to described opening state from described holding state.
12. devices according to claim 11, is characterized in that, described second enters an item of expenditure in the accounts unit, specifically for processing the delay charging event in the account phase of described storage.
13. methods according to claim 12, is characterized in that, described second enters an item of expenditure in the accounts unit, also for re-starting wholesale price to the appointment charging event in the described account phase according to the rate reset.
14. devices according to any one of claim 9-13, it is characterized in that, described account phase setting unit, if also meet described default result for the result of described reconciliation operation, switches to described closed state by described account phase state from described holding state.
CN201310210002.9A 2013-05-30 2013-05-30 charging method and device Active CN104219064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310210002.9A CN104219064B (en) 2013-05-30 2013-05-30 charging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310210002.9A CN104219064B (en) 2013-05-30 2013-05-30 charging method and device

Publications (2)

Publication Number Publication Date
CN104219064A true CN104219064A (en) 2014-12-17
CN104219064B CN104219064B (en) 2018-07-20

Family

ID=52100226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310210002.9A Active CN104219064B (en) 2013-05-30 2013-05-30 charging method and device

Country Status (1)

Country Link
CN (1) CN104219064B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106856496A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 Data processing method and device
CN117251120A (en) * 2023-11-17 2023-12-19 杭州乒乓智能技术有限公司 Accounting system optimization method, device, equipment and medium based on jvm out-of-heap memory

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231876A (en) * 2011-06-24 2011-11-02 华为软件技术有限公司 Compatibility test method and device of billing system
CN102571369A (en) * 2010-12-24 2012-07-11 普天信息技术研究院有限公司 Method and system for realizing automatic message reconciliation with function of fault-tolerance protection
CN103095469A (en) * 2011-11-03 2013-05-08 中国移动通信集团甘肃有限公司 Communication cost copayment method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571369A (en) * 2010-12-24 2012-07-11 普天信息技术研究院有限公司 Method and system for realizing automatic message reconciliation with function of fault-tolerance protection
CN102231876A (en) * 2011-06-24 2011-11-02 华为软件技术有限公司 Compatibility test method and device of billing system
CN103095469A (en) * 2011-11-03 2013-05-08 中国移动通信集团甘肃有限公司 Communication cost copayment method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106856496A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 Data processing method and device
CN117251120A (en) * 2023-11-17 2023-12-19 杭州乒乓智能技术有限公司 Accounting system optimization method, device, equipment and medium based on jvm out-of-heap memory
CN117251120B (en) * 2023-11-17 2024-03-01 杭州乒乓智能技术有限公司 Accounting system optimization method, device, equipment and medium based on jvm out-of-heap memory

Also Published As

Publication number Publication date
CN104219064B (en) 2018-07-20

Similar Documents

Publication Publication Date Title
US9491313B2 (en) Optimizing storage between mobile devices and cloud storage providers
WO2019006654A1 (en) Financial self-service equipment maintenance dispatch generation method, hand-held terminal and electronic device
JPWO2008146677A1 (en) Virtual machine management apparatus, virtual machine management method, and virtual machine management program
CN110851253A (en) Remote operation and maintenance method, system, storage medium and electronic equipment
WO2018000678A1 (en) Method and apparatus for module process scheduling
CN101286212A (en) Business flow path execution method, business flow path engines and its deployment method
US9292345B2 (en) Systems, methods, and computer program products for processing sets of instructions for mobile devices
CN109325024A (en) Label display method, apparatus, terminal device and the storage medium of project
CN110532559B (en) Rule processing method and device
US10970048B2 (en) System and method for workflow application programming interfaces (APIS)
CN104219064A (en) Charging method and device
US20170011322A1 (en) Business process managment
CN109377184B (en) Work order opening method, device, storage medium and terminal
CN115328664B (en) Message consumption method, device, equipment and medium
CN110019131A (en) A kind of method and apparatus of discs business
US20200201496A1 (en) Computer System and Method for Creating, Assigning, and Interacting with Action Items Related to a Collaborative Task
CN115150764B (en) Tariff configuration method, tariff configuration device, tariff configuration equipment and tariff configuration medium
CN102447798B (en) Recharge-for-recovery method and device
CN115759712A (en) Production and work reporting management method, system, electronic equipment and storage medium
CN114924784A (en) Method, system, equipment, storage medium and product for compatibility of new and old interfaces
CN114244894A (en) Halt and recovery service processing method and system, computer storage medium and electronic equipment
CN106600291A (en) Multi-level agent-based public cloud order delivery method
CN104715421A (en) Method and device for processing electric charge data
US10810640B1 (en) Automated time tracking of events in a calendar and use of the same to generate invoices
CN112650486A (en) Data visualization processing 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
GR01 Patent grant
GR01 Patent grant