Application Interface Preloading to Reduce Startup Latency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing methods for displaying the main operation interface of an application program on a terminal are slow due to the need for loading the interface, which delays the display and requires a startup animation, increasing the complexity of the process.
Innovation Solution
The method involves preloading a secondary interface of the target application program when the first interface is displayed, detecting the starting operation, and then moving the target activity to the top of the task stack to directly display the preloaded interface, eliminating the need for a startup interface during loading.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the terminal displays a startup animation when starting an application program, then the application program can be started properly, but the display of the main operation interface is delayed and the display speed becomes slow
Solution Approach 1:
The patent preloads the main operation interface (second interface) of the target application program into memory while the user is viewing the first interface. This preliminary action ensures that when the user triggers the application to start, the interface is already loaded and ready for immediate display, eliminating the need for a startup animation and achieving instant display of the main operation interface.
2Ease of operation
If the terminal loads the main operation interface from scratch when the application program is started, then the interface can be displayed, but the loading time increases and user experience deteriorates
Solution Approach 1:
The system performs preliminary loading of the main operation interface into memory before the user actually needs it. By predicting which application the user might start next and preloading its interface during the display of the current first interface, the system eliminates loading delays and provides instant access, significantly improving user experience and reducing perceived loading time.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The present disclosure relates to a method, a terminal, a device and a computer-readable storage medium for displaying an interface of an application program. The method includes displaying (101) a first interface; preloading (102) a second interface of a target application program when the first interface is displayed, the first interface being different from the second interface of the target application program; detecting (103) a starting operation for the target application program; and displaying (104) the second interface in response to detecting the starting operation for the target application program.