Dynamic HTML Chunking with Style Rule Extraction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for transmitting Hypertext Markup Language (HTML) documents as chunks are inefficient due to static chunk boundaries and unnecessary transmission of style rules, leading to increased data transfer times and inefficiencies.

Innovation Solution

A computer-implemented method that dynamically determines chunk boundaries in HTML documents by evaluating template elements and style rules in document order, allowing for earlier transmission of chunks and more efficient data transfer by including only necessary style rules with each chunk.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If HTML documents are transmitted as multiple chunks with static boundaries, then data transfer can occur incrementally, but transmission efficiency is reduced due to unnecessary style rules being included in each chunk

Engineering Contradiction:
Improvedata transfer efficiencyVSAvoidunnecessary data transfer
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The patent segments the HTML document into multiple chunks dynamically, separating style rules from content elements. Each chunk contains only the style rules necessary for rendering that specific portion of the document, rather than transmitting all style rules with every chunk. This segmentation eliminates redundant data transmission while maintaining incremental delivery benefits.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts style rules from the main document flow and stores them in a separate style cache. When a chunk is transmitted, only the specific style rules needed for that chunk's content are retrieved and included, while unnecessary style rules are left out. This extraction mechanism directly reduces the amount of redundant data being transmitted with each chunk.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If all style rules are transmitted with each chunk, then complete styling information is available for rendering, but data transfer time increases due to redundant transmissions

Engineering Contradiction:
Improvecompleteness of styling informationVSAvoiddata transfer time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs preliminary action by pre-loading all style rules into a style cache before document transmission begins. This allows the server to quickly retrieve and attach only the necessary style rules to each subsequent chunk without re-transmitting redundant styles. The preliminary caching ensures complete styling information is available when needed while minimizing repeated transmission overhead.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates copies of style rules in a dedicated style cache structure, allowing efficient retrieval of specific style sets for each chunk without copying the entire style sheet repeatedly. The system intelligently selects and copies only the relevant style rules needed for each chunk's content, reducing redundant data transmission while ensuring complete styling information is delivered.

Inventive Principle:
Principle #26Copying

3Ease of operation

If chunk boundaries are determined statically, then implementation is simple, but rendering cannot begin until complete chunks are received

Engineering Contradiction:
Improveimplementation simplicityVSAvoidrendering speed
Core Design Contradiction:
Ease of operationVSSpeed

Solution Approach 1:

The patent implements dynamic chunk boundary determination that adapts to the actual content and style requirements of each document portion. Instead of fixed static boundaries, the system evaluates which style rules are needed for each chunk and adjusts boundaries to optimize rendering efficiency. This dynamic approach enables earlier rendering by sending complete, renderable chunks sooner while maintaining implementation feasibility through automated style dependency analysis.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS10108592B1Methods and systems for chunking markup language documents containing style rules
Publication Date: 2018.10.23 GOOGLE LLC
  • US10108592B1 patent drawing
  • US10108592B1 patent drawing
  • US10108592B1 patent drawing

AI summary

Aspects of the subject technology relate to providing chunked markup language documents containing style rules. A computer-implemented method includes receiving a request for a web document. The method further includes selecting a template for the requested web document, where the template includes elements and style rules. The method further includes evaluating the elements in document order until reaching a first element containing a first expression referencing a first unspecified input parameter. The method further includes adding evaluated elements in the template that precede, in document order, the first element to a first set of elements. The method further includes identifying a first set of style rules based on the first set of elements. The method further includes providing the first set of elements and the first set of style rules as a first chunk of the requested web document for sending to the web client.