Tree to String Transformation for Hierarchical Data

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Manipulating and recognizing specific data representations or patterns in complex hierarchical data arrangements, such as relational databases, is computationally complex and cumbersome.

Innovation Solution

The method involves representing trees or portions of trees using natural numerals through an association between trees and natural numerals, allowing for operations like zero-push and one-push to generate ordered trees, and using symbolic expressions to represent trees and perform operations like merger and push.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If hierarchical data arrangements are used to represent complex relationships, then information conveyance is improved, but manipulation complexity increases

Engineering Contradiction:
Improveinformation conveyanceVSAvoidmanipulation complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary encoding system that transforms hierarchical tree structures into linear string representations using specific syntax rules. This intermediary representation allows complex hierarchical manipulations to be performed through simpler string operations, resolving the contradiction between preserving hierarchical information and reducing manipulation complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces mechanical tree traversal and manipulation operations with symbolic string processing operations. By encoding tree structures as strings with specific delimiters and markers, complex hierarchical operations are substituted with simpler string manipulation techniques, reducing the mechanical complexity while preserving information.

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

2Reliability

If complex hierarchical structures are manipulated directly, then data integrity is maintained, but computational efficiency decreases

Engineering Contradiction:
Improvedata integrityVSAvoidcomputational efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent creates a symbolic copy of the hierarchical structure in the form of a string representation. This copy maintains all structural information through careful encoding while allowing efficient manipulation. Operations performed on the string copy preserve data integrity when mapped back to the original structure, achieving both reliability and efficiency.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent changes the representation parameter from nested hierarchical objects to linear strings with structural markers. This parameter change enables more efficient computational operations while maintaining data integrity through the reversible nature of the encoding scheme, which preserves all original structural relationships.

Inventive Principle:
Principle #35Parameter changes

3Loss of information

If tree structures are used to represent hierarchical data, then relationship clarity is improved, but operation simplicity deteriorates

Engineering Contradiction:
Improverelationship clarityVSAvoidoperation simplicity
Core Design Contradiction:
Loss of informationVSEase of operation

Solution Approach 1:

The patent introduces a string-based intermediary representation that captures tree relationships through structured syntax. This intermediary form maintains relationship clarity through explicit markers and delimiters while enabling simpler linear operations compared to navigating complex tree structures directly.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent segments the tree structure into discrete string tokens and markers that represent nodes, edges, and relationships. This segmentation allows each relationship to be explicitly represented in the string form while enabling operations to be performed on individual segments rather than requiring complex tree navigation.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12277136B2Method and/or system for transforming between trees and strings
Publication Date: 2025.04.15 LOWER48 IP LLC
  • US12277136B2 patent drawing
  • US12277136B2 patent drawing
  • US12277136B2 patent drawing

AI summary

Embodiments of articles, apparatuses, devices and/or systems for manipulating hierarchical sets of data are disclosed.