Display Page Interaction Control via Sliding Parameter Prediction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
When interacting with a display page through sliding operations, the strength exerted by the user can affect the position of display content, leading to an unsatisfactory viewing experience due to inappropriate positioning.
Innovation Solution
A method and apparatus that predict and correct the position of display content based on sliding parameters, ensuring it meets predetermined requirements, such as being in the middle region of the page, by adjusting the content's height and layout proportionally to the screen height, and automatically playing or displaying comment input boxes as needed.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If the display page moves according to the sliding operation without correction, then the operation responsiveness is improved, but the content positioning accuracy deteriorates
Solution Approach 1:
The system performs preliminary prediction of content position based on sliding parameters before the actual sliding completes, and pre-adjusts the content position to meet requirements. This advance preparation ensures that when the sliding operation finishes, the content is already in the correct position, resolving the contradiction between responsive operation and accurate positioning.
Solution Approach 2:
The system implements a feedback mechanism where the predicted content position is evaluated against predefined requirements, and correction is applied based on the evaluation result. This closed-loop control ensures that content positioning accuracy is maintained while preserving the natural responsiveness of the sliding operation.
2Manufacturing precision
If the content position is corrected based on sliding parameters, then the content positioning accuracy is improved, but the system complexity increases
Solution Approach 1:
The system changes the parameter representation from absolute position to relative displacement based on sliding parameters. By using sliding parameters (which naturally capture user intent) as the basis for position correction, the system reduces computational complexity while maintaining positioning accuracy. The correction formula uses simple arithmetic operations on readily available sliding parameters.
3Adaptability or versatility
If the display content position adapts to different screen heights, then the adaptability is improved, but the layout consistency deteriorates
Solution Approach 1:
The system applies different scaling factors to different regions of the display page based on their relationship to the content being displayed. The content region is scaled to ensure it fits within the screen height, while other regions maintain their original proportions. This localized adaptation preserves layout consistency for the main content while adapting to different screen sizes.
Data Source
AI summary
The present disclosure provides a method and apparatus for interaction control of a display page. The method includes: obtaining a sliding operation performed by a user on the display page and a sliding parameter corresponding to the sliding operation, the display page including a plurality of pieces of display content; controlling the display page to move in accordance with the sliding operation, and predicting, based on the sliding parameter, a position of current display content on the display page when the display page stops; determining whether the position of the current display content meets a predetermined requirement; and correcting, when it is determined that the position of the current display content does not meet the predetermined requirement, the position of the current display content, such that the position of the current display content meets the predetermined requirement when the display page stops.


