Patent US6463456B1 successfully refreshed from Google Patents.
← Back to Patent Explorer
US6463456B1 Expired / Lapsed US ⏱️ 0.0 years remaining

Efficient registration for distributed transaction systems

Assignee: International Business Machines Corp
•
Filing: 1999-09-01
•
Granted: 2002-10-08
•
Expires: 2019-09-01
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract The preferred embodiment provides an improved system and method for registration of Resource Managers with Transaction Managers in an distributed processing environment. The preferred system and method creates and stores a transactional resource in a container when the first execution method goes to the Resource Manager. The transactional resource represents the Resource Manager to the Transaction Manager. The transactional resource uses X/Open static registration procedures to inform the Resource Manager about the new transaction. The transactional resource is then registered to the Transaction Manager. In this way, only those Resources Managers that are involved in a transaction are registered and made known to registered to the Transaction Manager. Additionally, because static registration procedures are used, the Transaction Manager maintains control of the transaction

Inventors

  • 👤 Teresa C. Kan
  • 👤 Michael D. McKeehan

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-03 14:32
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/46; G06F9/466

Claims Analysis

Total Claims: 56
Claim 1
Independent Claim 105 words
An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a computer program residing in the memory and being executed by the at least one processor, the computer program including a plurality of containers, with each container corresponding to a resource manager for a resource in distributed processing system, and wherein each of the plurality of containers creates a transactional resource for representing the corresponding resource manager when the corresponding resource manager is to be involved in a current transaction. and wherein the transactional resource represents the corresponding resource manager involved in the current transaction to a transaction manager.
Claim 2
Independent Claim 105 words
An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a computer program residing in the memory and being executed by the at least one processor, the computer program including a plurality of containers, with each container corresponding to a resource manager for a resource in distributed processing system, and wherein each of the plurality of containers creates a transactional resource for representing the corresponding resource manager when the corresponding resource manager is to be involved in a current transaction. and wherein the transactional resource represents the corresponding resource manager involved in the current transaction to a transaction manager.
Claim 3
Dependent Claim 22 words
The apparatus of claim 1 wherein the transactional resource informs the corresponding resource manager about the current transaction using static registration techniques.
Claim 4
Dependent Claim 14 words
The apparatus of claim 1 wherein the distributed processing system comprises an X/Open system.
Claim 5
Dependent Claim 19 words
The apparatus of claim 1 wherein the transactional resource implements a X/Open XA interface for the corresponding resource manager.
Claim 6
Dependent Claim 18 words
The apparatus of claim 1 wherein the transactional resource comprises an object wrapper of the corresponding resource manager.
Claim 7
Dependent Claim 60 words
The apparatus of claim 1 wherein the transactional resource includes a start method, and wherein the start method calls xa_open if not previously invoked on the resource manager within the thread of control and calls xa_start to start a new transaction, and wherein start method further registers the transactional resource to the transaction manager on behalf of the resource manager.
Claim 8
Dependent Claim 36 words
The apparatus of claim 1 wherein the transactional resource includes commit and rollback methods for receiving calls from the transaction manager, and wherein the commit and rollback methods pass the corresponding call to the resource manager.
Claim 9
Dependent Claim 36 words
The apparatus of claim 1 wherein the transactional resource includes a prepare method, and wherein the prepare method calls xa_end and xa_prepare on the resource manager when the prepare method is called by the transaction manager.
Claim 10
Dependent Claim 25 words
The apparatus of claim 1 wherein the transactional resource collects a vote from the resource manager and passes the collected vote to the transaction manager.
Claim 11
Dependent Claim 16 words
The apparatus of claim 1 wherein the container registers the transactional resource to the transaction manager.
Claim 12
Dependent Claim 18 words
The apparatus of claim 1 wherein each container includes resource manager configuration information for the corresponding resource manager.
Claim 13
Independent Claim 141 words
An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a computer program residing in the memory and being executed by the at least one processor, the computer program including a plurality of containers, with each container stores configuration information for a corresponding resource manager for a resource in an X/Open system, and wherein each of the plurality of containers creates a transactional resource for representing the corresponding resource manager when the corresponding resource manager is to be involved in a current transaction, and wherein each transactional resource comprises: a start method, and wherein the start method calls xa_open if not previously invoked on the resource manager within the thread of control and calls xa_start to start the current transaction, and registers the transactional resource to a transaction manager on behalf of the resource manager.
Claim 14
Independent Claim 141 words
An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a computer program residing in the memory and being executed by the at least one processor, the computer program including a plurality of containers, with each container stores configuration information for a corresponding resource manager for a resource in an X/Open system, and wherein each of the plurality of containers creates a transactional resource for representing the corresponding resource manager when the corresponding resource manager is to be involved in a current transaction, and wherein each transactional resource comprises: a start method, and wherein the start method calls xa_open if not previously invoked on the resource manager within the thread of control and calls xa_start to start the current transaction, and registers the transactional resource to a transaction manager on behalf of the resource manager.
Claim 15
Dependent Claim 62 words
The apparatus of claim 12 wherein the transactional resource additionally includes a prepare method, and wherein the prepare method calls xa_end and xa_prepare on the resource manager when the prepare method is called by the transaction manager, and wherein the transactional resource collects a vote from the corresponding resource manager in response to xa_prepare and passes the vote to the transaction manager.
Claim 16
Dependent Claim 51 words
The apparatus of claim 12 wherein each transactional resource additionally includes a commit method and a rollback method, such that when each transactional resource receives a commit call or a rollback call from the transaction manager the transactional resource passes the commit call or rollback call to the corresponding resource manager.
Claim 17
Dependent Claim 19 words
The apparatus of claim 12 wherein each the transactional resource comprises an object wrapper of the corresponding resource manager.
Claim 18
Dependent Claim 87 words
A program product comprising: (A) a computer program including a plurality of containers, with each container corresponding to a resource manager for a resource in distributed processing system, and wherein each of the plurality of containers creates a transactional resource for representing the corresponding resource manager when the corresponding resource manager is to be involved in a current transaction. and wherein the transactional resource represents the corresponding resource manager involved in the current transaction to a transaction manager; and (B) signal bearing media bearing the computer program.
Claim 19
Dependent Claim 87 words
A program product comprising: (A) a computer program including a plurality of containers, with each container corresponding to a resource manager for a resource in distributed processing system, and wherein each of the plurality of containers creates a transactional resource for representing the corresponding resource manager when the corresponding resource manager is to be involved in a current transaction. and wherein the transactional resource represents the corresponding resource manager involved in the current transaction to a transaction manager; and (B) signal bearing media bearing the computer program.
Claim 20
Dependent Claim 14 words
The program product of claim 16 wherein the signal bearing media comprises recordable media.
Claim 21
Dependent Claim 14 words
The program product of claim 16 wherein the signal bearing media comprises transmission media.
Claim 22
Dependent Claim 23 words
The program product of claim 16 wherein the transactional resource informs the corresponding resource manager about the current transaction using static registration techniques.
Claim 23
Dependent Claim 15 words
The program product of claim 16 wherein the distributed processing system comprises an X/Open system.
Claim 24
Dependent Claim 19 words
The program product of claim 16 wherein the transactional resource implements X/Open XA interface for the corresponding resource manager.
Claim 25
Dependent Claim 19 words
The program product of claim 16 wherein the transactional resource comprises an object wrapper of the corresponding resource manager.
Claim 26
Dependent Claim 57 words
The program product of claim 16 wherein the transactional resource includes a start method, and wherein the start method calls xa_open if not previously invoked on the resource manager and calls xa_start to start a new transaction, and wherein the start method further registers the transactional resource to the transaction manager on behalf of the resource manager.
Claim 27
Dependent Claim 37 words
The program product of claim 16 wherein the transactional resource includes commit and rollback methods for receiving calls from the transaction manager, and wherein the commit and rollback methods pass the corresponding call to the resource manager.
Claim 28
Dependent Claim 37 words
The program product of claim 16 wherein the transactional resource includes a prepare method, and wherein the prepare method calls xa_end and xa_prepare on the resource manager when the prepare method is called by the transaction manager.
Claim 29
Dependent Claim 26 words
The program product of claim 16 wherein the transactional resource collects a vote from the resource manager and passes the collected vote to the transaction manager.
Claim 30
Dependent Claim 18 words
The program product of claim 16 wherein the container includes resource manager configuration information to the transaction manager.
Claim 31
Dependent Claim 17 words
The program product of claim 16 wherein the container registers the transaction resource to the transaction manager.
Claim 32
Dependent Claim 122 words
A program product comprising: (A) a the computer program including a plurality of containers, with each container stores configuration information for a corresponding resource manager for a resource in an X/Open system, and wherein each of the plurality of containers creates a transactional resource for representing the corresponding resource manager when the corresponding resource manager is to be involved in a current transaction, and wherein each transactional resource comprises: a start method, and wherein the start method calls xa_open if not previously invoked on the resource manager within the thread of control and calls xa_start to start the current transaction, and registers the transactional resource to a transaction manager on behalf of the resource manager; (B) signal bearing media bearing computer program.
Claim 33
Dependent Claim 122 words
A program product comprising: (A) a the computer program including a plurality of containers, with each container stores configuration information for a corresponding resource manager for a resource in an X/Open system, and wherein each of the plurality of containers creates a transactional resource for representing the corresponding resource manager when the corresponding resource manager is to be involved in a current transaction, and wherein each transactional resource comprises: a start method, and wherein the start method calls xa_open if not previously invoked on the resource manager within the thread of control and calls xa_start to start the current transaction, and registers the transactional resource to a transaction manager on behalf of the resource manager; (B) signal bearing media bearing computer program.
Claim 34
Dependent Claim 14 words
The program product of claim 29 wherein the signal bearing media comprises recordable media.
Claim 35
Dependent Claim 14 words
The program product of claim 29 wherein the signal bearing media comprises transmission media.
Claim 36
Dependent Claim 62 words
The program product of claim 29 wherein the transactional resource additionally includes a prepare method, and wherein the prepare method calls xa_end and xa_prepare on the resource manager when the prepare method is called by the transaction manager, and wherein the transactional resource collects a vote from the corresponding resource manager in response to xa_prepare and passes the vote the transaction manager.
Claim 37
Dependent Claim 52 words
The program product of claim 29 wherein each transactional resource additionally includes a commit method and a rollback method, such that when each transactional resource receives a commit call or a rollback call from the transaction manager the transactional resource passes the commit call or rollback call to the corresponding resource manager.
Claim 38
Dependent Claim 20 words
The program product of claim 29 wherein each the transactional resource comprises an object wrapper of the corresponding resource manager.
Claim 39
Independent Claim 74 words
A method for selectively registering a resource manager to a transaction manager in a distributed transaction system, the method comprising the steps of: a) creating a transactional resource in a container corresponding to the resource manager, the transactional resource representing the corresponding resource manager to the transaction manager; b) informing the resource manager of the start of a current transaction using static registration techniques when the resource manager is involved in the current transaction.
Claim 40
Independent Claim 74 words
A method for selectively registering a resource manager to a transaction manager in a distributed transaction system, the method comprising the steps of: a) creating a transactional resource in a container corresponding to the resource manager, the transactional resource representing the corresponding resource manager to the transaction manager; b) informing the resource manager of the start of a current transaction using static registration techniques when the resource manager is involved in the current transaction.
Claim 41
Dependent Claim 32 words
The method of claim 35 wherein the step of creating a transactional resource comprises retrieving resource manager configuration data from the container and using the configuration data to create the transactional resource.
Claim 42
Dependent Claim 33 words
The method of claim 35 wherein the step of creating a transactional resource comprises retrieving a global transaction ID from the Transaction Manager using the global transaction ID to create the transactional resource.
Claim 43
Dependent Claim 17 words
The method of claim 35 further comprising step of registering the transactional resource to the transaction manager.
Claim 44
Dependent Claim 14 words
The method of claim 35 wherein the distributed transaction system comprises an X/Open system.
Claim 45
Dependent Claim 19 words
The method of claim 35 wherein the transactional resource implements a X/Open XA interface for the corresponding resource manager.
Claim 46
Dependent Claim 20 words
The method of claim 35 wherein the container comprises a container used to store the corresponding resource manager configuration information.
Claim 47
Dependent Claim 87 words
The method of claim 35 wherein the step of informing the resource manager of the start of a current transaction using static registration techniques when the resource manager is involved in the current transaction comprises calling a start method on the transactional resource, and wherein the start method calls xa_open on the resource manager if not previously invoked on the resource manager and calls xa_start on the resource manager to start the current transaction, and wherein the start method further registers the transactional resource to transaction manager.
Claim 48
Dependent Claim 36 words
The method of claim 35 wherein the transactional resource includes a prepare method, and wherein the prepare method calls xa_end and xa_prepare on the resource manager when the prepare method is called by the transaction manager.
Claim 49
Dependent Claim 38 words
The method of claim 35 further comprising the steps of the transactional resource collecting a vote as to whether to commit the current transaction or rollback the current transaction and passing the collected vote to the transaction manager.
Claim 50
Independent Claim 131 words
A method for selectively registering a plurality of resource managers to a transaction manager in an X/Open system, the method comprising the steps of: a) providing a plurality of containers, with each container corresponding to one of the plurality of resource managers and storing resource manager configuration data; b) creating a transactional resource in each container corresponding to a resource manager that is to be involved in a current transaction; c) associating the transactional resource to the corresponding resource manager within a corresponding thread of control; d) associating the resource manager to the new transaction by the transactional resource calling xa_start on the corresponding resource manager when the start method is invoked; and e) registering the transactional resource to the transaction manager by calling a registration method on the transaction manager.
Claim 51
Independent Claim 131 words
A method for selectively registering a plurality of resource managers to a transaction manager in an X/Open system, the method comprising the steps of: a) providing a plurality of containers, with each container corresponding to one of the plurality of resource managers and storing resource manager configuration data; b) creating a transactional resource in each container corresponding to a resource manager that is to be involved in a current transaction; c) associating the transactional resource to the corresponding resource manager within a corresponding thread of control; d) associating the resource manager to the new transaction by the transactional resource calling xa_start on the corresponding resource manager when the start method is invoked; and e) registering the transactional resource to the transaction manager by calling a registration method on the transaction manager.
Claim 52
Dependent Claim 75 words
The method of claim 45 wherein the step of associating the transactional resource to the corresponding resource manager and associating the resource manager to a new transaction calling a start method on the transactional resource, and wherein the start method calls xa_open on the resource manager if not previously invoked on the resource manager and calls xa_start on the resource manager to start the current transaction and register the resource manager to the transaction manager.
Claim 53
Dependent Claim 36 words
The method of claim 45 wherein each transactional resource includes a prepare method, and wherein the prepare method calls xa_end and xa_prepare on the resource manager when the prepare method is called by the transaction manager.
Claim 54
Dependent Claim 58 words
The method of claim 45 wherein the step of creating a transactional resource comprises retrieving resource manager configuration data from the container and using the configuration data to create the transactional resource in the container, and further comprises retrieving a global transaction ID from the transaction manager and using the global transaction ID to create the transactional resource.
Claim 55
Dependent Claim 19 words
The method of claim 45 wherein the transactional resource implements a X/Open XA interface for the corresponding resource manager.
Claim 56
Dependent Claim 38 words
The method of claim 45 further comprising the steps of the transactional resource collecting a vote as to whether to commit the current transaction or rollback the current transaction and passing the collected vote to the transaction manager.

References Cited (Backward Citations)

US6009405A Cited
US5768587A Cited
US6105147A Cited
US6016495A Cited
US6374243B1 Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2005-10-07 2006-04-08 2006-10-08 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2009-10-07 2010-04-08 2010-10-08 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2013-10-07 2014-04-08 2014-10-08 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag