Data cache loading method and device and portable terminal equipment

A portable terminal and data caching technology, which is applied in network data retrieval, electronic digital data processing, and other database retrieval, etc. It can solve the problems of unsmooth sliding of data lists, slow loading speed, and large memory consumption, etc., to achieve fluency, The effect of reducing memory consumption and improving cache reading speed

Active Publication Date: 2017-12-12
ALIBABA (CHINA) CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when there is too much local cache data, for example, when users are browsing millions of pieces of data, loading a large amount of data into the memory and building a large number of UI controls will lead to problems such as slow loading speed, large memory consumption, and unsmooth sliding of the data list.

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
  • Data cache loading method and device and portable terminal equipment
  • Data cache loading method and device and portable terminal equipment
  • Data cache loading method and device and portable terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0058] As mentioned earlier, in the prior art, when displaying cached data, it is necessary to load all cached data lists to be displayed into memory, and construct user interface (UI) controls with the same length as the cached data list, for example , TableViewCell (the list formed by the TableViewCell control is usually represented as a TableView), so that when the cached data is too large, the data loading speed is slow and the memory co...

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 data cache loading method and device for portable terminal equipment and the portable terminal equipment. The data cache loading method comprises the steps that data is read from a data list of a cache to be loaded into a data sliding block of a memory, wherein the total number of data entries in the data sliding block is kept at a first predetermined number; and user interface controls in the first predetermined number are utilized repeatedly, and the data in the data sliding block is sequentially displayed on a display device of the portable terminal equipment, wherein the first predetermined number is set to be far smaller than the total amount of the data in the data list of the cache. By use of the method, only a small amount of data needing to be displayed is loaded into the memory, and a small number of user interface controls are virtually reused for visual display to a user, so that memory consumption is lowered, cache reading speed is increased, and accordingly sliding smoothness of the data list is realized.

Description

technical field [0001] The present invention generally relates to the technical field of caching, in particular to a data caching loading method and device and a portable terminal device. Background technique [0002] In a portable terminal device such as a smart phone, when an application obtains a resource through a network server, the resource can be cached in the local disk for a period of time after obtaining the resource, so that the user does not need to consume traffic to re-request the server to provide it when obtaining the resource again. Instead, directly use the data list cached in the local disk. Data cache technology is one of the most basic technologies to improve network access performance. [0003] In the prior art, in order to display locally cached data, it is necessary to construct user interface (UI) controls equal to the total number of cached data when the cached data list to be displayed is loaded into memory, for example, TableViewCell. [0004] H...

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/9574G06F16/972
Inventor 郭发尧吕成宾
Owner ALIBABA (CHINA) 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