CN103514028B - A kind of method and apparatus processing distributed transaction - Google Patents
A kind of method and apparatus processing distributed transaction Download PDFInfo
- Publication number
- CN103514028B CN103514028B CN201210198935.6A CN201210198935A CN103514028B CN 103514028 B CN103514028 B CN 103514028B CN 201210198935 A CN201210198935 A CN 201210198935A CN 103514028 B CN103514028 B CN 103514028B
- Authority
- CN
- China
- Prior art keywords
- task
- affairs
- rollback
- processor
- same type
- 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.)
- Active
Links
Landscapes
- Retry When Errors Occur (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention discloses a kind of method and apparatus processing distributed transaction, and described method includes: task manager starts affairs according to application;Affairs are split as multiple task by affairs coordinator, the task of the same type of each affairs is distributed to same task processor, and performs instruction according to tasks carrying order to the transmission of corresponding task processor;Task processor performs, for receive, the task that instruction is corresponding, according to the time of execution by the task merging of same type, calls, by adapter resource, the task that resource performs to merge, and execution result is fed back to affairs coordinator;Affairs coordinator, according to the execution result of feedback, notifies task manager end transaction, or the task that calling task processor rollback has performed, and notifies task manager end transaction after rollback completes.The present invention can solve the problem that the overall problem performing overlong time of multiple same type transaction.
Description
Technical field
The present invention relates to computer realm, particularly to a kind of method and apparatus processing distributed transaction.
Background technology
X/Open tissue (the most present Open Group) defines Distributed Transaction Processing.
X/Open DTP(Distributed Transaction Processing, distributed transactions) model (1994)
Including application program (AP), task manager (TM), explorer (RM), communication resource pipe
Reason device (CRM) four part.Typically, common task manager (TM) is transaction middleware, often
The explorer (RM) seen is data base, and common communications resource manager (CRM) is message
Middleware.Wherein, affairs (Transaction) are the units of con current control, for user-defined one
The sequence of operation.These operate or all do, or do not do, and are working cells that can split.
Distributing real time system refers to that affairs may relate to multiple operation.
Under normal circumstances, by XA interface specification, (XA is exactly X/Open to transaction middleware with data base
Interface specification (i.e. interface function) between transaction middleware and the data base of DTP definition, in the middle of transaction
Part with it come the beginning of notification database affairs, terminate and submit to, rollback etc.), use Two-phase commitment
Completing a global transaction, the basis of XA specification is two-phase commitment protocol.
In the first stage, transaction middleware asks all Relational databases to prepare to submit (submitting in advance) to each
Transaction branch, to be confirmed whether that all Relational databases can submit respective transaction branch to.When certain
One data base receives pre-after submitting instruction to, if one's own transaction branch can be submitted to, then by oneself
Operation done in this transaction branch is fixing to be recorded, and agrees to submission to transaction middleware one
Response, now data base can not add any operation again in this transaction branch, but now data base is also
The most really submitting these affairs to, data base does not also discharge (being in locking state) to the operation of shared resource.
If owing to certain reason data storehouse cannot submit one's own transaction branch to, it is by the institute of rollback oneself
Having an operation, release is to the lock in shared resource, and returns to transaction middleware and unsuccessfully reply.
In second stage, transaction middleware examines the pre-submission result that all data bases return, such as all numbers
Can submit to according to storehouse, transaction middleware would be required to all data bases and is submitted to, so this overall situation thing
It is engaged in submitted.And if have any database to submit in advance and return unsuccessfully, transaction middleware would be required to all its
Its operation of its rollback database, so this global transaction is rolled back.
Existing distributed transaction technology has following defects that
In terms of performance perspective, firstly because in the prior art, each operation in affairs is typically
Order performs, and therefore the total duration of affairs is typically each example operation time sum, such affairs
Response time will be greatly increased.
Secondly, the affairs being normally applied are all little, and the single-set operation time is also with regard to several milliseconds even less than 1 in the least
Second, when it come to arrive distributed transaction, during submission between node (including data base and task manager)
Network service two-way process is also millisecond rank, and the impact on the transaction response time is the most very important.
Owing to transaction duration extends, the locking time of related resource is increased by affairs the most accordingly, thus
May seriously add concurrency conflict, and then have influence on system throughput.
Summary of the invention
A kind of method and apparatus processing distributed transaction that the present invention provides, to solve multiple same type thing
The overall problem performing overlong time of business.
The invention discloses a kind of method processing distributed transaction, described method includes:
Task manager starts affairs according to application;
Affairs are split as multiple task by affairs coordinator, the task of the same type of each affairs are distributed to
Same task processor, and perform instruction according to tasks carrying order to the transmission of corresponding task processor;
Task processor performs, for receive, the task that instruction is corresponding, according to the time of execution by same type
Task merging, by adapter resource call resource perform merge task, and will perform result feedback
To affairs coordinator;
Affairs coordinator according to feedback execution result, notify task manager end transaction, or call appoint
The task that business processor rollback has performed, and after rollback completes, notify task manager end transaction.
It is also preferred that the left described according to feedback execution result, notice task manager end transaction or call appoint
The task that business processor rollback has performed specifically includes:
For each affairs, the execution result in all tasks of described affairs be all successfully time, notify thing
Business manager terminate described affairs, the execution result in any one task of described affairs be unsuccessfully time,
The task that calling task these affairs of processor rollback have performed.
It is also preferred that the left also wrap after the task that described affairs coordinator calling task processor rollback has performed
Include:
After task processor receives the rollback instruction that affairs coordinator sends, will treat back according to rollback time
The same type tasks of rolling merges, and being combined by adapter resource of task carries out rollback.
The task merging of same type is specifically included it is also preferred that the left described according to the execution time:
The execution time same type tasks in preset duration is merged.
The task merging of same type is specifically included it is also preferred that the left described according to the execution time:
By the execution time in preset duration, the quantity same type tasks in default value merges.
It is also preferred that the left described by the execution time in preset duration, the quantity same type in default value appoints
Business merges, and the task of being called resource execution merging by adapter resource is specifically included:
The quantity arrival default value of preset duration or pending same type tasks is arrived when the elapsed time
Time, pending same type tasks is merged, calls resource by adapter resource and perform merging
Task.
Specifically include to task processor transmission execution instruction it is also preferred that the left described according to tasks carrying order:
After execution sequence task formerly completes, to following performing after described completing of task of task
What the task processor transmission at place processed the task of performing after this performs instruction.
Execution result fed back to affairs coordinator specifically include it is also preferred that the left described:
For each task merged in merging treatment, using the result of merging post processing as described task pair
The execution result of the described task of the affairs answered feeds back to affairs coordinator.
The invention also discloses a kind of device processing distributed transaction, described device includes: transaction management
Device, affairs coordinator, multiple task processor, adapter resource;
Described task manager, for starting affairs according to application;
Described affairs coordinator, for being split as multiple task by affairs, by the same type of each affairs
Task distributes to same task processor, sends to corresponding task processor according to tasks carrying order
Perform instruction;Being additionally operable to the execution result according to task processor feedback, notice task manager terminates thing
The task that business or calling task processor rollback have performed, and after rollback completes, notify described affairs pipe
Reason device end transaction;
Described task processor, for performing, for receive, the task that instruction is corresponding, according to when performing
Between by the task merging of same type, call, by adapter resource, the task that resource performs to merge, and will hold
Row result feeds back to affairs coordinator;
Described adapter resource, is used for calling resource.
It is also preferred that the left described affairs coordinator terminates at the execution result according to feedback, notice task manager
Specifically for for each affairs during the task that affairs or calling task processor rollback have performed, in institute
The execution result of all tasks stating affairs be all successfully time, notice task manager terminate described affairs,
Execution result in any one task of described affairs be unsuccessfully time, calling task this thing of processor rollback
The task that business has performed.
The embodiment of the present invention provides the benefit that: by being closed by the same type tasks of the affairs of multiple same types
After and, unified call resource processes, it is possible to increase overall performance, improves whole efficiency, and reduces
Interaction times, reduces the possibility of concurrency conflict.
Accompanying drawing explanation
Fig. 1 is the flow chart that the present invention processes the method for distributed transaction;
Fig. 2 is the flow chart that the present invention processes method one detailed description of the invention of distributed transaction;
Fig. 3 is the flow chart that the present invention processes another detailed description of the invention of method of distributed transaction;
Fig. 4 is the flow chart that the present invention processes the embodiment of the method for distributed transaction;
Fig. 5 is the structure chart that the present invention processes the device of distributed transaction;
Fig. 6 is the schematic diagram that the present invention processes the embodiment of the device of distributed transaction.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to this
Bright embodiment is described in further detail.
See Fig. 1, process the flow process of the method for distributed transaction for the present invention.
Described method comprises the steps.
Step S100, task manager starts affairs according to application.
Step S200, affairs are split as multiple task by affairs coordinator, by the same type of each affairs
Task distributes to same task processor, and sends to corresponding task processor according to tasks carrying order
Perform instruction.
Step S300, task processor performs, for receive, the task that instruction is corresponding, according to when performing
Between by the task merging of same type, call, by adapter resource, the task that resource performs to merge, and will hold
Row result feeds back to affairs coordinator.
Step S400, affairs coordinator, according to the execution result of feedback, notifies task manager end transaction,
Or the task that calling task processor rollback has performed, and after rollback completes, notify task manager knot
Bundle affairs.
In one preferably embodiment, the described execution result according to feedback, notice task manager knot
Restraint affairs, or the task that calling task processor rollback has performed specifically include: for each affairs,
Execution result in all tasks of described affairs be all successfully time, notice task manager terminate described thing
Business, the execution result in any one task of described affairs be unsuccessfully time, calling task processor rollback
The task that these affairs have performed.
Take the method, it is ensured that the concordance of data during distributed treatment.
In one preferably embodiment, described task processor calls resource by adapter resource and performs
The task of distribution specifically includes: task processor calls adapter resource, and adapter resource calls resource journey
Sequence uses resource to perform the task of distribution.
Described one preferably embodiment is as in figure 2 it is shown, by the predetermined number in the range of preset duration
Task merges, and then improves the overall execution efficiency of multiple same type transaction.This embodiment includes
Following steps.
Step S210, task manager starts affairs according to application.
Step S220, affairs are split as multiple task by affairs coordinator, by the same type of each affairs
Task distributes to same task processor, after execution sequence task formerly completes, complete to following at this
The task processor at the task place performed after becoming of task, transmission processes this performing afterwards of task
Perform instruction.
Step S230, task processor performs, for receive, the task that instruction is corresponding, will perform the time
In preset duration, the quantity same type tasks in default value merge, pass through adapter resource
Call the task that resource performs to merge, and execution result is fed back to affairs coordinator.
Described by the execution time in preset duration, the quantity same type tasks in default value closes
And, by adapter resource process merge task specifically include: when the elapsed time arrive preset duration or
When the quantity of pending same type tasks arrives default value, pending same type tasks is closed
And, being combined by adapter resource of task is processed.
Described feed back to affairs coordinator specifically include performing result: be every for what merging treatment merged
Individual task, using anti-as the execution result of this task of affairs corresponding to this task for the result merging post processing
Feed affairs coordinator.
Under this kind of operation, a mission failure in merging treatment, the task of causing merging treatment is corresponding
The task rollback of affairs, therefore under this kind of operation, the present invention is suitable at tasks carrying probability of failure relatively low
System in use.
Step S240, affairs coordinator, according to the execution result of feedback, notifies task manager end transaction,
Or the task that calling task processor rollback has performed, and after rollback completes, notify described transaction management
Device end transaction.
In one preferably embodiment, return after when carrying out rollback, task to same type merges
Rolling, to improve overall execution efficiency.
Step S310, task manager starts affairs according to application.
Step S320, affairs are split as multiple task by affairs coordinator, by the same type of each affairs
Task distributes to same task processor, and sends to corresponding task processor according to tasks carrying order
Perform instruction.
Step S330, task processor performs, for receive, the task that instruction is corresponding, according to when performing
Between by the task merging of same type, call, by adapter resource, the task that resource performs to merge, and will hold
Row result feeds back to affairs coordinator.
For example, according to the execution time, the task merging of same type is specifically included: by multiple packets
Process after merging into a packet.
Such as, the packet header of a network transmission package is 2 bytes, and inclusion is 8 bytes, then this
The efficiency of the network transmission of bag is 8/ (2+8)=80%.
After using the mode of merging treatment, 100 network transmission package are merged and sends, network transmission efficiency
It is exactly 8 × 100/ (8 × 100+2)=99.75%.
For example, the task merging of same type is specifically included by the described foundation execution time: insert multiple
Enter operation and merge into a batch update.
Such as, the data base performing 1000 times inserts (insert) operation, and these 1000 records is closed
And performing once to insert in batches the operation of (bulk insert), performance differs nearly a hundred times.
Step S340, affairs coordinator for each affairs, affairs all tasks execution result all
For time successful, perform step S360, when existing unsuccessfully in the execution result of the task of described affairs,
The task that affairs described in calling task processor rollback have performed, performs step S350.
Step S350, after task processor receives the rollback instruction of affairs coordinator, according to rollback time
Being merged by the same type tasks treating rollback, being combined by adapter resource of task carries out rollback,
Rollback result is notified affairs coordinator.
Specifically, arrive when the quantity of elapsed time arrival preset duration or the same type tasks treating rollback
During default value, the same type tasks treating rollback is merged, by appointing that adapter resource is combined
Business processes.
Step S360, affairs coordinator notice task manager terminates described affairs.
Affairs coordinator can inform that affairs perform as success or failure in the notification.
In this specific embodiment, for the affairs concurrency conflict to the lock of related resource, use and merge
The mode processed, processes the task merging of multiple same types, decreases interaction times, reduce lock
The possibility of concurrency conflict.
Embodiment
In the present invention, application is a concrete application program, and affairs are defined as follows in the application.
Representing that these affairs are made up of three tasks, task 1 first carries out, and task 2 and task 3 treat task 1
Run succeeded and perform afterwards.Furthermore, it is desirable to process multiple this type task.
Step S401, application program initiates calling of a distributed transaction.
Step S402, task manager starts affairs according to definition, and sends affairs coordinator to.
Step S403, these affairs, according to the definition of affairs, are split into multiple task by affairs coordinator.
Step S404, affairs coordinator by split multiple tasks distribute to different task processors, and
Instruction is performed to the transmission of corresponding task processor according to tasks carrying order.
Step S405, task processor will receive the task of the same type of multiple affairs corresponding to multiple instruction
Merge.
Step S406, task processor calls the task that adapter resource performs to merge.
Step S407, adapter resource calls resource manager and processes merging of task.
Step S408, the result of process is returned to adapter resource by resource manager.
Step S409, the result of process is returned to task processor by adapter resource.
Step S410, task processor, for each task merged in merging treatment, will merge post processing
Result feed back to affairs coordinator as the execution result of this task of affairs corresponding to this task.
Step S411, affairs coordinator for each affairs, described affairs all tasks perform knot
Fruit be all successfully time, execution step S412, otherwise, execution step S413.
Step S412, affairs coordinator runs succeeded to task manager reply, and task manager performs step
Rapid S421.
Step S413, affairs coordinator for each affairs, affairs any one task perform knot
Fruit be unsuccessfully time, the task of these affairs that calling task processor rollback has performed.
Step S414, the task merging treating rollback that task processor will receive.
Step S415, task processor calls adapter resource, the task that rollback merges.
Step S416, adapter resource calls resource manager, performs rolling back action.
Step S417, resource manager rollback returns rollback result after performing to terminate.
Step S418, rollback result is returned to task processor by adapter resource.
Step S419, rollback result is returned to affairs coordinator by task processor.
Step S420, affairs coordinator returns operation failure to task manager according to rollback result.
If rollback failure, then note down daily record, need manual intervention.
Step S421, task manager, according to the reply of affairs coordinator, replys application program.
A kind of device processing distributed transaction is as it is shown in figure 5, described device includes: task manager 100,
Affairs coordinator 200, multiple task processor 300, adapter resource 400.
Described task manager 100, for starting affairs according to application;
Described affairs coordinator 200, for affairs being split as multiple task, similar by each affairs
The task of type distributes to same task processor 300, and according to tasks carrying order at corresponding task
Reason device 300 sends and performs instruction;It is additionally operable to the execution result according to task processor 300 feedback, notice
Task manager end transaction, or the task that calling task processor rollback has performed, and complete in rollback
Described task manager end transaction is notified after one-tenth;
Described task processor 300, for performing, for receive, the task that instruction is corresponding, according to holding
The row time, by the task merging of same type, calls resource by adapter resource 400 and performs appointing of distribution
Business, and execution result is fed back to affairs coordinator;
Described adapter resource 400, is used for calling resource.
Wherein, described affairs coordinator 200 is at the execution result according to feedback, notice task manager knot
Specifically for for each thing during the task that bundle affairs or calling task processor 300 rollback have performed
Business, the execution result in all tasks of described affairs be all successfully time, notify task manager terminate institute
State affairs, the execution result in any one task of described affairs be unsuccessfully time, calling task processor
The task that these affairs of 300 rollbacks have performed.
In one preferably embodiment, described task processor 300 is additionally operable at task processor 300
After receiving rollback instruction, according to rollback time, the same type tasks treating rollback is merged, by money
The task that source adapter 400 is combined carries out rollback.
In one preferably embodiment, described task processor 300 specifically for by the execution time in advance
If the same type tasks in duration merges.
In one preferably embodiment, described task processor 300 specifically for by the execution time in advance
If the same type tasks that the quantity in duration is in default value merges.
Wherein, described will perform the time quantity in preset duration same type tasks in default value
Merging, the task of performing to merge by adapter resource specifically includes: preset when the elapsed time arrives
When the quantity of duration or pending same type tasks arrives default value, by pending same type tasks
Merge, call, by adapter resource, the task that resource performs to merge.
In one preferably embodiment, described affairs coordinator 200 according to tasks carrying order to appoint
Business processor 300 send when performing instruction specifically for: after execution sequence task formerly completes, to
Task processor 300 transmission following the task place performed after described completing of task processes this it
The task of rear execution perform instruction.
In one preferably embodiment, execution result is being fed back to affairs by described task processor 300
During coordinator 200 specifically for: for each task merged in merging treatment, post processing will be merged
Result feeds back to affairs coordinator 200 as the execution result of this task of affairs corresponding to this task.
The embodiment of a kind of device 200A processing distributed transaction of the present invention is as shown in Figure 6.
Affairs defined in application program 100A.
The task manager 100 task included in one affairs of definition, and receive application program
Call startup affairs, and stop affairs according to the feedback of affairs coordinator 200.
Affairs coordinator 200 splits into multiple task for the affairs starting task manager 100 to perform,
And those tasks are distributed to task processor 300 process.
If all tasks that affairs coordinator 200 is additionally operable to affairs are all successful, notify transaction management
Device 100 end transaction.If all tasks of affairs exist at least one failure, then perform back
Rolling, rollback terminates these affairs after completing.Rollback is the rollback of whole affairs, has performed in affairs
Task rollback, not performing of task is without carrying out rollback.
Affairs coordinator 200 is equivalent to the transaction middleware in XA.
After task processor 300 is used for having processed certain task, by feedback result to affairs coordinator
200。
Task processor 300 is responsible for processing certain particular task splitted out in certain affairs, at task
Reason device 300 merges for the task of same type in multiple affairs, such as by 100 Insert
Statement is merged into Bulk Insert and performs, and is effectively increased the efficiency that data base performs, and decreases lock punching
Prominent possibility;Or 100 network calls are merged into 1 network call, improve network transmission efficiency.
Task processor 300 batch performs task, performs specific tasks, and this module is stripped out, energy
Enough merge execution, improve performance.
Task processor 300 can process the submission of task, also can process the rollback of task.When rollback,
For merging treatment, merging treatment is carried out rollback.
Adapter resource 400 is the communication pipe assembly of distributed system and external resource, such as data base
Drive assembly or call the RPC invocation component etc. of remote service.
Similar with the communications resource manager of prior art, main purpose is to support different resource
Use.Such as can support that Mysql data base can also support oracle database, it is also possible to support
One service.
Resource manager 300A is certain resource that distributed transaction needs to call, and can be data base
Management system such as Oracle, Sql Server, Mysql etc., it is also possible to be certain service or other resources.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the protection model of the present invention
Enclose.All any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention, all
Comprise within the scope of the present invention.
Claims (9)
1. the method processing distributed transaction, it is characterised in that described method includes:
Task manager starts affairs according to application;
Affairs are split as multiple task by affairs coordinator, the task of the same type of each affairs are distributed to
Same task processor, and perform instruction according to tasks carrying order to the transmission of corresponding task processor;
Task processor performs, for receive, the task that instruction is corresponding, according to the time of execution by same type
Task merging, by adapter resource call resource perform merge task, and will perform result feedback
To affairs coordinator;
Affairs coordinator according to feedback execution result, notify task manager end transaction, or call appoint
The task that business processor rollback has performed, and after rollback completes, notify task manager end transaction;
Also include after the task that described affairs coordinator calling task processor rollback has performed:
After task processor receives the rollback instruction that affairs coordinator sends, will treat back according to rollback time
The same type tasks of rolling merges, and being combined by adapter resource of task carries out rollback.
Method the most according to claim 1, it is characterised in that
The described execution result according to feedback, notifies task manager end transaction, or calling task processes
The task that device rollback has performed specifically includes:
For each affairs, the execution result in all tasks of described affairs be all successfully time, notify thing
Business manager terminate described affairs, the execution result in any one task of described affairs be unsuccessfully time,
The task that calling task these affairs of processor rollback have performed.
Method the most according to claim 1, it is characterised in that
The task merging of same type is specifically included by the described foundation execution time:
The execution time same type tasks in preset duration is merged.
Method the most according to claim 1, it is characterised in that
The task merging of same type is specifically included by the described foundation execution time:
By the execution time in preset duration, the quantity same type tasks in default value merges.
Method the most according to claim 4, it is characterised in that
Described by the execution time in preset duration, the quantity same type tasks in default value closes
And, the task of being called resource execution merging by adapter resource is specifically included:
The quantity arrival default value of preset duration or pending same type tasks is arrived when the elapsed time
Time, pending same type tasks is merged, calls resource by adapter resource and perform merging
Task.
Method the most according to claim 1, it is characterised in that
Described foundation tasks carrying order sends execution instruction to task processor and specifically includes:
After execution sequence task formerly completes, to following performing after described completing of task of task
What the task processor transmission at place processed the task of performing after this performs instruction.
Method the most according to claim 1, it is characterised in that
Described execution result fed back to affairs coordinator specifically include:
For each task merged in merging treatment, using the result of merging post processing as described task pair
The execution result of the described task of the affairs answered feeds back to affairs coordinator.
8. the device processing distributed transaction, it is characterised in that described device includes: transaction management
Device, affairs coordinator, multiple task processor, adapter resource;
Described task manager, for starting affairs according to application;
Described affairs coordinator, for being split as multiple task by affairs, by the same type of each affairs
Task distributes to same task processor, sends to corresponding task processor according to tasks carrying order
Perform instruction;Being additionally operable to the execution result according to task processor feedback, notice task manager terminates thing
The task that business or calling task processor rollback have performed, and after rollback completes, notify described affairs pipe
Reason device end transaction;Wherein, after task processor receives the rollback instruction that affairs coordinator sends, root
According to rollback time, the same type tasks treating rollback is merged, being combined by adapter resource of task
Carry out rollback;
Described task processor, for performing, for receive, the task that instruction is corresponding, according to when performing
Between by the task merging of same type, call, by adapter resource, the task that resource performs to merge, and will hold
Row result feeds back to affairs coordinator;
Described adapter resource, is used for calling resource.
Device the most according to claim 8, it is characterised in that
Described affairs coordinator is at the execution result according to feedback, notice task manager end transaction or tune
Specifically for for each affairs during having performed with task processor rollback of task, in described affairs
The execution result of all tasks be all successfully time, notice task manager terminate described affairs, in described thing
The execution result of any one task of business be unsuccessfully time, calling task these affairs of processor rollback have been held
The task of row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210198935.6A CN103514028B (en) | 2012-06-14 | 2012-06-14 | A kind of method and apparatus processing distributed transaction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210198935.6A CN103514028B (en) | 2012-06-14 | 2012-06-14 | A kind of method and apparatus processing distributed transaction |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103514028A CN103514028A (en) | 2014-01-15 |
CN103514028B true CN103514028B (en) | 2016-12-21 |
Family
ID=49896802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210198935.6A Active CN103514028B (en) | 2012-06-14 | 2012-06-14 | A kind of method and apparatus processing distributed transaction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103514028B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874520A (en) * | 2018-06-06 | 2018-11-23 | 成都四方伟业软件股份有限公司 | Calculation method and device |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103984594B (en) * | 2014-05-14 | 2018-05-22 | 上海上讯信息技术股份有限公司 | A kind of method for scheduling task and system based on distributed configurable weighting algorithm |
CN105630588B (en) * | 2014-11-06 | 2019-03-01 | 卓望数码技术(深圳)有限公司 | A kind of Distributed Job Scheduling method and system |
CN106033439B (en) * | 2015-03-13 | 2019-10-22 | 阿里巴巴集团控股有限公司 | A kind of distributed transaction processing method and system |
CN106156119A (en) * | 2015-04-07 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of distributed transaction communication means, system and device |
CN104866403B (en) * | 2015-05-13 | 2016-09-21 | 上海钢富电子商务有限公司 | Distributed task scheduling processing system and method |
CN107045454B (en) * | 2016-02-06 | 2020-06-26 | 华为技术有限公司 | Cross-process distributed transaction control method and related system |
CN105786594A (en) * | 2016-02-25 | 2016-07-20 | 北京小米移动软件有限公司 | Distributed transaction processing method, device and system |
CN106155786A (en) * | 2016-06-23 | 2016-11-23 | 浪潮(北京)电子信息产业有限公司 | A kind of cloud platform task management method and system |
CN107766080B (en) * | 2016-08-23 | 2021-11-09 | 阿里巴巴集团控股有限公司 | Transaction message processing method, device, equipment and system |
CN110019443B (en) * | 2017-09-08 | 2023-08-11 | 阿里巴巴集团控股有限公司 | Non-relational database transaction processing method and device and electronic equipment |
CN108551478B (en) * | 2018-03-29 | 2020-12-18 | 中国银联股份有限公司 | Transaction processing method, server and transaction processing system |
CN109002462B (en) * | 2018-06-04 | 2020-11-27 | 北京明朝万达科技股份有限公司 | Method and system for realizing distributed transaction |
CN109241186A (en) * | 2018-08-29 | 2019-01-18 | 深圳市小牛在线互联网信息咨询有限公司 | Management method, system, computer equipment and the storage medium of distributed transaction |
CN109388503A (en) * | 2018-09-20 | 2019-02-26 | 阿里巴巴集团控股有限公司 | A kind of event-handling method and device |
CN109725987A (en) * | 2018-12-15 | 2019-05-07 | 深圳壹账通智能科技有限公司 | A kind of distributed transaction consistency solution and relevant device |
CN110333935B (en) * | 2019-06-05 | 2022-12-02 | 创新先进技术有限公司 | Transaction request processing method and device |
CN111159782B (en) * | 2019-12-03 | 2021-05-18 | 支付宝(杭州)信息技术有限公司 | Safety task processing method and electronic equipment |
CN112882803B (en) * | 2021-03-08 | 2024-05-14 | 万维云网(北京)数据科技有限公司 | Data processing method and system |
CN112883045B (en) * | 2021-03-31 | 2024-05-17 | 中国工商银行股份有限公司 | Database transaction splitting execution method and device |
CN116775522A (en) * | 2022-03-08 | 2023-09-19 | 华为技术有限公司 | Data processing method based on network equipment and network equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1507597A (en) * | 2001-05-15 | 2004-06-23 | �Ҵ���˾ | Method for managing distributed savepoints across multiple DBMS's within a distributed transaction |
CN101567013A (en) * | 2009-06-02 | 2009-10-28 | 阿里巴巴集团控股有限公司 | Method and apparatus for implementing ETL scheduling |
CN102073540A (en) * | 2010-12-15 | 2011-05-25 | 北京新媒传信科技有限公司 | Distributed affair submitting method and device thereof |
CN102231121A (en) * | 2011-07-25 | 2011-11-02 | 北方工业大学 | Memory mapping-based rapid parallel extraction method for big data file |
CN102340537A (en) * | 2011-06-30 | 2012-02-01 | 北京新媒传信科技有限公司 | Distributed business processing method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8752054B2 (en) * | 2010-03-11 | 2014-06-10 | Avaya Inc. | Intelligent merging of transactions based on a variety of criteria |
-
2012
- 2012-06-14 CN CN201210198935.6A patent/CN103514028B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1507597A (en) * | 2001-05-15 | 2004-06-23 | �Ҵ���˾ | Method for managing distributed savepoints across multiple DBMS's within a distributed transaction |
CN101567013A (en) * | 2009-06-02 | 2009-10-28 | 阿里巴巴集团控股有限公司 | Method and apparatus for implementing ETL scheduling |
CN102073540A (en) * | 2010-12-15 | 2011-05-25 | 北京新媒传信科技有限公司 | Distributed affair submitting method and device thereof |
CN102340537A (en) * | 2011-06-30 | 2012-02-01 | 北京新媒传信科技有限公司 | Distributed business processing method and device |
CN102231121A (en) * | 2011-07-25 | 2011-11-02 | 北方工业大学 | Memory mapping-based rapid parallel extraction method for big data file |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874520A (en) * | 2018-06-06 | 2018-11-23 | 成都四方伟业软件股份有限公司 | Calculation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN103514028A (en) | 2014-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103514028B (en) | A kind of method and apparatus processing distributed transaction | |
Hellings et al. | Byshard: Sharding in a byzantine environment | |
US9621409B2 (en) | System and method for handling storage events in a distributed data grid | |
CN108804237A (en) | Data real-time statistical method, device, storage medium and electronic equipment | |
CN107203560B (en) | Database, multi-database operation transaction consistency ensuring method and system | |
US9448861B2 (en) | Concurrent processing of multiple received messages while releasing such messages in an original message order with abort policy roll back | |
CN110825535A (en) | Job scheduling method and system | |
CN105740085B (en) | Fault-tolerance processing method and device | |
CN106909467A (en) | A kind of distributed transaction processing method based on micro services framework | |
CN111277639A (en) | Method and device for maintaining data consistency | |
CN106168915A (en) | Distributed system architecture data process consistency ensuring method | |
CN106528288A (en) | Resource management method, device and system | |
CN112288423A (en) | Aggregation payment method and system of distributed framework | |
CN109255701A (en) | A kind of net loan business data processing method | |
CN112099935A (en) | Task processing method and device | |
CN109064311A (en) | Batch based on online mode is withholdd processing method and processing device | |
CN111090532B (en) | Application service calling method, device, electronic equipment and computer storage medium | |
CN111680080A (en) | Data processing method and data processing system | |
CN102243655A (en) | Method and device for managing database connections | |
CN107247784A (en) | The control method and task manager of a kind of distributed transaction | |
CN107766137A (en) | A kind of task processing method and device | |
McGee | The information management system IMS/VS, Part V: Transaction processing facilities | |
WO2022206429A1 (en) | Distributed transaction implementation method and distributed system | |
CN105874435B (en) | Non- block registration in distributed transaction | |
CN110647385A (en) | Distributed transaction execution method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder |
Address after: Room 810, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080 Patentee after: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd. Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building 6 storey block A room 602 Patentee before: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd. |
|
CP02 | Change in the address of a patent holder |