Registration of resources for commit procedures
First Claim
1. A computer system for executing an application program in an execution environment, said application program making a first set of work requests to read or update a first plurality of resources coupled to said execution environment, a second set of work requests to read or update a second plurality of said resources, a first request to commit said first set of work requests, and a second request to commit said second set of work requests, a period between a work request of the first set and the first commit request being at least partially concurrent with a period between a work request of the second set and the second commit request, said system comprising:
- means for providing the execution environment;
means, executing in said execution environment, for coordinating a commit procedure for said first set of work requests and coordinating a commit procedure for said second set of work requests; and
a plurality of resource manager interface means, including means for coupling to respective managers of said resources, executing in said execution environment, and coupled to the coordinating means, each of said resource manager interface means for said first plurality of resources responding to the respective work request of said first set by registering the respective resource in a first work unit with said coordinating means and each of said resource manager interface means for said second plurality of resources responding to the respective work request of said second set by registering the respective resource in a second work unit with said coordinating means, said first and second work units being at least partially concurrent with each other; and
whereinsaid coordinating means responds to said first request by said application program to commit said first set of work requests by determining from said registrations that said first plurality of resources are included in said first work unit and transmitting commit requests for said first plurality of resources and responds to said second request by said application program to commit said second work unit by determining from said registrations that said second plurality of resources are included in said second work unit and transmitting commit requests for said second plurality of resources.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer system provides registration of resource for synchronization point processing. Resources include file systems, data bases, and protected conversations. A resource becomes protected by the system when it is registered in the application'"'"'s execution environment. The execution environment includes but is not exclusive to the interactive environment. Accordingly the invention provides an efficient and uniform method for identification of protected resources. The registration facility is separate from the application. Thus, the users of applications, application program developers, system administrators and operators need not have to consider or design a registration facility but only involve the one provided. A protected resource manager, through its adapter, can modify, at any time, the registration information, either by adding missing information or by changing the existing information. A resource registers only for the work unit in which it wishes to participate. An application could have several work units. A resource can register for two work units in the application or two resources can register for a single work unit or both.
114 Citations
16 Claims
-
1. A computer system for executing an application program in an execution environment, said application program making a first set of work requests to read or update a first plurality of resources coupled to said execution environment, a second set of work requests to read or update a second plurality of said resources, a first request to commit said first set of work requests, and a second request to commit said second set of work requests, a period between a work request of the first set and the first commit request being at least partially concurrent with a period between a work request of the second set and the second commit request, said system comprising:
-
means for providing the execution environment; means, executing in said execution environment, for coordinating a commit procedure for said first set of work requests and coordinating a commit procedure for said second set of work requests; and a plurality of resource manager interface means, including means for coupling to respective managers of said resources, executing in said execution environment, and coupled to the coordinating means, each of said resource manager interface means for said first plurality of resources responding to the respective work request of said first set by registering the respective resource in a first work unit with said coordinating means and each of said resource manager interface means for said second plurality of resources responding to the respective work request of said second set by registering the respective resource in a second work unit with said coordinating means, said first and second work units being at least partially concurrent with each other; and
whereinsaid coordinating means responds to said first request by said application program to commit said first set of work requests by determining from said registrations that said first plurality of resources are included in said first work unit and transmitting commit requests for said first plurality of resources and responds to said second request by said application program to commit said second work unit by determining from said registrations that said second plurality of resources are included in said second work unit and transmitting commit requests for said second plurality of resources. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for executing an application program in an execution environment, said application program making a first set of work requests to read or update a first plurality of resources coupled to said execution environment, a second set of work requests to read or update a second plurality of said resources, a first request to commit said first set of work requests, and a second request to commit said second set of work requests, a period between a work request of the first set and the first commit request being at least partially concurrent with a period between a work request of the second set and the second commit request, said method comprising the steps of:
-
providing the execution environment; establishing in said execution environment a coordinator for the first and second commit requests; responding, in said execution environment to the work requests of said first set by registering said first plurality of resources in a first work unit with said coordinator; responding to the work requests of said second set by registering said second plurality of resources in a second work unit with said coordinator, said first and second work units being at least partially concurrent with each other; and said coordinator responding to said first request by said application program to commit said first set of work requests by determining from said registrations that said first plurality of resources are included in said first work unit and transmitting commit requests for said first plurality of resources; said coordinator responding to said second request by said application program to commit said second work unit by determining from said registrations that said second plurality of resources are included in said second work unit and transmitting commit requests for said second plurality of resources. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification