Unlock instant, AI-driven research and patent intelligence for your innovation.

Storage block recovery method, device, storage medium and electronic equipment

A recycling method and technology for electronic equipment, applied in the field of noise reduction, can solve problems such as increasing power consumption, and achieve the effect of avoiding unnecessary power consumption

Active Publication Date: 2022-03-25
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing recycling mechanism is usually triggered periodically. Even when there are more storage blocks that can be recycled, it will wait for the recycling cycle to arrive before recycling. When the recycling cycle is reached, even if there are no reclaimable The storage block will also trigger the recycling mechanism, which increases unnecessary power consumption

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] It should be noted that the principles of the present application are implemented in an appropriate computing environment for illustration. The following description is based on illustrated specific embodiments of the present application, which should not be construed as limiting other specific embodiments of the present application that are not described in detail here.

[0025] At present, electronic devices usually use flash memory as a memory to store data, such as installing application programs, storing music, video, and pictures, and so on. A flash memory usually includes multiple storage blocks, and is managed by a file system (such as a flash file system) for read / write operations. Among them, the characteristic of the memory block is that it can perform write and read operations on a part of the space of the memory block, but it cannot be partially erased, and only the entire memory block can be erased. For this reason, it is necessary to erase the storage bl...

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 present application discloses a storage block reclamation method, device, storage medium and electronic equipment, wherein, by detecting the reclaimable storage blocks in the memory in the reclaimable state, and judging whether the current requirements are met according to the number of reclaimable storage blocks Preset recycling conditions, and then wake up the discarding thread of the file system when the preset recycling condition is currently satisfied, control the memory to reclaim reclaimable storage blocks based on the discarding thread, and sleep the discarding thread. Compared with related technologies, this application does not periodically trigger the recycling of storage blocks, but only recycles when it needs to be recycled, which can not only recycle storage blocks in time, but also avoid unnecessary unnecessary recycling caused by periodic recycling. power consumption.

Description

technical field [0001] The present application relates to the technical field of noise reduction, and in particular to a storage block recovery method, device, storage medium and electronic equipment. Background technique [0002] Generally, the storage space of the memory is very limited, and data that is accessed very infrequently or even never will be stored in the limited storage space. In order to improve the utilization rate of the storage space in the memory and the performance of reading and writing, the prior art reclaims the storage blocks storing the above-mentioned data in the memory through a recycling mechanism, thereby releasing the storage resources of these storage blocks for continuing to store other data. However, the existing recycling mechanism is usually triggered periodically. Even when there are more storage blocks that can be recycled, it will wait for the recycling cycle to arrive before recycling. When the recycling cycle is reached, even if there ...

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 Patents(China)
IPC IPC(8): G06F3/06G06F9/50
CPCG06F3/0608G06F3/064G06F3/0659G06F3/0676G06F3/0679G06F9/5022Y02D10/00
Inventor 彭冬炜
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD