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

Cache recovery method and device

A recycling method and recycling device technology, applied in the communication field, can solve problems such as insufficient memory space and affecting user experience, and achieve the effect of effective recycling

Inactive Publication Date: 2016-03-30
QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF0 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventors have found that when the active processes in the foreground use a lot of memory space, there are relatively few inactive memory pages. At this time, if the first recycling method is used, the effect is very poor. However, if the second method is used to directly remove some Clearing the processes will naturally release all the memory occupied by these processes. However, as more and more applications are running on the system, the memory space is used more and more, and the situation of insufficient memory space is more likely to occur. In this way, in When the total physical memory of the system is small, and there are many programs open at the same time, the second method will be easier to clear the foreground process, that is, close the application that the user is currently using, which will seriously affect the user experience.

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 recovery method and device
  • Cache recovery method and device
  • Cache recovery method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0017] The technical solutions of the present invention will be described in detail below through specific embodiments in conjunction with the accompanying drawings. The present invention includes but is not limited to the following embodiments.

[0018] Such as figure 1 As shown, a cache recovery method provided in the embodiment of the present application includes:

[0019] Step 101: Receive request information for applying for memor...

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

Embodiments of the invention disclose a cache recovery method. The cache recovery method mainly comprises the following steps: receiving request information of applying for an internal memory sent by a process, wherein the request information carries the size of an internal memory space necessary for the process; judging whether a current idle internal memory space satisfies the internal memory space necessary for the process according to the size of the internal memory space necessary for the process; if not, scanning a process table, and clearing background processes in the process table; judging whether the idle internal memory space with the background processes cleared satisfies the internal memory space necessary for the process; if not, judging whether a cache page recovery marker exists; if the cache page recovery marker does not exist, recovering a cache page, setting the cache page recovery marker, judging whether the idle internal memory space satisfies the internal memory space necessary for the process after the cache page is recovered, and if the cache page recovery marker exists, clearing foreground processes in the process table. The cache recovery method disclosed by the embodiments of the invention is used for improving the user experience to a certain extent.

Description

technical field [0001] The present invention relates to the technical field of communications, and in particular to a cache recovery method and a cache recovery device. Background technique [0002] With the popularity of the Android operating system, there are more and more applications that can run on the Android system. In order to improve the operating efficiency and fluency of many applications, when they are installed and running, the user data of the application , Temporary files, audio, video and other resources are stored as cache files in the memory of the Android device. As more and more applications are used, more and more cache files will result in insufficient memory space. [0003] Aiming at the problem of insufficient memory space, there are two memory recycling methods in the prior art. One is to initiate a memory page recycling action when the required memory space is found to be insufficient during the process of applying for memory. The activity of the m...

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): G06F9/50
Inventor 李秀勇
Owner QINGDAO HISENSE MOBILE COMM 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