CPC G06F 9/44526 (2013.01) [G06F 9/4401 (2013.01)] | 20 Claims |
1. A method implemented at a computer system that includes a processor system comprising:
receiving, at a sensor service of an operating system (OS), a sensor payload that includes a data field that is defined by the OS, and that comprises a first value that corresponds to a reading by a sensor device;
sending, by the sensor service, the sensor payload to a broker process that is separate from the sensor service, wherein the broker process,
hosts plug-in logic that is provided by an application executing at the OS, and
sandboxes an execution of the plug-in logic within the broker process;
receiving, by the sensor service, a sensor payload update from the broker process, the sensor payload update including a second value for the data field that is different from the first value, the second value having been determined by the execution of the plug-in logic within the broker process;
creating, by the sensor service, a modified sensor payload from the sensor payload, including updating the data field to comprise the second value; and
initiating a second OS action based on the second value of the data field, the second OS action being different from a first OS action that would result from the first value of the data field.
|