INTRA-CODE COMMUNICATION IN A LOCALIZED DEVICE COORDINATOR
First Claim
1. A coordinator computing device implementing a communication manager enabling communications between executions of tasks on the coordinator computing device, wherein the coordinator computing devices is configured to manage one or more coordinated devices within a coordinated environment, the system comprising:
- a non-transitory data store including computer executable instructions corresponding to the communication manager that, when executed, enables communication between tasks execution on the coordinator computing device, wherein individual tasks of correspond to code executable by the coordinator computing device to manage operation of the one or more coordinated devices;
a processor in communication with the non-transitory data store and configured to execute the communication manager, wherein execution of the communication manager causes the processor to;
obtain a call message from an execution of a first task on the coordinator computing device, wherein the call message is addressed to a resource identifier associated with a second task, and wherein the call message includes parameters to be passed to an execution of the second task;
identify the second task from at least the resource identifier to which the call message is addressed;
cause execution of the second task on the coordinator computing device;
transmit an execution identifier to the execution of the second task;
obtain a return message from the execution of the second task, wherein the return message specifies the execution identifier;
identify the return message as an output of the execution of the second task based at least in part on the resource identifier including the execution identifier; and
return the output of the execution of the second task to the execution of the first task.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods are described for implementing a coordinator within a coordinated environment, which environment includes set of coordinated devices managed by the coordinator. The coordinator can be provisioned with a set of tasks, each task corresponding to a segment of code that can be executed by the coordinator, such as to manage the coordinated devices. To assist in execution of the tasks, the coordinator can include a communications manager that enables communications between tasks. The communications manager can provide a language-independent interface to call for execution of tasks, pass information to a task, and obtain outputs of a task. In some embodiments, the communication manager may utilize a language-independent protocol, such as the hypertext transport protocol, and be configured to respond to requests addressed to uniform resource identifiers associated with the communications manager.
-
Citations
21 Claims
-
1. A coordinator computing device implementing a communication manager enabling communications between executions of tasks on the coordinator computing device, wherein the coordinator computing devices is configured to manage one or more coordinated devices within a coordinated environment, the system comprising:
-
a non-transitory data store including computer executable instructions corresponding to the communication manager that, when executed, enables communication between tasks execution on the coordinator computing device, wherein individual tasks of correspond to code executable by the coordinator computing device to manage operation of the one or more coordinated devices; a processor in communication with the non-transitory data store and configured to execute the communication manager, wherein execution of the communication manager causes the processor to; obtain a call message from an execution of a first task on the coordinator computing device, wherein the call message is addressed to a resource identifier associated with a second task, and wherein the call message includes parameters to be passed to an execution of the second task; identify the second task from at least the resource identifier to which the call message is addressed; cause execution of the second task on the coordinator computing device; transmit an execution identifier to the execution of the second task; obtain a return message from the execution of the second task, wherein the return message specifies the execution identifier; identify the return message as an output of the execution of the second task based at least in part on the resource identifier including the execution identifier; and return the output of the execution of the second task to the execution of the first task. - View Dependent Claims (2, 3, 4, 5)
-
-
6. Non-transitory computer readable media including instructions executable by a coordinator computing device to implement a communication manager enabling communications between executions of tasks on the coordinator computing device, wherein individual tasks of correspond to code executable by the coordinator computing device to manage operation of the one or more coordinated devices, and wherein execution of the instructions causes the coordinator computing device to:
-
obtain a call message from an execution of a first task on the coordinator computing device, wherein the call message is addressed to a resource identifier associated with a second task; identify the second task from at least the resource identifier to which the call message is addressed; cause execution of the second task on the coordinator computing device; obtain a return message from the execution of the second task, wherein the return message includes an execution identifier associated with the execution of the second task; identify the return message as an output of the execution of the second task based at least in part on the resource identifier including the execution identifier; and return the output of the execution of the second task to the execution of the first task. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer-implemented method to enable communication between executions of tasks on the coordinator computing device, wherein individual tasks of correspond to code executable by the coordinator computing device, the computer-implemented method comprising:
-
obtaining a call message from an execution of a first task on the coordinator computing device, wherein the call message is addressed to a resource identifier associated with a second task; identifying the second task from at least the resource identifier to which the call message is addressed; causing execution of the second task on the coordinator computing device; obtaining a return message from the execution of the second task, wherein the return message includes an execution identifier associated with the execution of the second task; identifying the return message as an output of the execution of the second task based at least in part on the resource identifier including the execution identifier; and returning the output of the execution of the second task to the execution of the first task. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21)
-
Specification