发明名称 |
Client-side server for client-side scripting languages |
摘要 |
A method of executing a cross-platform application on a system is disclosed. An instruction pertaining to an execution of the cross-platform application on the system is received. Based on a determination that the instruction pertains to a rendering of an element of a user interface of the cross-platform application on the system, the instruction is sent across a bridge to an engine executing in the native layer to process the instruction at the native layer. Alternatively, based on a determination that the instruction does not pertain to a rendering of the element of the user interface of the cross-platform application on the system, the instruction is sent to an engine executing in the cross-platform layer of the system to process the instruction at the cross-platform layer. |
申请公布号 |
US9223599(B1) |
申请公布日期 |
2015.12.29 |
申请号 |
US201213436356 |
申请日期 |
2012.03.30 |
申请人 |
Zynga Inc. |
发明人 |
Racanelli Dan;Dunn Ian;Jones Robert Aaron |
分类号 |
G06F9/44;G06F9/455;G06F9/45 |
主分类号 |
G06F9/44 |
代理机构 |
Schwegman Lundberg & Woessner, P.A. |
代理人 |
Schwegman Lundberg & Woessner, P.A. |
主权项 |
1. A system comprising:
one or more processors of a device; and one or more modules implemented by the one or more processors, the one or more modules configured to, at least: identify a capability of the device with respect to a rendering of a portion of a user interface of a cross-platform application; request a device-specific implementation of an object of the cross-platform application from a separate server system based on the identifying of the capability; receive the device-specific implementation of the object from the separate server system, the device-specific implementation including compiled native code usable for the rendering of the portion of the user interface at a native layer of the device; receive a version of a cross-platform implementation of the object from the separate server system, the cross-platform implementation usable for rendering the portion of the user interface at a cross-platform layer of the device, the cross-platform implementation also usable for rendering the portion of the user interface at a cross-platform layer of an additional device, a native layer of the additional device being different from the native layer of the device; receive an instruction pertaining to an execution of the cross-platform application on the device; and based on an analysis of factors pertaining to an execution of the instruction at the native layer of the device and an execution of the instruction at the cross-platform layer of the device, perform one of using the device-specific implementation of the object to process the instruction at the native layer and using the version of the cross-platform implementation of the object to process the instruction at the cross-platform layer, the analysis of the factors performed automatically upon the receiving of the instruction by a controller executing on the device, the controller comparing data pertaining to prior executions of the instruction using the device-specific implementation of the object to data pertaining to prior executions of the instruction using the version of the cross-platform implementation of the object with respect to the factors. |
地址 |
San Francisco CA US |