Hybrid App Image Printing via Script-Native Layer Mediation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Hybrid applications face constraints in rendering and printing image data due to limitations in using image data obtained from a script layer, particularly in converting data for printing purposes, which hinders the execution of image processing tasks.

Innovation Solution

An information processing apparatus with a layered structure comprising a script layer and a native layer, where the script layer generates print scripts and the native layer renders print image data, allowing for image data conversion and printing resolution adjustment based on output image size.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If image data is obtained in the script layer using Web standard language, then the application can be developed cross-platform, but the image data cannot be converted for printing purposes

Engineering Contradiction:
Improvecross-platform compatibilityVSAvoidconstraint on image data conversion
Core Design Contradiction:
Adaptability or versatilityVSObject-generated harmful factors

Solution Approach 1:

The patent introduces a native layer as an intermediary between the script layer and the printing function. The script layer obtains image data using Web standard language, then passes it to the native layer which converts the data into a printable format. This mediator resolves the contradiction by enabling cross-platform development while removing conversion constraints through the native layer's capabilities.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Device complexity

If image data is obtained from the script layer, then the application structure remains simple, but image processing execution fails

Engineering Contradiction:
Improveapplication structureVSAvoidimage processing execution
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent segments the application into two distinct layers: the script layer for obtaining image data using Web standard language, and the native layer for processing and converting the data. This segmentation maintains the simplicity of the script layer while delegating the complex image processing execution to the native layer, thus resolving the contradiction between structural simplicity and execution reliability.

Inventive Principle:
Principle #1Segmentation

3Adaptability or versatility

If the application uses hybrid structure with script layer and native layer, then both native application advantages and Web application advantages are utilized, but rendering and printing constraints arise

Engineering Contradiction:
Improvehybrid application capabilitiesVSAvoidrendering and printing constraints
Core Design Contradiction:
Adaptability or versatilityVSObject-generated harmful factors

Solution Approach 1:

The native layer serves as an intermediary that bridges the script layer and the rendering/printing functions. It receives image data from the script layer in Web standard format, converts it to the appropriate format for rendering and printing, and passes it to the rendering unit. This intermediary approach allows the hybrid structure to maintain both Web and native application advantages while eliminating rendering and printing constraints.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS9436413B2Information processing apparatus, information processing method, and storage medium storing program
Publication Date: 2016.09.06 CANON KK
  • US9436413B2 patent drawing
  • US9436413B2 patent drawing
  • US9436413B2 patent drawing

AI summary

When performing image processing on a designated image by the function of the application, image data of the designated image is obtained in a second layer constituted by an instruction set executable by a processor. In a first layer constituted by a script instruction set, the print script of print content including the image data which has been obtained and converted into a data format interpretable by the first layer in the second layer is generated. The print script is rendered into print image data corresponding to a print resolution by interpreting the generated print script.