# US 2016/0239469 A1 · System and method providing a binary representation of a web page

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0239469 A1
- Document ID: US20160239469A1
- Status: Published application
- Kind: A1
- Application number: 15/046,601
- Filed: 2016-02-18
- Published: 2016-08-18
- Earliest claimed: 2012-03-13
- Assignees: Google Inc.
- Applicants: Google Inc.
- Inventors: Dominic Hamon
- Web page: https://patentgrep.com/patent/US20160239469A1

## CPC

- G06F 8/4441: {Reducing the execution time required by the program code}
- G06F 16/9577: {Optimising the visualization of content, e.g. distillation of HTML documents}
- G06F 40/143: Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
- G06F 40/146: Coding or compression of tree-structured data
- G06F 40/197: Version control (for software G06F8/71)
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods for providing a binary representation of a web page. A server may compile a source page, such as a hypertext markup language (“HTML”) document, to create a compiled representation of the source page. Creation of a compiled representation may include generating a document object model (“DOM”) for the content associated with the source page. The compiled page may be transmitted to a client as a random-access file or flat file, where the data is encoded in one or more data types other than a string representation. The client may receive the compiled page and load the compiled page directly as a DOM for the page without the need to parse HTML text strings. The server and client may reconcile the data format of the compiled page, such as by exchanging or verifying a compiler dictionary associated with the page.

## Claims

### Claim 1

A computer-implemented method for providing a binary representation of a web page, the method comprising:
identifying, by one or more processors, one or more web page elements in a web page source document that defines a web page;
compiling, by the one or more processors, the web page source document into a binary representation corresponding to a document object model structure of the web page, the binary representation includes a conversion of a type of each web page element, syntax information of each web page element, and the one or more web page elements to a format other than plain text; and
providing, by the one or more processors, the binary representation to a client device to render the web page at the client device without parsing the web page source document.

### Claim 2 (depends on 1)

The method of claim 1, wherein at least one of the web page elements correspond to a pair of an integer value and an attribute associated with the integer value.

### Claim 3 (depends on 1)

The method of claim 1, wherein the binary representation includes a set of content of the web page.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining, by the one or more processors, the web page source document has changed since the binary representation was compiled;
recompiling, by the one or more processors, the web page source document into a new binary representation using the web page source document; and
providing, by the one or more processors, the new binary representation to the client device to render the web page at the client device without parsing the web page source document.

### Claim 5 (depends on 4)

The method of claim 4, wherein the new binary representation is provided by transmitting individual web page elements as each web page element is recompiled.

### Claim 6 (depends on 4)

The method of claim 4, wherein determining the web page source document has changed includes using a version identifier that indicates how long ago the binary representation was compiled.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
identifying, by the one or more processors, one or more tags in the web page source document;
determining, by the one or more processors, whether each of the one or more tags is associated with a particular binary value in a compiler dictionary; and
validating, by the one or more processors, the web page source document when every one of the one or more tags is associated with a particular binary value in the compiler dictionary.

### Claim 8

A processing system for providing a binary representation of a web page, the processing system comprising:
a memory for storing a binary representation of a web page source document; and
one or more processors coupled to the memory, the one or more processors configured to:
identify one or more web page elements in a web page source document that defines a web page;
compile the web page source document into a binary representation corresponding to a document object model structure of the web page, the binary representation including a conversion of a type of each web page element, syntax information of each web page element, and the one or more web page elements to a format other than plain text; and
provide the binary representation to a client device to render the web page at the client device without parsing the web page source document.

### Claim 9 (depends on 8)

The system of claim 8, wherein at least one of the web page elements correspond to a pair of an integer value and an attribute associated with the integer value.

### Claim 10 (depends on 8)

The system of claim 8, wherein the binary representation includes a set of content of the web page.

### Claim 11 (depends on 8)

The system of claim 8, wherein the one or more processors are further configured to:
determine the web page source document has changed since the binary representation was compiled;
recompile the web page source document into a new binary representation using the web page source document; and
provide the new binary representation to the client device to render the web page at the client device without parsing the web page source document.

### Claim 12 (depends on 11)

The system of claim 11, wherein the new binary representation is provided by transmitting individual web page elements as each web page element is recompiled.

### Claim 13 (depends on 11)

The system of claim 11, wherein determining the web page source document has changed includes using a version identifier that indicates how long ago the binary representation was compiled.

### Claim 14 (depends on 8)

The system of claim 8, wherein the one or more processors are further configured to:
identify one or more tags in the web page source document;
determine whether each of the one or more tags is associated with a particular binary value in a compiler dictionary; and
validate the web page source document when every one of the one or more tags is associated with a particular binary value in the compiler dictionary.

### Claim 15

A non-transitory computer readable storage medium comprising instructions that, when executed by a processor, cause the processor to perform a method, the method comprising:
identifying one or more web page elements in a web page source document that defines a web page;
compiling the web page source document into a binary representation corresponding to a document object model structure of the web page, the binary representation including a conversion of a type of each web page element, syntax information of each web page element, and the one or more web page elements to a format other than plain text; and
providing the binary representation to a client device to render the web page at the client device without parsing the web page source document.

### Claim 16 (depends on 15)

The medium of claim 15, wherein at least one of the web page elements correspond to a pair of an integer value and an attribute associated with the integer value.

### Claim 17 (depends on 15)

The medium of claim 15, wherein the binary representation includes a set of content of the web page.

### Claim 18 (depends on 15)

The medium of claim 15, wherein the method further comprises:
determining the web page source document has changed since the binary representation was compiled;
recompiling the web page source document into a new binary representation using the web page source document; and
providing the new binary representation to the client device to render the web page at the client device without parsing the web page source document.

### Claim 19 (depends on 18)

The medium of claim 18, wherein the new binary representation is provided by transmitting individual web page elements as each web page element is recompiled.

### Claim 20 (depends on 18)

The medium of claim 18, wherein determining the web page source document has changed includes using a version identifier that indicates how long ago the binary representation was compiled.
