Electronic Image Viewer With Directory-Based Cache Preloading

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Displaying multiple images simultaneously in an image viewer often results in significant loading times, causing delays and a poor user experience due to interruptions when switching between pages.

Innovation Solution

An electronic device with a processor that preloads multiple images into a cache memory based on a directory structure, using offset limits and count values to optimize image loading, ensuring smooth transitions and reduced loading times.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If multiple images are displayed simultaneously in one page, then the user can view more images at once, but the loading time increases significantly

Engineering Contradiction:
Improvenumber of images displayedVSAvoidloading time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The system preloads images into cache memory before they are actually requested by the user. When navigating through images, the processor predicts which images will be needed next and loads them in advance, so that when the user requests them, they are already available in cache, eliminating loading delays

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements a hierarchical cache structure with different levels (L1, L2, L3 caches) having different sizes and speeds. Frequently accessed images are stored in faster, smaller caches, while less frequently accessed images are stored in larger, slower caches or on storage media, optimizing the balance between loading speed and memory usage

Inventive Principle:
Principle #3Local quality

2Speed

If images are preloaded into cache memory, then loading speed improves, but memory usage increases

Engineering Contradiction:
Improveimage loading speedVSAvoidcache memory size
Core Design Contradiction:
SpeedVSVolume of stationary object

Solution Approach 1:

The system preloads only a subset of images that are predicted to be needed next, rather than loading all possible images. The offset limit parameter controls how many images ahead are preloaded, balancing between loading speed improvement and cache memory consumption

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system dynamically adjusts the preload offset limit based on available cache memory and usage patterns. When cache memory is abundant, more images are preloaded; when cache memory is constrained, fewer images are preloaded, optimizing performance for varying memory conditions

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20250278169A1Electronic device and method for image viewing
Publication Date: 2025.09.04 HTC CORP
  • US20250278169A1 patent drawing
  • US20250278169A1 patent drawing
  • US20250278169A1 patent drawing

AI summary

An electronic device and a method for image viewing are provided. The method includes: obtaining a plurality of images, wherein the plurality of images include a first image, wherein the first image includes a first value and a second value; generating a directory of data by assigning the first image to a first directory of the directory of data and assigning the first image to a first subdirectory of the first directory according to the second value; in response to the first image being selected, preloading a second image within a second directory of the directory of data to a cache memory according to the directory of data; and outputting a graphical user interface, wherein the graphical user interface displays the first image in response to the first image being selected.