Source Annotation Metadata Management via Multi-Dimensional Hierarchies

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current metadata solutions for source code annotation are inadequate in organizing and managing metadata, failing to provide flexible viewing options and dynamic associations, which limits their utility in comprehending complex code bases.

Innovation Solution

A method and system for managing source annotation metadata that establishes data/metadata and metadata/metadata relationships, allowing for static and dynamic definitions using regular expressions, and organizing metadata into hierarchies and categories for flexible searching and display.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If simple text mark up languages are used for annotating source code, then the annotation process becomes simple, but the system lacks the capability to provide multiple associations and dynamic viewing of metadata

Engineering Contradiction:
Improveannotation process simplicityVSAvoidmetadata association flexibility
Core Design Contradiction:
Ease of manufactureVSAdaptability or versatility

Solution Approach 1:

The patent transitions from flat, one-to-one metadata annotations to a multi-dimensional metadata structure with multiple association types (context, hierarchy, category, custom tags). This enables annotations to be viewed from different dimensions and establishes intersecting search pathways through the metadata, resolving the contradiction between simplicity and versatility.

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

Solution Approach 2:

The patent implements nested metadata containers where metadata units can contain multiple tags (context tag, hierarchy tag, category tag, custom tags) that are themselves nested within the container structure. This nested organization allows simple annotation entry while providing complex multi-layered associations and multiple viewing pathways.

Inventive Principle:
Principle #7Nested doll (Nesting)

2Loss of information

If UML modeling is used to create annotation metadata, then comprehensive design documentation is achieved, but the solution does not allow annotation information to be captured after the fact

Engineering Contradiction:
Improvedesign documentation completenessVSAvoidpost-implementation annotation capability
Core Design Contradiction:
Loss of informationVSAdaptability or versatility

Solution Approach 1:

The patent implements a dynamic metadata system where annotations can be created, modified, and organized at any stage of the software lifecycle. The metadata containers support arbitrary definition of data/metadata relationships and metadata/metadata relationships, allowing the system to adapt from design-phase documentation to post-implementation explanatory information.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent creates a universal metadata framework that serves multiple functions: it can capture design specifications like UML, add post-implementation explanations, provide contextual information about code ranges, and enable multiple search pathways. This multi-functional system resolves the limitation of UML-only approaches.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Productivity

If automated approaches are used for machine generation of annotation metadata, then metadata creation is efficient, but the system lacks flexibility in organizing and displaying metadata

Engineering Contradiction:
Improvemetadata generation efficiencyVSAvoidmetadata organization flexibility
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The patent segments metadata into discrete, independently manageable units called metadata containers. Each container can be automatically generated with basic annotations while maintaining the capability for manual organization through context tags, hierarchy tags, category tags, and custom tags. This segmentation allows automated generation to coexist with flexible manual organization.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces metadata containers as intermediary structures that bridge automated metadata generation and flexible manual organization. The containers serve as the medium through which machine-generated annotations can be systematically organized using multiple tag types and intersecting search pathways, resolving the contradiction between automation and flexibility.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Loss of information

If parenthetical annotations are used in source code, then code documentation is provided, but the semantic analysis of code to understand 'what it does' remains a complex problem

Engineering Contradiction:
Improvecode documentation coverageVSAvoidcode semantics understanding
Core Design Contradiction:
Loss of informationVSDifficulty of detecting and measuring

Solution Approach 1:

The patent moves beyond one-dimensional parenthetical comments by creating multi-dimensional metadata associations through context tags (linking to code ranges), hierarchy tags (organizing by software structure), category tags (classifying by function type), and custom tags (domain-specific classifications). This multi-dimensional organization enables systematic semantic analysis by providing multiple pathways to understand code meaning.

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

Solution Approach 2:

The patent creates explicit metadata copies of code semantic information in structured formats that are separate from the source code itself. These metadata containers contain contextualized information about what the code does, organized through multiple tag systems that enable systematic analysis without requiring complex parsing of parenthetical comments.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS10452768B2Managing source annotation metadata
Publication Date: 2019.10.22 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10452768B2 patent drawing
  • US10452768B2 patent drawing
  • US10452768B2 patent drawing

AI summary

A method, system and computer program product for managing source annotation metadata. The metadata management technique may include maintaining a set of metadata, maintaining data/metadata relationships between individual units of the metadata and individual units of the source data, and maintaining metadata/metadata relationships between individual units of the metadata. The metadata/metadata relationships define two or more intersecting search pathways through the metadata that intersect at one or more metadata units belonging to more than one search domain.