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

Cache file recovery method and device, electronic equipment and storage medium

A technology for caching files and recycling methods, which is applied in the direction of file systems, file access structures, and file system functions, and can solve problems such as slow speed and system performance degradation

Inactive Publication Date: 2019-08-16
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF11 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This can result in reduced system performance, making the electronic device slower to open applications or access files

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 file recovery method and device, electronic equipment and storage medium
  • Cache file recovery method and device, electronic equipment and storage medium
  • Cache file recovery method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0027] In the following description, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise stated. Accordingly, these steps and operations will several times be referred to as being computer-implemented, which herein refers to operations by a computer processing unit of electronic signals representing data in a structured form. This operation transforms the data or maintains it at a location in t...

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 embodiment of the invention discloses a cache file recovery method and device, electronic equipment and a storage medium. The method comprises the following steps of: when an executable file is loaded into the memory, judging whether the executable file is an important cache file or not according to the attribute information of the executable file, marking the executable file if the executablefile is the important cache file, judging whether the residual capacity of the memory meets a preset condition or not, and recycling the unmarked cache file in the memory if the residual capacity ofthe memory does not meet the preset condition. When a user uses the electronic equipment, important cache files and high-frequency access files can be generated in a memory of the electronic equipment, and the unimportant cache files and the non-high-frequency access files are recovered by judging the residual capacity memory of the memory, so that the important cache files are reserved, and the access speed of the files is increased.

Description

technical field [0001] The present application relates to the technical field of file management, and in particular to a method, device, electronic equipment, and storage medium for recovering cached files. Background technique [0002] The memory recycling mechanism of the Linux kernel is to reclaim memory according to the LRU (least recently used) rule when the memory is tight. If the file cache is reclaimed, it needs to be re-read from the external storage when it is accessed next time. This process will consume a lot of time. , especially when the electronic device has been used for a long time and the external memory is severely fragmented, the performance of re-reading is lower. [0003] The current technical implementation is to recycle the least recently used pages in the system. In fact, there are some defects. It is very likely that some file caches have just been recycled, and they need to be accessed again soon. At this time, IO operations need to be performed ag...

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): G06F16/17G06F16/172G06F16/13
CPCG06F16/13G06F16/172G06F16/1727
Inventor 周华材张诗明
Owner GUANGDONG OPPO MOBILE TELECOMM CORP 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