Page waterfall flow layout optimization method, storage medium, electronic equipment and page waterfall flow layout optimization system

A technology of layout optimization and waterfall flow, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as large memory consumption, slow program operation, and increased number of page DOMs, so as to ensure fluency and improve fluency sexual effect

Active Publication Date: 2018-01-12
WUHAN DOUYU NETWORK TECH CO LTD
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This kind of waterfall flow implementation needs to redraw and rearrange all the loaded data after each new load of data, resulting in a large amount of calculation work required for the program after loading the data each time. When the amount of data is very large , at this time, the computing capacity of the computer will be huge, and it will consume a lot of memory. At the same time, the running of the program will become slow, and after the page loads more data, the total DOM number of the page will increase, and the page will become stuck when browsing the page. , resulting in greatly reduced user experience

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 waterfall flow layout optimization method, storage medium, electronic equipment and page waterfall flow layout optimization system
  • Page waterfall flow layout optimization method, storage medium, electronic equipment and page waterfall flow layout optimization system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0040] see figure 1 As shown, the embodiment of the present invention provides a page waterfall layout optimization method, which is used to optimize the way of loading pictures on the page with the waterfall layout. The page of the present invention refers to an HTML5 page. A live room thumbnail page, when the user clicks on a thumbnail to enter the corresponding live room, the thumbnails are arranged in a waterfall on the page. The page waterfall layout optimization method in the embodiment of the present invention specifically includes:

[0041] S1: Preset the maximum number of pictures on a page, and based on the area of ​​the display screen, preset the maximum number of pictures displayed on a screen, that is, according to the performance of the device used to display the page, the page is generally displayed in the browser or program of...

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 relates to the field of computer control, and discloses a page waterfall flow layout optimization method, a storage medium, electronic equipment and a page waterfall flow layout optimization system. The method comprises the steps that 1, the maximum number of images of a page and the maximum display number of images of a screen are preset; 2, an upper array and a lower array are newly built; 3, whether a current operation is a page drop-up operation or a page drop-down operation is judged; 4, whether HTML label data of the images is stored in the lower array or not is judged; 5,a new image is loaded, and removal of an image on the top of the page is conducted correspondingly; 6, an image corresponding to the last group of HTML label data in the lower array is loaded to the bottom of the page; 7, when the page is dropped down to the top of the page, whether HTML label data of the images is stored in the upper array or not is judged; 8, an image corresponding to the last group of HTML label data in the upper array is loaded to the top of the page, and removal of a corresponding image on the bottom of the page is conducted correspondingly. By means of the method, fluency of page view is effectively improved.

Description

technical field [0001] The invention relates to the field of computer control, in particular to a page waterfall flow layout optimization method, a storage medium, an electronic device and a system. Background technique [0002] At present, the waterfall flow layout of infinitely loading text, pictures and other data is implemented on HTML5 pages. Basically, the basic waterfall flow implementation principle is applied, that is, when pulling up to the bottom of the window, the interface data is requested, and the data is loaded. After the data is loaded, all the loaded DOM (Document Object Model, Document Object Model) structures are redrawn and rearranged, so as to obtain the waterfall typesetting effect of the entire page. HTML5 is the fifth major revision of the application hypertext markup language under the standard general markup language. [0003] This kind of waterfall flow implementation needs to redraw and rearrange all the loaded data after each new data is loaded...

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): G06F17/30
CPCG06F16/9577
Inventor 陈北侠陈少杰张文明
Owner WUHAN DOUYU NETWORK 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