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

Garbage recycling method and apparatus

A technology for recycling devices and garbage, applied in the computer field, can solve the problem of inability to flexibly adjust the garbage collection speed, and achieve the effect of reducing the occupied resources

Active Publication Date: 2017-12-22
CHENGDU HUAWEI TECH
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the above method, garbage collection is performed with the data block as the recycling unit, that is, garbage in one or more data blocks is collected each time. Since the amount that can be stored in a data block is fixed, the speed of garbage collection is also high. Fixed, and for different scenarios, the requirements for the speed of garbage collection are also different, so the above method may not be able to flexibly adjust the speed of garbage collection

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
  • Garbage recycling method and apparatus
  • Garbage recycling method and apparatus
  • Garbage recycling method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The term "and / or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations.

[0048] The terms "first" and "second" in the description and claims of the embodiments of the present invention are used to distinguish different objects, rather than to describe a specific sequence of objects. For example, the first recovery level and the second recovery level are used to distinguish different recovery levels, rather than to describe the specific order of recovery levels; the first preset threshold and the second preset threshold are used to distinguish different thresholds, rather than a specific order for describing subthresholds.

[0049] In the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations or illustr...

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 provide a garbage recycling method and apparatus, which relates to the technical field of computers and can flexibly adjust the garbage recycling speed. The method comprises the steps of determining a quantity of recycling units of parallel recycling in each recycling layer of at least one recycling layer of a flash-memory storage system according to a value of a residual storage space when the value of the residual storage space of the flash-memory storage system is smaller than or equal to a first preset threshold; by utilizing the at least one recycling layer, and according to the quantity of the recycling units of the parallel recycling in each recycling layer, recycling garbage in the flash-memory storage system, wherein the value of the residual storage space is an available storage space in the flash-memory storage system, the parallel recycling is performed in the same recycling layer, and serial recycling is performed among different recycling layers. The method can be applied to the flash-memory storage system.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of computers, and in particular, to a method and device for garbage collection. Background technique [0002] In the flash storage system, the storage space of the flash storage system is limited. When writing new data in the flash disk, the existing data in the flash disk cannot be directly overwritten, but the useless data in the flash disk (hereinafter referred to as After erasing (referred to as garbage) (can be referred to as recycling), write new data to the flash disk. [0003] Generally, in the process of reclaiming garbage in the flash storage system, one data block in the flash disk may be used as a recycling unit, and garbage collection may be performed according to the amount of garbage in the entire flash storage system. Specifically, such as figure 1 As shown, when the amount of garbage in the flash memory storage system is greater than or equal to the preset garbage amo...

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): G06F3/06
CPCG06F3/064G06F3/0652G06F3/0679G06F12/0246G06F2212/1024G06F2212/7205
Inventor 吴延赞吴素宏黄国炎
Owner CHENGDU HUAWEI TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More