Back to results
US 10,310,825 B2Granted
Providing platform-agnostic primitives for markup code to client devices
AssigneeFacebook, Inc.
InventorsMaxwell Meyer Segan, Henry Zheng Zhang, Rohan Mehta
Life of this patent
Estimating the term…
Abstract
A server system obtains markup code for a native application for client devices. The markup code is agnostic regarding types of client devices. The server system translates the markup code into a set of primitives. Client devices of multiple types running a native application send a request for content for the native application to the server system. The server system provides the set of primitives to the client devices of multiple types, and the client devices render the set of primitives in the native application.
Claims20
A method, comprising:
- at a server system having one or more processors and memory storing instructions for execution by the one or more processors:
- obtaining markup code of a native application for client devices, wherein the markup code is agnostic regarding types of client devices;
- translating the markup code into a set of primitives, distinct from the markup code, wherein the set of primitives includes a plurality of primitives and is agnostic regarding types of client devices;
- providing information corresponding to the set of primitives to a plurality of client devices, the plurality of client devices including a first group of client devices of a first type and a second group of client devices of a second type, the information including scripts for determining capabilities of respective client devices of the plurality of client devices with respect to the set of primitives;
- receiving from each client device in the first group of client devices and the second group of client devices, an indication of capability to render the set of primitives;
- providing the set of primitives to the first group of client devices for rendering, in response to respective requests from the client devices of the first group when running the native application;
- and
- providing the set of primitives to the second group of client devices for rendering, in response to respective requests from the client devices of the second group when running the native application.
5 more elements
A method, comprising:
- at a client device having one or more processors and memory storing instructions for execution by the one or more processors:
- receiving from a server system associated with a native application information corresponding to a set of primitives, wherein the set of primitives is translated from markup code of the native application;
- determining capability of the client device with respect to the set of primitives based on the information, the information including scripts for determining the capability;
- running the native application;
- sending a request for content for the native application to the server system associated with the native application;
- sending, to the server system, an indication of the client device's capability to render the set of primitives;
- receiving, from the server system in response to the request, the set of primitives corresponding to the markup code for the native application;
- and
- rendering the set of primitives in the native application, wherein
- the set of primitives includes a plurality of primitives;
- the set of primitives and the markup code are agnostic regarding types of client devices;
- and
- the set of primitives is distinct from the markup code.
10 more elements
Dependencies are inferred from the claim text.