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

A method for improving the garbage collection execution effect of an EMMC through two-end interaction of a system

An execution effect and garbage technology, applied in the direction of memory address/allocation/relocation, etc., can solve the problems of limited lifespan of storage block, don't know when it needs to be initiated, and can't achieve active garbage collection, etc., to improve read and write efficiency, Improve the performance of garbage collection and prolong the service life

Inactive Publication Date: 2019-06-28
珠海妙存科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The existing emmc products on the market use nand flash as the physical medium to store data, and its defects include: the life of each storage block is limited, and wear balance must be considered; it cannot be overwritten and must be erased before it can be rewritten; for this defect, the current The solution is that the internal firmware of the device evaluates the timing by itself and then performs garbage collection. The garbage collection function is to notify the device to erase flash through the host to initiate a request; although the accuracy is high, the effective use and service life of the flash are greatly improved. Help, but the current use of this function has the following problems: the host does not know when to initiate an erase request, it may be that the device does not need an erase flash internally, but the host sends it, or the device needs to initiate an erase request, but the host does not send this Request, so the effect of this function becomes very poor, and it cannot achieve the effect of real active 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
  • A method for improving the garbage collection execution effect of an EMMC through two-end interaction of a system
  • A method for improving the garbage collection execution effect of an EMMC through two-end interaction of a system
  • A method for improving the garbage collection execution effect of an EMMC through two-end interaction of a system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] refer to Figure 1-Figure 3 , the present invention provides a method for improving the garbage collection execution effect of EMMC through the interaction of both ends of the system, comprising the following steps:

[0039] S1, obtain the value of the current device status register of the device when the system is initialized;

[0040] By obtaining the value of the current device status register of the device, the host can realize the interaction function between the host and the device, which provides preparations for further sending an erase request to the device.

[0041] S2, if the value of the device status register is the specified value, send an erase request to the device.

[0042] The device feeds back the value of the device status register to the host, and the host judges the received value of the device status register. If the value matches, it sends an erase request to the device.

[0043] Further, obtaining the value of the current device status registe...

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 invention discloses a method for improving the garbage collection execution effect of an EMMC through two-end interaction of a system. The method comprises the following steps that the numerical value of the current device status register device of the device is obtained when the system is initialized; If the numerical value of the device status register is a specified value, an erase requestis sent to the device; The host judges whether an erase instruction needs to be sent to the device or not by reading the numerical value of the device; Therefore, the device can accurately execute thegarbage collection command, so that the garbage collection execution effect of the EMMC is improved, the long-term read-write efficiency is improved, the service life of the nand flash is prolonged,and meanwhile, the design difficulty of device end firmware is reduced.

Description

technical field [0001] The invention relates to the field of EMMC storage, in particular to a method for improving the garbage collection execution effect of EMMC through interaction between two ends of a system. Background technique [0002] The existing emmc products on the market use nand flash as the physical medium to store data. The defects include: the life of each storage block is limited, and wear leveling must be considered; overwriting cannot be overwritten, and it must be rewritten after erase; The solution is to perform garbage collection after evaluating the timing of the internal firmware of the device. Its garbage collection function is to notify the device to erase flash through the host initiating a request; although the accuracy is high, it has a great effect on the effective use of flash and its service life. Help, but the current use of this function has the following problems: the host does not know when to initiate an erase request, it is possible that...

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): G06F12/02
Inventor 黄建雄
Owner 珠海妙存科技有限公司
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