Schema File Generation for Asset Data Serialization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data serialization methods lack sufficient information about the data structure, restricting the handling of asset data, especially when the application program that serialized the data needs to reference it again, as the simple data structure does not provide enough context.
Innovation Solution
A development program and system that generates a schema file describing the data structure of the asset data, allowing for easier handling by providing type definitions and enabling serialization and deserialization in a general-purpose format like JSON or XML, which can be used across different environments.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If asset data is serialized with a simple data structure (property name and value correspondence), then storage and recovery of classes and instances can be readily achieved, but sufficient information on the data structure is not provided, restricting handling of the asset data
Solution Approach 1:
The patent applies preliminary action by generating a schema file that describes the data structure of asset data before the asset data is actually serialized. This schema file is created in advance during the build process, capturing type definitions, property names, and data types. When asset data is later serialized, the schema file is already available to guide the serialization process, ensuring that sufficient structural information is preserved without complicating the actual serialization operation.
2Ease of operation
If a schema file describing the data structure is generated, then handling of asset data is facilitated with sufficient information, but the complexity of the serialization system increases
Solution Approach 1:
The patent applies self-service by enabling the build system to automatically generate the schema file from the source code and type definitions without requiring manual intervention. The system extracts type information, property names, and data types automatically during the build process. This automation eliminates the need for manual schema creation, reducing the operational complexity despite adding the schema generation step to the build process.
3Reliability
If type definitions are extracted from source code to generate schema files, then asset data can be handled with reference to type definitions, but the build process becomes more complex
Solution Approach 1:
The patent applies mechanics substitution by replacing manual analysis and extraction of type definitions with an automated code analysis module. This module programmatically parses the source code, identifies type definitions, extracts property information, and generates schema files automatically. This substitution of automated computational analysis for manual processes ensures accurate extraction of data structure information while managing the build process complexity through systematic automation.
Data Source
AI summary
A development program for development of an application program with a programming language in which an object is generated based on a type is provided. The development program includes instructions for generating or extracting a first type definition of an object from a source code of the application program and instructions for generating a schema file that describes a data structure of the first type definition.


