Page display method and device, electronic equipment and storage medium

A technology of page display and electronic equipment, applied in the computer field, can solve the problems of prolonging page display time, waste of system resources, affecting user experience, etc., achieve the effect of shortening loading time, avoiding waste of resources, and improving display speed

Pending Publication Date: 2020-10-02
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventors found that there are at least the following problems in the prior art: although the appearance of the skeleton screen technology allows users to know the general frame of the page in advance, which improves the user experience to a certain extent, the generation of the page skeleton diagram It still takes a certain amount of time to display and display, which will still affect the user experience
In addition, every time the application is started, the page skeleton diagram of each page needs to be dynamically generated, which not only prolongs the page display time, but also causes a waste of system resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Page display method and device, electronic equipment and storage medium
  • Page display method and device, electronic equipment and storage medium
  • Page display method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] The page display method provided in this embodiment is applicable to the page display during the first loading process of the page in the program, especially applicable to the situation of the page display before the page data loading is completed. The method can be executed by a page display device, which can be realized by software and / or hardware, and which can be integrated in an electronic device installed with an application program, such as a mobile phone, a tablet computer or a desktop computer. see figure 1 , the method of this embodiment specifically includes the following steps:

[0025] S110. When the page to be displayed in the target program is loaded for the first time, determine whether a page skeleton diagram of the page to be displayed is stored.

[0026] Among them, the target program refers to the running program that needs to display the page in the current device, which can be an application software (application, app) program, or the fifth versio...

Embodiment 2

[0037] On the basis of the above-mentioned embodiments, this embodiment further optimizes "generating a page skeleton diagram corresponding to each remaining page according to the page links of each remaining page in the target program". On this basis, the step of generating page skeleton diagrams of different display subpages in the same page may be further added. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here. see figure 2 , the page display method provided in this embodiment includes:

[0038] S210. When the pages to be displayed are the remaining pages except the homepage of the pages of the target program, after displaying the homepage of the target program, determine the page links of the remaining pages in the target program.

[0039] S220. For each page link, perform page preloading according to the page link, generate a preloaded page corresponding to the corresponding page link, and gene...

Embodiment 3

[0068] This embodiment provides a page display device, see image 3 , the device specifically includes:

[0069] A page skeleton diagram judging module 310, configured to determine whether the page skeleton diagram of the page to be displayed is stored when the page to be displayed in the target program is loaded for the first time;

[0070] The page skeleton display module 320 is configured to, if yes, read and display the page skeleton of the page to be displayed, wherein the page skeleton is pre-generated according to the page structure of the page to be displayed.

[0071] Optionally, on the basis of the above-mentioned device, the device also includes a page skeleton diagram generating module, which is used for:

[0072] When the pages to be displayed are the remaining pages in each page of the target program except the home page, after displaying the home page of the target program, generate a page skeleton diagram corresponding to each remaining page according to the p...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a page display method and device, electronic equipment and a storage medium. The method comprises the steps that when a to-be-displayed page in a target program is loaded for the first time, whether a page skeleton diagram of the to-be-displayed page is stored or not is judged; if yes, the page skeleton diagram of the page to be displayed is read and displayed, and the page skeleton diagram is generated in advance according to the page architecture of the page to be displayed. Through the technical scheme, the page skeleton diagram of the to-be-displayed page can be displayed more quickly.

Description

technical field [0001] The embodiments of the present invention relate to computer technology, and in particular to a page display method, device, electronic equipment and storage medium. Background technique [0002] With the gradual popularity of single page applications (single page web application, SPA) in the field of application front-end development, the problem of loading the first screen is becoming more and more prominent, such as the content displayed on the first screen and the display speed of the first screen. [0003] The implementation schemes of the first screen loading are as follows: one is to display the page loading picture, such as loading or progress bar, which shows the page loading information map that the page is loading; another emerging solution is to display the first screen picture in the form of a skeleton screen. Skeleton screen means that when the page content is not loaded, first use the page structure diagram corresponding to the general st...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/957G06F16/958
CPCG06F16/957G06F16/958
Inventor 单开元
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products