Hierarchical Dataset Serialization for Database Storage Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database systems face challenges in efficiently storing and retrieving datasets with hierarchical structures, as they often require complex data formats and large volumes, which existing technologies struggle to handle effectively.

Innovation Solution

A data processing system that serializes hierarchical datasets into data strings, generates a globally unique identifier as an access key, and stores these strings in a database table, allowing for efficient storage and retrieval by using a serializer and deserializer to convert between hierarchical and flat data formats, while accommodating dynamic changes to data structures.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If hierarchical datasets are stored directly in database tables, then the data structure complexity is maintained, but the storage efficiency and retrieval performance deteriorate

Engineering Contradiction:
Improvestorage efficiencyVSAvoiddata structure complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the storage process into two distinct parts: (1) serialization of hierarchical data into flat format, and (2) storage of the serialized data in database tables. This segmentation allows the system to maintain storage efficiency while managing data structure complexity through the serialization intermediary.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces serialization as an intermediary process between the hierarchical data structure and the database table storage. The serializer converts complex hierarchical data into a flat format suitable for database storage, while the deserializer reconstructs the hierarchical structure during retrieval, thus resolving the contradiction between maintaining data structure and improving storage efficiency.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If complex hierarchical data formats are used, then the data modeling capability is improved, but the system's ability to handle and process the data deteriorates

Engineering Contradiction:
Improvedata modeling capabilityVSAvoiddata processing efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent implements dynamic data handling through runtime serialization and deserialization processes. The system can adapt to different hierarchical data formats and structures by dynamically serializing them into a standardized flat format for efficient processing and storage, then deserializing back to the original structure when needed, thus maintaining both adaptability and processing efficiency.

Inventive Principle:
Principle #15Dynamics

3Quantity of substance

If large volumes of hierarchical data are stored, then the data capacity is increased, but the retrieval time and processing overhead increase

Engineering Contradiction:
Improvedata capacityVSAvoidretrieval time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-serializing hierarchical data into a compact flat format before storage. This preprocessing step reduces the storage footprint and optimizes the data layout for faster retrieval operations, allowing large volumes of data to be stored with minimized retrieval time and processing overhead.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS7610292B2Systems and methods for storing a dataset having a hierarchical data structure in a database
Publication Date: 2009.10.27 SAP SE
  • US7610292B2 patent drawing
  • US7610292B2 patent drawing
  • US7610292B2 patent drawing

AI summary

Systems and methods are provided for storing a dataset having a hierarchical data structure in a database. In one implementation, a data processing system includes a data dictionary for storing data that describes predefined hierarchical data structures, wherein each data structure includes a plurality of data fields that have a unique field name and at least one field attribute. The data processing system also includes a volatile storage that stores a dataset having a unique dataset name. The dataset is an instance of one of the predetermined hierarchical data structures. A serializer is provided that converts the dataset into a data string. An access key is generated for the data string. Moreover, the data processing system includes a non-volatile storage that stores a database table and database export means for storing the string in the database table using the access key that is assigned to the dataset name.