US 12,086,613 B2
Sensor broker for plug-ins
Ugan Sivagnanenthirarajah, Seattle, WA (US); Michael Jeffrey Ajax, Redmond, WA (US); Sathyanarayanan Karivaradaswamy, Sammamish, WA (US); Robert Eugene Harris, Jr., Woodinville, WA (US); Sanjana Ramakrishnan Sunder, Redmond, WA (US); Sanjeev Chandra Reddy, Redmond, WA (US); and Sergii Viktorovych Liashenko, Edmonds, WA (US)
Filed by Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed on May 31, 2023, as Appl. No. 18/326,734.
Claims priority of provisional application 63/482,501, filed on Jan. 31, 2023.
Prior Publication US 2024/0256295 A1, Aug. 1, 2024
Int. Cl. G06F 9/445 (2018.01); G06F 9/4401 (2018.01)
CPC G06F 9/44526 (2013.01) [G06F 9/4401 (2013.01)] 20 Claims
OG exemplary drawing
 
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.