Method and device for generating web pages
A page and page label technology, applied in the computer field, can solve problems such as page jamming and long time required to load a webpage, and achieve the effect of improving the loading speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0099] figure 2 For a schematic flow chart of the web page generation method provided in Embodiment 1 of the present application, see figure 2 , the method may be executed by the first view control, and specifically may include the following steps:
[0100] Step 22, when initiating a request to visit the target webpage, the first view control generates a webpage based on the offline webpage corresponding to the request, and the offline webpage is saved when the target webpage was accessed earlier;
[0101] combine figure 1 In the corresponding application scenario, in this step, the request for initiating access to the target web page can be executed by the second view control, and correspondingly, the first view control can determine the local URL based on the information carried in the request, such as the URL of the target web page The cached offline webpage corresponding to the URL is then used to generate a webpage based on the offline webpage.
[0102] Wherein, load...
Embodiment 2
[0121] image 3 For a schematic flow chart of the web page generation method provided in Embodiment 2 of the present application, see image 3 , the method may be executed by the first view control, and specifically may include the following steps:
[0122] Step 32, when initiating a request to visit the target webpage, the first view control generates a webpage based on the offline webpage corresponding to the request, and the offline webpage is saved when the target webpage is accessed earlier;
[0123] Step 34, constructing a first index tree according to the offline webpage, the first index tree is used to describe the first webpage data in the offline webpage;
[0124] Step 36, loading the second index tree constructed by the second view control, the second index tree is used to describe the second webpage data in the target webpage returned by the server in response to the request;
[0125] Wherein, Step 32-Step 36 correspond to Step 22-Step 26 in Embodiment 1 respecti...
Embodiment 3
[0150] Figure 4 For a schematic flow chart of the web page generation method provided in Embodiment 3 of the present application, see Figure 4 , on the basis of Embodiments 1 and 2, the embodiment of the present application further details the steps of constructing the second index tree, which may specifically include the following steps:
[0151] Step 42, when initiating a request to visit the target webpage, load the second webpage data in the target webpage returned by the browser server in response to the request;
[0152] Step 44. Build a second index tree, where the second index tree is used to describe the second web page data.
[0153] It should be noted that after the user inputs the access address of the target webpage through the input device 13, the second view control can initiate a request to the browser server to access the target webpage. The second view control loads the second webpage data returned by the browser server. On the one hand, the second view e...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


