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

Cache management method, device and mobile terminal

A technology of cache management and image control, applied in image memory management, memory system, electronic digital data processing, etc., can solve the problems of limited processing capacity, multiple cache space, occupation, etc., and achieve the effect of maintaining smooth operation.

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

AI Technical Summary

Problems solved by technology

[0003] As the user continues to open multiple image files, the mobile terminal will generate multiple ImageView image controls, which will take up more and more cache space, limited by the current mobile terminal cache and processor processing power, which will cause mobile The terminal runs slowly, even freezes and crashes

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. Obtain an image file. When the user clicks on an image file, the mobile terminal can acquire the image file clicked by the user. Preferably, the image file is a bitmap (bmp) format file, so that the mobile terminal can directly display it when loading the file without decoding operation, and it can be opened more quickly.

[0022] S12. Generate an image control to display the image file in the image control. In the Android system, the image control can be, for example, an ImageView image control, and the ImageView image control is responsible for displaying images. The source of the image can be the id of...

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: obtaining image files; generating image controls in order to display the image files in the image controls; recording the number of generated image controls; and determining whether the number of generated image controls exceeds the pre-set value, releasing image resources of at least one part of image controls when the pre-set value is exceeded and notifying a virtual machine to recover image resources released.Therefore, image resources of at least one part of image controls are released when the number of generated image controls exceeds the pre-set value, namely, the cache occupies much and the virtual machine is notified to recover image resources released in order to release cache space. As a result, the cache does not occupy too much and the mobile terminal 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. In the Android system, image controls such as ImageView are usually used to display various pictures. Every time the user opens an image file, the mobile terminal will generate an ImageView image control, and assign the image control to the image control according to the size of the image file to be loaded. Certain cache space. [0003] As the user continues to open multiple image files, the mobile terminal will generate multiple ImageView image controls, which will take up more and more cache space, limited by the current mobile terminal cache and processor processing power, which will cause mobile The te...

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
IPC IPC(8): G06F12/123G06T1/60
CPCG06F12/123G06T1/60
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