Picture loading method and device

The invention relates to an intelligent terminal technology, in particular to a picture loading method and device, and aims at avoiding cache pollution and improving the picture loading efficiency. The method comprises the following steps of: storing an index of a target picture in a first queue; if...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHAO ZHENYANG, KE LINGJIE, XIA SHENGFEI, LIU XIAOLONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to an intelligent terminal technology, in particular to a picture loading method and device, and aims at avoiding cache pollution and improving the picture loading efficiency. The method comprises the following steps of: storing an index of a target picture in a first queue; if the target picture is requested to be loaded again, moving the index of the target picture into a second queue; and when the fact that the target picture is continuously requested to be loaded, obtaining and displaying the corresponding target picture on the basis of the index, recorded in the second queue, of the target picture, wherein when the target picture is requested to be loaded for one time, the index of the target is moved from the current position to the head of the second queue anddata at the tail of the second queue is regularly eliminated. According to the method, the first queue can be prevented from being emptied due to accidental batch loading operation, so that cache pollution is avoided; and the