XML Schema Annotation Marshaling for Data Object Reconstruction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developers face challenges in converting data objects between different formats during transmission, as they must manually write code to convert and reconstruct data objects, which is cumbersome and inefficient, especially when dealing with new object types.

Innovation Solution

Incorporating type information into the transmission format of data objects, allowing unmarshalling code to utilize this information to reconstruct the data object from the transmission format without prior knowledge of the specific schema.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If developers manually write conversion code for each data object type, then the conversion process can be completed, but the complexity and time required increases significantly

Engineering Contradiction:
Improveconversion accuracyVSAvoidcode complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces type information as an intermediary element that mediates between the transmission format and the unmarshalling code. This type information contains schema annotations that automatically guide the reconstruction process, eliminating the need for complex manual conversion code while ensuring accurate reconstruction of data objects.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent applies preliminary action by embedding type information and schema annotations into the transmission format before data transmission. This pre-prepared information allows the receiving system to automatically reconstruct data objects without requiring complex runtime conversion logic, thereby reducing code complexity while maintaining reliability.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If developers manually write reconstruction code for new object types, then new types can be handled, but the development time and effort increase

Engineering Contradiction:
Improveobject type flexibilityVSAvoiddevelopment time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent creates a universal solution by designing a transmission format that includes type information applicable to all data object types. This universal approach allows the same unmarshalling mechanism to handle any object type automatically through schema annotations, eliminating the need to write specialized reconstruction code for each new type and significantly reducing development time while maintaining full adaptability.

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

Solution Approach 2:

The patent enables self-service by allowing the transmission format to carry its own type information and schema annotations. When data objects are transmitted, they include embedded metadata that enables automatic self-reconstruction at the receiving end without requiring external conversion code, thereby accelerating the handling of new object types while maintaining versatility.

Inventive Principle:
Principle #25Self-service

3Productivity

If type information is added to transmission format, then unmarshalling becomes automatic, but the transmission format complexity increases

Engineering Contradiction:
Improveunmarshalling efficiencyVSAvoidtransmission format complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent merges type information and schema annotations directly into the transmission format structure. By combining the data payload with its metadata in a unified format, the system achieves automatic unmarshalling without requiring separate complex processing systems. The merged format includes type identifiers and schema references that enable efficient automatic reconstruction while keeping the overall structure manageable through standardized XML schema definitions.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS7680800B2Algorithm to marshal/unmarshal XML schema annotations to SDO dataobjects
Publication Date: 2010.03.16 X CORP
  • US7680800B2 patent drawing
  • US7680800B2 patent drawing
  • US7680800B2 patent drawing

AI summary

When a data object is sent from one application to another, the marshaling code includes type information with transmission of the data object. When the data object is converted to the transmission format, type information for the data object is added to the transmission format element. The unmarshaling code uses the type information to obtain schema information for converting the transmission format element back to the data element.