Document Transformation via Intermediate Hierarchical Data
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing document transformation systems have high dependency on applications, making it inconvenient to modify modules for different file formats when application data is modified, leading to increased resource consumption and complexity.
Innovation Solution
A method and apparatus that transform documents across multiple file formats by generating intermediate hierarchical data and application model data, using separate modules to minimize application dependency, allowing only the transformation modules to be modified when application model data changes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If separate modules are developed for each file format to enable document transformation, then the application can load and store documents with various file formats, but the dependency on the application increases and modifying modules becomes inconvenient when application data is modified
Solution Approach 1:
The patent introduces intermediate hierarchical data as a mediator between documents of different file formats and application model data. The transformation process goes through this intermediate layer, which standardizes the data structure and reduces direct dependency between file format modules and the application. This allows modules to be modified independently when application data changes.
Solution Approach 2:
The patent segments the document transformation process into distinct stages: parsing the document into intermediate hierarchical data, transforming the intermediate data into application model data, and storing the transformed data. This segmentation separates the file format-specific parsing logic from the application-specific model transformation, reducing coupling and dependency.
2Adaptability or versatility
If modules for each file format are developed to transform documents, then document transformation capability is achieved, but resource consumption increases when modifying modules for compatibility
Solution Approach 1:
The patent creates a universal intermediate hierarchical data structure that serves as a common representation for multiple file formats. Instead of maintaining separate transformation modules for each file format that all need to be modified together, the system uses a single intermediate layer that can accommodate different file formats, reducing the total number of modules that require modification and thus reducing resource consumption.
3Reliability
If all modules for each file format are modified to maintain compatibility with application data changes, then data compatibility is maintained, but time consumption increases
Solution Approach 1:
By introducing intermediate hierarchical data as a mediator, the patent enables independent modification of application model data without requiring changes to all file format transformation modules. The intermediate layer acts as a buffer that maintains compatibility while allowing selective updates, significantly reducing the time required for maintenance and updates.
Data Source
AI summary
According to an exemplary embodiment of the present disclosure, a method for transforming a document with each of a plurality of file formats, performed by a computing device includes receiving a request for transforming a document with each of a plurality file formats into application model data having a structure or format which is available for an application for loading and storing the document; generating intermediate hierarchical data between the document with each of the plurality of file formats and the application model data, using the document with each of the plurality of file formats, in response to the received request; and transforming intermediate hierarchical data generated corresponding to each of the plurality of file formats into application model data corresponding to each of the plurality of file formats.


