CN102306197A - Device and method for guaranteeing consistency of data-source-crossing operation results - Google Patents

Device and method for guaranteeing consistency of data-source-crossing operation results Download PDF

Info

Publication number
CN102306197A
CN102306197A CN201110283994A CN201110283994A CN102306197A CN 102306197 A CN102306197 A CN 102306197A CN 201110283994 A CN201110283994 A CN 201110283994A CN 201110283994 A CN201110283994 A CN 201110283994A CN 102306197 A CN102306197 A CN 102306197A
Authority
CN
China
Prior art keywords
message
data source
global transaction
local matter
oriented middleware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201110283994A
Other languages
Chinese (zh)
Other versions
CN102306197B (en
Inventor
栗竹冉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Software 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 Yonyou Software Co Ltd filed Critical Yonyou Software Co Ltd
Priority to CN 201110283994 priority Critical patent/CN102306197B/en
Publication of CN102306197A publication Critical patent/CN102306197A/en
Application granted granted Critical
Publication of CN102306197B publication Critical patent/CN102306197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method for guaranteeing consistency of data-source-crossing operation results, and the method comprises the following steps: opening a local transaction of a message middleware; when a message from a designated rank of the message middleware is received, establishing a global transaction according to the message; executing the local transaction of a second data source, wherein the message middleware is a first data source; acquiring required transaction data from the second data source according to a transaction processing requirement of the message; when transaction processing is finished, storing a generated processing result into the second data source; and initiating a process for submitting or rolling back the global transaction according to a returned processing result by firstly submitting or rolling back the local transaction of the second data source and then submitting or rolling back the local transaction of the message middleware; and releasing a related resource of the global transaction after the global transaction is submitted or rolled back successfully. The invention also provides a device for guaranteeing consistency of data-source-crossing operation results. Under the mode of a non-XA (auxiliary amplifier) protocol, the consistency of the data-source-crossing operation results can be guaranteed.

Description

The conforming apparatus and method of data source operation result are striden in assurance
Technical field
The present invention relates to the simultaneous techniques field, in particular to guaranteeing to stride the conforming apparatus and method of data source operation result.
Background technology
In current enterprise-level distributed production environment, the use of a plurality of data sources is keeping high-level efficiency, the high operating result consistency problem that has also brought the global transaction that how to guarantee to stride data source in available.The solution of main flow generally is to utilize independently task manager at present, uses the two stages submission process of XA agreement to guarantee its consistance (the detailed XA standard that sees also the definition of X/OPEN tissue).But the XA agreement has following drawback:
1. the affairs itself of using the XA agreement to realize will be used some keystone resourceses of data source, and this feasible performance to data source has certain influence.
2. according to the XA standard, the XA agreement can require the relevant resource of these affairs of data source locking after submitting to successfully in advance; Accomplish up to subordinate phase (real submission or rollback), the lock of related resource just can be released.In case unusual in subordinate phase, blocked resource will inaccessible in a very long time before affairs are accomplished, this is unacceptable at a lot of curstomer`s sites.
3. this lock be a kind of " hard lock " even---connect break, database instance even entire machine restart this lock and can not discharge, this is inappropriate to some exigent system of data access real-time.
Be not difficult to find out all drawbacks of using the XA agreement to do distributed transaction management from above description, under some specific situation, possibly can cause the relevant data inaccessible of time affairs, thereby give the client with very poor experience because of locking to resource.
Therefore, how under the situation of not using the XA agreement, guaranteeing to stride the consistance of the distributed global transaction of data source, is to need the problem that solves.
Summary of the invention
Technical matters to be solved by this invention is, a kind of data synchronization technology is provided, and can under the situation of not using the XA agreement, guarantee to stride the consistance of the distributed global transaction of data source.
According to an aspect of the present invention; Provide a kind of assurance to stride the conforming device of data source operation result; Comprise: message processing unit; The local matter of message-oriented middleware is opened in request, receives the message in lining up from the appointment of said message-oriented middleware, sends first request of creating a global transaction and according to said message when receiving the result of returning from Application service element to the global transaction control module; Send to said global transaction control module and to initiate to submit to or second request of the process of the said global transaction of rollback and during in the order that receives from said global transaction unit; Submit the perhaps local matter of the said message-oriented middleware of rollback to, the affairs of the local matter of said message-oriented middleware on said message-oriented middleware, moving, said message-oriented middleware is first data source; Said global transaction control module; In said first when request that receives from said message processing unit, creates a said global transaction, begin the local matter of second data source and receiving when asking from said second of said message elements; Initiate to submit to the process of said global transaction; Submit the local matter of said second data source earlier to, order said message processing unit to submit the local matter of said message-oriented middleware to then, with submission or the rollback process of accomplishing said global transaction; After said global transaction is submitted perhaps rollback success to; Discharge the related resource of said global transaction, said global transaction is the affairs of striding said first data source and the operation of said second data source, the affairs of the local matter of said second data source on said second data source, moving; Said Application service element; Business processing needs according to said message obtain required business datum from said second data source; When said business processing finishes, the result that generates is saved to said second data source, said result is back to said message processing unit.
In technique scheme; Preferably; Said message elements also is used for when receiving said message, asks said global transaction control module to check whether said message is that message and the reception of handling for the first time is sent to said applying unit from the sign of the said global transaction of said global transaction unit and with said sign; Said global transaction unit also is used for when definite said message was handled for the first time; Request distributes corresponding sign for the said global transaction of creating; And said sign is sent to said message elements; In definite said message is not when being processed for the first time, continues to handle said message according to the state of the said global transaction of the correspondence of recovering to come out.
In technique scheme; Preferably; Said global transaction control module comprises: the status modifier module; Before said Application service element was handled said message, the state that said global transaction is set was for carrying out business processing status, when carrying out the processing procedure of said message; The state of the local matter of the state of the local matter of said message-oriented middleware and said second data source all is set to carry out business processing status and when initiating to submit the process of said global transaction to; In submit state, in submit state, the state of local matter of revising said second data source in advance is for submitting completion status to for just for the state of local matter of revising said message-oriented middleware for just for the state of revising said global transaction; When the local matter of local matter that monitors said second data source and said message-oriented middleware is all submitted completion to; The state of revising the local matter of said message-oriented middleware earlier is the submission completion status, and the state of revising said global transaction then discharges the related resource of said global transaction for submitting completion status to.
In technique scheme, preferably, said global transaction control module can also comprise: recover module; Before submitting the local matter of said second data source to, if occur unusual and restart, the local matter of the said message-oriented middleware of rollback then; During the appointment that said message is turned back to said message-oriented middleware is lined up, behind the system recovery, said Application service element will be handled said message again; Before the local matter of submitting said message-oriented middleware to; If occur unusual and restart, the local matter of the said message-oriented middleware of rollback then is during the appointment that said message is turned back to said message-oriented middleware is lined up; Behind system recovery; Said Application service element will be handled this message again, and owing to handle to second data source of this message and to accomplish (the local matter state through fierceness can be inquired about), so processing finishes the back the said message of deletion and at the state of the local matter of revising said message-oriented middleware for before submitting completion status to; As if occurring unusual and restarting, then in said message-oriented middleware, delete said message.
In technique scheme; Preferably; Said global transaction control module can also comprise: control module; When the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source all is set to carry out business processing status; Permission adds the local matter of other data source in said global transaction, when the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source is all submitted completion status to, do not allow in said global transaction, to add the local matter of said other data source; The status information of the local matter of the status information of the local matter of said message-oriented middleware, said second data source and the status information of said global transaction are kept in said second data source, and said second data source is the database data source.
Pass through technique scheme; Can use data manipulation that non-XA protocol mode guarantees to stride data source consistance as a result---utilize the state that is kept at the global transaction in second data source; Come two-way DBMS (second data source) and the MOM (message-oriented middleware checked; First data source) these two types of data sources guarantee the operating result consistance of affairs business processing through absolute State Control.
According to another aspect of the invention; Also provide a kind of assurance to stride the conforming method of data source operation result, having comprised: step 602, open the local matter of message-oriented middleware; When the message that receives in lining up from the appointment of said message-oriented middleware; According to global transaction of said message establishing, begin the local matter of second data source, wherein; Said message-oriented middleware is first data source; The affairs of the local matter of said message-oriented middleware on said message-oriented middleware, moving, the affairs of the local matter of said second data source on said second data source, moving, said global transaction is the affairs of striding said first data source and the operation of said second data source; Step 604 is obtained required business datum according to the business processing needs of said message from said second data source, when said business processing finishes, the result that generates is saved to said second data source; Step 606; Initiate to submit to the perhaps process of the said global transaction of rollback according to the said result of returning; Submit the perhaps local matter of said second data source of rollback earlier to, submit the perhaps local matter of the said message-oriented middleware of rollback then to, with submission or the rollback process of accomplishing said global transaction; After said global transaction is submitted perhaps rollback success to, discharge the related resource of said global transaction.
In technique scheme; Preferably, said step 602 can also comprise: judge whether said message is the message of handling for the first time, if judge said message for handling for the first time; Then create said global transaction and request and be said global transaction allocation identification; According to the said message of said identification process, not to be processed for the first time if judge said message, then the state according to the said global transaction of the correspondence of recovering to come out continues to handle said message.
In technique scheme; Preferably; Said step 602 can also comprise: before handling said message; The state that said global transaction is set is for carrying out business processing status, when carrying out the processing procedure of said message, the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source all is set to carry out business processing status; Said step 606 also comprises: when initiating to submit the process of said global transaction to; The state of revising said global transaction is for just in submit state; The state of local matter of revising said message-oriented middleware is for just in submit state; The state of revising the local matter of said second data source in advance is the submission completion status, and when the local matter of local matter that monitors said second data source and said message-oriented middleware was all submitted completion to, the state of revising the local matter of said message-oriented middleware earlier was the submission completion status; The state of revising said global transaction then discharges the related resource of said global transaction for submitting completion status to.
In technique scheme; Preferably; Said step 606 can also comprise: before submitting the local matter of said second data source to, if occur unusual and restart, and the local matter of the local matter of the said message-oriented middleware of rollback and said second data source then; The appointment that said message is got back to said message-oriented middleware is handled said message in lining up again; Before submitting the local matter of said message-oriented middleware to, if occur unusual and restart, the local matter of the said message-oriented middleware of rollback then; The appointment that said message is turned back to said message-oriented middleware is handled said message in lining up again, and processing finishes the said message of back deletion; Before the state of the local matter of revising said message-oriented middleware is the submission completion status,, then in said message-oriented middleware, delete said message as if occurring unusual and restarting.
In technique scheme; Preferably; When the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source all is set to carry out business processing status; Permission adds the local matter of other data source in said global transaction; When the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source is all submitted completion status to, do not allow in said global transaction, to add the local matter of said other data source, the status information of the local matter of the status information of the local matter of said message-oriented middleware, said second data source and the status information of said global transaction are kept in said second data source; Said second data source is database data source (for example, an OLTP data source).
Pass through technique scheme; Can use data manipulation that non-XA protocol mode guarantees to stride data source consistance as a result---utilize the state that is kept at the global transaction in second data source; Come double-core to DBMS (second data source) and MOM (message-oriented middleware; First data source) these two types of data sources guarantee the operating result consistance of affairs business processing through absolute State Control.
Description of drawings
Fig. 1 shows the block diagram that guarantees to stride the conforming system of data source operation result according to an embodiment of the invention;
Fig. 2 shows the sequential chart of multimode cooperation according to an embodiment of the invention;
Fig. 3 shows the state variation synoptic diagram of global transaction according to an embodiment of the invention;
Fig. 4 shows the branch's state variation synoptic diagram in the global transaction according to an embodiment of the invention;
Fig. 5 shows the block diagram that guarantees to stride the conforming device of data source operation result according to an embodiment of the invention; And
Fig. 6 shows the process flow diagram that guarantees to stride the conforming method of data source operation result according to an embodiment of the invention.
Embodiment
In order more to be expressly understood above-mentioned purpose of the present invention, feature and advantage, the present invention is further described in detail below in conjunction with accompanying drawing and embodiment.
Set forth a lot of details in the following description so that make much of the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following disclosed specific embodiment.
The explanation of the english abbreviation that occurs hereinafter is following:
Message-oriented middleware: English name Message Oriented Middleware, be called for short MOM, be a kind of basic software that makes up the high-efficiency reliable data transfer platform.
Data base management system (DBMS): English title Database Management System, be called for short DBMS, also be a kind of basic software, major function is the reliable memory and efficient inquiry service that data are provided to upper layer application.
Affairs: be the set of sequence of operations, these operations will be made as a whole participate in (atomicities of affairs) in the upper layer logic; Final result has only two, or all operations all comes into force, or all failures.
Local matter: refer generally to the affairs on the individual data source, moved.
Global transaction: generally be the affairs of striding data source or interdepartmental system.
Task manager: generally be stride data source, transaction management system independently.Its function is to safeguard the global transaction (coordinating the local matter of each data source of these affairs of participation) of striding data source, and guarantees the consistance as a result under its distributed environment.
At first combine the embodiment shown in Fig. 1 to explain on the whole according to technical scheme of the present invention.
As shown in Figure 1, task manager 102 can provide service as a kind of middleware system to upper layer application (application layer) through the transaction management interface; Encapsulated the DBMS (data base management system (DBMS) 104 in for example scheming downwards; Can be for the OLTP data source and as second data source), the MOM (message-oriented middleware 106 among the figure for example; As first data source) and other the service that EIS provided (being positioned at the enterprise information system layer), for task manager 102 provides unified interface.
The nucleus module of task manager 102 has following three formations:
Global transaction identity management 1022: this module mainly is responsible for safeguarding the global transaction sign.Be to guarantee uniqueness, among the DBMS, and unified calling interface is provided to other modules with global transaction identification information persistence.
Message processing unit 1024: in multilayered model, upper layer application has been evolved to become to serve one by one and be embedded in task manager or other the middleware system and has been moved.Message processing unit 1024 has encapsulated the correlative detail of affairs and JMS Message Processing, according to JMS standard (seeing also the JMS standard in detail), uses as long as realize corresponding message data processing logic, and this has greatly simplified the difficulty of upper layer application.
Global transaction control module 1026: this module mainly is responsible for the management of global transaction, and the interface of issued transaction outwards is provided, like establishment, submission, rollback, overtime monitoring etc.A global transaction will comprise two branches: a branch is used to handle the operation of MOM, and another branch is used to handle the operation of DBMS.Management (comprising the management to global transaction branch) to global transaction realizes through the state-maintenance to global transaction.In fact; The state of global transaction is exactly the state that message is carried out business processing; In order to guarantee the consistance as a result of global operation; The information of global transaction and state also can be persisted in the DBMS system in design, so just can the state of operation of global transaction and the affairs of business operation be bound, thereby guarantee that message is by not heavy processing of not losing.
The process that can see realization through top description is: receive a message and handle this message from MOM; In DBMS, extract needed other business datums of business processing of corresponding this message data, the result that after business logic processing is accomplished, will generate stores among the DBMS and goes; If but add reliability requirement---under abnormal conditions, also can guarantee message by heavy processing of not losing, this just needs task manager 102 to coordinate the local matter of two data sources through global transaction, guarantees consistance as a result with this.For fear of using the XA agreement to give the influence that brings, with using the 2-way state verification mechanism to control the state of global transaction.To state how to realize using 2-way state to check and control global transaction be described with the sequential chart of multimode cooperation below:
As shown in Figure 2,1, the connection that will set up message processing unit 1024 and message-oriented middleware 106, data base management system (DBMS) 104 (second data source, for example OLTP data source), Application service element 108; 2, from data base management system (DBMS), recover global transaction sign operating position; 3, from data base management system (DBMS), recover uncompleted affairs.After all initialization of each module (1,2 and 3) are accomplished; The message processing unit 1024 that task manager 102 provides will be blocked on the message queue of MOM; Wait for that a very new message request arrives, this is the prerequisite (seeing 4 and 5) that triggers a complete issued transaction flow process.
4, the local matter of a message-oriented middleware 106 is opened in message processing unit 1024 requests; 5, from specified queue, receive message according to service needed request message middleware; 6, return to the professional corresponding message of message processing unit; 7, in a single day message processing unit 1024 receives message, and request global transaction control module 1026 checks whether this message has registered corresponding affairs; 8, whether global transaction control module 1026 these message of inspection have registered corresponding global transaction (message that had been processed); 9, message processing unit 1024 is received to return and is checked the result; 10, if find it is the affairs that had been processed, go to accomplish these affairs according to the state decision of the affairs of correspondence, if handle this message for the first time, then ask global transaction control module 1026 to create a global transaction; 11, a global transaction sign is given in global transaction control module 1026 request global transaction identity management unit 1022; 12, global transaction identity management unit 1022 distributes a global transaction to identify to global transaction control module 1026; 13, create global transaction, with branch's (two local matters of MOM and DBMS) initialization of this global transaction.14, begin the local matter of one second data source (DBMS, data base management system (DBMS)); 15, create business process and finish and call before the business processing flow to this message, with the status modifier of global transaction for carrying out business processing.
16, global transaction control module 1026 is sent to message processing unit 1024 with the sign of the global transaction of creating; 17, Application service element 108 calls business processing logic and handles the message that receives; 18, Application service element 108 obtains the business datum that business processing needs to second data source when handling; 19, the second data sources are returned the business datum that Application service element 108 needs; 20, the processing messages data; 21, result is back to message processing unit; 22, after message processing unit 1024 receives result, initiate to submit to the flow process of global transaction; 24; With the status modifier of global transaction for just in submit state; And with the status modifier of the local matter of second data source dress for submitting to, the status modifier of the local matter of message-oriented middleware for just in submit state, with these status information persistences in second data source; 25, the local matter of second data source is submitted in 1026 orders of global transaction control module to; 26, global transaction control module 1026 command messages processing units 1024 are submitted the local matter of message-oriented middleware to; 27, after message processing unit 1024 receives instruction, submit the local matter of message-oriented middleware to; 28, message-oriented middleware 106 returns submits to information of successful to give message processing unit; 29, the local matter of message processing unit 1024 notice global transaction control modules 1026 message-oriented middlewares 106 has been submitted success to; 30, after global transaction control module 1026 received notice, the local matter state of revising message-oriented middleware was for submitting to; 31, revise the global transaction state for submitting to, and with in these status information persistences and second data source; 32, discharge the related resource of global transaction at last from receiving that message just accomplished to the global transaction of the whole process of handling to this, finish this processing of request.
In Fig. 2, only provide message data and handled the successfully flow process of back global transaction submission; Consider if message data is handled the rollback flow process of failure back global transaction and submitted to flow process very similar, therefore will no longer provide the mutual cooperation sequential chart of global transaction rollback.In addition, what provide in Fig. 2 is normal professional sequential chart, all will carry out rollback in strict accordance with sequential to any unusual/failure in the real implementation procedure and handle, and could guarantee the consistance as a result of its global transaction like this.Be how to guarantee under various abnormal conditions operating result conforming with this system of illustrated in detail below; In sequential chart, can see that 23~32 are the submission of global transaction or rollback process; Next just restart, how to be resumed to each step supposing the system.
(1) system exception and restarting before 25:
Can find the affairs at all operations place of second data source execution are fallen by rollback because of system restart, therefore, will have no the record of handling the pairing affairs of this message in second data source; And this message corresponding local matter in message-oriented middleware also falls rollback, and message has been got back in the formation of message-oriented middleware again; This message will be removed and handle (the same with the process of carrying out handling for the first time) once more behind the system recovery, so this situation can not cause any result inconsistent.
(2) system exception and restarting before 26 or 27 or 28:
System exception and restarting before message-oriented middleware is submitted local matter to; To cause local matter (local matter of the MOM branch) rollback of message-oriented middleware, during the formulation that message is got back to message-oriented middleware was lined up, the flow process when handling this message for the first time (was obtained global transaction; The state of inspection global transaction is to the state of revising global transaction) handle the local matter of this message correspondence again; And the local matter of DBMS branch has been submitted at this moment, so the global transaction control module will recover the corresponding global transaction of this MOM message return when initialization; The state of its global transaction is for submitting to; The state of MOM branch is for submitting to, and the state of DBMS branch is for submitting to, this expression to the pairing business processing of this message data all successfully processing finish; Next to do be directly from MOM this message of deletion and the related resource that discharges global transaction just, same this situation can not cause any result inconsistent yet.
(3) system exception and restarting before 29 or 30:
Though the state of the global transaction in DBMS is the same with above-mentioned situation; But in fact the local matter of MOM branch is submitted (message that is processed does not exist) to; Only need to go to delete this message by the normal process that kind; Discharge the corresponding resource of global transaction then, this situation can not cause any result inconsistent yet.
(4) system exception and restarting before 31:
After restarting; The global transaction control module recovers affairs from DBMS after; Its global transaction state is for submitting to, and the state of these two branches of DBMS and MOM all is to have submitted completion to, and this moment, processing procedure was simpler; Only need to revise the global transaction state for submitting the related resource of accomplishing and discharging global transaction to, it is inconsistent also not have any result in this case.
(5) system exception and restarting before 32:
Unusual and restarting systems take place before this, the global transaction control module recovers affairs from DBMS after, find that the global transaction state has been to submit to accomplish, only need to discharge the relevant resource of global transaction, it is inconsistent also not have any result in this case.
Though can find out according to technical scheme of the present invention from top detailed description and not use the XA agreement, can both guarantee the consistance of local matter on MOM that global transaction is coordinated and these two data sources of DBMS in any situation.
The state variation situation of global transaction is described below in conjunction with Fig. 3.
As shown in Figure 3, step 302, the state of global transaction begins with original state, if initiatively rollback of transaction initiator then gets into step 312, is in and carries out branch's rollback state.Step 304; In the business processing stage of each branch (the for example local matter of the local matter of message-oriented middleware, second data source); The state of each branch is set to carry out business processing status; The state of global transaction at this moment, can add other branch also for carrying out business processing status in global transaction.If it is overtime to carry out business processing, then get into step 312, be in and carry out branch's rollback state.Step 306, the state of revising global transaction after all branch's business processing are accomplished is the business processing completion status, at this moment can not in global transaction, add other branch; If business processing is overtime or failure; Then get into step 312, carry out step 314 then, get into branch's rollback completion status.Step 308, receive submission transaction information from caller after, the state of global transaction can be modified to is submitting transaction status to, and triggers the submission flow process of each branch, each branch's state is for carrying out submit state.Step 310 need be kept watch on the state of all branches during this period, all submits completion to up to each branch, is that global transaction is submitted completion status to the global transaction status modifier at last, has so just accomplished the life cycle of a global transaction.The rollback flow process that perhaps failure (such as service fail or overtime) can trigger global transaction is initiated in any active in whole life.
The state variation situation of global transaction branch is described below in conjunction with Fig. 4.
As shown in Figure 4, be the state variation synoptic diagram of a branch (local matter of the local matter of message-oriented middleware or OLTP data source) of global transaction, step 402, the same with global transaction, the state of branch also is to begin with original state.Step 404, its state can be modified to and carry out business processing before calling real business processing flow.Step 404 is finished dealing with until business processing, and the state of branch can be revised as the business processing completion status by corresponding modification.Ensuing state need be waited for the triggering of global transaction, carries out branch and submits to or the rollback flow process.Judge whether to handle successfully,, then get into step 408, get into and carrying out submit state, get into step 410 then, after the submission completion, branch's state is revised as the submission completion status if processing success or global transaction promoter initiate to submit instruction to.If judgment processing is failed or the global transaction promoter requires rollback, then get into step 412, get into branch and carrying out the rollback state, get into step 414 then, get into branch's rollback completion status, after submission or rollback completion, the life cycle of branch finishes.
Fig. 5 shows the block diagram that guarantees to stride the conforming device of data source operation result according to an embodiment of the invention.
As shown in Figure 5; Guarantee to stride the conforming device 500 of data source operation result according to an embodiment of the invention; Comprise: message processing unit 502; The local matter of message-oriented middleware is opened in request, receives the message in lining up from the appointment of said message-oriented middleware, sends first request of creating a global transaction and according to said message when receiving the result of returning from Application service element 506 to global transaction control module 504; Send second request of the process of initiating to submit to said global transaction and during to said global transaction control module 504 in the order that receives from said global transaction unit 504; Submit the local matter of said message-oriented middleware to, the affairs of the local matter of said message-oriented middleware on said message-oriented middleware, moving, said message-oriented middleware is first data source; Said global transaction control module 504; In said first when request that receives from said message processing unit 502; Create a said global transaction; Begin the local matter of second data source and in said second when request that receives from said message elements 502, initiate to submit to or the process of the said global transaction of rollback, submit to earlier or the local matter of said second data source of rollback; Order said message processing unit 502 to submit the perhaps local matter of the said message-oriented middleware of rollback to then; With submission or the rollback process of accomplishing said global transaction, after said global transaction is submitted perhaps rollback success to, discharge the related resource of said global transaction; Said global transaction is the affairs of striding said first data source and the operation of said second data source, the affairs of the local matter of said second data source on said second data source, moving; Said Application service element 506; Business processing needs according to said message obtain required business datum from said second data source; When said business processing finishes; The result that generates is saved to said second data source, said result is back to said message processing unit 502.
In technique scheme; Preferably; Said message elements 502 also is used for when receiving said message, asks said global transaction control module 504 to check whether said message is that message and the reception of handling for the first time is sent to said applying unit 506 from the sign of the said global transaction of said global transaction unit 504 and with said sign; Said global transaction unit 504 also is used for when definite said message was handled for the first time; Request distributes corresponding sign for the said global transaction of creating; And said sign is sent to said message elements 502; In definite said message is not when being processed for the first time, continues to handle said message according to the state of the said global transaction of the correspondence of recovering to come out.
In technique scheme; Preferably; Said global transaction control module 504 comprises: status modifier module 5042; Before said Application service element 506 was handled said message, the state that said global transaction is set was for carrying out business processing status, when carrying out the processing procedure of said message; The state of the local matter of the state of the local matter of said message-oriented middleware and said second data source all is set to carry out business processing status and when initiating to submit the process of said global transaction to; In submit state, in submit state, the state of local matter of revising said second data source in advance is for submitting completion status to for just for the state of local matter of revising said message-oriented middleware for just for the state of revising said global transaction; When the local matter of local matter that monitors said second data source and said message-oriented middleware is all submitted completion to; The state of revising the local matter of said message-oriented middleware earlier is the submission completion status, and the state of revising said global transaction then discharges the related resource of said global transaction for submitting completion status to.
In technique scheme, preferably, said global transaction control module 504 can also comprise: recover module 5044; Before submitting the local matter of said second data source to, if occur unusual and restart, the local matter of the said message-oriented middleware of rollback then; During the appointment that said message is turned back to said message-oriented middleware is lined up, behind the system recovery, said Application service element 506 will be handled said message again; Before the local matter of submitting said message-oriented middleware to; If occur unusual and restart, the local matter of the said message-oriented middleware of rollback then is during the appointment that said message is turned back to said message-oriented middleware is lined up; Behind system recovery; Said Application service element 506 is handled this message again, and owing to handle to second data source of this message and to accomplish (the local matter state through fierceness can be inquired about), so as long as the state of local matter that finishes the back said message of deletion and revising said message-oriented middleware in processing for before submitting completion status to; As if occurring unusual and restarting, then in said message-oriented middleware, delete said message.
In technique scheme; Preferably; Said global transaction control module 504 can also comprise: control module 5046; When the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source all is set to carry out business processing status; Permission adds the local matter of other data source in said global transaction, when the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source is all submitted completion status to, do not allow in said global transaction, to add the local matter of said other data source; The status information of the local matter of the status information of the local matter of said message-oriented middleware, said second data source and the status information of said global transaction are kept in said second data source; Said second data source is database data source (for example, an OLTP data source).
Pass through technique scheme; Can use data manipulation that non-XA protocol mode guarantees to stride data source consistance as a result---utilize the state that is kept at the global transaction in second data source; Come double-core to DBMS (second data source) and MOM (message-oriented middleware; First data source) these two types of data sources guarantee the operating result consistance of affairs business processing through absolute State Control.
Fig. 6 shows the process flow diagram that guarantees to stride the conforming method of data source operation result according to an embodiment of the invention.
As shown in Figure 6; Guarantee according to an embodiment of the invention to stride the conforming method of data source operation result, comprising: step 602, open the local matter of message-oriented middleware; When the message that receives in lining up from the appointment of said message-oriented middleware; According to global transaction of said message establishing, the local matter of order beginning second data source, wherein; Said message-oriented middleware is first data source; The affairs of the local matter of said message-oriented middleware on said message-oriented middleware, moving, the affairs of the local matter of said second data source on said second data source, moving, said global transaction is the affairs of striding said first data source and the operation of said second data source; Step 604 is obtained required business datum according to the business processing needs of said message from said second data source, when said business processing finishes, the result that generates is saved to said second data source; Step 606; Initiate to submit to the perhaps process of the said global transaction of rollback according to the said result of returning; Submit the perhaps local matter of said second data source of rollback earlier to, submit the perhaps local matter of the said message-oriented middleware of rollback then to, with submission or the rollback process of accomplishing said global transaction; After said global transaction is submitted perhaps rollback success to, discharge the related resource of said global transaction.
In technique scheme; Preferably, said step 602 can also comprise: judge whether said message is the message of handling for the first time, if judge said message for handling for the first time; Then create said global transaction and request and be said global transaction allocation identification; According to the said message of said identification process, not to be processed for the first time if judge said message, then the state according to the said global transaction of the correspondence of recovering to come out continues to handle said message.
In technique scheme; Preferably; Said step 602 can also comprise: before handling said message; The state that said global transaction is set is for carrying out business processing status, when carrying out the processing procedure of said message, the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source all is set to carry out business processing status; Said step 606 also comprises: when initiating to submit the process of said global transaction to; The state of revising said global transaction is for just in submit state; The state of local matter of revising said message-oriented middleware is for just in submit state; The state of revising the local matter of said second data source in advance is the submission completion status, and when the local matter of local matter that monitors said second data source and said message-oriented middleware was all submitted completion to, the state of revising the local matter of said message-oriented middleware earlier was the submission completion status; The state of revising said global transaction then discharges the related resource of said global transaction for submitting completion status to.
In technique scheme; Preferably; Said step 606 can also comprise: before submitting the local matter of said second data source to, if occur unusual and restart, and the local matter of the local matter of the said message-oriented middleware of rollback and said second data source then; The appointment that said message is got back to said message-oriented middleware is handled said message in lining up again; Before the local matter of submitting said message-oriented middleware to; If occur unusual and restart, the local matter of the said message-oriented middleware of rollback then is during the appointment that said message is turned back to said message-oriented middleware is lined up; Again handle said message, processing finishes the said message of back deletion; Before the state of the local matter of revising said message-oriented middleware is the submission completion status,, then in said message-oriented middleware, delete said message as if occurring unusual and restarting.
In technique scheme; Preferably; When the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source all is set to carry out business processing status; Permission adds the local matter of other data source in said global transaction; When the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source is all submitted completion status to, do not allow in said global transaction, to add the local matter of said other data source, the status information of the local matter of the status information of the local matter of said message-oriented middleware, said second data source and the status information of said global transaction are kept in said second data source; Said second data source is database data source (for example, an OLTP data source).
Pass through technique scheme; Can realize using non-XA protocol mode guarantee to stride data source operating result consistance---it is right to utilize the state that is kept at the global transaction in the DBMS to do double-core; Come DBMS and these two types of data sources of MOM in the coherent system, guarantee the operating result consistance of affairs business processing through absolute State Control.Through this realization mechanism, both avoided adverse effect and the potential risk of using the XA consultation to bring, can guarantee absolute consistent affairs property again simultaneously.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the conforming device of data source operation result is striden in an assurance, it is characterized in that, comprising:
Message processing unit; The local matter of message-oriented middleware is opened in request; Message during reception is lined up from the appointment of said message-oriented middleware; Send to create first request of a global transaction and according to said message when receiving the result of returning from Application service element to the global transaction control module; Send to said global transaction control module and to initiate to submit to or second request of the process of the said global transaction of rollback and during in the order that receives from said global transaction unit; Submit the perhaps local matter of the said message-oriented middleware of rollback to, the affairs of the local matter of said message-oriented middleware on said message-oriented middleware, moving, said message-oriented middleware is first data source;
Said global transaction control module; In said first when request that receives from said message processing unit, creates a said global transaction, begin the local matter of second data source and receiving when asking from said second of said message elements; Initiate to submit to the perhaps process of the said global transaction of rollback; Submit the perhaps local matter of said second data source of rollback earlier to, order said message processing unit to submit the perhaps local matter of the said message-oriented middleware of rollback to then, with submission or the rollback process of accomplishing said global transaction; After said global transaction is submitted to successfully; Discharge the related resource of said global transaction, said global transaction is the affairs of striding said first data source and the operation of said second data source, the affairs of the local matter of said second data source on said second data source, moving;
Said Application service element; Business processing needs according to said message obtain required business datum from said second data source; When said business processing finishes, the result that generates is saved to said second data source, said result is back to said message processing unit.
2. the conforming device of data source operation result is striden in assurance according to claim 1; It is characterized in that; Said message elements also is used for when receiving said message, asks said global transaction control module to check whether said message is that message and the reception of handling for the first time is sent to said applying unit from the sign of the said global transaction of said global transaction unit and with said sign;
Said global transaction unit also is used for when definite said message was handled for the first time; Request distributes corresponding sign for the said global transaction of creating; And said sign is sent to said message elements; In definite said message is not when being processed for the first time, continues to handle said message according to the state of the said global transaction of the correspondence of recovering to come out.
3. the conforming device of data source operation result is striden in assurance according to claim 1, it is characterized in that, said global transaction control module comprises:
The status modifier module; Before said Application service element is handled said message; The state that said global transaction is set is for carrying out business processing status; When carrying out the processing procedure of said message, the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source all is set to carry out business processing status and when initiating to submit the process of said global transaction to, the state of revising said global transaction is for just in submit state; The state of local matter of revising said message-oriented middleware is for just in submit state; The state of revising the local matter of said second data source in advance is the submission completion status, and when the local matter of local matter that monitors said second data source and said message-oriented middleware was all submitted completion to, the state of revising the local matter of said message-oriented middleware earlier was the submission completion status; The state of revising said global transaction then discharges the related resource of said global transaction for submitting completion status to.
4. the conforming device of data source operation result is striden in assurance according to claim 3, it is characterized in that, said global transaction control module also comprises:
Recover module, before the local matter of submitting said second data source to, as if occurring unusual and restarting; The local matter of the said message-oriented middleware of rollback then, during the appointment that said message is turned back to said message-oriented middleware is lined up, said Application service element will be handled said message again; Before the local matter of submitting said message-oriented middleware to; If occur unusual and restart, the local matter of the said message-oriented middleware of rollback then is during the appointment that said message is turned back to said message-oriented middleware is lined up; Said Application service element will be handled said message again; Processing finish the back said message of deletion and at the state of the local matter of revising said message-oriented middleware for before submitting completion status to, if occur unusual and restart, the said message of deletion in said message-oriented middleware then.
5. the conforming device of data source operation result is striden in assurance according to claim 4, it is characterized in that, said global transaction control module also comprises:
Control module; When the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source all is set to carry out business processing status; Permission adds the local matter of other data source in said global transaction; When the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source is all submitted completion status to, do not allow in said global transaction, to add the local matter of said other data source;
The status information of the local matter of the status information of the local matter of said message-oriented middleware, said second data source and the status information of said global transaction are kept in said second data source, and said second data source is the database data source.
6. the conforming method of data source operation result is striden in an assurance, it is characterized in that, comprising:
Step 602; Open the local matter of message-oriented middleware, when the message that receives in lining up from the appointment of said message-oriented middleware, according to global transaction of said message establishing; Begin the local matter of second data source; Wherein, said message-oriented middleware is first data source, the affairs of the local matter of said message-oriented middleware on said message-oriented middleware, moving; The affairs of the local matter of said second data source on said second data source, moving, said global transaction are the affairs of striding said first data source and the operation of said second data source;
Step 604 is obtained required business datum according to the business processing needs of said message from said second data source, when said business processing finishes, the result that generates is saved to said second data source;
Step 606; Initiate to submit to the perhaps process of the said global transaction of rollback according to the said result of returning; Submit the perhaps local matter of said second data source of rollback earlier to, submit the perhaps local matter of the said message-oriented middleware of rollback then to, with submission or the rollback process of accomplishing said global transaction; After said global transaction is submitted to successfully, discharge the related resource of said global transaction.
7. the conforming method of data source operation result is striden in assurance according to claim 6; It is characterized in that; Said step 602 also comprises: judge whether said message is the message of handling for the first time; If judge said message, then create said global transaction and request for said global transaction allocation identification, according to the said message of said identification process for handling for the first time; If judge said message is not to be processed for the first time, and then the state according to the said global transaction of the correspondence of recovering to come out continues to handle said message.
8. the conforming method of data source operation result is striden in assurance according to claim 6; It is characterized in that; Said step 602 also comprises: before handling said message; The state that said global transaction is set is for carrying out business processing status, when carrying out the processing procedure of said message, the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source all is set to carry out business processing status;
Said step 606 also comprises: when initiating to submit the process of said global transaction to; The state of revising said global transaction is for just in submit state; The state of local matter of revising said message-oriented middleware is for just in submit state; The state of revising the local matter of said second data source in advance is the submission completion status, and when the local matter of local matter that monitors said second data source and said message-oriented middleware was all submitted completion to, the state of revising the local matter of said message-oriented middleware earlier was the submission completion status; The state of revising said global transaction then discharges the related resource of said global transaction for submitting completion status to.
9. the conforming method of data source operation result is striden in assurance according to claim 8; It is characterized in that; Said step 606 also comprises: before submitting the local matter of said second data source to, if occur unusual and restart, and the local matter of the said message-oriented middleware of rollback then; The appointment that said message turns back to said message-oriented middleware is handled said message in lining up again;
Before the local matter of submitting said message-oriented middleware to; If occur unusual and restart, the local matter of the said message-oriented middleware of rollback then is during the appointment that said message is turned back to said message-oriented middleware is lined up; Again handle said message, processing finishes the said message of back deletion;
Before the state of the local matter of revising said message-oriented middleware is the submission completion status,, then in said message-oriented middleware, delete said message as if occurring unusual and restarting.
10. the conforming method of data source operation result is striden in assurance according to claim 8; It is characterized in that; When the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source all is set to carry out business processing status; Permission adds the local matter of other data source in said global transaction; When the state of the local matter of the state of the local matter of said message-oriented middleware and said second data source is all submitted completion status to; Do not allow in said global transaction, to add the local matter of said other data source, the status information of the local matter of the status information of the local matter of said message-oriented middleware, said second data source and the status information of said global transaction are kept in said second data source, and said second data source is the database data source.
CN 201110283994 2011-09-22 2011-09-22 Device and method for guaranteeing consistency of data-source-crossing operation results Active CN102306197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110283994 CN102306197B (en) 2011-09-22 2011-09-22 Device and method for guaranteeing consistency of data-source-crossing operation results

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110283994 CN102306197B (en) 2011-09-22 2011-09-22 Device and method for guaranteeing consistency of data-source-crossing operation results

Publications (2)

Publication Number Publication Date
CN102306197A true CN102306197A (en) 2012-01-04
CN102306197B CN102306197B (en) 2013-07-03

Family

ID=45380059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110283994 Active CN102306197B (en) 2011-09-22 2011-09-22 Device and method for guaranteeing consistency of data-source-crossing operation results

Country Status (1)

Country Link
CN (1) CN102306197B (en)

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020147A (en) * 2012-11-22 2013-04-03 用友软件股份有限公司 Data integration system and data integration method
CN103019826A (en) * 2012-12-27 2013-04-03 亚信联创科技(中国)有限公司 Method and device for processing events
CN103995868A (en) * 2014-05-20 2014-08-20 科大国创软件股份有限公司 Distributed system oriented global transaction manager and transaction handling method
CN104809022A (en) * 2015-03-25 2015-07-29 百度在线网络技术(北京)有限公司 Synchronizing method, device and system
CN105447000A (en) * 2014-07-31 2016-03-30 阿里巴巴集团控股有限公司 Transactional message transmission method and device
CN105592117A (en) * 2014-10-23 2016-05-18 阿里巴巴集团控股有限公司 Method and device for processing transaction message
CN105608086A (en) * 2014-11-17 2016-05-25 中兴通讯股份有限公司 Transaction processing method and device of distributed database system
CN105893395A (en) * 2015-01-26 2016-08-24 阿里巴巴集团控股有限公司 Message re-checking method and system of distributed transaction
CN106033562A (en) * 2015-03-16 2016-10-19 阿里巴巴集团控股有限公司 Transaction processing method, transaction participation node and transaction coordination node
CN106155775A (en) * 2015-04-28 2016-11-23 阿里巴巴集团控股有限公司 Message treatment method, equipment and system
CN106156119A (en) * 2015-04-07 2016-11-23 阿里巴巴集团控股有限公司 A kind of distributed transaction communication means, system and device
CN107045454A (en) * 2016-02-06 2017-08-15 华为技术有限公司 Striding course distributed transaction control method and related system
CN107580032A (en) * 2017-08-23 2018-01-12 阿里巴巴集团控股有限公司 Data processing method, device and equipment
CN107623703A (en) * 2016-07-13 2018-01-23 中兴通讯股份有限公司 Global transaction identifies GTID synchronous method, apparatus and system
CN108009027A (en) * 2017-11-23 2018-05-08 北京百度网讯科技有限公司 Implementation method, device, equipment and the storage medium of queue message uniformity
WO2018103318A1 (en) * 2016-12-06 2018-06-14 上海壹账通金融科技有限公司 Distributed transaction handling method and system
CN108279986A (en) * 2017-12-29 2018-07-13 亿阳安全技术有限公司 A kind of distributed transaction processing method and device
CN108845867A (en) * 2018-07-16 2018-11-20 郑州云海信息技术有限公司 A kind of distributed transaction management method, apparatus, system and storage medium
CN109408203A (en) * 2018-11-01 2019-03-01 无锡华云数据技术服务有限公司 A kind of implementation method, device, the computing system of queue message consistency
CN109426552A (en) * 2017-09-05 2019-03-05 阿里巴巴集团控股有限公司 Transaction methods, device and system and electronic equipment
CN109491765A (en) * 2018-10-09 2019-03-19 阿里巴巴集团控股有限公司 To the processing method and processing device of cross-domain service request
CN110502317A (en) * 2018-05-16 2019-11-26 北京京东尚科信息技术有限公司 A kind of method and apparatus of transaction management
CN110532069A (en) * 2019-08-22 2019-12-03 北京宝兰德软件股份有限公司 A kind of distributed transaction submission method and device
CN110659300A (en) * 2019-09-05 2020-01-07 达疆网络科技(上海)有限公司 Method for ensuring final consistency of distributed system data
CN111190914A (en) * 2019-12-31 2020-05-22 武汉中海庭数据技术有限公司 Intermediate layer data safe submission method, device and equipment applied to high-precision map and storage medium
CN111639090A (en) * 2020-06-03 2020-09-08 山东汇贸电子口岸有限公司 Data consistency control method and system in data extraction process
CN112069196A (en) * 2020-11-12 2020-12-11 腾讯科技(深圳)有限公司 Database-based data processing method, device, equipment and readable storage medium
CN112685142A (en) * 2020-12-30 2021-04-20 北京明朝万达科技股份有限公司 Distributed data processing system
CN112765126A (en) * 2020-12-31 2021-05-07 金蝶软件(中国)有限公司 Database transaction management method and device, computer equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970846B (en) * 2017-03-15 2019-08-16 银清科技(北京)有限公司 The control of payment system message and processing method, device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005538460A (en) * 2002-09-12 2005-12-15 インターナショナル・ビジネス・マシーンズ・コーポレーション Data processing system and method (data processing system adapted to integrate heterogeneous processes)
WO2008110115A1 (en) * 2007-03-14 2008-09-18 Huawei Technologies Co., Ltd. Transaction coordinator, resource using terminal, service terminal, and method of distributed transaction processing
CN101673275A (en) * 2009-08-11 2010-03-17 东软集团股份有限公司 Method and device for ensuring consistent affairs inside database
CN101799808A (en) * 2009-02-10 2010-08-11 ***通信集团公司 Data processing method and system thereof
CN102023974A (en) * 2009-09-14 2011-04-20 ***通信集团公司 Method, device and system for processing message by message queue
US7984020B2 (en) * 2007-12-06 2011-07-19 Sap Ag System and method for business object sync-point and rollback framework

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005538460A (en) * 2002-09-12 2005-12-15 インターナショナル・ビジネス・マシーンズ・コーポレーション Data processing system and method (data processing system adapted to integrate heterogeneous processes)
WO2008110115A1 (en) * 2007-03-14 2008-09-18 Huawei Technologies Co., Ltd. Transaction coordinator, resource using terminal, service terminal, and method of distributed transaction processing
US7984020B2 (en) * 2007-12-06 2011-07-19 Sap Ag System and method for business object sync-point and rollback framework
CN101799808A (en) * 2009-02-10 2010-08-11 ***通信集团公司 Data processing method and system thereof
CN101673275A (en) * 2009-08-11 2010-03-17 东软集团股份有限公司 Method and device for ensuring consistent affairs inside database
CN102023974A (en) * 2009-09-14 2011-04-20 ***通信集团公司 Method, device and system for processing message by message queue

Cited By (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020147A (en) * 2012-11-22 2013-04-03 用友软件股份有限公司 Data integration system and data integration method
CN103019826A (en) * 2012-12-27 2013-04-03 亚信联创科技(中国)有限公司 Method and device for processing events
CN103995868A (en) * 2014-05-20 2014-08-20 科大国创软件股份有限公司 Distributed system oriented global transaction manager and transaction handling method
CN103995868B (en) * 2014-05-20 2017-07-21 科大国创软件股份有限公司 The global transaction manager and transaction methods of Based on Distributed system
CN105447000A (en) * 2014-07-31 2016-03-30 阿里巴巴集团控股有限公司 Transactional message transmission method and device
CN105592117A (en) * 2014-10-23 2016-05-18 阿里巴巴集团控股有限公司 Method and device for processing transaction message
CN105592117B (en) * 2014-10-23 2019-01-25 阿里巴巴集团控股有限公司 A kind for the treatment of method and apparatus of transaction message
CN105608086A (en) * 2014-11-17 2016-05-25 中兴通讯股份有限公司 Transaction processing method and device of distributed database system
WO2016078423A1 (en) * 2014-11-17 2016-05-26 中兴通讯股份有限公司 Transaction processing method and apparatus for distributed database system
CN105608086B (en) * 2014-11-17 2021-07-27 中兴通讯股份有限公司 Transaction processing method and device for distributed database system
CN105893395A (en) * 2015-01-26 2016-08-24 阿里巴巴集团控股有限公司 Message re-checking method and system of distributed transaction
CN105893395B (en) * 2015-01-26 2019-04-02 阿里巴巴集团控股有限公司 The message of distributed transaction returns checking method and its system
CN106033562A (en) * 2015-03-16 2016-10-19 阿里巴巴集团控股有限公司 Transaction processing method, transaction participation node and transaction coordination node
CN106033562B (en) * 2015-03-16 2019-12-06 阿里巴巴集团控股有限公司 Transaction processing method, transaction participating node and transaction coordinating node
CN104809022A (en) * 2015-03-25 2015-07-29 百度在线网络技术(北京)有限公司 Synchronizing method, device and system
CN106156119A (en) * 2015-04-07 2016-11-23 阿里巴巴集团控股有限公司 A kind of distributed transaction communication means, system and device
CN106155775A (en) * 2015-04-28 2016-11-23 阿里巴巴集团控股有限公司 Message treatment method, equipment and system
CN106155775B (en) * 2015-04-28 2020-02-21 菜鸟智能物流控股有限公司 Message processing method, device and system
CN107045454A (en) * 2016-02-06 2017-08-15 华为技术有限公司 Striding course distributed transaction control method and related system
CN107045454B (en) * 2016-02-06 2020-06-26 华为技术有限公司 Cross-process distributed transaction control method and related system
CN107623703A (en) * 2016-07-13 2018-01-23 中兴通讯股份有限公司 Global transaction identifies GTID synchronous method, apparatus and system
CN107623703B (en) * 2016-07-13 2021-08-17 中兴通讯股份有限公司 Synchronization method, device and system for Global Transaction Identifier (GTID)
WO2018103318A1 (en) * 2016-12-06 2018-06-14 上海壹账通金融科技有限公司 Distributed transaction handling method and system
CN107580032A (en) * 2017-08-23 2018-01-12 阿里巴巴集团控股有限公司 Data processing method, device and equipment
CN109426552A (en) * 2017-09-05 2019-03-05 阿里巴巴集团控股有限公司 Transaction methods, device and system and electronic equipment
CN108009027A (en) * 2017-11-23 2018-05-08 北京百度网讯科技有限公司 Implementation method, device, equipment and the storage medium of queue message uniformity
CN108279986B (en) * 2017-12-29 2023-10-03 亿阳安全技术有限公司 Distributed transaction processing method and device
CN108279986A (en) * 2017-12-29 2018-07-13 亿阳安全技术有限公司 A kind of distributed transaction processing method and device
CN110502317A (en) * 2018-05-16 2019-11-26 北京京东尚科信息技术有限公司 A kind of method and apparatus of transaction management
CN110502317B (en) * 2018-05-16 2024-03-01 北京京东尚科信息技术有限公司 Transaction management method and device
CN108845867A (en) * 2018-07-16 2018-11-20 郑州云海信息技术有限公司 A kind of distributed transaction management method, apparatus, system and storage medium
CN109491765A (en) * 2018-10-09 2019-03-19 阿里巴巴集团控股有限公司 To the processing method and processing device of cross-domain service request
CN109491765B (en) * 2018-10-09 2021-07-30 创新先进技术有限公司 Method and device for processing cross-domain service request
CN109408203B (en) * 2018-11-01 2019-10-18 无锡华云数据技术服务有限公司 A kind of implementation method, device, the computing system of queue message consistency
CN109408203A (en) * 2018-11-01 2019-03-01 无锡华云数据技术服务有限公司 A kind of implementation method, device, the computing system of queue message consistency
CN110532069A (en) * 2019-08-22 2019-12-03 北京宝兰德软件股份有限公司 A kind of distributed transaction submission method and device
CN110532069B (en) * 2019-08-22 2021-06-29 北京宝兰德软件股份有限公司 Distributed transaction submitting method and device
CN110659300A (en) * 2019-09-05 2020-01-07 达疆网络科技(上海)有限公司 Method for ensuring final consistency of distributed system data
CN111190914A (en) * 2019-12-31 2020-05-22 武汉中海庭数据技术有限公司 Intermediate layer data safe submission method, device and equipment applied to high-precision map and storage medium
CN111639090A (en) * 2020-06-03 2020-09-08 山东汇贸电子口岸有限公司 Data consistency control method and system in data extraction process
CN112069196A (en) * 2020-11-12 2020-12-11 腾讯科技(深圳)有限公司 Database-based data processing method, device, equipment and readable storage medium
CN112685142A (en) * 2020-12-30 2021-04-20 北京明朝万达科技股份有限公司 Distributed data processing system
CN112765126A (en) * 2020-12-31 2021-05-07 金蝶软件(中国)有限公司 Database transaction management method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN102306197B (en) 2013-07-03

Similar Documents

Publication Publication Date Title
CN102306197B (en) Device and method for guaranteeing consistency of data-source-crossing operation results
CN103562904B (en) Backseat playback operation in service
US7779298B2 (en) Distributed job manager recovery
KR101993432B1 (en) Systems and methods for supporting transaction recovery based on a strict ordering of two-phase commit calls
US5964838A (en) Method for sequential and consistent startup and/or reload of multiple processor nodes in a multiple node cluster
US8190562B2 (en) Linking framework for information technology management
CN105354113B (en) A kind of system and method for server, management server
KR102072726B1 (en) Systems and methods for supporting inline delegation of middle-tier transaction logs to database
CN104657158B (en) The method and apparatus of business processing in a kind of operation system
CN108563502A (en) A kind of method for scheduling task and device
CN110138876A (en) Task deployment method, apparatus, equipment and platform
CN102317913A (en) Transaction recovery method and apparatus
CN110737504B (en) Fault-tolerant method, system, terminal and storage medium for deep learning model training
US5706500A (en) Selective transaction oriented recovery and restart for message-driven business applications
CN114510344A (en) Space-based resource virtualization management and control system based on micro-service agent
CN104793981B (en) A kind of online snapshot management method and device of cluster virtual machine
CN113760513A (en) Distributed task scheduling method, device, equipment and medium
CN111507720B (en) Data snapshot method and device based on block chain and computer readable storage medium
WO2004025461A2 (en) A data processing system adapted to integrating non-homogeneous processes
CN113031968B (en) Block chain flow execution system driven by layout chart and using method thereof
CN114787836A (en) System and method for remotely executing one or more arbitrarily defined workflows
CN112540875B (en) Method for restoring check availability of mysql database based on xtrabackup
CN114371961A (en) Universal application system automatic disaster recovery drilling method and storage medium
CN112685142A (en) Distributed data processing system
CN114896258B (en) Transaction data synchronization method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: YONYOU NETWORK TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: UFIDA SOFTWARE CO., LTD.

CP03 Change of name, title or address

Address after: 100094 Haidian District North Road, Beijing, No. 68

Patentee after: Yonyou Network Technology Co., Ltd.

Address before: 100094 Beijing city Haidian District North Road No. 68, UFIDA Software Park

Patentee before: UFIDA Software Co., Ltd.