Mobile Terminal Image Display Memory Optimization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current mobile terminals consume excessive memory and reduce operation efficiency when presenting a large number of images, as they load all images at once and scroll through them, occupying memory space continuously.
Innovation Solution
A method and apparatus that load only a predefined number of images visible on the screen and recover memory space for hidden images, loading new images from behind the visible set when the user scrolls, thereby optimizing memory usage and CPU consumption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If all images are loaded at once and presented on the screen by scrolling, then all images can be displayed, but memory space is excessively occupied and operation efficiency is lowered
Solution Approach 1:
The patent divides the image display process into segments: only the visible portion of images (e.g., 6 images at a time) is loaded into memory and displayed, while other images remain unloaded. This segmentation allows full-image display capability without continuous memory occupation of all images.
Solution Approach 2:
The patent implements a mechanism where images that move out of the visible screen area are discarded from memory (memory space recovered), and new images that enter the visible area are loaded. This dynamic discarding and recovering process maintains low memory consumption while enabling continuous scrolling through all images.
2Quantity of substance
If all images are loaded at once, then complete image set is available, but CPU operation efficiency is reduced
Solution Approach 1:
The patent applies partial action by loading only the necessary portion of images (those currently visible on screen) rather than all images. This partial loading approach reduces CPU processing burden and improves operation efficiency while still providing complete image browsing capability through incremental loading as users scroll.
3Quantity of substance
If a large number of images are presented simultaneously, then comprehensive image viewing is achieved, but memory occupation increases excessively
Solution Approach 1:
The patent implements dynamic image loading and unloading based on the user's scrolling position. As the user scrolls through images, the system dynamically adjusts which images remain in memory - loading new images that enter the visible area and unloading images that leave it. This dynamic approach maintains optimal memory usage while enabling comprehensive image viewing.
Data Source
AI summary
Provided are a method and apparatus for presenting images, a mobile terminal and a computer storage medium. The method includes: an instruction to present images in a folder is received; a predefined number of images are loaded to a screen of a device so as to be presented thereon, the predefined number is the quantity of images capable of being presented by the screen of the device; an instruction to move a display interface forward is received; it is determined in real time whether images presented on the screen of the device are hidden beyond the screen of the device after the display interface is moved forward, if Yes, memory space of images hidden beyond the screen of the device are recovered and images, as many as images with their memory space recovered, arranged behind the predefined number of images presented on the screen of the device in the folder are loaded to the screen of the device so as to be presented thereon. Through the disclosure, memory occupation and CPU consumption of presentation of a large number of images can be reduced to the most extent so that the large number of images are presented rapidly, efficiently and smoothly on a device, thereby improving greatly operation efficiencies of the device and applications.


