XML Input Specialization and View Mapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional XML processing techniques face performance issues due to the use of general-purpose tools that incur overhead from unnecessary data representation and access patterns, especially when dealing with complex and dynamic data structures, leading to inefficiencies in parsing and data access.
Innovation Solution
The implementation of abstract view mapping and input specialization to map general data types from a DOM-based definition to more suitable data types, optimizing access patterns and eliminating unnecessary complex pointer references, by employing data structures like hash tables and arrays based on specific access requirements.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If general-purpose XML processing tools are used, then versatility and ease of development are improved, but processing speed and efficiency deteriorate
Solution Approach 1:
The patent segments the general-purpose XML processing system into specialized components. Instead of using a single general-purpose parser for all XML documents, it creates specialized parsers tailored to specific document types and access patterns. This segmentation allows each parser to be optimized for its specific purpose, improving processing speed while maintaining the versatility to handle different XML formats through multiple specialized components.
Solution Approach 2:
The patent changes key parameters of the processing system by transforming the intermediate representation from a general-purpose DOM structure to specialized data structures with optimized access patterns. By modifying parameters such as data structure organization, access methods, and memory layout to match specific access patterns, the system achieves faster processing while maintaining adaptability through configurable specialization options.
2Loss of information
If general-purpose DOM structures are used, then comprehensive data representation is improved, but memory usage and access efficiency deteriorate
Solution Approach 1:
The patent extracts only the necessary data and access patterns needed for specific applications from the complete DOM structure. By identifying and removing unnecessary nodes, attributes, and relationships that are not accessed in particular applications, the system reduces memory usage while preserving all information needed for those specific access patterns. This extraction is done through analysis of access patterns and customization of the intermediate representation.
Solution Approach 2:
The patent introduces dynamic adaptability by allowing the data structure to be customized based on actual access patterns. The system can dynamically adjust the intermediate representation to match the specific needs of different applications, transforming fixed general-purpose DOM structures into flexible, application-specific structures that optimize memory usage while maintaining data completeness for each use case.
3Adaptability or versatility
If XML syntax serialization and parsing are performed, then standardization and interoperability are improved, but processing time and overhead deteriorate
Solution Approach 1:
The patent performs preliminary action by pre-compiling access patterns and pre-organizing data structures before actual data processing occurs. By analyzing access patterns in advance and preparing optimized intermediate representations beforehand, the system eliminates the need for repeated serialization and parsing operations during runtime, significantly reducing processing time while maintaining XML standardization through the use of standardized input/output formats.
Data Source
AI summary
A program specializer employs input specialized data structures by generating an input specialized definition of a set of data elements, and parsing an application program to identify data element references to data elements in the generated input specialized definitions of data elements. The program specializer replaces or rewrites the identified data element references with the corresponding input specialized definition. The input specialized data elements from the input specialized program are employed in a particular view by generating a mapping of source data types to preferred data types, such that the preferred data types have access advantages over the source data types, and receiving a markup application program having source data types operable to be modified in the input specialized program. A view mapper maps, using the generated mapping, a source data type to a preferred data type, and applies the mapped preferred data type to occurrences of the corresponding source data type.


