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

Method and system for downloading pictures in applications

A picture and user technology, applied in the field of computer networks, can solve the problems of long waiting time for display interface downloading, waste of terminal resources, etc., to achieve the effect of reducing waiting time for downloading, avoiding waste, and enhancing user experience

Active Publication Date: 2017-08-04
BEIJING FEINNO COMM TECH
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a method and system for downloading pictures in applications, so as to solve the problems of waste of terminal resources and too long waiting time for downloading of display interface

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
  • Method and system for downloading pictures in applications
  • Method and system for downloading pictures in applications

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0045] The method includes the following steps.

[0046] Step S110, creating an application download task queue, and setting the length of the download task queue. Step S120, when the user slides the page of the application and a picture is added in the display interface of the application, it is judged whether the newly added picture is saved locally, if the newly added picture has been saved locally, then step S130 is executed, otherwise, step S140 is executed .

[0047] Step S130, taking out the saved new picture.

[0048] Step S140, judging whether the download task queue is full, if the download task queue is not full, execute step S150, if the download task queue is full, execute step S160.

[0049] Step S150, if the download ...

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 method and a system for downloading a picture in an application. The method includes building a downloading task queue of the application and setting the length of the downloading task queue; judging whether a newly-added picture is locally stored when a user slides a page of the application and the picture is newly added into a display interface of the application and taking out the stored newly-added picture on yes judgment; judging whether the downloading task queue is full on no judgment; adding a downloading task of the newly-added picture into the downloading task queue on no judgment; deleting a downloading task with the earliest adding time from the downloading task queue and adding the downloading task of the newly-added picture into the downloading task queue on yes judgment; taking out the downloading task from the downloading task queue and executing the downloading task. The method and the system solve the problems of terminal resource waste and too long display interface downloading waiting time.

Description

technical field [0001] The invention relates to the field of computer networks, in particular to a method and system for downloading pictures in applications. Background technique [0002] In the prior art, a method of asynchronously loading large resource files is implemented. For example, in the buddy list of instant messaging, when it is necessary to download the avatar of the buddy to display to the client, in order to improve the responsiveness of the UI (User Interface, User Interface), the avatar picture is downloaded asynchronously. The specific technical solution includes: putting the pictures to be downloaded into the download task queue. Each time a download task is taken from the download task queue and executed, the image display is set when the download image request is answered and the image is obtained. Remove the completed task from the download task queue, and then continue to fetch the next download task in the download queue for execution until all 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 Patents(China)
IPC IPC(8): G06F17/30H04L12/58
CPCG06F16/95
Inventor 马永生
Owner BEIJING FEINNO COMM TECH
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