DOM Tree Text Augmentation for Document Markup

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for augmenting text in electronic documents are inefficient in identifying and modifying specific text portions, leading to inconveniences in providing supplemental information.

Innovation Solution

A method and system that utilize a DOM tree to search for target text strings, identifying the target text node with no child nodes containing the entire string, and modifying the markup in the target node or its child nodes to enhance text presentation, such as by adding hyperlinks or other visual enhancements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If the map is included within the displayed content of the email body, then the supplemental information is easily accessible, but the email invitation becomes lengthy and displays more information than necessary to all receivers

Engineering Contradiction:
Improveaccessibility of supplemental informationVSAvoidlength and complexity of email content
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent extracts the map from the main email body content and places it in an attachment or separate resource. The email body contains only a link or reference to the map, keeping the main content concise for all receivers while allowing easy access to the supplemental map information for those who need it.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments the email content into essential information (visible to all receivers) and supplemental information (map, accessible on demand). This segmentation allows the email body to remain brief while providing a clear path to additional information for users who require it.

Inventive Principle:
Principle #1Segmentation

2Loss of information

If the map is included within the displayed content of the email body, then the supplemental information is easily accessible, but the email invitation displays more information than necessary for all receivers

Engineering Contradiction:
Improveavailability of supplemental informationVSAvoidamount of information displayed
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The map is extracted from the main email body and placed in an attachment or separate resource. The email body contains only a link or reference to the map, keeping the main content concise for all receivers while allowing easy access to the supplemental map information for those who need it.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent moves the map from the two-dimensional email display space to a separate attachment or web resource dimension. This allows the email body to remain concise while providing access to the full map through a link or attachment, effectively using a different dimension for supplemental information.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Productivity

If existing methods are used to identify and modify text portions, then the process is simple, but the efficiency in identifying and modifying specific text portions is low

Engineering Contradiction:
Improveefficiency of text identification and modificationVSAvoidtime required for text processing
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent replaces manual or simple string-based text identification methods with DOM tree-based structural analysis. By utilizing the document's markup structure, the system can efficiently locate and modify specific text portions through automated tree traversal and node identification, significantly improving processing efficiency.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent introduces the DOM tree as an intermediary structure between the raw text and the modification process. This intermediary allows for systematic identification of target text portions through structured traversal, enabling more efficient and precise text modification compared to direct text searching and manipulation.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10762279B2Method and system for augmenting text in a document
Publication Date: 2020.09.01 Y E HUB ARMENIA LLC
  • US10762279B2 patent drawing
  • US10762279B2 patent drawing
  • US10762279B2 patent drawing

AI summary

A method of augmenting presentation of text in a document includes obtaining a DOM tree associated with a markup of the document, searching a plurality of nodes of the DOM tree for a target text string such that a child node is searched after searching a corresponding parent node. A target text node of the DOM tree is identified, the target text node including an entirety of the target text string and having no child nodes including the entirety of the target text string. Responsive to identifying the target text node, the markup is modified in one of: the target text node and a child node of the target text node including a portion of the target text string. The markup is modified to augment presentation of the target text string in the document. A system for augmenting presentation of text in a document is also disclosed.