Hybrid App Framework for Cross-Platform Printer Communication

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional mobile applications face challenges in executing image processing efficiently due to limitations in communication with external devices, particularly printers, and require separate development for different operating systems, leading to increased development costs and reduced flexibility.

Innovation Solution

A hybrid application framework with a three-layered structure, comprising a script layer, native layer, and OS layer, enables seamless communication with external devices by requesting and executing native instructions, allowing for dynamic UI design and function addition while supporting multiple communication protocols.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If a script layer (JavaScript) is used for application development, then cross-platform compatibility and ease of development are improved, but execution speed and reliability for complex image processing deteriorate

Engineering Contradiction:
Improveease of developmentVSAvoidexecution reliability
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The application is divided into two layers: a script layer (HTML5/CSS3/JavaScript) for UI and control logic, and a native layer (C/C++) for performance-critical image processing operations. This segmentation allows each layer to be optimized for its specific function while working together through defined interfaces.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A hybrid application execution environment acts as an intermediary between the script layer and native layer. It translates script instructions into native code execution, manages memory allocation, and handles communication between layers, ensuring reliable execution of complex image processing tasks while maintaining cross-platform compatibility.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Speed

If separate native applications are developed for each operating system, then execution speed is improved, but development cost and time increase

Engineering Contradiction:
Improveexecution speedVSAvoiddevelopment complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The script layer uses universal web standards (HTML5, CSS3, JavaScript) that can run on any operating system with a compatible execution environment. The native layer is written in C/C++ with platform-specific compilation, allowing the same codebase to execute efficiently on multiple OSes (iOS, Android, Windows, macOS) without requiring separate development for each platform.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Speed

If image processing is performed in the mobile device, then processing speed is improved, but communication limitations with external devices (printers) cause failures

Engineering Contradiction:
Improveprocessing speedVSAvoidcommunication reliability
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The hybrid application execution environment serves as an intermediary that manages communication between the mobile device and external printers. It handles protocol translation, error correction, and data formatting to ensure reliable communication while maintaining fast local image processing capabilities.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Adaptability or versatility

If Web application architecture is used, then flexibility and dynamic UI design are improved, but operation speed for complex image processing deteriorates

Engineering Contradiction:
ImproveflexibilityVSAvoidoperation speed
Core Design Contradiction:
Adaptability or versatilityVSSpeed

Solution Approach 1:

The application architecture segments functionality into a flexible script layer for dynamic UI design and a high-performance native layer for image processing. The script layer can be easily modified and updated without recompiling the entire application, while the native layer provides optimized execution for computationally intensive tasks through pre-compiled C/C++ code.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10318213B2Information processing apparatus, information processing method, and storage medium storing program
Publication Date: 2019.06.11 CANON KK
  • US10318213B2 patent drawing
  • US10318213B2 patent drawing
  • US10318213B2 patent drawing

AI summary

When communicating with a printing apparatus used for the print function of an application, communication with the printing apparatus is requested of a second layer constituted by an instruction set which is translated in advance to be able to execute the instruction set by a processor, in a first layer constituted by a script instruction set which is translated to be able to execute the script instruction set by the processor when executing the application and is executed. In the second layer, communication with the printing apparatus is performed in accordance with the request.