GUI Resource Positioning via Filename Encoding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The current process of developing graphical user interfaces (GUIs) is inefficient due to the back-and-forth communication between graphic designers and software developers, who frequently need to change the placement of resources, requiring repeated updates to the GUI code.

Innovation Solution

Encoding position information within the filename of resources allows graphic designers to dynamically change the position of resources by modifying the filename, eliminating the need for software developers to re-code the resource placement.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If resource positions are changed by modifying GUI code, then resource placement can be updated, but development time and communication overhead increase due to repeated updates between developers and designers

Engineering Contradiction:
Improveease of resource position updateVSAvoiddevelopment time
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent extracts the resource position information from the GUI code and stores it separately in the filename metadata. This allows position updates to be made by simply renaming files rather than modifying code, eliminating the need for repeated developer intervention and reducing development time.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system enables graphic designers to independently update resource positions by modifying filenames without requiring software developers' involvement. The GUI loading process automatically reads position information from filenames, allowing designers to self-service position updates and eliminating iterative communication overhead.

Inventive Principle:
Principle #25Self-service

2Stability of the object's composition

If resource positions are hard-coded in GUI code, then resource placement is stable, but any position changes require code modification and recompilation

Engineering Contradiction:
Improveresource placement stabilityVSAvoidflexibility of resource position change
Core Design Contradiction:
Stability of the object's compositionVSAdaptability or versatility

Solution Approach 1:

The patent separates resource position information from the GUI code structure by encoding it in filenames. This segmentation allows the position data to be independently modified without affecting the code's stability, enabling flexible position changes while maintaining the overall GUI structure.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system changes the parameter storage method from hard-coded values to filename-based metadata. Position parameters are now embedded in filenames (e.g., button1_100x200.png), allowing easy modification of position values without code changes, thus improving adaptability while maintaining stability through consistent loading logic.

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If multiple resources are manually positioned in GUI code, then precise placement is achieved, but the complexity of GUI code and development process increases

Engineering Contradiction:
Improveresource placement precisionVSAvoidGUI code complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent extracts position information from the GUI code and embeds it in filenames. This removes the complexity of manual coordinate management from the code while preserving precise placement capability, as the loading process automatically parses filenames to determine exact positions.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system uses filename patterns as templates for resource positioning. By convention, filenames encode position information (e.g., resource_name_xY_zW.png), allowing the system to automatically copy and apply positioning logic without requiring explicit code for each resource, thus reducing overall code complexity.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS7627832B2Dynamically placing resources within a graphical user interface
Publication Date: 2009.12.01 ESCHER GROUP LTD
  • US7627832B2 patent drawing
  • US7627832B2 patent drawing
  • US7627832B2 patent drawing

AI summary

A technique dynamically places resources within a graphical user interface (GUI). According to the novel technique, a resource (e.g., an image of the resource) of the GUI is assigned a filename (e.g., by a graphic designer) having position information encoded therein. For example, a resource with coordinates of 50 pixels in the “X” direction (“50X”) and 50 pixels in the “Y” direction (“50Y”) may be represented with a corresponding filename: “resourcename_50×50.jpg.” Software code that displays the GUI (e.g., maintained by a software developer) may then dynamically interpret the filename to parse out the position information (e.g., 50X and 50Y). The software code then places the resource in a position within the GUI according to the position information. Subsequently, changing the position information encoded within the filename (e.g., by the graphic designer) changes the position of the resource in the GUI (e.g., renaming the resource to “resourcename_100×50.jpg” replaces the resource at 100X and 50Y).