Hybrid Image Processing Workflow for Native-Script Data Transfer

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Hybrid applications face challenges in transferring and processing high-resolution image data between native and script layers, leading to difficulties in user-friendly image processing and printing, especially when handling large image data sets for printing, due to format incompatibilities and limitations in existing solutions like Cordova, which do not facilitate seamless data sharing or offline operations.

Innovation Solution

A computer program and method that enables data conversion between native and script layers by converting image data from one layer to a base64 format, allowing for efficient inter-program layer data transfer, enabling high-speed image processing and printing operations, and facilitating offline usage by integrating native and script layer functions within a hybrid application framework.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If image data is transferred between native and script layers in hybrid applications, then image processing functionality is enabled, but data transfer efficiency deteriorates due to format conversion requirements

Engineering Contradiction:
Improveimage processing functionalityVSAvoiddata transfer efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent introduces base64 encoding as an intermediary format that enables seamless data transfer between native and script layers. Image data is encoded to base64 in the native layer, transmitted to the script layer for processing, and decoded back to binary format for printing. This intermediary format resolves the incompatibility between native binary format and script layer text-based handling, enabling efficient cross-layer data transfer without loss of processing capability.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If complex image processing is executed in the script layer, then cross-platform compatibility is improved, but processing speed deteriorates

Engineering Contradiction:
Improvecross-platform compatibilityVSAvoidprocessing speed
Core Design Contradiction:
Adaptability or versatilityVSSpeed

Solution Approach 1:

The patent segments the image processing workflow into distinct phases: data encoding and transmission in the native layer, UI rendering and user interaction in the script layer, and final decoding and printing in the native layer. This segmentation allows the script layer to focus on cross-platform UI compatibility while the native layer handles performance-critical encoding/decoding operations, optimizing both compatibility and speed.

Inventive Principle:
Principle #1Segmentation

3Manufacturing precision

If high-resolution image data is handled for printing, then print quality is improved, but memory consumption and processing time increase

Engineering Contradiction:
Improveprint qualityVSAvoidprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent changes the data representation parameter from binary to base64 encoding during transmission. While base64 increases data size by approximately 33%, this parameter change enables efficient text-based handling in the script layer without compromising the original high-resolution image quality. The native layer maintains the ability to decode and print at full resolution while leveraging the script layer's cross-platform capabilities.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10296267B2Information processing apparatus, information processing method, and storage medium
Publication Date: 2019.05.21 CANON KK
  • US10296267B2 patent drawing
  • US10296267B2 patent drawing
  • US10296267B2 patent drawing

AI summary

According to an embodiment of this invention, an information processing apparatus that executes, by a processor, a program including a first program layer with an instruction set to be interpreted and executed by the processor and a second program layer with an instruction set interpreted in advance by a unit other than the processor has the following arrangement. That is, the first program layer holds image data to be processed in a first format. On the other hand, the second program layer holds it in a second format. When transferring image data between the first program layer and the second program layer, the format of the image data is converted between the first format and the second format.