CN103514565A - Transaction abnormity processing unit of financial transaction processing system and method thereof - Google Patents

Transaction abnormity processing unit of financial transaction processing system and method thereof Download PDF

Info

Publication number
CN103514565A
CN103514565A CN201210214715.8A CN201210214715A CN103514565A CN 103514565 A CN103514565 A CN 103514565A CN 201210214715 A CN201210214715 A CN 201210214715A CN 103514565 A CN103514565 A CN 103514565A
Authority
CN
China
Prior art keywords
transaction
abnormality processing
processing
flow process
abnormal
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
CN201210214715.8A
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 CN201210214715.8A priority Critical patent/CN103514565A/en
Publication of CN103514565A publication Critical patent/CN103514565A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a transaction abnormity processing unit of a financial transaction processing system and a method thereof and belongs to the abnormity processing technology field of the financial transaction processing system. The transaction abnormity processing method comprises the following steps that according to a transaction phase, a transaction state and a transaction class of the abnormity in the transaction in the financial transaction processing system, a corresponding abnormity processing flow identification is mapped in an error message; based on the abnormity processing flow identification, a corresponding abnormity processing flow is acquired; the abnormity processing flow corresponding to each abnormity is concentratedly executed. A transaction abnormity processing mechanism of the invention possesses the characteristics that expansibility is good; during a post processing process, abnormity processing is simple. By using the unit and the method of the invention, a speed, flexibility and maintainability of the financial transaction processing system can be increased.

Description

Transaction exception processing unit and the method for financial transaction disposal system
Technical field
The invention belongs to the Exception Handling Technique field of financial transaction disposal system, relate to a kind of exception processing unit and method of carrying out corresponding abnormality processing flow process according to abnormal residing transactional stage, stateful transaction, transaction classification.
Background technology
In current financial transaction disposal system, usually adopt the mechanism of multi-process, treatment by stages to carry out transaction processing.Figure 1 shows that the structural representation of financial transaction disposal system and ambient systems.As shown in Figure 1, payment terminal 10 is for realizing the payment functions such as payment of swiping the card, and it can initiate transaction; Up-stream system 30 refers to card issuer's system etc.; Payment terminal 10 is all connected with the transaction processing center 20 of financial transaction disposal system with up-stream system 30, realizes the transmission of transaction related data.The associative operations such as transaction request processing, transaction reply process can be carried out in transaction processing center 20, generally adopt pipelining mode to carry out operational processes.But occur when abnormal at transaction associative operation, abnormality processing can be carried out in transaction processing center 20, thus relationship trading process and lie on the table, the efficiency of transaction processing reduces greatly because of abnormal generation.
Chinese Patent Application No. is that CN200910180854.1, name are called in the Chinese patent of " disposal route and the system of the abnormal transaction of a kind of payment transaction ", its disclosed abnormality eliminating method comprises: when abnormal transaction occurs payment transaction, generate the abnormal transaction log that includes transaction record necessary information; According to described abnormal transaction log, according to the abnormality processing rule of setting, abnormal transaction is processed.There is following shortcoming in the abnormality eliminating method proposing in this patent: the payment transaction that (one) the method is paid close attention to, treatment scheme is comparatively simple, and only pay close attention to the amount of money, whether state abnormal; (2) the various abnormal conditions that the method can not comprehensively cover complicated financial class transaction processing and occur; (3) abnormality processing of the method only relates to financial transaction disposal system inside, does not relate to the mutual abnormal conditions of financial transaction disposal system outside and processing.Therefore, generally, comparatively simple in the abnormality processing function of this abnormality processing system, and in dirigibility, usable range, have larger limitation.
Summary of the invention
One of object of the present invention is, improves the efficiency of abnormality processing and makes it not affect the pipelining of transaction processing.
Another object of the present invention is, proposes a kind of good financial transaction treatment mechanism applied widely, maintainable.
For realizing above object or other objects, the invention provides following technical scheme.
According to an aspect of of the present present invention, a kind of transaction abnormality eliminating method of financial transaction disposal system is provided, it comprises the following steps:
According to the abnormal residing transactional stage, stateful transaction and the transaction classification that occur in the transaction of financial transaction disposal system, in error message, shine upon corresponding abnormality processing process identification;
Based on this abnormality processing process identification, obtain corresponding abnormality processing flow process; And
Intensively carry out each abnormal corresponding abnormality processing flow process.
According to the transaction abnormality eliminating method of one embodiment of the invention, wherein, described abnormality processing flow process is comprised of one or more functional nodes of abnormality processing, and described functional node defines according to the function of abnormality processing.
Further, described abnormality processing process identification is called one or more functional nodes to obtain corresponding abnormality processing flow process by the mode of parameter configuration.
According to the transaction abnormality eliminating method of further embodiment of this invention, wherein, in described error message, generate abnormality processing sign, by described abnormality processing sign, judge whether described error message to carry out abnormality processing.
At the transaction abnormality eliminating method of described arbitrary embodiment before, preferably, before described mapping abnormality processing process identification, also comprise step:
Judge whether described error message successfully obtains error message code, if successfully do not obtained, write error log sheet.
At the transaction abnormality eliminating method of described arbitrary embodiment before, preferably, if obtain corresponding abnormality processing flow process failure, write error log sheet.
At the transaction abnormality eliminating method of described arbitrary embodiment before, preferably, if carry out described abnormality processing flow process failure, write error log sheet.
According to the present invention, go back the transaction abnormality eliminating method of an embodiment, wherein, described error message generates according to the transaction processing table in the database in described financial transaction disposal system and the mapping of abnormality processing flow process mapping table.
At the transaction abnormality eliminating method of described arbitrary embodiment before, preferably, in described transaction processing table, at least comprise that transaction processing sign, transaction processing are described, transaction classification and abnormal mapping code, described abnormal mapping code reflects described transaction classification information.
At the transaction abnormality eliminating method of described arbitrary embodiment before, preferably, in described abnormality processing flow process mapping table, at least comprise abnormal mapping code, phase identification, stateful transaction and abnormality processing process identification; The described transaction classification information of described abnormal mapping code reflection, the abnormal residing transactional stage of described phase identification reflection, described abnormality processing process identification at least generates based on described abnormal mapping code, phase identification, stateful transaction.
According to another aspect of the present invention, a kind of transaction exception processing unit of financial transaction disposal system is provided, it comprises:
Map unit, it,, for according to the abnormal residing transactional stage, stateful transaction and the transaction classification that occur in the transaction of financial transaction disposal system, shines upon corresponding abnormality processing process identification in error message;
Abnormality processing flow process acquiring unit, obtains corresponding abnormality processing flow process based on this abnormality processing process identification;
Abnormality processing service unit, for intensively carrying out each abnormal corresponding abnormality processing flow process.
Further, described financial transaction disposal system comprises transaction processing center, described transaction processing center is used for multi-process, processes various transaction by stages, and the error message that described transaction processing center produces is sent to described transaction exception processing unit and intensively processes.
Further, described financial transaction disposal system also comprises that payment terminal receives parsing module, payment terminal assembling transmission, upstream assembling sending module and upstream and receives parsing module.
Technique effect of the present invention is: (one) is by processing the abnormality processing flow process centralization in financial transaction disposal system, avoid each stage/process all will realize separately the shortcoming of abnormality processing separately, reduced the complicacy that post-processed process exception is processed.(2) exception processing unit centralization processing abnormality processing flow process is conducive to liberate other related service modules such as transaction processing center when generation is abnormal, guaranteed the pipelining of transaction, because processing extremely, do not slow down its processing speed, so financial transaction disposal system processing speed is enhanced.(3) exception processing unit centralized processing greatly facilitates increase, the change of abnormality processing flow process, and the change of abnormality processing flow process and expansion only need realize in exception processing unit, thereby has improved dirigibility and the maintainability of financial transaction disposal system.(4) when obtaining abnormality processing flow process, according to transactional stage, stateful transaction and transaction classification, can accurately provide corresponding abnormality processing flow process, this exception handling " type of transaction is weak relevant ", " processing procedure strong correlation ", have extendability.
Accompanying drawing explanation
From following detailed description by reference to the accompanying drawings, will make above and other object of the present invention and advantage more completely clear, wherein, same or analogous key element adopts identical label to represent.
Fig. 1 is the structural representation of financial transaction disposal system and ambient systems.
Fig. 2 is the call relation schematic diagram that process when abnormal occurs in the financial transaction disposal system of one embodiment of the invention.
Fig. 3 is the modular structure schematic diagram of the transaction exception processing unit in financial transaction disposal system embodiment illustrated in fig. 2.
Fig. 4 is the transaction abnormality eliminating method schematic flow sheet according to the financial transaction disposal system of the present invention's one example.
Fig. 5 analyzes schematic diagram according to the abnormality processing of the transaction abnormality eliminating method of one embodiment of the invention.
Embodiment
What introduce below is some in a plurality of possibility embodiment of the present invention, aims to provide basic understanding of the present invention, is not intended to confirm key of the present invention or conclusive key element or limits claimed scope.Easily understand, according to technical scheme of the present invention, do not changing under connotation of the present invention other implementations that one of ordinary skill in the art can propose mutually to replace.Therefore, following embodiment and accompanying drawing are only the exemplary illustrations to technical scheme of the present invention, and should not be considered as of the present invention all or be considered as the restriction of technical solution of the present invention or restriction.
In description below, clear and simple and clear for what describe, all a plurality of parts shown in figure are not described.Shown in the drawings of a plurality of parts, provide the disclosure that can realize completely of the present invention for those of ordinary skills.To those skilled in the art, it is all familiar and obvious being permitted multipart operation.
Herein, transaction can comprise two classes: a class is the transaction of financial class, refers to the correlated activations such as the consumption initiated by payment terminal, pre-authorization, the return of goods, and it is tripartite transaction (payment terminal in downstream, financial transaction disposal system, upstream); Another kind of is administrative class transaction, refers to two side's transaction for guaranteeing that the down-stream systems such as up-stream system or pos terminal can normally carry out occurring alternately with financial transaction disposal system.Up-stream system comprises the system (for example settlement system of Gas Company) of card issuer's system or third party's industry.Message refers to the transaction data package of transmitting between payment terminal, financial transaction disposal system, up-stream system.Punching is just referring to and is receiving after the successful respond from up-stream system when financial transaction disposal system, in processing procedure, there are abnormal conditions, when sending to terminal and unsuccessfully replying, also need to send and rush positive message to up-stream system, to notify up-stream system: the transaction of up-stream system successful respond, when financial transaction disposal system is processed, met with and processed unsuccessfully, this transaction just will rushed, and make the operations such as this transaction does not participate in withholing accordingly.
Figure 2 shows that the call relation schematic diagram of process while there is abnormal (or transaction makes mistakes) in the financial transaction disposal system of one embodiment of the invention.The financial transaction disposal system 200 of this embodiment adopts the mechanism of multi-process, processing stage by stage to carry out transaction processing.As shown in Figure 2, financial transaction disposal system comprises that payment terminal receives parsing module 220, payment terminal assembling sends assembling sending module 250, upstream, 230, upstream and receives parsing module 240 and transaction exception processing unit 260 and transaction processing center (not shown in Fig. 2) basically, in this example, transaction processing center is divided into the modules such as financial class trade processing module 211, payment terminal administrative class trade processing module 212He upstream administrative class trade processing module 213 by function.Payment terminal receives parsing module 220 for receive and resolve external data (being message) from payment terminal, transaction processing center is used for carrying out transaction request processing or transaction reply process, assembling sending module 250 in upstream is sent to up-stream system for the assembling of internal data (being message), upstream receives parsing module 240 for receive and resolve external data (being message) from up-stream system, and payment terminal assembling sends 230 for outside payment terminal is assembled and be sent to internal data (being message).Transaction exception processing unit 260 carries out abnormality processing for concentrating, and the abnormal and relevant information (for example error message) that modules is sent in carrying out each process is all sent to transaction exception processing unit 260.Financial transaction disposal system 200 for multi-process, treatment by stages mechanism; its abnormal stage position occurring is many, as shown in Figure 2, all can occur abnormal or make mistakes in modules; the stage that is reflected in transaction is upper, and it is abnormal that transaction all can occur each transactional stage.
Typically, the financial class transaction processing flow process of the financial transaction disposal system shown in Fig. 2 comprises: receive, resolve the transaction message of sending in the payment terminal in downstream; Transaction request is processed (for example, it comprises inspection message validity, increases key message, records Transaction Information to database); On send transaction message to up-stream system; Receive and resolve replying that up-stream system gives; Transaction reply process (for example, it comprises inspection message validity, more new transaction information arrives database, increases key message); Giving payment terminal replys.Similarly multistage transaction processing flow process can be divided according to step function.Therefore,, according to abnormal the occurred stage position of transaction, can correspondence go out its residing transactional stage information.
Meanwhile, according to the difference of transaction processing flow process, can carry out category division or definition to transaction.In this article, it will be appreciated that, transaction classification is the Range Representation to transaction, and type of transaction is individual expression, each transaction classification can comprise the transaction of number of different types: for example, consumption is that a kind of type of transaction, inquiry into balance are also a kind of types of transaction, and both belong to a transaction classification (C classification as described below).According to the Multiprocessing feature of financial transaction disposal system 200, the transaction processing process features according to abnormal corresponding process, draws the abnormal corresponding transaction classification of this transaction equally.In this embodiment, transaction classification can be, but not limited to be divided into following classification:
Category-A is other: from payment terminal to financial transaction disposal system, after transaction processing, return to payment terminal and reply; Wherein, corresponding log recording is terminal management log sheet; This transaction classification is that two sides between payment terminal and financial transaction disposal system are mutual, is a half-turn transaction;
Category-B is other: from payment terminal to financial transaction disposal system, return to payment terminal and reply, also will in transaction, deliver to up-stream system, then accept replying from up-stream system simultaneously; Wherein, corresponding daily record is transaction log table; This transaction classification is the tripartite transaction between payment terminal, financial transaction disposal system and up-stream system, is two half-turn transaction;
C classification: from payment terminal to financial transaction disposal system, transaction (request) will be delivered to up-stream system after processing in transaction, replying of up-stream system to be received, after transaction (replying) processing, returns to payment terminal and replys; Wherein, corresponding daily record is transaction log table; This transaction classification is the tripartite transaction between payment terminal, financial transaction disposal system and up-stream system, is a great circle transaction;
D classification: from up-stream system to financial transaction disposal system, after transaction processing, return to up-stream system and reply; Wherein, corresponding daily record is upstream management log sheet.This transaction classification is that two sides between financial transaction disposal system and up-stream system are mutual, is a half-turn transaction.
Wherein, category-A is concluded the business also referred to as payment terminal administrative class not conventionally, in the payment terminal administrative class trade processing module 212 of its transaction processing in Fig. 2, complete, D classification also referred to as the transaction of upstream administrative class, completes in its transaction processing Tu2Zhong upstream administrative class trade processing module 213 conventionally.
It will be appreciated that, transaction classification is divided based on transaction processing flow process, and type of transaction refers to and divides according to the function of transaction, for example, and the types of transaction such as consumption, inquiry into balance.Every group of corresponding transaction classification of type of transaction can be carried out predefine in financial transaction disposal system.
The state of transaction processing includes but not limited to as replying that the failure of request, successful respond, the successful respond of unsuccessfully replying, postponing, delay is replied, repeated.According to the state in abnormal occurred stage of transaction, can corresponding draw this abnormal corresponding stateful transaction.
Continue as shown in Figure 2, multi-process, stage by stage mechanism financial transaction disposal system in, although each transaction is abnormal while occurring respectively corresponding transactional stage, transaction classification, stateful transaction may be different, but, applicant's discovery, under different situations, the kind of abnormality processing flow process is with respect to less, normally, in the abnormality processing flow process that abnormality processing module is done, roughly can be categorized as abstractively three kinds of remedial actions:
The first is: revise or record the relevant daily record data of makeing mistakes and concluding the business;
The second is: generate, send refusal message to payment terminal;
The third is: generate, send and rush positive message to up-stream system.
Wherein, every kind of remedial action can be realized corresponding abnormality processing function.
Figure 3 shows that the modular structure schematic diagram of the transaction exception processing unit in financial transaction disposal system embodiment illustrated in fig. 2.In following examples, the transaction classification of C classification of take is example, in conjunction with Fig. 2 and Fig. 3, the transaction abnormality eliminating method in the financial transaction disposal system shown in Fig. 2 is described.
Primarily, transaction is abnormal while occurring, according to the abnormal residing transactional stage, stateful transaction and the transaction classification that occur in the transaction of financial transaction disposal system, in error message, shine upon corresponding abnormality processing process identification.This step completes by the map unit 261 of transaction exception processing unit 260.
In this embodiment, in financial transaction disposal system, can set in advance database 270, database 270 comprises transaction processing table and abnormality processing flow process mapping table.Corresponding each transaction processing flow process can generate error message according to the transaction processing table in database and mapping flow process table in financial transaction disposal system.Table one is depicted as the definition mode of transaction processing table, and table two is the definition mode of abnormality processing flow process mapping table.
Table one transaction processing table
Field name Field type Value explanation
Transaction processing ID Integer Every kind of type of transaction has a unique corresponding transaction processing ID with it
Transaction processing is described Character string In order to describe title of current transaction etc.
Transaction classification Character string Transaction classification (for example C classification) in financial transaction disposal system under during transaction processing
…… …… ……
Abnormal mapping code Integer In order to identify abnormality processing code corresponding to this transaction processing, it at least generates according to processing classification, adds phase identification, stateful transaction while makeing mistakes, in order to search the abnormality processing flow process ID of corresponding transaction
…… …… ……
As shown in Table 1, extremely shining upon code book body is that condition generates according to transaction classification; Map unit 261 can be when concluding the business generation extremely, and according to the transaction processing table of database 260, mapping generates and comprises that transaction processing identifies the error message of (ID), transaction processing description, the classification of concluding the business and abnormal mapping yard institute's corresponding field.
Table two abnormality processing flow process mapping table
Field name Field type Value explanation
Abnormal mapping code Integer The abnormal mapping code of transaction processing table
Phase identification Character string While makeing mistakes (extremely), transaction processing stage
Stateful transaction Character string While makeing mistakes (extremely), the state of transaction
Abnormality processing flow process ID Character string The abnormality processing process identification of correspondence under precondition
…… …… ……
As shown in Table 2, map unit 261 can be when the abnormal generation of transaction, according to the abnormality processing flow process mapping table of database 260, error message further shines upon and generates the error message that comprises abnormal mapping code, stage sign, stateful transaction, abnormality processing flow process ID institute corresponding field, thereby mapping has generated corresponding abnormality processing process identification.
Wherein, the abnormal mapping code in table two can be searched according to current abnormal transaction processing ID in transaction processing table.Abnormal mapping yard is to generate according to processing classification above, therefore, for generic transaction, because treatment scheme is same or similar, can the identical abnormal mapping yard of corresponding configuration in transaction processing table or abnormality processing flow process mapping table.
For the phase identification in abnormality processing flow process mapping table, in this embodiment, take C classification as example, conclude the business and be roughly divided into following several stages: terminal reception and parsing à transaction (request) are processed à upstream and assembled the reception of transmission à upstream and resolve à transaction (replying) processing à terminal and assemble and transmission.And according to whether having recorded in each stage or having upgraded this transaction log, phase identification is defined as: PB(terminal receives and resolves), TXN1(transaction processing, before log), TXN2(transaction processing, after log), the assembling of CT(upstream and transmission), CB(terminal receives and resolves), the assembling of PT1(upstream and transmission, before log), PT2(upstream assembling and sending, after log) etc. (wherein, transactional stage corresponding to this phase identification character string of content representation in the bracket after phase identification).The processing of financial transaction disposal system is overtime, transaction also can correspondingly be defined corresponding particular stage by other particular stages such as upstream refusals and identify.Therefore, phase identification can indicate the Error Location of transaction flow, and stage sign can obtain by calling exception stream journey function parameter.It will be appreciated that, the phase identification definition mode of C class transaction classification is not limited to above embodiment; For various types of other transaction, those skilled in the art, can be according to above instruction or enlightenment, and each stage of transaction is defined or divided, and to facilitate the abnormal residing phase identification of each classification of definition, therefore, this is no longer going to repeat them.
For the stateful transaction in abnormality processing flow process mapping table, in this embodiment, can identify respectively following treatment state by kinds of characters string: what the failure of request, successful respond, the successful respond of unsuccessfully replying, postponing, delay was replied, repeated replys.According to the treatment state in abnormal occurred stage of transaction, can corresponding draw this abnormal corresponding stateful transaction.
The character string that abnormality processing flow process ID is corresponding can obtain by the key word mapping of abnormal mapping code, phase identification, stateful transaction, like this, the corresponding abnormality processing process identification of each stage that occurs in financial transaction disposal system in each process can be determined.
Further, based on this abnormality processing process identification, obtain corresponding abnormality processing flow process.This step coordinates the database 270 of financial transaction processing system to complete by the abnormality processing flow process acquiring unit 262 of transaction exception processing unit 260.The abnormality processing flow process that identical abnormality processing process identification is corresponding identical, particularly, can preferably form by the following method for the formation of abnormality processing flow process.
Three kinds of remedial actions doing according to the abnormality processing taking out above, and the factors such as Log Types difference that record in conjunction with Mei Lei exchange, be divided into separately independently functional node by each function in abnormality processing.Wherein, can be according to the function defined function node of remedial action.Each abnormality processing flow process ID can be used corresponding one or more functional nodes according to the needs of processing by the mode of parameter configuration, forms an abnormality processing flow process that can realize required target.Particularly, for example, for each predefined abnormality processing flow process, all in the database of financial transaction disposal system by the mode of parameter configuration, configure the functional node that it need to be carried out in a certain order, when abnormality processing service unit finds after the abnormality processing flow process of certain abnormality processing flow process ID, will carry out successively each functional node to carry out this abnormality processing flow process according to this order.This method mechanism is flexible, greatly facilitates change and the expansion of abnormality processing flow process.The difference of the abnormal corresponding transaction classification of concluding the business, the functional node being defined is not identical yet; Transaction extremely every kind of transaction in classification the residing stage different, the functional node of selection may be not identical and causes its corresponding abnormality processing flow process may be not identical.
The every kind of abnormality processing flow process forming for a plurality of functional nodes, can identify by a string name, thereby by abnormality processing process identification, obtains easily abnormality processing flow process.
Further, in abnormality processing service unit, intensively carry out each abnormal corresponding abnormality processing flow process.By abnormality processing flow process is intensively carried out in abnormality processing service unit 263, can make the related service modules such as transaction processing center in financial transaction disposal system not need it to carry out abnormality processing when generation is abnormal, abnormality processing is given independently abnormality processing service unit 263 and is carried out, therefore, transaction processing center can continue to process next affairs, has guaranteed that pipelining processing is not because of abnormal its processing speed that slows down.
Above disposal route process can further illustrate by following concrete example particularly.
Figure 4 shows that the transaction abnormality eliminating method schematic flow sheet according to the financial transaction disposal system of the present invention's one example.Below in conjunction with Fig. 4 and Fig. 3, describe.
First, step S410, checks whether abnormality processing sign is secondary treating.In this embodiment, when generation transaction is abnormal, in error message, generate abnormality processing sign, after transaction abnormality processing finishes, the assignment of abnormality processing sign can be changed, thereby can, by checking abnormality processing sign judges whether this abnormality processing has been performed processing, that is to say that no is secondary treating.By this step 410, can prevent exception processing unit 260 circular treatment error messages.
Further, step S420, judges whether successfully to obtain error message code.If do not obtained error message code in error message, enter step S490, write error log sheet (i.e. record or renewal transaction log); If obtained error message code in error message, enter step S430.
Further, step S430, judges whether successfully to obtain phase identification.If error message does not successfully obtain phase identification, enter step S490, write error log sheet (i.e. record or renewal transaction log); If obtained phase identification in error message, enter step S440.
Further, step S440, judges whether successfully to obtain treatment state.If error message does not successfully obtain treatment state, enter step S490, write error log sheet (i.e. record or renewal transaction log); If obtained treatment state in error message, enter step S450.
Further, step S450, judges whether successfully to produce abnormal mapping code.If error message does not successfully obtain abnormal mapping code, enter step S490, write error log sheet (i.e. record or renewal transaction log); If obtained abnormal mapping code in error message, entered step S460.
Further, step S460, shines upon corresponding abnormality processing process identification.According to phase identification, treatment state, the corresponding critical field of abnormal mapping code, mapping generates abnormality processing flow process ID.
Further, step S470, judges whether successfully to obtain abnormality processing flow process.In this step, the abnormality processing flow process ID according in error message, obtains abnormality processing flow process by abnormality processing flow process acquiring unit 262, and abnormality processing flow process can be by obtaining in database 270.Particularly, in obtaining abnormality processing flowchart process, by selecting one or more functional nodes to form corresponding abnormality processing flow process.If error message does not successfully obtain abnormality processing flow process, enter step S490, write error log sheet (i.e. record or renewal transaction log); If obtained abnormality processing flow process in error message, enter step S480.
Further, step S480, abnormality processing service unit is carried out corresponding abnormality processing flow process.It will be appreciated that, abnormality processing service unit can be carried out a plurality of abnormality processing flow processs simultaneously.If process unsuccessfully, similarly, enter step S490; If processed successfully, exception handling procedure finishes.
It will be appreciated that, the ordinal relation between above step S430, S440, S450 three is not limited by embodiment as shown in Figure 4, and the ordinal relation between these three steps can arbitrarily change according to specific needs.
Figure 5 shows that according to the abnormality processing of the transaction abnormality eliminating method of one embodiment of the invention and analyze schematic diagram.In this is implemented, the transaction of C classification of take is example, and wherein, the transaction flow in financial transaction disposal system illustrates with modular form, and as shown in the figure, transaction flow comprises:
Terminal receives, resolves: receive, resolve the transaction message of sending in the payment terminal in downstream, comprising Data Analysis action (1.5), according to Data Analysis action, divide, this flow process can be divided into step 1 and step 2;
Transaction request is processed: mainly comprise and record Transaction Information to database movement (1.5 recording transaction data), according to this operation of recording, divide, this flow process can be divided into step 3 and step 4;
Upstream assembling, transmission: above send transaction message to up-stream system, this flow process is also divided into step 5 and 6;
Upstream receives, resolves: receive and resolve replying that up-stream system gives, comprising Data Analysis action (7.5), according to Data Analysis action, divide, this flow process can be divided into step 7 and step 8;
Transaction reply process: mainly comprise that more new transaction information is to database movement (9.5 upgrade transaction data), according to this more new element division, this flow process can be divided into step 9 and step 10;
Terminal assembling, transmission: this flow process gives terminal responds, and it is also divided into step 11 and 12.
In the process of exchange shown in Fig. 5, when each step or action make mistakes, as shown in chart three, correspondingly carry out following abnormality processing flow process.
The corresponding explanation of abnormality processing flow process shown in table three Fig. 5
The abnormality processing flow process of step 2 of take is example, it comprises " recording transaction log " and " transmission rejects response " two functional nodes, the abnormality processing flow process of step 4 of take is example, and it comprises " renewal transaction log ", " upgrading other relationship trading states ", " transmission rejects response " three functional nodes.Extremely on stream the residing stage more backward, is selected more functional node relatively, forms existing to more complicated transaction processing flow process.
To sum up, the abnormality processing flow process centralization in financial transaction disposal system is processed, avoided each stage/process all will realize separately the shortcoming of abnormality processing separately, reduced the complicacy that post-processed process exception is processed.And when generation is abnormal, related service (for example transaction processing center) is not to extremely processing, but process extremely giving independent exception processing unit, then process next affairs, such design has guaranteed that streamline does not slow down its processing speed extremely because processing.In addition, centralized processing greatly facilitates increase, the change of abnormality processing flow process, and the change of abnormality processing flow process and expansion only need realize in exception processing unit, thereby has improved the maintainability of financial transaction disposal system.
Further, in this exception handling, according to transactional stage, stateful transaction and transaction classification, can accurately provide corresponding abnormality processing flow process, this exception handling " type of transaction is weak relevant ", " processing procedure strong correlation ", have extendability.
Also it will be appreciated that, although in above example, only take C classification transaction (belonging to financial class transaction processing) extremely as example has been described in detail, but, those skilled in the art are according to above instruction and enlightenment, can extremely carry out the abnormality processing of basic identical mode to the transaction of other classifications, the exception processing unit of concluding the business of for example, extremely all can transfer in, terminal management class transaction processing and/or upstream administrative class transaction processing is similarly processed (as shown in Figure 2).Therefore, this transaction abnormality eliminating method is applied widely.
Although only some of them embodiments of the present invention are described above, those of ordinary skills should understand, and the present invention can be within not departing from its purport and scope implements with many other forms.Therefore, the example of showing and embodiment are regarded as illustrative and not restrictive, and in the situation that not departing from spirit of the present invention as defined in appended each claim and scope, the present invention may be contained various modifications and replacement.

Claims (13)

1. a transaction abnormality eliminating method for financial transaction disposal system, is characterized in that, comprises the following steps:
According to the abnormal residing transactional stage, stateful transaction and the transaction classification that occur in the transaction of financial transaction disposal system, in error message, shine upon corresponding abnormality processing process identification;
Based on this abnormality processing process identification, obtain corresponding abnormality processing flow process; And
Intensively carry out each abnormal corresponding abnormality processing flow process.
2. the method for claim 1, is characterized in that, described abnormality processing flow process is comprised of one or more functional nodes of abnormality processing, and wherein, described functional node defines according to the function of abnormality processing.
3. method as claimed in claim 2, is characterized in that, described abnormality processing flow process is called one or more functional nodes to obtain corresponding abnormality processing flow process by the mode of parameter configuration.
4. the method for claim 1, is characterized in that, generates abnormality processing sign in described error message, by described abnormality processing sign, judges whether described error message to carry out abnormality processing.
5. the method for claim 1, is characterized in that, before described mapping abnormality processing process identification, also comprises step:
Judge whether described error message successfully obtains error message code, if successfully do not obtained, write error log sheet.
6. the method for claim 1, is characterized in that, if obtain corresponding abnormality processing flow process failure, write error log sheet.
7. the method as described in claim 1 or 4 or 5 or 6, is characterized in that, if carry out described abnormality processing flow process failure, write error log sheet.
8. the method for claim 1, is characterized in that, described error message generates according to the transaction processing table in the database in described financial transaction disposal system and the mapping of abnormality processing flow process mapping table.
9. method as claimed in claim 8, is characterized in that, at least comprises transaction processing sign, transaction processing description, transaction classification and abnormal mapping code in described transaction processing table, the described abnormal mapping yard described transaction classification information of reflection.
10. method as claimed in claim 8, is characterized in that, at least comprises abnormal mapping code, phase identification, stateful transaction and abnormality processing process identification in described abnormality processing flow process mapping table; The described transaction classification information of described abnormal mapping code reflection, the abnormal residing transactional stage of described phase identification reflection, described abnormality processing process identification at least generates based on described abnormal mapping code, phase identification, stateful transaction.
The transaction exception processing unit of 11. 1 kinds of financial transaction disposal systems, is characterized in that, comprising:
Map unit, it,, for according to the abnormal residing transactional stage, stateful transaction and the transaction classification that occur in the transaction of financial transaction disposal system, shines upon corresponding abnormality processing process identification in error message;
Abnormality processing flow process acquiring unit, obtains corresponding abnormality processing flow process based on this abnormality processing process identification;
Abnormality processing service unit, for intensively carrying out each abnormal corresponding abnormality processing flow process.
12. transaction exception processing units as claimed in claim 11, it is characterized in that, described financial transaction disposal system comprises transaction processing center, described transaction processing center is used for multi-process, processes various transaction by stages, and the error message that described transaction processing center produces is sent to described transaction exception processing unit and intensively processes.
13. transaction exception processing units as claimed in claim 12, is characterized in that, described financial transaction disposal system also comprises that payment terminal receives parsing module, payment terminal assembling transmission, upstream assembling sending module and upstream and receives parsing module.
CN201210214715.8A 2012-06-27 2012-06-27 Transaction abnormity processing unit of financial transaction processing system and method thereof Pending CN103514565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210214715.8A CN103514565A (en) 2012-06-27 2012-06-27 Transaction abnormity processing unit of financial transaction processing system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210214715.8A CN103514565A (en) 2012-06-27 2012-06-27 Transaction abnormity processing unit of financial transaction processing system and method thereof

Publications (1)

Publication Number Publication Date
CN103514565A true CN103514565A (en) 2014-01-15

Family

ID=49897246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210214715.8A Pending CN103514565A (en) 2012-06-27 2012-06-27 Transaction abnormity processing unit of financial transaction processing system and method thereof

Country Status (1)

Country Link
CN (1) CN103514565A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182683A (en) * 2014-07-30 2014-12-03 中国工商银行股份有限公司 Method, device and system for monitoring online transactions
CN105184630A (en) * 2015-08-28 2015-12-23 王子瑜 Transaction flow legality detection method and system
CN105447742A (en) * 2015-12-14 2016-03-30 中国农业银行股份有限公司 Business exception handling method and transaction system
CN105447757A (en) * 2015-11-20 2016-03-30 中国建设银行股份有限公司 Method and system for keeping consistency of transaction information
CN106600402A (en) * 2016-11-02 2017-04-26 上海成括信息科技有限公司 Improvement on unusual transaction risk monitoring system based on cases published by exchanges
WO2017157163A1 (en) * 2016-03-15 2017-09-21 阿里巴巴集团控股有限公司 Transaction data processing method and device
CN109035013A (en) * 2017-06-12 2018-12-18 高丽大学校产学协力团 Detect the device and method and computer readable storage medium of abnormal financial transaction
CN109146087A (en) * 2017-06-27 2019-01-04 许继集团有限公司 A kind of electric car charging exception transaction processing method and the operation platform that charges
CN109493230A (en) * 2018-12-28 2019-03-19 中国银行股份有限公司 A kind of amended record method and device of unilateral transaction
CN110033280A (en) * 2019-03-08 2019-07-19 阿里巴巴集团控股有限公司 Pay anti-fluttering method and device
CN110784339A (en) * 2019-10-09 2020-02-11 杭州迪普科技股份有限公司 LACP message overtime fault detection method and device, and electronic equipment
CN111861696A (en) * 2020-06-30 2020-10-30 银盛支付服务股份有限公司 Method and system for processing abnormal data of distributed clearing service
CN112036754A (en) * 2020-06-30 2020-12-04 南昌木本医疗科技有限公司 Financial big data wind control platform based on block chain
CN112214522A (en) * 2020-09-25 2021-01-12 桦蓥(上海)信息科技有限责任公司 Financial transaction data abnormal factor screening method based on dual-target projection
CN112463546A (en) * 2021-01-25 2021-03-09 北京天健源达科技股份有限公司 Processing method of abnormal log table
CN112801666A (en) * 2021-03-30 2021-05-14 北京宇信科技集团股份有限公司 Monitoring management method, system, medium and equipment based on enterprise service bus
CN113010398A (en) * 2021-03-18 2021-06-22 建信金融科技有限责任公司 Service log model, service execution method, device, electronic equipment and medium
CN113643112A (en) * 2021-07-23 2021-11-12 山东浪潮通软信息科技有限公司 Method and device for judging financial transaction state
CN113822762A (en) * 2021-09-29 2021-12-21 上海通联金融服务有限公司 Method for triggering failure transaction short message in financial transaction authorization process

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6126222A (en) * 1998-05-06 2000-10-03 Ford Global Technologies, Inc. Liftgate assembly
WO2001084779A2 (en) * 2000-04-27 2001-11-08 Soft Tracks Enterprises Ltd. Remote point of sale system
US20080141066A1 (en) * 2004-05-21 2008-06-12 Eric Wood Method and system for intelligent and adaptive exception handling
CN102045682A (en) * 2009-10-19 2011-05-04 中兴通讯股份有限公司 Method and system for handling abnormal transactions of payment services

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6126222A (en) * 1998-05-06 2000-10-03 Ford Global Technologies, Inc. Liftgate assembly
WO2001084779A2 (en) * 2000-04-27 2001-11-08 Soft Tracks Enterprises Ltd. Remote point of sale system
US20080141066A1 (en) * 2004-05-21 2008-06-12 Eric Wood Method and system for intelligent and adaptive exception handling
CN102045682A (en) * 2009-10-19 2011-05-04 中兴通讯股份有限公司 Method and system for handling abnormal transactions of payment services

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182683A (en) * 2014-07-30 2014-12-03 中国工商银行股份有限公司 Method, device and system for monitoring online transactions
CN104182683B (en) * 2014-07-30 2017-10-13 中国工商银行股份有限公司 A kind of monitoring method of online transaction, apparatus and system
CN105184630A (en) * 2015-08-28 2015-12-23 王子瑜 Transaction flow legality detection method and system
CN105447757A (en) * 2015-11-20 2016-03-30 中国建设银行股份有限公司 Method and system for keeping consistency of transaction information
CN105447742A (en) * 2015-12-14 2016-03-30 中国农业银行股份有限公司 Business exception handling method and transaction system
WO2017157163A1 (en) * 2016-03-15 2017-09-21 阿里巴巴集团控股有限公司 Transaction data processing method and device
CN106600402A (en) * 2016-11-02 2017-04-26 上海成括信息科技有限公司 Improvement on unusual transaction risk monitoring system based on cases published by exchanges
CN106600402B (en) * 2016-11-02 2022-02-22 上海金仕达成括信息科技有限公司 Abnormal transaction risk monitoring system based on improved case published by exchange
CN109035013A (en) * 2017-06-12 2018-12-18 高丽大学校产学协力团 Detect the device and method and computer readable storage medium of abnormal financial transaction
CN109035013B (en) * 2017-06-12 2022-05-17 高丽大学校产学协力团 Apparatus and method for detecting abnormal financial transaction and computer readable storage medium
CN109146087A (en) * 2017-06-27 2019-01-04 许继集团有限公司 A kind of electric car charging exception transaction processing method and the operation platform that charges
CN109146087B (en) * 2017-06-27 2022-02-18 许继集团有限公司 Electric vehicle charging abnormal transaction processing method and charging operation platform
CN109493230A (en) * 2018-12-28 2019-03-19 中国银行股份有限公司 A kind of amended record method and device of unilateral transaction
WO2020181936A1 (en) * 2019-03-08 2020-09-17 阿里巴巴集团控股有限公司 Payment anti-shake method and device
TWI771616B (en) * 2019-03-08 2022-07-21 開曼群島商創新先進技術有限公司 Payment anti-shake method and device
CN110033280A (en) * 2019-03-08 2019-07-19 阿里巴巴集团控股有限公司 Pay anti-fluttering method and device
CN110784339A (en) * 2019-10-09 2020-02-11 杭州迪普科技股份有限公司 LACP message overtime fault detection method and device, and electronic equipment
US11310139B2 (en) 2019-10-09 2022-04-19 Hangzhou Dptech Technologies Co., Ltd. Fault detection for LACP packet timeout
CN112036754A (en) * 2020-06-30 2020-12-04 南昌木本医疗科技有限公司 Financial big data wind control platform based on block chain
CN111861696A (en) * 2020-06-30 2020-10-30 银盛支付服务股份有限公司 Method and system for processing abnormal data of distributed clearing service
CN112036754B (en) * 2020-06-30 2022-09-16 上海即科智能技术集团有限公司 Financial big data wind control system based on block chain
CN112214522A (en) * 2020-09-25 2021-01-12 桦蓥(上海)信息科技有限责任公司 Financial transaction data abnormal factor screening method based on dual-target projection
CN112463546B (en) * 2021-01-25 2021-04-27 北京天健源达科技股份有限公司 Processing method of abnormal log table
CN112463546A (en) * 2021-01-25 2021-03-09 北京天健源达科技股份有限公司 Processing method of abnormal log table
CN113010398A (en) * 2021-03-18 2021-06-22 建信金融科技有限责任公司 Service log model, service execution method, device, electronic equipment and medium
CN112801666A (en) * 2021-03-30 2021-05-14 北京宇信科技集团股份有限公司 Monitoring management method, system, medium and equipment based on enterprise service bus
CN113643112A (en) * 2021-07-23 2021-11-12 山东浪潮通软信息科技有限公司 Method and device for judging financial transaction state
CN113822762A (en) * 2021-09-29 2021-12-21 上海通联金融服务有限公司 Method for triggering failure transaction short message in financial transaction authorization process

Similar Documents

Publication Publication Date Title
CN103514565A (en) Transaction abnormity processing unit of financial transaction processing system and method thereof
CN110297766A (en) Method for testing software and software testing system based on distributed test node cluster
US7275684B2 (en) Method and system for consolidating cash letters
CN101625686B (en) A kind of method and system of monitoring data consistency between plurality of databases
US20070063016A1 (en) System and method for cash management in a commercial and retail environment
CN105761139A (en) Account checking system and method
CN105556552A (en) Fraud detection and analysis
CN101197722A (en) Multi-system error code management method, device and system
US20060259423A1 (en) Centralized payment processing system
CN109962949A (en) A kind of delivery method and terminal of short message
CN101188617A (en) A flow service registration and discovery method
CN109725953A (en) A kind of data interconnection method and system based on Java reflection technology
CN110046201A (en) The method, apparatus and system of general ledger subject data for processing business transaction
CN107273192A (en) A kind of propulsion method of product trading, server and system
CN208188897U (en) A kind of Work attendance device and attendance checking system
CN101650650B (en) Realization method of application system
CN110910106B (en) Cash management message processing method and system
Seth et al. Delivery of social welfare entitlements in india: Unpacking exclusion, grievance redress, and the role of civil society organisations
WO2021181357A1 (en) System and method for post-dispatched return to origin prediction of a package in logistics
CN111461847A (en) Method for solving SAP universal service customization
CN112737952B (en) FPGA service application layer information routing model and monitoring platform thereof
CN111160999B (en) Bill collaborative management method and system
US20110060668A1 (en) System and method for generating a combined statement
CN202600772U (en) Internet banking payment business service supporting, calling and monitoring system
CN111192095B (en) Multi-time electronic invoice issuing method and system

Legal Events

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

Application publication date: 20140115

RJ01 Rejection of invention patent application after publication