Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Page lazy loading method and device, storage medium and processor

A storage medium and lazy loading technology, applied in program control devices, electronic digital data processing, program loading/starting, etc., can solve problems such as lazy loading of pages and inaccurate displayed content, and achieve accurate display content

Active Publication Date: 2020-06-09
ALIBABA GRP HLDG LTD
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method and device for page lazy loading, a storage medium, and a processor, so as to at least solve the problem of inaccurate displayed content caused by anchor point positioning in the process of using lazy loading to render pages in the prior art question

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 lazy loading method and device, storage medium and processor
  • Page lazy loading method and device, storage medium and processor
  • Page lazy loading method and device, storage medium and processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] According to an embodiment of the present invention, an embodiment of a page lazy loading method is also provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0032] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. figure 1 A block diagram of a hardware structure of a computer terminal (or mobile device) for implementing a method for page lazy loading is shown. like figure 1 As shown, the computer terminal 10 may include one or more (only one is shown in the figure) processors 104 (the processors 104 may include but not limited to processing devices s...

Embodiment 2

[0084] Under the above operating environment, this application provides such image 3 Shown page lazy loading method. image 3 It is a flow chart of the method for page lazy loading according to Embodiment 2 of the present invention.

[0085] Open the page in the display interface, obtain the anchor point of the target object positioned on the page, and perform first-screen rendering according to the anchor point to obtain the initial interface.

[0086] Specifically, the initial element and the initial module are rendered in the display interface according to the anchor point to obtain an initial page, that is, a page that can meet the user's basic needs.

[0087] While rendering the first screen, the page is scanned, and the page components corresponding to the modules to be loaded are stored in the rendering list.

[0088] Specifically, the module to be loaded is obtained according to the situation that the page needs to change, and at least one module to be loaded is obt...

Embodiment 3

[0091] Under the above operating environment, this application provides such Figure 4 Shown page lazy loading method. Figure 4 It is a flow chart of the method for page lazy loading according to Embodiment 3 of the present invention.

[0092] Step 41, when the page is opened for the first time, obtain the anchor point positioned to the target object on the page.

[0093] In the above steps, the user can open the page in the display interface, and the display interface can be an area where the user can intuitively obtain information. Specifically, the display interface can be located in the display screen of the target client, and the target client can be a PC or a mobile phone.

[0094] Opening a page in the display interface for the first time may be clicking the browser icon on the screen for the first time, and the search homepage of the browser is displayed in the browser display interface, or clicking the client icon of the application software on the screen for the fi...

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 invention discloses a page lazy loading method and device, a storage medium and a processor. The method comprises: determining that a page is updated, searching a to-be-rendered page component required for updating the page from the at least one page component, and loading the to-be-rendered page component to the page for rendering to obtain an updated page. The technical problem that in the prior art, in the process of rendering a page through lazy loading, displayed content is inaccurate due to anchor point positioning is solved.

Description

technical field [0001] The present invention relates to the technical field of data loading, in particular to a method and device for lazy page loading, a storage medium and a processor. Background technique [0002] Anchor is a kind of hyperlink in webpage production. Users can click on the address located by the anchor to jump to the specified address. In order to save resources, the lazy loading function is used in page loading. Because the size of the components on the page is different First, the layout is different. After the lazy loading function is executed, the positioning will change, and the content positioned on the page is not what the user wants to see. [0003] For example, in the business promotion of commodity promotion, on many pages, the address with anchor point positioning can be used to jump to the promotion site page and locate to the corresponding product floor. Since there are many components on the page, the page The lazy loading function of the mo...

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/957G06F9/445
CPCG06F16/9574G06F9/44521
Inventor 刘会胜
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products