CN101188012A - A transaction data liquidation system and liquidation method - Google Patents

A transaction data liquidation system and liquidation method Download PDF

Info

Publication number
CN101188012A
CN101188012A CNA2006101184883A CN200610118488A CN101188012A CN 101188012 A CN101188012 A CN 101188012A CN A2006101184883 A CNA2006101184883 A CN A2006101184883A CN 200610118488 A CN200610118488 A CN 200610118488A CN 101188012 A CN101188012 A CN 101188012A
Authority
CN
China
Prior art keywords
processor
benefit
sharing
clearance
transaction
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.)
Pending
Application number
CNA2006101184883A
Other languages
Chinese (zh)
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.)
China Unionpay Co Ltd
Original Assignee
China Unionpay 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 China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CNA2006101184883A priority Critical patent/CN101188012A/en
Publication of CN101188012A publication Critical patent/CN101188012A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention discloses a liquidation system and a liquidation method of a transaction data, wherein, the liquidation system comprises at least one liquidation condition processor that is used for making comparison between condition parameters in the transaction data and liquidation conditions thatare preset in the liquidation condition processor, at least one liquidation action processor that is used for completing an independent liquidation action for the transaction data so as to get an action processing result, at least one liquidation environment processor that is used for obtaining a preset-typed liquidation environment data, a dispatcher that is used for adopting one or more assembling rule(s) of preset assembling rule groups to be connected with the processor, a combinational processor that is used for completing the calculation of all rules in the assembling rule groups; and the transaction data calls different processors to complete the liquidation process through the dispatcher. If any new business processing procedure is needed, only the processors of relevant missing parts are added, thereby preventing new loopholes and bugs, and being very convenient for the expansion.

Description

A kind of system for settling account of transaction data and liquidation method
Technical field
The present invention relates to data processing field, relate in particular to a kind of system for settling account and development approach thereof of transaction data.
Background technology
More and more abundanter along with trading activity, type of transaction also become increasingly complex at the business processing logic of the system for settling account (perhaps being called charging, settlement system) of these transaction data.Prior art all is to take to set up a computing system at business processing flow, is used for finishing automatically the transaction data processing procedure of above-mentioned complexity.For example, more existing financial systems for settling account and some telecommunication charging systems or the like.
But prior art designs according to processor-oriented mode purely and realizes that system for settling account generally is made up of some treatment schemees when creating described computing system, and common use computer programming language (for example, C language) is realized.Prior art only is to develop according to the transaction data treatment scheme of reality, and the entire process logic is mixed in together, does not have the strict difinition of processing logic, has very strong coupling, not even determinacy between business processing.
In a word, there is following problem in the existing system for settling account:
More a little less than the ability, if there is the change of business processing, change is quite complicated difficult, even can't change for resistance.Variation has taken place in business in reality, thereby cause the processing procedure change of business processing or transaction data, hope is at this moment satisfied use after changing by the existing system for settling account of change, is very difficult, because the coupling association between each module is very strong, lead one and the moving overall situation.For example, if there is the increase of business processing, upgrading is quite big to the original system influence, is not easy to merge in original system.
The ability that can handle challenge very a little less than, to the quite complicated difficulty of the support of complicated business, because based on the system for settling account of prior art, the entire process logic mixes, and develops and supports that the processing procedure of complicated business need be paid sizable manpower and materials more.
The non-constant of maintainability because the entire process logic is mixed in together, is not easy to be understood very much, safeguards quite trouble, and especially in staff redeployment frequent today, that new maintainer is difficult to is very fast, well understand the entire process logic of original system.
The non-constant of reusability because the entire process logic blends into one, almost can not be re-used, and when needs were created another system for settling account, most of module of existing system for settling account all can not be multiplexing, causes exploitative serious waste.
Summary of the invention
The object of the present invention is to provide a kind of system for settling account, need to improve more technical matters such as ability of reusability, maintainability, resistance in the prior art to solve at transaction data.
Correspondingly, the invention discloses a kind of system for settling account of transaction data, comprising:
At least one terms of settlement processor is used for the terms of settlement that presets in the conditional parameter of transaction data and the terms of settlement processor is compared, and obtains comparison result;
At least one clears action processor, is used for finishing an independently clearance action at transaction data, obtains moving result;
At least one clears context handler, is used to obtain the clearance environmental data that presets type;
Scheduler, be used for adopting any or a plurality of assembling rule of the assembling rule sets that presets will clear context handler, terms of settlement processor, clearance action processor and connect, the described assembling rule sets that presets comprises and rule or rule, non-rule and conditional plan;
Combining processor is used for finishing each regular computing of described assembling rule sets;
Transaction data is finished the clearance process by each processor of described dispatcher invokes.
Wherein, multiplexing one or more the described terms of settlement processor of described scheduler, clearance action processor, clearance context handler.Preferably, described assembling rule sets also comprises: catalogue executing rule, order executing rule or exclusive executing rule.And then described assembling rule sets can also comprise: empty action executing rule or stop executing rule.
Preferably, described at least one terms of settlement processor is: capital design conditions processor, service charge terms of settlement processor, general transaction condition processor, trade company condition processor, the terminal condition processor of sharing in the benefit of sharing in the benefit; At least one clearance context handler is: the general winding-up environment obtains processor, the trade company clearance environment of sharing in the benefit and obtains processor, the terminal clearance environment of sharing in the benefit and obtain processor; At least one clearance action processor is: capital processor, common service charge processor, trade company's service charge processor, the common processor of sharing in the benefit, trade company processor, the terminal processor of sharing in the benefit of sharing in the benefit.
Preferably, described system for settling account can also comprise: former transaction capital terms of settlement processor, former transaction service charge terms of settlement processor, former transaction common process condition processor, former transaction trade company condition processor, the former transaction terminal condition processor of sharing in the benefit of sharing in the benefit; Former transaction general winding-up environment obtains processor, the former transaction trade company clearance environment of sharing in the benefit and obtains processor, the former transaction terminal clearance environment of sharing in the benefit and obtain processor; Rollback capital processor, rollback service charge processor, rollback trade company service charge processor, rollback service charge processor, the rollback terminal processor of sharing in the benefit of sharing in the benefit.
The invention also discloses a kind of method that realizes the transaction data clearance, comprising:
Determine that at least one is used for comparing the conditional parameter of transaction data and the terms of settlement processor that presets terms of settlement in the terms of settlement processor;
Determine that at least one is used for finishing one at transaction data and independently clears the clearance action processor of action;
Determine that at least one is used to obtain the clearance context handler of the clearance environmental data that presets type;
Set a combining processor that is used for finishing each regular computing of described assembling rule sets;
In the assembling rule sets that employing is preset any or a plurality of assembling rule will be cleared context handler, terms of settlement processor, the clearance action processor connects, and the described assembling rule sets that presets comprises and rule, or rule, non-rule and conditional plan;
Rule is continuous to constitute many data processing paths to described each processor by assembling, and chooses suitable path according to the eigenwert of described transaction data and finishes the clearance process.
Preferred in the said method, multiplexing one or more described terms of settlement processor, clearance action processor, clearance context handler in the described data processing path.
Preferably, described assembling rule sets can also comprise: catalogue executing rule, order executing rule or exclusive executing rule.Further, described assembling rule sets also comprises: empty action executing rule or stop executing rule.
The present invention also provides a kind of liquidation method of transaction data, comprising: obtain transaction data, carry out following processor successively; Carry out general transaction condition processor, if success is then carried out the general winding-up environment and obtained processor; Carry out trade company's condition processor of sharing in the benefit, if success is then carried out trade company's clearance environment of sharing in the benefit and obtained processor; Carry out the terminal condition processor of sharing in the benefit, if success is then carried out the terminal clearance environment of sharing in the benefit and obtained processor; Carry out capital design conditions processor, if the capital processor is then carried out in success; Executive proceeding expense terms of settlement processor, if success, then; Carry out trade company's condition processor of sharing in the benefit; If trade company's service charge processor is then carried out in success, if common service charge processor is then carried out in failure; Carry out general transaction condition processor, if the common processor of sharing in the benefit is then carried out in success; Carry out trade company's condition processor of sharing in the benefit, if trade company's processor of sharing in the benefit is then carried out in success; Carry out the terminal condition processor of sharing in the benefit, if the terminal processor of sharing in the benefit is then carried out in success; Output clearance result.
Preferably, described liquidation method can also comprise: carry out rollback design conditions processor, if success, then; Carry out former transaction common process condition processor, if success is then carried out former transaction general winding-up environment and obtained processor; Carry out the former transaction trade company condition processor of sharing in the benefit, if success is then carried out former transaction trade company and shared in the benefit and clear environment and obtain processor; Carry out the former transaction terminal condition processor of sharing in the benefit, if success is then carried out the former transaction terminal clearance environment of sharing in the benefit and obtained processor; Carry out former transaction capital terms of settlement processor, if rollback capital processor is then carried out in success; Carry out former transaction service charge terms of settlement processor, if success, then; Carry out the former transaction trade company condition processor of sharing in the benefit, if rollback trade company service charge processor is then carried out in success, if rollback service charge processor is then carried out in failure; Carry out former transaction common process condition processor, if the common processor of sharing in the benefit of rollback is then carried out in success; Carry out the former transaction trade company condition processor of sharing in the benefit, if the rollback trade company processor of sharing in the benefit is then carried out in success; Carry out the former transaction terminal condition processor of sharing in the benefit, if the rollback terminal processor of sharing in the benefit is then carried out in success.
Preferably, described liquidation method can also comprise: carry out former transaction common process condition processor and general transaction condition processor, if common statistical treatment device is then carried out in one of them success; Carry out former transaction terminal condition processor and the terminal condition processor of sharing in the benefit of sharing in the benefit, if the terminal statistical treatment device of sharing in the benefit is then carried out in one of them success.
Compared with prior art, the present invention has the following advantages:
Because the present invention is at first according to the clearance process of transaction data, with the complicated service processing logic be decomposed into zero coupling, incoherent each subdivision (for example, condition processor and action processor), by the various assembling rules that preset in the combining processor each processor is combined then, the unified management of accepting scheduler then constitutes a complete system for settling account.System logic structure of the present invention is clear, and it is intricate not exist between the original system processing logic, and can not be by the problem of the new processing logic of existing processing logic assembling combination.
Because the service logic in the system for settling account of the present invention is divided into various incoherent processors, so when system for settling account need change, only need find associative processor to do corresponding change gets final product, to the correctness of other processors of total system without any influence, thereby can prevent to introduce new leak and BUG.
Because the service logic in the system for settling account of the present invention is divided into various incoherent processors, increase business processing flow if desired newly, then only need check the processing logic that former processor can make new advances by the assembling rule assembly unit of presetting, if could not would increase the processor of the corresponding part that lacks, get final product with the original system amalgamation then, original system is handled the nothing influence, be convenient to very much expansion.
The ability of handling challenge is very strong, because for system for settling account of the present invention, the implementation complexity of processor does not increase with the increase of system handles problem, does not influence each other between the processor, and the ability of handling challenge is also with regard to last order of magnitude.
Maintainability is very strong, and the function singleness of each processor, system are easy to be understood, and whole high-order actuating logic is also relatively very simple, and any maintainer just can grasp total system by simple study, thereby is convenient to maintenance system.
Reusability is very strong, owing to be zero the coupling between the processor, does not exist between each processor to influence each other, therefore the processor that can amalgamation have had for new system is realized, multiplexing existing processor need not to develop again, exploits natural resources thereby save greatly.
Description of drawings
Fig. 1 is a system diagram block diagram of the present invention;
Fig. 2 is a rule of combination design drawing of the present invention;
Fig. 3 a is the environment information acquisition processing logic figure of the present invention's one specific embodiment;
Fig. 3 b is the capital clearance processing logic figure of the present invention's one specific embodiment;
Fig. 3 c is the service charge clearance processing logic figure of the present invention's one specific embodiment;
Fig. 3 d is that the former trading environment of the present invention's one specific embodiment is obtained processing logic figure;
Fig. 3 e is the rollback capital clearance processing logic figure of the present invention's one specific embodiment;
Fig. 3 f is the rollback service charge clearance processing logic figure of the present invention's one specific embodiment;
The rollback clearance processing logic figure of Fig. 3 g the present invention one specific embodiment;
Fig. 3 h is the statistics clearance processing logic figure of the present invention's one specific embodiment;
Fig. 4 is a kind of step block diagram of realizing the method for transaction data clearance of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
With reference to Fig. 1, be system diagram block diagram of the present invention, comprise,
At least one terms of settlement processor 101 is used for the terms of settlement that presets in the conditional parameter of transaction data 100 and the terms of settlement processor is compared, and obtains comparison result;
At least one clears action processor 102, is used for finishing an independently clearance action at transaction data 100, obtains moving result;
At least one clears context handler 103, is used to obtain the clearance environmental data that presets type;
Scheduler 104, be used for adopting any or a plurality of assembling rule of the assembling rule sets that presets will clear context handler 101, terms of settlement processor 102, clearance action processor 103 and connect, the described assembling rule sets that presets comprises and rule, or rule, not rule and if else rule;
Combining processor 105 is used for finishing each regular computing of described assembling rule sets;
Transaction data 100 calls each processor by described scheduler 104 and finishes the clearance process.
Complicated clearing operation flow process can be described as basic condition/motion combination.Basic condition/action is to meet some requirements, and carries out relevant action.All pacing items structure condition set, all elemental motion constitutes set of actions, all are got the environmental data formation and get the environmental data set, in order to describe more complex rule, they can be glued together by rule of combination, form new condition or action, as the new condition that constitutes between the condition, constitute new action between the action, constitute new action between condition and the action, through after this processing, the business in the complex business systems can be described as the logical combination of condition and action.
Terms of settlement processor 101, clearance action processor 102, clearance context handler 103 are processors incoherent on the service logic in the native system, be respectively applied for and carry out carrying out condition judgment, moving and handle and obtain the clearance environmental data that presets type according to transaction data, for realizing in the clearance more complicated service logic, connect according to the rule of combination group by scheduler 104 between them or between each concrete terms of settlement (action or environment) processor.
Rule of combination can be defined as follows:
Rule of combination between condition: AND (with), OR (or), NOT (non-);
Rule of combination between action: AND (with), OR (or), NOT (non-), LIST (catalogue), SEQUENCE (in proper order), EXCLUSIVE (exclusive set);
Rule of combination between if action: '=' (conditional plan).
That is to say, handle between it, can take out 7 following rules of combination by the combinations thereof rule for each concrete clearance:
AND,OR,NOT,LIST,SEQUENCE,EXCLUSIVE,‘=>’。
Below the rule of combination that takes out is further explained.
Use C to represent the condition class below, A representative action class is distinguished different conditioned disjunction actions with sequence number.
1, AND (with) rule, when compound object is condition, use-pattern be AND (C1, C2), between condition C 1 and the condition C 2 be and relation, promptly C1 and C2 are true time, return very, other situations are returned; When compound object is when action, use-pattern is that (A1 A2), when A1 and A2 two actions all run succeeded, returns success AND, and other situations are returned failure.
2, OR (or) rule, when compound object is condition, use-pattern be OR (C1, C2), between condition C 1 and the condition C 2 be or the relation, promptly C1 and C2 are fictitious time, return vacation, other situations are returned very; When compound object is when action, use-pattern is that (A1 A2), carries out when failing when A1 and A2 two actions OR, returns failure, and other situations return success.
3, NOT (non-) rule, when compound object was condition, use-pattern was NOT (C), and condition C is a fictitious time, returns very, and condition C is a true time, returns vacation; When compound object was action, use-pattern was NOT (A), when A carries out failure, returned success, and when A runs succeeded, returned failure.
4, LIST (catalogue) rule only is used in combination of actions, and use-pattern is LIST (A1, A2 ..., An), the implication of the new action that is combined into is to carry out action sequence (A1, A2 successively, An), till running into the action of carrying out failure or everything and executing, if everything successful execution all, return success, otherwise return failure.
5, SEQUENCE (in proper order) rule only is used in combination of actions, use-pattern be SEQUENCE (A1, A2 ... An), the implication of the new action that is combined into is to carry out action sequence (A1, A2 successively,, An), till everything executes, return success.
6, EXCLUSIVE (exclusive set) rule only is used in combination of actions, and use-pattern is EXCLUSIVE (A1, A2 ..., An), the implication of the new action that is combined into is to carry out action sequence (A1, A2 successively, An), till running into the action that runs succeeded or everything and executing, if everything is all carried out failure, return failure, otherwise return success.
7, '=' (condition) rule, use-pattern=(C, A1 A2), if the execution implication of the new action of structure for satisfying condition C, is then carried out action A1, otherwise carry out action A2.
In order to better meet in the various situations of clearance flow process, preferred, can also introduce several special action rules:
Nil: the empty action executing rule, do not do anything;
Halt: action stops executing rule, the action that stops to carry out.
From mathematics, AND (with), OR (or), NOT (non-) and '=〉 ' (conditional plan), these four rules are absolutely necessary, and can constitute the closure of a minimum, and other some rules, then can be set up on their own and get final product according to the needs of clearance flow process by those skilled in the art, the present invention need this is limited.
With reference to Fig. 2, be rule of combination design drawing of the present invention, among the figure:
AND assembling rule is realized by AND rule processor (AndProcessor);
OR assembling rule is realized by OR rule processor (OrProcessor);
NOT assembling rule is realized by NOT rule processor (NotProcessor);
'=〉 ' assembling rule realizes by conditional plan processor (IfelseProcessor);
LIST assembling rule is realized by directory rules processor (ListProcessor);
SEQUENCE assembling rule is realized by Cahn-Ingold-Prelog sequence rule processor (SequenceProcessor);
EXCLUSIVE assembling rule is realized by exclusive aggregation rules processor (ExclusiveProcessor);
Special action nil is realized by empty action rule processor (NilProcessor);
Special action halt realizes by stopping action rules processor (HaltProcessor).
Wherein, AND rule processor (AndProcessor), OR rule processor (OrProcessor), NOT rule processor (NotProcessor), conditional plan processor (ListProcessor), empty action rule processor (NilProcessor) and stop action rules processor (HaltProcessor) and form one group of processor sets; Directory rules processor (ListProcessor), Cahn-Ingold-Prelog sequence rule processor (SequenceProcessor) and exclusive aggregation rules processor (ExclusiveProcessor) form another group processor sets.
Above-mentioned all rule processors can constitute a combining processor, are used for finishing each regular computing of described assembling rule sets.
Aforesaid various concrete clearance processor (comprising action processor, condition processor, context handler etc.) all is by to analyzing in the transaction data 100, handles thereby obtain some required characteristic information again.Transaction data 100 shown in Fig. 1 is input scheduling devices 104, certainly, also can directly import certain concrete condition or action processor, because the ability to express of synoptic diagram is limited, so only show a kind of preferable case.
Can comprise parts such as type of transaction, transaction code, transaction channel, merchant information, card character, type of service, Tong Cheng/strange land sign, end message, amount information in the transaction data 100.For example, type of transaction, transaction code, transaction channel, merchant information etc. can be used for differentiating the clearance flow process that this transaction data satisfies which kind of or which class actually by the condition processor; Characteristic informations such as amount information are exactly to be used for concrete calculating operation.
Scheduler 104 is according to the assembling rule that sets in advance and the service logic needs of transaction data, each terms of settlement processor 101, clearance action processor 102 and clearance context handler 103 are coupled together, form the treatment scheme of data, according to the aforementioned information data that comprised in the transaction data 100, carry out different logical condition computings by combining processor 105, and carry out corresponding operation according to the result of computing, export execution result at last.Wherein, clearance context handler 103 can think to clear a kind of of action processor, only is that the clearance context handler also is a widespread usage, therefore classifies it as class processor separately because in the clearance flow process.
Preferably, because among the present invention, all uncorrelated or zero coupling on the service logic between each concrete processor, so scheduler 104 can be reused terms of settlement processor 101, clearance action processor 102 and clearance context handler 103 when connection uses terms of settlement processor 101, clearance action processor 102 and the new conditioned disjunction of clearance context handler 103 formations to move.For example, general transaction condition processor, trade company condition processor, terminal zero coupling between three condition processors of condition processor of sharing in the benefit of sharing in the benefit.
Preferably, described at least one terms of settlement processor is 101 can be capital design conditions processor, service charge terms of settlement processor, general transaction condition processor, trade company condition processor and the terminal condition processor of sharing in the benefit of sharing in the benefit; Described at least one clearance context handler is 102 can be that the general winding-up environment obtains processor, the trade company clearance environment of sharing in the benefit and obtains processor and the terminal clearance environment of sharing in the benefit and obtain processor; Described at least one clearance action processor is 103 can be capital processor, common service charge processor, trade company's service charge processor, the common processor of sharing in the benefit, trade company processor and the terminal processor of sharing in the benefit of sharing in the benefit.
Preferably, also comprise column processor down:
Former transaction capital terms of settlement processor, former transaction service charge terms of settlement processor, former transaction common process condition processor, former transaction trade company condition processor, the former transaction terminal condition processor of sharing in the benefit of sharing in the benefit;
Former transaction general winding-up environment obtains processor, the former transaction trade company clearance environment of sharing in the benefit and obtains processor, the former transaction terminal clearance environment of sharing in the benefit and obtain processor;
Rollback capital processor, rollback service charge processor, rollback trade company service charge processor, rollback service charge processor, the rollback terminal processor of sharing in the benefit of sharing in the benefit.
Above-mentioned these concrete processors of enumerating just can be satisfactory the clearance process of the transaction data of finishing some types, and owing to zero coupling between each processor causes maintenances, renewal very convenient.
To Fig. 3 h, is the processing logic figure of the present invention's one specific embodiment, wherein referring to Fig. 3 a
Fig. 3 a is the environment information acquisition processing logic figure of the present invention's one specific embodiment;
Fig. 3 b is the capital clearance processing logic figure of the present invention's one specific embodiment;
Fig. 3 c is the service charge clearance processing logic figure of the present invention's one specific embodiment;
Fig. 3 d is that the former trading environment of the present invention's one specific embodiment is obtained processing logic figure;
Fig. 3 e is the rollback capital clearance processing logic figure of the present invention's one specific embodiment;
Fig. 3 f is the rollback service charge clearance processing logic figure of the present invention's one specific embodiment;
Fig. 3 g is the rollback clearance processing logic figure of the present invention's one specific embodiment;
Fig. 3 h is the statistics clearance processing logic figure of the present invention's one specific embodiment.
Fig. 3 a is to be example with a fairly simple system for settling account to Fig. 3 h, can be described as following inference logic and realize:
If satisfy the general transaction condition, obtain general transaction clearance information;
Clear trade company if satisfy, obtain trade company's clearance information;
If clear terminal, obtain terminal clearance information;
If satisfy the capital terms of settlement, calculate capital;
If satisfy the service charge design conditions, the calculating service charge (
If clear trade company, calculate trade company's service charge, otherwise calculate common service charge;
If usual terms calculates common sharing in the benefit;
If clear trade company, calculate trade company and share in the benefit;
If satisfy the computing terminal condition of sharing in the benefit, computing terminal is shared in the benefit;
)
If satisfy the rollback design conditions, calculating rollback service charge (
If former transaction need be cleared trade company, obtain original transaction trade company clearance information;
If original transaction need be cleared terminal, obtain original transaction terminal clearance information;
If the capital terms of settlement is satisfied in original transaction, the rollback capital;
If the service charge terms of settlement is satisfied in original transaction, the rollback service charge (
If trade company is cleared in original transaction, rollback trade company service charge, otherwise the common service charge of rollback;
If usual terms is satisfied in original transaction, the common profit of rollback;
Clear trade company if original transaction is satisfied, rollback trade company shares in the benefit;
If the computing terminal condition of sharing in the benefit is satisfied in original transaction, the rollback terminal is shared in the benefit;
)
)
Can be rewritten as reasoning type to above-mentioned logical description, be expressed as follows:
CommCond=>PpCtxGetter
MchnCond=>PpMchnCtxFGetter
TermSCond=>PpTermCtxGetter
AtCond=>AtProcessor
FeeCond=>(
MchnCond=>MchnDisc
CommDisc
CommCond=>CommAllot
MchnCond=>MchnAllot
TermCond=>TermAllot
)
RevCond=>(
OrigCommCond=>PpOrigCtxGetter
OrigMchnCond=>PpOrigMchnCtxGetter
OrigTermCond=>PpOrigTermCtxGetter
OrigAtCond=>RevAtProcessor
OrigFeeCond=>(
OrigMchnCond=>RevMchnDisc
RevCommDisc
OrigCommCond=>RevCommAllot
OrigMchnCond=>RevMchnAllot
OrigTermCond=>RevTermAllot
)
)
(CommCond?or?OrigCommCond)=>PpCommStatistic
(TermCond?or?OrigTermCond)=>PpTermStatistic
Use constitutional diagram to represent above-mentioned reasoning type, shown in Fig. 3 a-Fig. 3 h.Those skilled in the art can obtain following condition, action processor easily from constitutional diagram:
Capital terms of settlement processor (SettleAtCond)
Service charge terms of settlement processor (SettleFeeCond)
Rollback terms of settlement processor (SettleRevCond)
General transaction condition processor (CommCond)
Trade company's condition processor (MchnCond) of sharing in the benefit
The terminal condition processor (TermCond) of sharing in the benefit
Former transaction capital terms of settlement processor (SettleOrigAtCond)
Former transaction service charge terms of settlement processor (SettleOrigFeeCond)
Former transaction common process condition processor (OrigCommCond)
The former transaction trade company condition processor (OrigMchnCond) of sharing in the benefit
The former transaction terminal condition processor (OrigTermCond) of sharing in the benefit
The general winding-up environment obtains processor (PpCtxGetter)
Trade company share in the benefit the clearance environment obtain processor (PpMchnCtxGetter)
Terminal share in the benefit the clearance environment obtain processor (PpTermCtxGetter)
Former transaction general winding-up environment obtains processor (PpOrigCtxGetter)
The former transaction trade company clearance environment of sharing in the benefit obtains processor (PpOrigMchnCtxGetter)
Former transaction terminal share in the benefit the clearance environment obtain processor (PpOrigTermCtxGetter)
Capital is handled processor (PpSettleAtProcessor)
Service charge is handled processor (PpTotalDiscProcessor)
Trade company's service charge is handled processor (PpMchnDiscProcessor)
Processing (common/trade company) processor (PpDiscAllotProcessor) of sharing in the benefit
The terminal processor (PpTermAllotProcessor) of sharing in the benefit
Rollback service charge processor (PpTotalDiscRevProcessor)
Rollback trade company service charge processor (PpMchnRevDiscProcessor)
Rollback (common/trade company) the service charge processor (PpDiscAllotRevProcessor) of sharing in the benefit
The rollback terminal processor (PpTermAllotRevProcessor) of sharing in the benefit
Common statistical treatment device (PpCommStatistic)
The terminal statistical treatment device (PpTermStatistic) of sharing in the benefit
All processors above realizing with code use scheduler according to the character of transaction data then and are combined into the reason device and carry out bondingly, just can finish the structure of system for settling account.Processing (common/trade company) processor, rollback (common/trade company) the service charge processor of sharing in the benefit of wherein sharing in the benefit can be used as a processor and can finish two kinds of tasks of sharing in the benefit, and perhaps, also can be used as two separate processor.
Because each processor does not have coupled relation, system constructing is convenient, uses the derivation mode to realize the system constructing of industry assembling.So the present invention is suitable for all transaction processing systems, be specially adapted to the system of all processing logic complexity, as multiple financial class system for settling account, telecommunications charge system or the like.Because the performance history of each processor of the present invention can't complicate along with the complexity of whole service logic, remain to develop and get final product as a basic processing unit, and most basic processing unit still can be multiplexing, more further reduced development difficulty and saved and exploited natural resources.
When system for settling account need increase new business, native system also can be made amendment very easily and be added function.For example, former flow process is increased new operation flow, realization adopts 95 foldings preferential to women trade company in the consumption on March 8, or to National Day, " five. one " two golden week all trade companies' 8 foldings preferential, only need increase a date terms processor on the basis of former flow process (can self-defining any date of configure user, the date section), the discount computation processor, original system does not need to do any change then, only need top two processors are combined to and go to be implemented in the specific date in the original system for settling account and specific trade company is carried out preferential, do not need existing each processor is more changed.From top process as seen, the Added Business flow process is very easily.
Referring to Fig. 4, be a kind of step block diagram of realizing the method for transaction data clearance of the present invention.
Generally speaking, adopt implementation procedure of the present invention as follows: at first, operation flow to be described as inference logic.Describe and to carry out condition judgment and processing to business datum according to the situation of business; The description of operation flow is rewritten into reasoning type; The formula constitutional diagram that can draw by inference; Extract each condition and action processor by constitutional diagram; Realize the function of each processor with code programming; At last, use scheduler and combining processor bonding each condition of combination and action processor, realize systemic-function.
Particularly, as shown in Figure 4,
Step 401, determine that at least one is used for comparing the conditional parameter of transaction data and the terms of settlement processor that presets terms of settlement in the terms of settlement processor, promptly, determine that at least one terms of settlement processor is used to set up system for settling account according to reasoning from logic to the clearance flow process;
Step 402, determine that at least one is used for finishing the clearance action processor of clearance action independently at transaction data;
Step 403, determine that at least one is used to obtain the clearance context handler of the clearance environmental data that presets type;
Step 404, set a combining processor that is used for finishing each regular computing of described assembling rule sets, concrete assembling rule wherein can be managed voluntarily as required and be set by those skilled in the art;
Step 405, adopt any or a plurality of assembling rule in the assembling rule sets preset will clear context handler, terms of settlement processor, clear action processor and connect, the described assembling rule sets that presets comprises and rule, or rule, non-rule and conditional plan;
Rule is continuous to constitute many data processing paths by assembling for step 406, described each processor, chooses the suitable treatments path according to the eigenwert of described transaction data and finishes the clearance process.For example, among the embodiment shown in Fig. 3 a-Fig. 3 h, promptly might calculate capital for a kind of transaction, might calculate service charge again, rollback, a lot of complicated processing logics of sharing in the benefit or the like, what system for settling account of the present invention will be done is the characteristic information of collecting transaction data, judge from its numerous data processing path and will carry out those action, just processes of a reasoning successively.Which condition the characteristic information of promptly judging transaction data satisfies, and should carry out which concrete action processor, context handler successively thereby draw this transaction data.For example, certain transaction data is the defence line by analysis, satisfies the service charge condition of calculating, but discontented unabridged version gold design conditions, and the rollback design conditions, calculate action processor with regard to an executive proceeding expense so and get final product.
Preferably, multiplexing one or more described terms of settlement processor, clearance action processor, clearance context handler in the described data processing path.Owing to be zero the coupling between each the concrete processor among the present invention, so can be multiplexing, for example, general transaction condition processor, trade company condition processor and the terminal condition processor of sharing in the benefit of sharing in the benefit has just obtained three times multiplexing respectively among the embodiment shown in Fig. 3 a-Fig. 3 h.
Among the embodiment shown in Figure 4, described assembling rule sets also comprises: catalogue executing rule, order executing rule or exclusive executing rule; And empty action executing rule or stop executing rule further.
More than to the system for settling account and the method for a kind of transaction data provided by the present invention, be described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (13)

1. the system for settling account of a transaction data is characterized in that, comprising:
At least one terms of settlement processor is used for the terms of settlement that presets in the conditional parameter of transaction data and the terms of settlement processor is compared, and obtains comparison result;
At least one clears action processor, is used for finishing an independently clearance action at transaction data, obtains moving result;
At least one clears context handler, is used to obtain the clearance environmental data that presets type;
Scheduler, be used for adopting any or a plurality of assembling rule of the assembling rule sets that presets will clear context handler, terms of settlement processor, clearance action processor and connect, the described assembling rule sets that presets comprises and rule or rule, non-rule and conditional plan;
Combining processor is used for finishing each regular computing of described assembling rule sets;
Transaction data is finished the clearance process by each processor of described dispatcher invokes.
2. system for settling account as claimed in claim 1 is characterized in that, multiplexing one or more the described terms of settlement processor of described scheduler, clearance action processor, clearance context handler.
3. system for settling account as claimed in claim 1 is characterized in that, described assembling rule sets also comprises: catalogue executing rule, order executing rule or exclusive executing rule.
4. as claim 1 or 3 described systems for settling account, it is characterized in that described assembling rule sets also comprises: empty action executing rule or stop executing rule.
5. system for settling account as claimed in claim 1 is characterized in that,
Described at least one terms of settlement processor is: capital design conditions processor, service charge terms of settlement processor, general transaction condition processor, trade company condition processor, the terminal condition processor of sharing in the benefit of sharing in the benefit;
At least one clearance context handler is: the general winding-up environment obtains processor, the trade company clearance environment of sharing in the benefit and obtains processor, the terminal clearance environment of sharing in the benefit and obtain processor;
At least one clearance action processor is: capital processor, common service charge processor, trade company's service charge processor, the common processor of sharing in the benefit, trade company processor, the terminal processor of sharing in the benefit of sharing in the benefit.
6. system for settling account as claimed in claim 5 is characterized in that, also comprises:
Former transaction capital terms of settlement processor, former transaction service charge terms of settlement processor, former transaction common process condition processor, former transaction trade company condition processor, the former transaction terminal condition processor of sharing in the benefit of sharing in the benefit;
Former transaction general winding-up environment obtains processor, the former transaction trade company clearance environment of sharing in the benefit and obtains processor, the former transaction terminal clearance environment of sharing in the benefit and obtain processor;
Rollback capital processor, rollback service charge processor, rollback trade company service charge processor, rollback service charge processor, the rollback terminal processor of sharing in the benefit of sharing in the benefit.
7. a method that realizes the transaction data clearance is characterized in that, comprising:
Determine that at least one is used for comparing the conditional parameter of transaction data and the terms of settlement processor that presets terms of settlement in the terms of settlement processor;
Determine that at least one is used for finishing one at transaction data and independently clears the clearance action processor of action;
Determine that at least one is used to obtain the clearance context handler of the clearance environmental data that presets type;
Set a combining processor that is used for finishing each regular computing of described assembling rule sets;
In the assembling rule sets that employing is preset any or a plurality of assembling rule will be cleared context handler, terms of settlement processor, the clearance action processor connects, and the described assembling rule sets that presets comprises and rule, or rule, non-rule and conditional plan;
Rule is continuous to constitute many data processing paths to described each processor by assembling, and chooses suitable path according to the eigenwert of described transaction data and finishes the clearance process.
8. liquidation method as claimed in claim 7 is characterized in that, multiplexing one or more described terms of settlement processor, clearance action processor, clearance context handler in the described data processing path.
9. liquidation method as claimed in claim 7 is characterized in that, described assembling rule sets also comprises: catalogue executing rule, order executing rule or exclusive executing rule.
10. as claim 7 or 9 described systems for settling account, it is characterized in that described assembling rule sets also comprises: empty action executing rule or stop executing rule.
11. the liquidation method of a transaction data is characterized in that, comprising:
Obtain transaction data, carry out following processor successively;
Carry out general transaction condition processor, if success is then carried out the general winding-up environment and obtained processor;
Carry out trade company's condition processor of sharing in the benefit, if success is then carried out trade company's clearance environment of sharing in the benefit and obtained processor;
Carry out the terminal condition processor of sharing in the benefit, if success is then carried out the terminal clearance environment of sharing in the benefit and obtained processor;
Carry out capital design conditions processor, if the capital processor is then carried out in success;
Executive proceeding expense terms of settlement processor, if success, then;
Carry out trade company's condition processor of sharing in the benefit; If trade company's service charge processor is then carried out in success, if common service charge processor is then carried out in failure;
Carry out general transaction condition processor, if the common processor of sharing in the benefit is then carried out in success;
Carry out trade company's condition processor of sharing in the benefit, if trade company's processor of sharing in the benefit is then carried out in success;
Carry out the terminal condition processor of sharing in the benefit, if the terminal processor of sharing in the benefit is then carried out in success;
Output clearance result.
12. liquidation method as claimed in claim 11 is characterized in that, also comprises:
Carry out rollback design conditions processor, if success, then;
Carry out former transaction common process condition processor, if success is then carried out former transaction general winding-up environment and obtained processor;
Carry out the former transaction trade company condition processor of sharing in the benefit, if success is then carried out former transaction trade company and shared in the benefit and clear environment and obtain processor;
Carry out the former transaction terminal condition processor of sharing in the benefit, if success is then carried out the former transaction terminal clearance environment of sharing in the benefit and obtained processor;
Carry out former transaction capital terms of settlement processor, if rollback capital processor is then carried out in success;
Carry out former transaction service charge terms of settlement processor, if success, then;
Carry out the former transaction trade company condition processor of sharing in the benefit, if rollback trade company service charge processor is then carried out in success, if rollback service charge processor is then carried out in failure;
Carry out former transaction common process condition processor, if the common processor of sharing in the benefit of rollback is then carried out in success;
Carry out the former transaction trade company condition processor of sharing in the benefit, if the rollback trade company processor of sharing in the benefit is then carried out in success;
Carry out the former transaction terminal condition processor of sharing in the benefit, if the rollback terminal processor of sharing in the benefit is then carried out in success.
13. liquidation method as claimed in claim 11 is characterized in that, also comprises:
Carry out former transaction common process condition processor and general transaction condition processor, if common statistical treatment device is then carried out in one of them success;
Carry out former transaction terminal condition processor and the terminal condition processor of sharing in the benefit of sharing in the benefit, if the terminal statistical treatment device of sharing in the benefit is then carried out in one of them success.
CNA2006101184883A 2006-11-16 2006-11-16 A transaction data liquidation system and liquidation method Pending CN101188012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006101184883A CN101188012A (en) 2006-11-16 2006-11-16 A transaction data liquidation system and liquidation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006101184883A CN101188012A (en) 2006-11-16 2006-11-16 A transaction data liquidation system and liquidation method

Publications (1)

Publication Number Publication Date
CN101188012A true CN101188012A (en) 2008-05-28

Family

ID=39480387

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006101184883A Pending CN101188012A (en) 2006-11-16 2006-11-16 A transaction data liquidation system and liquidation method

Country Status (1)

Country Link
CN (1) CN101188012A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440577A (en) * 2013-07-24 2013-12-11 通联支付网络服务股份有限公司 Goods category clearing system
CN105741195A (en) * 2016-01-27 2016-07-06 厦门优芽网络科技有限公司 Flattened functional transaction based cloud service platform design method
CN105741168A (en) * 2014-12-09 2016-07-06 航天信息股份有限公司 Liquidation management system and method
CN106780006A (en) * 2016-11-28 2017-05-31 中国银联股份有限公司 A kind of abnormal clearance processing method and system
CN108090755A (en) * 2017-12-18 2018-05-29 深圳市快付通金融网络科技服务有限公司 Billing model defines method, data system for settling account and computer readable storage medium
CN109697216A (en) * 2018-12-18 2019-04-30 中国银行股份有限公司 Exchange information processing method, apparatus and system
CN110827025A (en) * 2019-10-15 2020-02-21 海南新软软件有限公司 Asset clearing method and system
CN111292175A (en) * 2020-03-03 2020-06-16 中国工商银行股份有限公司 Capital clearing method and device
CN113139800A (en) * 2020-01-19 2021-07-20 上海臻客信息技术服务有限公司 Settlement solving system based on different transaction platforms
TWI757630B (en) * 2019-09-05 2022-03-11 兆豐國際商業銀行股份有限公司 Transcation system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440577A (en) * 2013-07-24 2013-12-11 通联支付网络服务股份有限公司 Goods category clearing system
CN105741168A (en) * 2014-12-09 2016-07-06 航天信息股份有限公司 Liquidation management system and method
CN105741195A (en) * 2016-01-27 2016-07-06 厦门优芽网络科技有限公司 Flattened functional transaction based cloud service platform design method
CN106780006A (en) * 2016-11-28 2017-05-31 中国银联股份有限公司 A kind of abnormal clearance processing method and system
CN108090755A (en) * 2017-12-18 2018-05-29 深圳市快付通金融网络科技服务有限公司 Billing model defines method, data system for settling account and computer readable storage medium
CN109697216A (en) * 2018-12-18 2019-04-30 中国银行股份有限公司 Exchange information processing method, apparatus and system
CN109697216B (en) * 2018-12-18 2021-04-20 中国银行股份有限公司 Clearing transaction information processing method, device and system
TWI757630B (en) * 2019-09-05 2022-03-11 兆豐國際商業銀行股份有限公司 Transcation system
CN110827025A (en) * 2019-10-15 2020-02-21 海南新软软件有限公司 Asset clearing method and system
CN113139800A (en) * 2020-01-19 2021-07-20 上海臻客信息技术服务有限公司 Settlement solving system based on different transaction platforms
CN111292175A (en) * 2020-03-03 2020-06-16 中国工商银行股份有限公司 Capital clearing method and device

Similar Documents

Publication Publication Date Title
CN101188012A (en) A transaction data liquidation system and liquidation method
Guo et al. The digitalization and public crisis responses of small and medium enterprises: Implications from a COVID-19 survey
Hanna Enabling enterprise transformation: Business and grassroots innovation for the knowledge economy
Bauer et al. Agent UML: A formalism for specifying multiagent software systems
Dubslaff et al. Probabilistic model checking for feature-oriented systems
US9152931B2 (en) Service engagement management using a standard framework
CN102799962A (en) Configuration type business flow system and realization method thereof
Fareghzadeh Service identification approach to SOA development
CN101873334A (en) State-driven executable service flow execution method
CN107590070A (en) A kind of service flow debugging method and device
CN1967572B (en) Method and system of business process management applied to business-intensive fields
Johannesson et al. Application and Process Integration–Concepts, Issues, and Research Directions
JP2011512592A (en) Methods and systems for incorporating service-oriented automation components at the manufacturing floor into a flexible IT corporate architecture
Gervais ODAC: An agent-oriented methodology based on ODP
Krogstie Business information systems utilizing the future internet
Graham Requirements modelling and specification for service oriented architecture
CN201237713Y (en) Built-in type integrated industrial control computer
Schelp et al. Integration management for heterogeneous information systems
Durán et al. Formalizing ODP enterprise specifications in Maude
Cho et al. Service identification and modeling for service oriented architecture applications
Chiang Extracting business rules from legacy systems into reusable components
Rong Modeling and analysis BPEL-based web services composition using XYZ
CN101188013A (en) A framework system for cleaning data and its application method
Shahzad et al. Towards cross language process model reuse–a language independent representation of process models
CN101097615A (en) Net administrative examination and approval management information system structure

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20080528