Method and apparatus for construction and aggregation of distributed computations
First Claim
1. A method comprising:
- identifying an execution context bound to a user context at a device, the execution context corresponding to one or more processes executing at the device;
causing, at least in part, decomposition of the execution context into one or more closure primitives and respective process states, wherein the one or more closure primitives represent computation closures of the one or more processes;
causing, at least in part, serialization of the one or more closure primitives, the process states, or a combination thereof, into a resource description framework format;
identifying one or more run-time context groups;
determining one or more run-time environments associated with the one or more run-time context groups; and
causing, at least in part, serialization of the one or more run-time context groups and the one or more run-time environments, into the resource description framework format,wherein the resource description framework format includes resource description framework graphs.
2 Assignments
0 Petitions
Accused Products
Abstract
An approach is provided for construction and aggregation of distributed computations. A distributed computation construction infrastructure identifies an execution context bound to a user context at a device, the execution context corresponding to one or more processes executing at the device. The distributed computation construction infrastructure further causes, at least in part, decomposition of the execution context into one or more closure primitives and respective process states, wherein the one or more closure primitives represent computation closures of the one or more processes. The distributed computation construction infrastructure also causes, at least in part, serialization of the one or more closure primitives, the process states, or a combination thereof. The distributed computation construction infrastructure further causes, at least in part, aggregation of the one or more primitives and the respective process states to reconstruct at least a portion of the execution context based, at least in part, on consistency determination.
36 Citations
18 Claims
-
1. A method comprising:
-
identifying an execution context bound to a user context at a device, the execution context corresponding to one or more processes executing at the device; causing, at least in part, decomposition of the execution context into one or more closure primitives and respective process states, wherein the one or more closure primitives represent computation closures of the one or more processes; causing, at least in part, serialization of the one or more closure primitives, the process states, or a combination thereof, into a resource description framework format; identifying one or more run-time context groups; determining one or more run-time environments associated with the one or more run-time context groups; and causing, at least in part, serialization of the one or more run-time context groups and the one or more run-time environments, into the resource description framework format, wherein the resource description framework format includes resource description framework graphs. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus comprising:
-
at least one processor; and at least one memory including computer program code for one or more programs, the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus to perform at least the following, identify an execution context bound to a user context at a device, the execution context corresponding to one or more processes executing at the device; cause, at least in part, decomposition of the execution context into one or more closure primitives and respective process states, wherein the one or more closure primitives represent computation closures of the one or more processes; cause, at least in part, serialization of the one or more closure primitives, the process states, or a combination thereof, into a resource description framework format; identify one or more run-time context groups; determine one or more run-time environments associated with the one or more run-time context groups; and cause, at least in part, serialization of the one or more run-time context groups and the one or more run-time environments, into the resource description framework format, wherein the resource description framework format includes resource description framework graphs. - View Dependent Claims (7, 8)
-
-
9. A method comprising:
-
retrieving one or more closure primitives and respective process states from a storage, the one or more closure primitives representing computation closures of one or more processes corresponding to an execution context bound to a user context at a device, and the one or more closure primitives are serialized into a resource description framework format; causing, at least in part, locking of the one or more closure primitives in the storage; determining a consistency of the one or more closure primitives before and after the serialization; causing, at least in part, aggregation of the one or more closure primitives and the respective process states to reconstruct at least a portion of the execution context based, at least in part, on the consistency determination; identifying one or more run-time context groups; determining one or more run-time environments associated with the one or more run-time context groups; and causing, at least in part, serialization of the one or more run-time context groups and the one or more run-time environments, into the resource description framework format. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. An apparatus comprising:
-
at least one processor; and at least one memory including computer program code, the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus to perform at least the following, retrieve one or more closure primitives and respective process states from a storage, the one or more closure primitives representing computation closures of one or more processes corresponding to an execution context bound to a user context at a device, and the one or more closure primitives are serialized into a resource description framework format; cause, at least in part, locking of the one or more closure primitives in the storage; determine a consistency of the one or more closure primitives before and after the serialization; cause, at least in part, aggregation of the one or more closure primitives and the respective process states to reconstruct at least a portion of the execution context based, at least in part, on the consistency determination; identify one or more run-time context groups; determine one or more run-time environments associated with the one or more run-time context groups; and cause, at least in part, serialization of the one or more run-time context groups and the one or more run-time environments, into the resource description framework format, wherein the resource description framework format includes resource description framework graphs. - View Dependent Claims (16, 17, 18)
-
Specification