Garbage recycling method and device and computer readable storage medium
Patent Information
- Authority / Receiving Office
- CN ยท China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGDONG OPPO MOBILE TELECOMM CORP LTD
- Publication Date
- 2020-03-27
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present application relates to the field of electronic technology, and in particular to a garbage collection method, device and computer-readable storage medium. Background technique
[0002] In the file system, a space allocation unit of a certain size is called a block, and a unit composed of a certain number of continuous blocks is called a segment. Valid data on the block is deleted or is recorded as invalid after being updated in other locations, and the available data in the segment Space becomes fragmented. In the computer field, file systems need to perform garbage collection operations for fragmented space. The core task of garbage collection is to move valid data blocks in fragmented segments to other locations, so as to obtain more fragment-free segments to meet the overall requirements. Segment space allocation requirements or to achieve continuous writing.
[0003] At present, when performing garbage collection, one of the garbage co...