IoT device jobs
AssigneeMicrosoft Technology Licensing, LLC
InventorsJuan Perez, Affan Dar, Simon Porter
Life of this patent
Estimating the term…
Abstract
The disclosed technology is generally directed to communications in an IoT environment. In one example of the technology, device twins for corresponding IoT devices are stored, wherein the device twins include metadata that is associated with the corresponding IoT devices. A schedule job instruction may be received, and at least one candidate IoT device among the IoT devices that is associated with the schedule job instruction may be identified. In some examples, executors associated with the at least one candidate IoT device are created, and jobs are executed via the executors such that the executors are capable of resuming execution after at least one of an outage or a failure.
Claims20
A method for Internet of Thing (IoT) communications, comprising:
- storing device twins for corresponding IoT devices, wherein the device twins include metadata that is associated with the corresponding IoT devices;
- receiving a schedule job instruction;
- identifying at least one candidate IoT device from amongst the IoT devices that are associated with the schedule job instruction;
- using at least one processor to create executors associated with the at least one candidate IoT device, such that the executors include durable state machines;
- and
- executing jobs via the executors such that the executors are capable of resuming execution after at least one of an outage or a failure of at least one of the executors, and such that the jobs include at least one of an update to at least one device twin, a query to at least one device twin, a request to at least one IoT device, or a request to at least one external cloud service, wherein the durable state machines durably store a current state.
An apparatus for Internet of Things (IoT) communications, comprising:
- a device including at least one memory adapted to store run-time data for the device, and at least one processor that is adapted to execute processor-executable code that, in response to execution, enables the device to perform actions, including:
- storing device twins for corresponding IoT devices, wherein the device twins include metadata that is associated with the corresponding IoT devices;
- receiving a schedule job instruction;
- identifying at least one candidate IoT device from amongst the IoT devices that are associated with the schedule job instruction;
- creating executors associated with the at least one candidate IoT device, such that the executors include durable state machines;
- and
- executing jobs via the executors such that the executors are capable of resuming execution after at least one of an outage or a failure of at least one of the executors, and such that the jobs include at least one of an update to at least one device twin, a query to at least one device twin, a request to at least one IoT device, or a request to at least one external cloud service, wherein the durable state machines durably store a current state.
A processor-readable storage medium, having stored thereon processor-executable code that, upon execution by at least one processor, enables actions, comprising:
- generating device job actors associated with at least one IoT device, such that the device job actors include durable state machines;
- and
- executing jobs via the device job actors such that the device job actors are capable of resuming execution after at least one of an outage or a failure of at least one of the device job actors, and such that the jobs include at least one of an update to at least one device twin, a query to at least one device twin, a request to at least one IoT device, or a request to at least one external cloud service, wherein the durable state machines durably store a current state.
Dependencies are inferred from the claim text.