Dynamic Control Sizing for Data Display Memory Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional data display methods face challenges in efficiently managing large amounts of data, leading to increased memory overhead, resource wastage, and limited display space, as they require numerous controls and fixed list heights, which fail to meet practical service requirements.
Innovation Solution
A method and apparatus that determine the location of a scroll box in a display interface, update data blocks by moving them, and adjust the size of controls based on the size of the data blocks displayed, allowing for dynamic adjustment of control sizes and numbers to optimize resource usage and support diverse data services.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If each data block is displayed through one separate control, then data display completeness is improved, but memory overhead increases and resources are wasted
Solution Approach 1:
Multiple data blocks are merged into a single control element. Instead of creating one control per data block, the patent combines multiple data blocks within a limited number of controls, reducing the total control count and associated memory overhead while maintaining complete data display capability.
Solution Approach 2:
Controls are designed to serve multiple functions by displaying different data blocks at different times. The same control elements are reused to display various data blocks through dynamic content updating, making the controls multi-functional rather than dedicated to single data blocks.
2Device complexity
If list controls are provided with preset equal heights, then control structure simplicity is improved, but display space of each control is limited
Solution Approach 1:
The control heights are made dynamic rather than fixed. Each control's height automatically adjusts based on the size of the data block it displays, allowing controls to expand or contract as needed. This dynamic adjustment optimizes display space utilization while maintaining structural simplicity.
Solution Approach 2:
The height parameter of controls is changed dynamically according to the data block size. Instead of using a fixed height parameter for all controls, the system adjusts the height parameter of each control to match its displayed content requirements, thereby maximizing display space efficiency.
Data Source
AI summary
The embodiments of the present invention disclose a method and apparatus for displaying data, which relate to computer technologies. The method includes: determining a location where a scroll box is located; updating a data block displayed on at least one control through moving data blocks according to the location where the scroll box is located; and for each of the at least one control, adjusting the size of the control according to the size of the data block displayed on the control. Through adjusting the size of the control according to the size of the data blocks, the number of the control is adjusted, thus resources can be saved and calculation efforts can be reduced. In addition, since the height of the control is adjusted according to the size of the data block, diversified data services can be supported so as to meet the requirements of practical services.


