发明名称 Event service for local client applications through local server
摘要 In server/client architectures, the server application and client applications are often developed in different languages and execute in different environments specialized for the different contexts of each application (e.g., low-level, performant, platform-specialized, and stateless instructions on the server, and high-level, flexible, platform-agnostic, and stateful languages on the client) and are often executed on different devices. Convergence of these environments (e.g., server-side JavaScript using Node.js) enables the provision of a server that services client applications executing on the same device. The local server may monitor local events occurring on the device, and may execute one or more server scripts associated with particular local events on behalf of local clients subscribing to the local event (e.g., via a subscription model). These techniques may enable development of local event services in the same language and environment as client applications, and the use of server-side code in the provision of local event service.
申请公布号 US9363334(B2) 申请公布日期 2016.06.07
申请号 US201213650022 申请日期 2012.10.11
申请人 Microsoft Technology Licensing, LLC 发明人 Bar-Zeev Avi;Kimchi Gur;Beckman Brian C.;Isaacs Scott;Ben-Itay Meir;Yariv Eran;y Arcas Blaise Aguera
分类号 G06F9/46;H04L29/06;G06F1/32;H04L29/08 主分类号 G06F9/46
代理机构 代理人 Spellman Steven;Wong Tom;Minhas Micky
主权项 1. A computer-readable storage medium comprising instructions that, when executed on a processor of a device, fulfill requests received from local client applications by: generating a local server associating at least one server script with at least one local event; upon receiving from the local client application a subscription request specifying a selected local event, associating the selected local event with the local client application; upon detecting a local event associated with at least one server script and a local client application, executing within the local server the server scripts associated with and relating to the local event on behalf of the local client application, upon receiving a subscription request specifying a target from the local client application: determining whether the target comprises the local server on the device; andpresenting the subscription request specifying the target to the local server upon determining that the target comprises the local server on the device; andsending the subscription request specifying the target to a remote server upon determining that the target comprises the remote server outside of the device.
地址 Redmond WA US