Webpage picture loading method and device, computer equipment and storage medium

A technology for picture loading and web page pictures, which is applied in the computer field, can solve problems such as slow server response speed, and achieve the effect of avoiding excessive occupancy and improving response speed

Pending Publication Date: 2021-03-02
金蝶云科技有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in some cases, such as low network speed or high user interaction, which leads to more content to be loaded in the web page, even if the traditional image lazy loading method is used, it may still be due to the request link of the web browser. Occupation, resulting in slow server response

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
  • Webpage picture loading method and device, computer equipment and storage medium
  • Webpage picture loading method and device, computer equipment and storage medium
  • Webpage picture loading method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043]In order to make the objectives, technical solutions, and advantages of the present application clearer, the following further describes the present application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not used to limit the present application.

[0044]The webpage image loading method provided in this application can be applied tofigure 1 In the application environment shown. Wherein, the terminal 102 and the server 104 communicate through the network. The terminal 102 may send a picture loading request to the server 104, and the server 104 may return the picture to the terminal 102 in response to the picture loading request, and the terminal 102 may load the returned picture in the webpage, thereby realizing the loading of the webpage picture. The terminal 102 may be, but is not limited to, various personal computers, notebo...

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 a webpage picture loading method and device, computer equipment and a storage medium. The method comprises the following steps: adding each picture loading request to a serialqueue; processing the picture loading request in the serial queue from the first picture loading request in the serial queue; when the picture loading mode of the webpage is a delay waiting mode, monitoring the number of current non-serial queue requests in the webpage; when it is determined that the request of the web browser exceeds the bearing limit according to the number, entering a delay waiting stage, pausing to process the picture loading request in the serial queue within preset delay waiting time, and processing each non-serial queue request; and after the delay waiting time, cancelling the pause processing of the picture loading requests in the serial queue, and returning to the step of processing the picture loading requests in the serial queue so as to continue to execute until all the picture loading requests in the serial queue are processed. By adopting the method, the response speed of the server can be improved.

Description

Technical field[0001]This application relates to the field of computer technology, and in particular to a method, device, computer equipment and storage medium for loading webpage pictures.Background technique[0002]With the rapid development of science and technology, there are more and more ways to obtain information, and a lot of information can be obtained by browsing the web. When a user browses a webpage, it is often necessary to load a large number of pictures for display in the webpage. However, if the webpage loads all the pictures at once when the user visits the webpage, it will put a lot of pressure on the server, reduce the server's response speed, and even cause the page to freeze or crash. Therefore, it is very important to improve the response speed of the server during the loading process of webpage images.[0003]In the traditional method, the lazy image loading method is generally adopted. First, a smaller placeholder image is used to replace the real image. When the...

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/9574G06F16/972
Inventor 郑龙李午亮符勇董彪
Owner 金蝶云科技有限公司
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