Hybrid Application Dual-Layer Interpretation for Print Speed
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Hybrid applications for print tasks face issues with decreased processing speed and memory shortages due to the need for converting Web standard language scripts into high-resolution image data, which is inefficient and memory-intensive when handled by the operating system's interpreter.
Innovation Solution
Implementing a dual-layered program structure where a first program layer is interpreted by the processor, and a second program layer has pre-interpreted instruction sets, allowing for separate interpretation processes to manage output content, thereby bypassing the OS interpreter for high-speed processing and memory efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If Web standard language scripts are interpreted by the operating system's interpreter to maintain cross-platform compatibility, then adaptability is improved, but processing speed decreases
Solution Approach 1:
The patent divides the application into two distinct layers: a script layer for cross-platform UI development and a native layer for high-performance processing. This segmentation allows each layer to operate independently with optimized characteristics - the script layer maintains adaptability while the native layer delivers high-speed processing.
Solution Approach 2:
The patent introduces a rendering unit as an intermediary component that bridges the script layer and native layer. This rendering unit converts script descriptions into native instructions, enabling the script layer to maintain cross-platform compatibility while the native layer executes high-performance operations without direct OS interpreter involvement.
2Manufacturing precision
If Web standard language scripts are converted into high-resolution image data by the OS interpreter, then rendering accuracy is improved, but memory consumption increases
Solution Approach 1:
The patent extracts the rendering function from the OS interpreter and relocates it to a dedicated rendering unit in the native layer. This extraction eliminates the memory-intensive base64 conversion process while preserving high-resolution image data generation, thereby reducing memory consumption without sacrificing rendering accuracy.
Solution Approach 2:
The patent implements a rendering unit that directly generates high-resolution image data from script descriptions without creating intermediate base64 character string copies. This direct generation approach maintains rendering precision while avoiding the memory overhead associated with multiple data format conversions.
3Ease of manufacture
If hybrid application structure is used to combine native and Web standard languages, then ease of manufacture is improved, but device complexity increases
Solution Approach 1:
The patent clearly segments the application into a script layer for UI development and a native layer for core functionality. This segmentation simplifies the development process by allowing developers to use familiar Web standard languages for UI while leveraging native capabilities for performance-critical operations, without requiring complex integration mechanisms.
Solution Approach 2:
The patent creates a universal architecture where the rendering unit serves multiple functions: it interprets script descriptions, generates high-resolution image data, and interfaces with both the script layer and native layer. This multi-functional component reduces overall system complexity by consolidating multiple responsibilities into a single unified mechanism.
Data Source
AI summary
An embodiment of this invention is directed to an information processing apparatus capable of performing high-speed processing and preventing memory shortage even when executing a hybrid application. According to the embodiment, an information processing apparatus that executes a program including a first program layer with an instruction set to be interpreted and executed by a processor and a second program layer with an instruction set interpreted in advance by a unit other than the processor includes the following arrangement. That is, the processor includes a plurality of interpretation units configured to interpret the first program layer. A first interpretation unit is provided in an operating system that operates in the processor, and a second interpretation unit is provided in the second program layer.


