Multi-page loading method and computer-readable storage medium
A multi-page, page technology, applied in website content management, other database retrieval, network data retrieval, etc., can solve the problems of poor experience, flexible control of destruction, long waiting time, etc., to achieve the effect of improving flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] Please refer to figure 2 , Embodiment 1 of the present invention is: a multi-page loading method, applicable to multi-page business scenarios, comprising the following steps:
[0056] S1: Configure the page controller, the configuration content includes: the number of pages and the page number of each page, page title, page information, whether to preload the static page identifier, whether to preload the network data identifier, whether to destroy the page identifier when the page is invisible; Specifically, configuration may be performed according to user input.
[0057] S2: Create a container frame, and display the page title of each page, or display the page number of each page.
[0058] S3: Create a static task queue and a dynamic task queue to manage static page preloading tasks and dynamic network data preloading tasks respectively.
[0059]S4: Get the page that is not displayed. Specifically, a non-displayed page may be acquired sequentially, and the followi...
Embodiment 2
[0078] This embodiment is a computer-readable storage medium corresponding to the above-mentioned embodiments, on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:
[0079] Create static task queues and dynamic task queues;
[0080] If the static page needs to be preloaded for the undisplayed page, then create a page preloading task for the undisplayed page, and add the page preloading task to the static task queue;
[0081] If the non-display page needs to preload dynamic network data, then create a data preload task for the non-display page, and add the data preload task to the dynamic task queue;
[0082] Execute the static task queue and the dynamic task queue;
[0083] If the page preloading task of the page to be displayed has been executed, display the page instance corresponding to the page preloading task;
[0084] If the data preloading task of the page to be displayed has been executed, the pa...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

