Page Refresh Stage Optimization for Faster Terminal Rendering
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing page refreshing processes on terminal devices take an unacceptably long time, particularly for complex pages, leading to reduced user experience.
Innovation Solution
An elapsed time optimization method that identifies and optimizes specific stages in the page refreshing process by obtaining target elapsed time information and applying qualification conditions to determine which stages require optimization, such as preloading view information, initializing modules, or configuring parallel request execution.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If the page refreshing process handles complex pages with complete parsing and rendering, then the page content completeness is improved, but the elapsed time increases
Solution Approach 1:
The page refreshing process is segmented into multiple stages: request stage, receiving stage, parsing stage, and rendering stage. Each stage is independently monitored and optimized, allowing parallel processing where possible and identifying specific bottleneck stages for targeted optimization.
Solution Approach 2:
The system performs preliminary monitoring and analysis of elapsed time in each stage before complete rendering. By identifying time-consuming stages in advance (such as parsing or request stages), the system can apply targeted optimizations like incremental parsing or request batching before the full rendering process begins.
2Measurement precision
If the system monitors and analyzes each stage of page refreshing, then the optimization precision is improved, but the system complexity increases
Solution Approach 1:
The monitoring system is segmented to track specific metrics (elapsed time, stage completion) for each distinct phase of page refreshing. This modular approach allows precise measurement without requiring a complete overhaul of the system architecture.
Solution Approach 2:
The system automatically monitors and analyzes elapsed time in each stage without requiring external intervention. The monitoring mechanism integrates seamlessly into the existing page refreshing process, allowing the system to self-diagnose performance issues.
3Manufacturing precision
If the page refreshing process processes all data sequentially, then the processing accuracy is improved, but the productivity decreases
Solution Approach 1:
The system dynamically adjusts the processing mode based on the identified bottleneck stages. For time-consuming stages like parsing or rendering, it implements parallel processing or incremental updates where data can be processed and displayed in stages, rather than waiting for complete data processing.
Solution Approach 2:
The system maintains continuous useful action by implementing incremental rendering and parallel processing. While some data is being processed in the background, other parts of the page can be rendered and displayed to the user, ensuring that the refreshing process continues productively without complete sequential waiting.
Data Source
AI summary
The present invention relates to the technical field of terminals, and relates to a time-consuming optimization method and apparatus for page refreshing, and a terminal device. The method comprises: obtaining target time-consuming information of a target stage in the process of refreshing a first page; when the target time-consuming information does not meet a time-consuming limiting condition corresponding to the target stage, determining that the target stage is to be optimized; and during the subsequent refreshing of the first page, performing optimization processing on the target stage. The present invention is used for solving the problem of long consumed time for refreshing a page.


