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

Picture memory managing method and apparatus

A technology of memory management and pictures, applied in the direction of image memory management, etc., can solve problems such as insufficient memory space of pictures, achieve the effect of improving user experience, browsing pictures clearly and smoothly, and optimizing the use of picture memory

Inactive Publication Date: 2015-11-11
MEIBEIKE TECH CO LTD
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] From the above two solutions, none of them fundamentally solve the problem of insufficient memory space for pictures.

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
  • Picture memory managing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0033] refer to figure 1 .

[0034] The picture memory management method suitable for the Android operating system provided by this embodiment includes the following steps.

[0035] a. Create Lrucache hard reference cache module 1, and set the cache maximum value of Lrucache hard reference cache module 1.

[0036] Lrucache hard reference cache module 1 is a cache module based on the Lru algorithm. The principle of the Lru algorithm is to remove the least recently used data.

[0037] Set the maximum cache value of the Lrucache hard reference cache module 1, which is generally 1 / 8 of the memory available to the application. The size of the Lrucache hard reference cache module 1 can be set according to the needs of the device or application.

[0038] Lrucache hard reference cache module 1 saves data with key and value values. When it is necessa...

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 provides a picture memory managing method and apparatus for an android operation system. The provided android operation system picture memory managing method comprises the following steps of (a) creating a Lrucache hard reference caching module and setting the caching maximum value of the Lrucache hard reference caching module 1; (b) creating a soft reference picture caching module and setting the number of pictures allowed to be stored in the soft reference picture caching module; (c) creating a picture adding caching module 3 used for loading pictures in the Lrucache hard reference caching module in a memory according to picture addresses sent from application programs; (d) and creating a picture acquisition caching module. When pictures stored before are required by application programs, picture addresses and sizes are sent to the picture acquisition caching module. The picture memory managing method and apparatus for the android operation system can optimize the picture memory use of application programs and make users view pictures in a clear and smooth way. Furthermore, the user experience is improved.

Description

technical field [0001] The invention relates to the technical field of mobile device memory management, in particular to a picture memory management method and device for an Android operating system. Background technique [0002] The Android operating system (hereinafter referred to as the system) has been used in various devices including mobile phones, tablets, and set-top boxes. Mobile phones, tablets, and set-top boxes have become indispensable devices for people's leisure and entertainment. [0003] These devices use text or a combination of text and pictures when interacting with users. The more the display interface is switched, the more pictures need to be used. [0004] The available memory space of the system for the application is limited, and loading a 1M picture into the memory will occupy about 10M of memory, and the memory allocated by the system for each dalvik virtual machine is limited, such as in Google's G1 , the heap memory allocated to the application ...

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): G06T1/60
Inventor 张涢王会
Owner MEIBEIKE TECH 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