UI Layout Comparison via Coordinate Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developing applications with consistent user interface appearance and functionality across various devices with different form factors is challenging due to the limitations of manual comparison and existing automation tools, which can result in false negatives and compromise conformity and reliability.

Innovation Solution

A system and method for user interface layout comparison that includes generating a converted layout design corresponding to a specific form factor, capturing screenshots, and comparing them to detect defects, utilizing a user interface similarity service with a generate engine, capture engine, and compare engine, supported by cloud infrastructure and virtual machines.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If manual comparison is used to test user interface layout across devices, then flexibility and adaptability are maintained, but measurement precision and reliability deteriorate due to human limitations in detecting defects

Engineering Contradiction:
ImproveadaptabilityVSAvoidmeasurement precision
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The patent replaces the mechanical human visual inspection system with an automated computer-based image processing system. The compare engine captures screenshots of the user interface on multiple devices, converts them to a common coordinate system, and performs automated pixel-by-pixel comparison to detect layout defects, thereby substituting human measurement capabilities with precise automated optical measurement.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Productivity

If existing automation tools are used for functional testing, then productivity increases, but measurement precision deteriorates resulting in false negatives that compromise reliability

Engineering Contradiction:
ImproveproductivityVSAvoidmeasurement precision
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent creates precise visual copies of the user interface layout by capturing screenshots on each device and converting them to a common coordinate system. This copying approach allows for exact visual comparison of layout elements across different devices, enabling detection of subtle rendering differences that functional testing might miss, thereby maintaining high measurement precision while achieving automation.

Inventive Principle:
Principle #26Copying

3Reliability

If testing is performed across multiple devices with various form factors, then adaptability and conformity are improved, but device complexity and testing resources increase

Engineering Contradiction:
ImproveconformityVSAvoiddevice complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent creates a universal testing system that can handle multiple device form factors through a single compare engine. The engine captures screenshots from any device, converts them to a common coordinate system based on the design layout, and performs comparison. This universal approach allows testing across diverse devices without requiring separate testing systems for each form factor, managing complexity while maintaining comprehensive conformity checking.

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

4Measurement precision

If automated layout comparison is implemented with coordinate conversion, then measurement precision improves for detecting defects, but device complexity and processing requirements increase

Engineering Contradiction:
Improvemeasurement precisionVSAvoiddevice complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent introduces a coordinate conversion intermediary layer between the captured screenshots and the comparison process. The compare engine converts device-specific coordinate systems to the design layout's coordinate system, serving as a mediator that enables precise comparison while abstracting away the complexity of different device resolutions and form factors. This intermediary transformation layer maintains measurement precision without requiring complex device-specific processing logic.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10474481B2User interface layout comparison
Publication Date: 2019.11.12 ENT SERVICES DEV CORP LP
  • US10474481B2 patent drawing
  • US10474481B2 patent drawing
  • US10474481B2 patent drawing

AI summary

In an example implementation, a converted layout design of a user interface of an application may be generated from a layout design of the user interface and a layout design configuration. The converted layout design may correspond to a form factor. A screenshot of the user interface of the application may be captured on a device with the display resolution. In addition, the converted layout design may be compared with the screenshot.