Style Compressor Consolidating Web Document Attributes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Web documents, especially machine-generated ones, suffer from inefficiencies due to redundant style attributes across multiple elements, leading to increased document size, storage requirements, bandwidth usage, and processing demands.

Innovation Solution

A style compressor collects and compresses style attributes into a central repository, replacing redundant references with class attributes and using algorithms like Lempel-Ziv to minimize the number of attributes, resulting in a more compact and organized document.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If style attributes are assigned to each element in web documents, then each element can have its styles defined, but the document size increases and organization becomes inefficient

Engineering Contradiction:
Improvestyle definition capabilityVSAvoiddocument size
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent merges duplicate style attributes into a single centralized style repository. Instead of repeating style attributes across multiple elements, the system collects all unique style attributes once and references them through class attributes, thereby reducing document size while maintaining the ability to define styles for all elements.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent extracts style attributes from individual element definitions and consolidates them into a separate central style repository. This extraction process removes redundant style information from the main document body, reducing overall document size while preserving style definition capabilities through references.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If redundant style attributes are included in web documents, then all style information is preserved, but storage requirements and bandwidth usage increase

Engineering Contradiction:
Improvestyle information completenessVSAvoidstorage and bandwidth resources
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The system merges identical style attribute sets into a single entry in the central style repository. By detecting when multiple elements have the same style attributes and consolidating them, the system maintains complete style information while eliminating redundant copies, thereby reducing storage and bandwidth requirements.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent uses class attributes as references or copies that point to the centralized style repository. Instead of storing full style attribute copies for each element, the system creates reference copies through class attributes, maintaining style information completeness while significantly reducing the actual data stored and transmitted.

Inventive Principle:
Principle #26Copying

3Adaptability or versatility

If style attributes are repeated across multiple elements, then each element can be independently styled, but processing requirements at server and client increase

Engineering Contradiction:
Improveelement styling flexibilityVSAvoidprocessing efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent merges style attribute definitions into a single centralized location, reducing the amount of data that needs to be processed at both server and client. Elements still maintain styling flexibility through class attribute references, but the processing burden is reduced because the system only needs to process the unique style definitions once rather than repeatedly processing duplicate attributes.

Inventive Principle:
Principle #5Merging (Combining)

4Quantity of substance

If a central style repository is created to collect all style attributes, then redundancy is eliminated, but document organization complexity increases

Engineering Contradiction:
Improvedocument sizeVSAvoiddocument organization structure
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent segments the document into two distinct parts: a central style repository containing all unique style attributes and the main document body containing element definitions with class attribute references. This segmentation organizes the complexity by separating style definition responsibilities from element definition responsibilities, making the overall structure more manageable despite the increased number of components.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS7836396B2Automatically collecting and compressing style attributes within a web document
Publication Date: 2010.11.16 WRP IP MANAGEMENT LLC
  • US7836396B2 patent drawing
  • US7836396B2 patent drawing
  • US7836396B2 patent drawing

AI summary

A style compressor for improving compression of a web document collects all the style attributes referenced by elements of the web document into a central style repository. The style compressor replaces each reference by each of the elements with a class attribute assigned in the central style repository to the replaced style attributes. Next, the style compressor organizes the style attributes in the central style repository and compresses the style attributes into a minimized selection of class attributes each referencing at least one of the style attributes. The style compressor updates the elements of the web document to reference one or more of the minimized selection of class attributes in the central style repository to produce a shorter, more efficiently organized web document.