GUI Code Adaptation for Device Layout Compliance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The increasing diversity of mobile devices and software environments poses challenges for developers in ensuring that web applications and websites are rendered correctly across various devices, leading to potential broken layouts and user dissatisfaction.

Innovation Solution

A method and system that utilize a software agent to analyze graphical user interface code, determine the relative arrangement of elements, and amend the code to comply with device-dependent arrangement rules, ensuring proper layout and user experience by re-rendering elements on the screen.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If developers use responsive web designs to adapt to various mobile devices, then the adaptability of the website is improved, but the complexity of testing and validation across numerous device combinations increases

Engineering Contradiction:
Improvewebsite adaptabilityVSAvoidtesting complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces a software agent as an intermediary between the website content management system and the client device. This agent automatically analyzes the graphical user interface code, determines element arrangements, validates compliance with device-dependent rules, and amends code as needed. This intermediary eliminates the need for manual testing across numerous device combinations, resolving the contradiction between website adaptability and testing complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If developers manually test applications on every possible mobile device combination, then the reliability of rendering is improved, but the time and resources required increase significantly

Engineering Contradiction:
Improverendering reliabilityVSAvoidtesting time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent implements preliminary action by having the software agent proactively analyze graphical user interface code and determine element arrangements before the website is deployed to various devices. The agent validates compliance with device-dependent arrangement rules and amends code in advance, ensuring rendering reliability without requiring time-consuming manual testing on every device combination.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system incorporates feedback mechanisms where the software agent continuously monitors and validates GUI arrangements against device-dependent rules. When non-compliance is detected, the agent automatically amends the code and re-renders elements. This closed-loop feedback system ensures high rendering reliability while minimizing the time and resources needed compared to manual testing approaches.

Inventive Principle:
Principle #23Feedback

3Productivity

If the software agent amends graphical user interface code automatically, then the productivity of layout validation is improved, but the complexity of the system increases

Engineering Contradiction:
Improvelayout validation productivityVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements self-service by enabling the software agent to autonomously analyze graphical user interface code, validate compliance with device-dependent rules, identify non-compliant elements, amend the code, and re-render elements without human intervention. This automated self-service approach dramatically improves layout validation productivity. The system complexity increase is justified as it is centralized in the software agent, which replaces the need for complex manual testing procedures across numerous devices.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10007647B2Adapting and validating graphical user interfaces for target devices
Publication Date: 2018.06.26 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10007647B2 patent drawing
  • US10007647B2 patent drawing
  • US10007647B2 patent drawing

AI summary

Systems, methods, and computer program products to perform an operation for validating and adapting a GUI structure to a screen of a client device. The operation comprises receiving by the client device a software agent together with a device dependent arrangement rule. The software agent is adapted for analyzing received GUI code for identifying GUI elements to be rendered on the screen and determining a relative arrangement of the rendered GUI elements. If the relative arrangement is not compliant with the device dependent arrangement rule, the software agent determines a distance between GUI elements of the relative arrangement and a relative arrangement of the GUI elements in accordance with the device dependent arrangement rule, amends the GUI code to re-arrange the GUI elements towards the improved arrangement, and re-renders the GUI elements for the screen using the amended GUI code.