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

Cache management method, device and mobile terminal

A cache management and caching technology, which is applied in multi-programming devices, electrical digital data processing, special data processing applications, etc., can solve problems such as crashes, slow operation of mobile terminals, and occupation, and achieve the effect of maintaining smooth operation

Inactive Publication Date: 2016-08-31
LETV HLDG BEIJING CO LTD +1
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, as more and more image files are displayed on the mobile terminal, more and more cache space will be taken up, which is limited by the current cache memory and processor processing capacity of the mobile terminal, which will cause the mobile terminal to run slowly, or even Crash, crash

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
  • Cache management method, device and mobile terminal
  • Cache management method, device and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0020] The embodiment of the present invention provides a buffer management method, which can be applied to mobile terminals such as mobile phones and tablet computers, such as figure 1 As shown, the method includes the following steps:

[0021] S11. Calculate the size of the image file to be loaded. Here, the image file may be an image file in various formats, such as bmp, jpg, tif, png, etc.

[0022] S12. Load the image file into the cache. In this way, it is convenient for the user to quickly open the image file when performing operations such as reviewing.

[0023] S13. Determine whether the cache occupancy exceeds the preset value. If the cache occupancy exceeds the preset value, execute step S14. If it does not exceed the preset value, it means that there is still a large amount of buffer space, and no operation is required. Here, the preset va...

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 cache management method, device and a mobile terminal, pertaining to the technical field of computer mobile terminals. The method comprises following steps: calculating the file size of image files to be loaded; loading the image files for buffer; determining whether the cache occupation exceeds the pre-set value, and releasing the cache space by removing at least one part of pre-loaded images when the pre-set value is exceeded. Therefore, the cache space is released by removing at least one part of pre-loaded images when the buffer occupation exceeds the pre-set value such that a cache does not occupy too much and the mobile terminal is kept running smoothly.

Description

technical field [0001] The present invention relates to the technical field of computer mobile terminals, in particular to a buffer management method, device and mobile terminal. Background technique [0002] In the era of mobile Internet, users are more and more accustomed to using mobile terminals such as mobile phones to browse photos, web pages with image files, etc. When the user is browsing image files, the mobile terminal will continuously load the image files into the cache, so that the user can quickly display the image files when performing operations such as reviewing, so that for the photo files stored in the mobile terminal memory, there is no need to Perform another decoding operation, and for the image file on the network side, the user does not need to spend traffic to re-download the image file, which can bring an excellent user experience to the user. [0003] However, as more and more image files are displayed on the mobile terminal, more and more cache s...

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/30G06F9/50
CPCG06F16/172G06F9/5016G06F9/5022G06F16/00
Inventor 赵洪涛
Owner LETV HLDG BEIJING CO LTD
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