CN104732438A - Transaction reversing method and transaction processing system - Google Patents

Transaction reversing method and transaction processing system Download PDF

Info

Publication number
CN104732438A
CN104732438A CN201310714904.6A CN201310714904A CN104732438A CN 104732438 A CN104732438 A CN 104732438A CN 201310714904 A CN201310714904 A CN 201310714904A CN 104732438 A CN104732438 A CN 104732438A
Authority
CN
China
Prior art keywords
message
transaction
built
rushing
domain name
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
CN201310714904.6A
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 CN201310714904.6A priority Critical patent/CN104732438A/en
Publication of CN104732438A publication Critical patent/CN104732438A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

The invention discloses a transaction reversing method and a transaction processing system. The method comprises the steps that internal messages are maintained in the transaction processing system; when reversing is needed, a reversing message is generated on the basis of the internal messages and is sent to an external system for reversing.

Description

Correction method and transaction processing system are rushed in a kind of transaction
Technical field
The present invention relates to electronic banking field, and particularly relate to a kind of transaction and rush correction method and transaction processing system.
Background technology
When transactional operation is carried out in electronic banking field, when occur for transaction request response message time-out or other reason cause the uncertain situation of stateful transaction, need to send to transaction request take over party to rush positive message to cancel original transaction request.Here, punching aligns the undo of transaction just.Such as, when terminal carries out withdrawing the money transaction, if the withdrawal request being sent to background system does not meet with a response, then need to send for original withdrawal request to rush positive message to cancel the flowing water of this transaction, thus avoid the situation that occurs that between multiple financial sector, stateful transaction record is inconsistent.
Scene description in Fig. 1 relates to the transaction that writes off of transaction initiation system, background system A, background system B tripartite.The transaction that writes off is carried out according to the order gone out as shown by the arrow, after centring system sends message 4, if do not receive response message 5, then need to initiate failure handling flow process for the transaction that writes off: send answer failed message 6 to transaction initiation system, then background system B is sent and rush positive message 7, just replying 8 decisions according to punching and whether rushing positive message 9 to background system A transmission.Positive situation is rushed for above-mentioned scene and other, first prior art carries out kind division to all kinds of transaction, design according to the quantity of the feature of transaction flow and association background system and different rush positive mode, then organize according to the type of message of external system and different rush positive message.But, along with the increase of type of transaction and the increase of background system access number, the exploitation of this punching positive mechanism meeting at substantial, test resource, and bring follow-up maintenance problem.On the other hand, also transaction processing system process will to be caused to rush forward efficiency low for the scheme of prior art.
Summary of the invention
According to one object of the present invention, correction method is rushed in open a kind of transaction, comprising:
Maintain internal message in transaction processing system,
When needs carry out rushing timing, generate based on built-in message and rush positive message,
Externally system sends and rushes positive message and carry out just rushing.
Alternatively, the message format template be mapped to by built-in message corresponding to external system obtains rushing positive message.
Alternatively, described built-in message has unified representation formats, the key element that unified performance transaction is necessary.
Alternatively, described built-in message forms by domain name with corresponding to the thresholding of domain name.
Alternatively, along with the carrying out of transaction processing, the domain name of maintain internal message and thresholding.
Alternatively, first request message received by described transaction processing system is as initial internal message.
Alternatively, described built-in message is the multiple built-in messages corresponding to a transaction, and the plurality of built-in message associates with the transaction major key of this transaction,
When needs carry out rushing timing, carry out just rushing according to the order of described multiple built-in message.
According to one object of the present invention, disclose a kind of transaction processing system, comprising:
First module, for maintain internal message,
Second unit, for carrying out rushing timing when needs, generating based on built-in message and rushing positive message,
Unit the 3rd, sends for externally system and rushes positive message and carry out just rushing.
Advantage of the present invention comprises and shields transaction participant number to rush the impact just produced, the follow-up what's new of the system that further reduces on system development and testing workload on the impact of the positive mechanism of system punching, the difference that decreases counterparty's type of message.
Accompanying drawing explanation
After having read the specific embodiment of the present invention with reference to accompanying drawing, those skilled in the art will become apparent various aspects of the present invention.One skilled in the art will appreciate that these accompanying drawings only for coordinating embodiment that technical scheme of the present invention is described, and and be not intended to be construed as limiting protection scope of the present invention.
Fig. 1 describes the schematic diagram of scene of the transaction that writes off relating to transaction initiation system, background system A, background system B tripartite.
Fig. 2 concludes the business to rush the schematic flow sheet of correction method according to an embodiment of the invention.
Fig. 3 is the illustrative diagram of built-in message composition according to an embodiment of the invention.
To be that the message format template of external system is according to an embodiment of the invention corresponding with the territory of built-in message illustrate Fig. 4.
Fig. 5 is that the territory according to an embodiment of the invention thresholding in built-in message territory being mapped to the message of corresponding external system forms the illustrative diagram of rushing positive message.
Fig. 6 is the structural representation of the transaction processing system according to one embodiment of the invention.
Embodiment
With reference to the accompanying drawings, the specific embodiment of the present invention is described in further detail.In the following description, in order to the object explained, state many details to provide the thorough understanding of the one or more aspects to embodiment.But, can it is evident that for those skilled in the art, the less degree of these details can come one or more aspects of practicing various embodiments.Therefore the description below is not regarded as circumscribed, but limits protection domain by claims.
Fig. 2 concludes the business to rush the schematic flow sheet of correction method according to an embodiment of the invention.As shown in the figure, the method according to this embodiment comprises: maintain internal message in transaction processing system, and when needs carry out rushing timing, generate based on built-in message and rush positive message, externally system sends and rushes positive message and carry out just rushing.Built-in message can have unified representation formats, the key element that unified performance transaction is necessary, shields with this otherness that different external system brings.
In various embodiments of the present invention, built-in message can form by domain name with corresponding to the thresholding of domain name, and the message form namely by " domain name-thresholding " realizes unified expression.As shown in Figure 3, wherein " TranSeq(serial number) ", " TermId(terminal number) ", " the Amt(amount of money) " be domain name, the attribute of its corresponding process of exchange, " 071165 ", " 85011123 ", " 10000 " they are the thresholdings corresponding to domain name.Along with the carrying out of transaction processing, the domain name of maintain internal message and thresholding, such as, can revise original thresholding or add new domain name and thresholding.Except above-mentioned business information, the domain name of built-in message also can comprise DestSvc(destination service) etc. technical information.
In various embodiments of the present invention, first request message that described transaction processing system can be received is as initial internal message.
In another embodiment, described built-in message is the multiple built-in messages corresponding to a transaction, and the plurality of built-in message associates with the transaction major key of this transaction, when needs carry out rushing timing, carries out just rushing according to the order of described multiple built-in message.
As the example of above-described embodiment, the multiple needs that can produce in processing procedure for a transaction rushes positive message, preserve the plurality of needs and rush positive message, such as, before each externally system transmission of transaction processing system may have the message rushing positive demand, preserve built-in message content now.Alternatively, sequence number can also be used to identify the order of message in whole transaction of preservation.Business, technical information that built-in message content is all under comprising this stateful transaction.Following table 1 shows an example of the content of the built-in message of preservation.
 
Table 1
As shown in table 1, in this example embodiment, the current internal message content of transaction, before transmission is just concluded the business, is done serializing and preserves by transaction processing system, and LSN and corresponding transaction major key information (transaction journal).The medium preserved can be database or internal memory.
For above-mentioned example, when punching is just triggered, obtained the built-in message content (sequence number 3) of nearest serializing at storage medium by transaction major key 1100069363, and after being done unserializing, obtain the built-in message content that sends when just concluding the business, then obtain rushing positive message according to the message format template of external system.
In another embodiment, the message format template be mapped to by built-in message corresponding to external system obtains rushing positive message.Here, message format template is configurable, in other words, can configure different message format templates according to the specific dynamic of external system.Fig. 4 illustrates the example of the message format template of configuring external system.Fig. 4 illustrates the corresponding relation in territory in 8583 message formats that electronic banking field is common and built-in message territory, such as, by corresponding for the 4th territory of the Amt territory of built-in message and 8583 messages.Be appreciated that the carrying out along with transaction, can by more outside message territory and built-in message territory correspondence.Thus, when in the end positive message is rushed in formation, can the thresholding in built-in message territory be mapped in the territory of the message of corresponding external system, as shown in Figure 5.By this process, the efficiency that transaction processing system and multiple external system carry out message interaction can be improved, avoid the waste of the inconsistent system resources in computation caused of each system interface key element.
Fig. 6 is the structural representation of the transaction processing system according to one embodiment of the invention.As shown in the figure, transaction processing system comprises:
First module, for maintain internal message,
Second unit, for carrying out rushing timing when needs, generating based on built-in message and rushing positive message,
Unit the 3rd, sends for externally system and rushes positive message and carry out just rushing.
In an example of described embodiment, described second unit is configured to the message format template be mapped to by built-in message corresponding to external system and obtains rushing positive message.
In an example of described embodiment, described built-in message has unified representation formats, the key element that unified performance transaction is necessary.
In an example of described embodiment, described built-in message forms by domain name with corresponding to the thresholding of domain name.
In an example of described embodiment, along with the carrying out of transaction processing, the domain name of described first module maintain internal message and thresholding.
In an example of described embodiment, first request message that described transaction processing system receives by described first module is as initial internal message.
In an example of described embodiment, described built-in message is the multiple built-in messages corresponding to a transaction, the plurality of built-in message associates with the transaction major key of this transaction, described second unit is configured to carry out rushing timing when needs, carries out just rushing according to the order of described multiple built-in message.
By the description of above embodiment, those skilled in the art can understand, and when without departing from the spirit and scope of the present invention, can also do various change and replacement to the specific embodiment of the present invention.These change and replace and all drop in claims of the present invention limited range.

Claims (14)

1. a correction method is rushed in transaction, it is characterized in that, comprising:
Maintain internal message in transaction processing system,
When needs carry out rushing timing, generate based on built-in message and rush positive message,
Externally system sends and rushes positive message and carry out just rushing.
2. the method for claim 1, is characterized in that,
The message format template be mapped to by built-in message corresponding to external system obtains rushing positive message.
3. the method for claim 1, is characterized in that,
Described built-in message has unified representation formats, the key element that unified performance transaction is necessary.
4. method as claimed in claim 3, is characterized in that,
Described built-in message forms by domain name with corresponding to the thresholding of domain name.
5. method as claimed in claim 4, is characterized in that,
Along with the carrying out of transaction processing, the domain name of maintain internal message and thresholding.
6. method as claimed in claim 5, is characterized in that,
First request message received by described transaction processing system is as initial internal message.
7. the method for claim 1, is characterized in that,
Described built-in message is the multiple built-in messages corresponding to a transaction, and the plurality of built-in message associates with the transaction major key of this transaction,
When needs carry out rushing timing, carry out just rushing according to the order of described multiple built-in message.
8. a transaction processing system, is characterized in that, comprising:
First module, for maintain internal message,
Second unit, for carrying out rushing timing when needs, generating based on built-in message and rushing positive message,
Unit the 3rd, sends for externally system and rushes positive message and carry out just rushing.
9. system as claimed in claim 8, is characterized in that,
Described second unit is configured to the message format template be mapped to by built-in message corresponding to external system and obtains rushing positive message.
10. system as claimed in claim 8, is characterized in that,
Described built-in message has unified representation formats, the key element that unified performance transaction is necessary.
11. systems as described in claim 01, is characterized in that,
Described built-in message forms by domain name with corresponding to the thresholding of domain name.
12. systems as claimed in claim 11, is characterized in that,
Along with the carrying out of transaction processing, the domain name of described first module maintain internal message and thresholding.
13. systems as claimed in claim 12, is characterized in that,
First request message that described transaction processing system receives by described first module is as initial internal message.
14. systems as claimed in claim 8, is characterized in that,
Described built-in message is the multiple built-in messages corresponding to a transaction, and the plurality of built-in message associates with the transaction major key of this transaction,
Described second unit is configured to carry out rushing timing when needs, carries out just rushing according to the order of described multiple built-in message.
CN201310714904.6A 2013-12-20 2013-12-20 Transaction reversing method and transaction processing system Pending CN104732438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310714904.6A CN104732438A (en) 2013-12-20 2013-12-20 Transaction reversing method and transaction processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310714904.6A CN104732438A (en) 2013-12-20 2013-12-20 Transaction reversing method and transaction processing system

Publications (1)

Publication Number Publication Date
CN104732438A true CN104732438A (en) 2015-06-24

Family

ID=53456310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310714904.6A Pending CN104732438A (en) 2013-12-20 2013-12-20 Transaction reversing method and transaction processing system

Country Status (1)

Country Link
CN (1) CN104732438A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447757A (en) * 2015-11-20 2016-03-30 中国建设银行股份有限公司 Method and system for keeping consistency of transaction information
CN105590215A (en) * 2015-10-29 2016-05-18 中国银联股份有限公司 Device and method for data processing on-line processing of date mistakes between mechanisms
CN107169767A (en) * 2017-05-31 2017-09-15 深圳市长亮科技股份有限公司 Correction method and system are rushed in transaction
CN111369350A (en) * 2020-03-31 2020-07-03 中国建设银行股份有限公司 Orthogonal punching easy processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040117289A1 (en) * 2002-12-13 2004-06-17 Ge Financial Assurance Holdings, Inc. System and method for monitoring and processing trades
JP2005309757A (en) * 2004-04-21 2005-11-04 Dai-Ichi Kangyo Asset Management Co Ltd Financial commodity transaction system, financial commodity transaction processing method, and intermediary agent system and transactor system used in the system
CN1987925A (en) * 2006-12-29 2007-06-27 中国建设银行股份有限公司 Complex front platform of financial system and transfering method transaction data
CN1996855A (en) * 2006-12-22 2007-07-11 中国建设银行股份有限公司 A method and system for keeping data consistency

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040117289A1 (en) * 2002-12-13 2004-06-17 Ge Financial Assurance Holdings, Inc. System and method for monitoring and processing trades
JP2005309757A (en) * 2004-04-21 2005-11-04 Dai-Ichi Kangyo Asset Management Co Ltd Financial commodity transaction system, financial commodity transaction processing method, and intermediary agent system and transactor system used in the system
CN1996855A (en) * 2006-12-22 2007-07-11 中国建设银行股份有限公司 A method and system for keeping data consistency
CN1987925A (en) * 2006-12-29 2007-06-27 中国建设银行股份有限公司 Complex front platform of financial system and transfering method transaction data

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105590215A (en) * 2015-10-29 2016-05-18 中国银联股份有限公司 Device and method for data processing on-line processing of date mistakes between mechanisms
CN105590215B (en) * 2015-10-29 2019-11-22 中国银联股份有限公司 The Data Handling Equipment And Method of each inter-agency data error of online process
CN105447757A (en) * 2015-11-20 2016-03-30 中国建设银行股份有限公司 Method and system for keeping consistency of transaction information
CN107169767A (en) * 2017-05-31 2017-09-15 深圳市长亮科技股份有限公司 Correction method and system are rushed in transaction
CN107169767B (en) * 2017-05-31 2020-12-08 深圳市长亮科技股份有限公司 Transaction processing method and system
CN111369350A (en) * 2020-03-31 2020-07-03 中国建设银行股份有限公司 Orthogonal punching easy processing method and device

Similar Documents

Publication Publication Date Title
CN108280080B (en) Data synchronization method and device and electronic equipment
US8825798B1 (en) Business event tracking system
US20210203477A1 (en) Method and device for blockchain full sharding based on a p2p storage network and a multi-layer architecture
CN105791178B (en) Message assemble method and device
US8886791B2 (en) Generating alerts based on managed and unmanaged data
CN104732438A (en) Transaction reversing method and transaction processing system
CN111144883A (en) Processing performance analysis method and device for block chain network
CN105530272A (en) Method and device for application data synchronization
CN111641700B (en) Ceph object-based management and retrieval implementation method for storage metadata
CN102467525A (en) Document associating method and system
CN111798238A (en) Parallel chain consensus method, device and storage medium
CN111163149B (en) Intelligent contract platform method based on block chain
CN103713972A (en) Incremental backup system and method
CN111262915B (en) Kafka cluster-crossing data conversion system and method
CN110071968A (en) A kind of message storage method and device based on block chain
CN105208100A (en) Interface data processing method
CN101163077B (en) Combination method of stacked system
CN104123296A (en) Method and device for generating message indexes so as to present messages to receiver
CN105450733A (en) Business data distribution processing method and system
CN116955355A (en) Block data processing method and device and electronic equipment
CN115439078A (en) Dynamic generation auditing system based on business
CN115883635A (en) Heterogeneous multi-instance multi-data-source micro-service system and method
CN113822670A (en) Payment message conversion method and device and electronic equipment
CN115695587A (en) Service data processing system, method, device and storage medium
CN111930690A (en) File generation method and device

Legal Events

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

Application publication date: 20150624

RJ01 Rejection of invention patent application after publication